summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-08-28 22:13:24 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-08-28 22:13:24 +0000
commitb5204aceb266d67c0ddca9e35b35d2a3f5f5737f (patch)
tree6557c831576827dd75c8f4e588e37202421cd1ac
parentReorder the virtuals from latest version first, bug #520262 (diff)
downloadhistorical-b5204aceb266d67c0ddca9e35b35d2a3f5f5737f.tar.gz
historical-b5204aceb266d67c0ddca9e35b35d2a3f5f5737f.tar.bz2
historical-b5204aceb266d67c0ddca9e35b35d2a3f5f5737f.zip
Remove older versions
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
-rw-r--r--net-p2p/litecoind/ChangeLog7
-rw-r--r--net-p2p/litecoind/Manifest23
-rw-r--r--net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild124
-rw-r--r--net-p2p/litecoind/litecoind-0.8.6.1-r1.ebuild124
-rw-r--r--net-p2p/litecoind/litecoind-0.8.6.1.ebuild124
5 files changed, 20 insertions, 382 deletions
diff --git a/net-p2p/litecoind/ChangeLog b/net-p2p/litecoind/ChangeLog
index ca551ace5216..62e634632a06 100644
--- a/net-p2p/litecoind/ChangeLog
+++ b/net-p2p/litecoind/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/litecoind
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.6 2014/08/10 20:37:27 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.7 2014/08/28 22:13:14 blueness Exp $
+
+ 28 Aug 2014; Anthony G. Basile <blueness@gentoo.org>
+ -litecoind-0.8.5.3_rc3.ebuild, -litecoind-0.8.6.1-r1.ebuild,
+ -litecoind-0.8.6.1.ebuild:
+ Remove older versions
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
litecoind-0.8.5.3_rc3.ebuild, litecoind-0.8.6.1-r1.ebuild,
diff --git a/net-p2p/litecoind/Manifest b/net-p2p/litecoind/Manifest
index 1c92bc19a032..b6eccac77b43 100644
--- a/net-p2p/litecoind/Manifest
+++ b/net-p2p/litecoind/Manifest
@@ -8,19 +8,24 @@ AUX litecoin.initd 2511 SHA256 0c7e6671312e43d3f0373489ee93ee4dab379d53f38f724b3
AUX litecoin.initd-r1 950 SHA256 57674d5d63feff2b7b0667559ab3ea3f02f5d65ebc16a845d2582c00fecd7f12 SHA512 4866214ef30c549c18886537babc83104307610db5a252b22b5058f8831d048a3f56d86749b69ae096738636a212556c57c129f3f4c67afffe5e890f8bcd1aa2 WHIRLPOOL 8dfb9aae70e315d0645cf02801274c847a565d3b9da084ca22b76d806daef8d0771a897c7df01b962fad2e3cd9794c6d658aeb2eac37b3378c285f8f2ba6e3a5
AUX litecoin.service 879 SHA256 be344624575e7e69203bd7e17abc930847e27d95217b65b74ebfcf2e59a4bbca SHA512 f05009fdf4c38d78867588d84a6031d6bed81ad74c08d97a8fae16706f04ce61926dbde775183e0219a33e3a84e5fdad92acaab62e15156f3d07c15677e0f148 WHIRLPOOL def62eeef8c032a372c0624860369a32ff27b4099fa3ff720ac908139fb2c23e1aab4f4b4e623d890d309a5114352f2feb59ae105563b462e82667a52804c17f
AUX litecoind.logrotate 113 SHA256 dce250c9f27ed9b36fa9376d92fedf89bf6f7f523360dc5baaa65179fd1d504b SHA512 eaa9f462be8dc755b675e4d5cb3ad271e3b1053edfa06df7862fa887160c849c768d2a268a7c8b52d1cfc834c186780b71435ee65475ea6c6692c18bded48dec WHIRLPOOL 3e771d6c2dfddd291386a1ed98009f1778e561a1b8ac43507f3ca709d1c389c3b8d6db5128ade485a0b92ba56b2388727935149af391fe3ef6f9e18ec432c04e
-DIST litecoin-0.8.5.3-rc3.tar.gz 4804918 SHA256 67d2f14ab654825bf21abbb4d2c4681a6af4c3b074a2a1813d6da63fea3a8afc SHA512 640cd8a60122cc26889c81bddd20057c20557ae9a9eea431b68421f5ee37f7938ca2776196649b553b05977278242c4d1bab520671cae549227c1f69835a72b5 WHIRLPOOL f327423e13a1d8e092c54f6201362a8c32acff87a71fd17a737c22e57e09472f579dfdbedcd398fabab75e8f5f7a5559ff566df737fec410baf8dfe80fb3bb6d
-DIST litecoin-0.8.6.1.tar.gz 4805955 SHA256 8aef9e936b57b90d506c5dd2e350c3d0673640b69beb9975d172136eec1d8b34 SHA512 2f5f90708108de6522f097bce28f97096a901fa092ad28fc7661da4a02481a605d77719dfb4acdde57e959174a3498026b8360c19fb7cb05ad6e72c19d73478d WHIRLPOOL e0e0e277b050389429a05d084b7423acac9b41e6bac204c6309a24df391fb2f9fad7e113c159431d48462f699032b54f78cfc0b7e2ebcca09c8350ae7d087bf2
DIST litecoin-0.8.7.1.tar.gz 4808416 SHA256 e037dea00f866673aea524e936bd2cfc1938f44614ca03da9018033b9e8e2aec SHA512 6cc5ac99d42c2f5969159ad9922ec65882dd1a52602f706311ac3cd6bf52a834848e2d3e5e6e21f1f42d73e946da0e44d1f43ded016a5732a5ea4a3c27febf26 WHIRLPOOL 0eadf6d206256584b615aac8b570b108b0ae7f446274065d69cfe6dcd69096388741a0f1457f218938394b66c2389757d46628cee400e3842b09929fa18a692e
-EBUILD litecoind-0.8.5.3_rc3.ebuild 3108 SHA256 a5132da403f91fca072b4263bd21dc248d0b2f193d52fdbd2690169e0b141e95 SHA512 320fb57bff2588cb17ef65b1f44ccb65d0d7aae01f6d0c04ba60cf20972bf0f1aa154819d9c5e3869f024e0a10baebd6cce1f40fee41d8df093e61d2da88731c WHIRLPOOL 21f581f2b61821527457c71ba1a97a09ad78d875b3fa28f5d5c007b2ff0f0084530758ac44aff53dad8cab967f4ddd4f3dc2e628b0f87a2e5efb9ae38709eb7d
-EBUILD litecoind-0.8.6.1-r1.ebuild 3110 SHA256 116b04e433bb31320dc412d699955fd88f2861b01eea407f90d650138db7bb4a SHA512 75d674327ebeac72b73943b20bb3ff79079e88d92d229577987de35ec4b5747adbe82bfa382c1fa7416d21d0cb1da7c02711bca9e665a111cd4cdef0ef32c28c WHIRLPOOL a73f55ddf833c1f2d4595d0dccaa2dc1b4f013924d100000b83d2a4fef370c343cafe9928b9e796313b0a017270bf88c6af423459328b8741f467d0b79c8276e
-EBUILD litecoind-0.8.6.1.ebuild 3104 SHA256 b97b7ba6679290ab1ca2df78df66c34f11059cf3a7157077c371867dcf5d17e4 SHA512 682ce25ab69840b5be4fb7e80e337ca0035e198d54bdc8116e29b9a29b00e3e83cc1a58bc880a2cda286ac1ff17c9100267a39167ec7e9bbb12dcdaa215ce933 WHIRLPOOL 74c98963cbc627ac6f62ea6a594512035e91d79a77eefbf60d1161f483cb3151a6d89cc5a830703bc4357f3303f17834e00820c4a064daa837cd57339b018343
EBUILD litecoind-0.8.7.1.ebuild 3107 SHA256 39979490a673ba285e0cfd55396e5a83e01c60b514efd52ad5ae44173e980f63 SHA512 1fe4aa7f74f7b0da7c32203ce677b74fa03aaa50effe4a9d05998c265ae48d0da63ab3f35cf8230cb9e147b15dcf2b774fb3c4961b18e0242c832eba9d3784af WHIRLPOOL 26e595d4c3eb2d3f3ff523cb6e7dda4b52d88e9993bf3e7a9fd23739af3e755b1b0c45c0df194589f929915773a6a2b56c068f0bad69f50528a925a79e80a5bc
-MISC ChangeLog 1370 SHA256 533b02d22af6be03e14d134d7f75c9427cc2470a3b68cd87304c26cdfd25f067 SHA512 237308df83025af1ba1a5e9495a53f5a7457fd7481d2b1e2658f5ff97a22d97fd62e093a47f12408244927dc9a81d62ca695a93b9bb155d21b927aa301a9b564 WHIRLPOOL 878417b9e6bb31f12e7f103435baf1ca2d6faf142ca769e7fc60b8488dce89a92ca49514e78d3d5a46a14f36844158a9b539b0e92696e829fd577cc8f380ec93
+MISC ChangeLog 1544 SHA256 75762650b6ec001b03b26171ebe3da8c9bddba8281c3639d5ac30a8863778a32 SHA512 93693ec297b6ddf30e0c28dc8e458fca4b881de59f365fb8b5e4487a901fc5e198cb4bfbe301d467477bea97cdf2f72892c9fe4b09e43fbd35bc87a1790ce315 WHIRLPOOL b79ab3931093a93d01944b94e104241dc39b9645b1cb24af64b6ee6ff53e9a957f4d5a6c71c35c4b172ff1d472411cba7a64a298f21526a344178bba3df6708e
MISC metadata.xml 327 SHA256 2009a65ac31a6a928926715ab212766020927524623581b18ee1f5026a6a689c SHA512 4d68f30b7c29aa5b6c3f7fd5c657ffbbe12706ce5d8d332cd8848906a27ae852e39d48219f6137a65c31db9c7693c2218edf8b6b1511cb1098d86bdb394cd0f9 WHIRLPOOL f7ad1bdb29423c9a88a721e77168aa35372a3411f77c775e2ac518eefc7ee39def4a307a66b4da02f80a6e9d8cdcff8fafa20da1792b7909e84bcad67598c4d9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlPn2AgACgkQcaHudmEf86ogmACghQj4YDAx+AvsScf60drzBi0U
-dYQAn1rBK2lnfF29ugJOnCXq7aDeHFUo
-=9rMe
+iQIcBAEBCAAGBQJT/6oiAAoJEJOE+m71LUu6E7QP/3hjAWd8fNn6H+6eLDk54mIe
+vLpoSwAQOVVTXXBh03E7/gzotHcAxcKYyXwCVbm6DB3QEcoZBOr+kqXcf4rrxhYJ
+ECsYZbss0blxbT4oY93z0W2S39lCVQsyoICpqVeEParpUkHWIL8dSuduBntLPkte
+nwgJvDoMY9/Nu4AW5lUeclxpkE73uB5n59UE48ciCXGUj/Ct/cW/ihX0L4nlpb+H
+yGbjCqFH7b+qcWrIcc7UvPydnZWPIqIH7SukXDUVXCP03Se8K/qTkrNq4IEqWCzy
+gXfTbvXzaP17Ie/cYGG2USdE84vbk45er4bxUB1up38bWelySFhqTI4V/P/9s02p
+2ewG87V267WCsEKZ0/K5rJgWz4mCf3HSHE2JQ13QVNJnBb7qqomYQlZJTojZ0jAk
+mCN2FPeHRVXEHL8lyeT6YOgpTbjxxKKAzPw7dOnzAm0P7wOnsSg7M4tR+PqGBoB5
+D3wfTBOUene35XQ/aUSCHmR/LJ/C/dD2yhNyyq01+wiivz77TcOQiBA8z6F8FyvR
+3mtBTCWGLUCcdB3LtzJAtiFQXcJwfcl98PeNl8sGWY0jgv5H+CSo87JWnVG17Qv7
+Sw8rlI8UNavzwQhQQCaDs+t5J/8hVMjSuoSRWu+flOlDemEdWOp18hq9EcdhbqlC
+eaXdNZoCAEwfL7J2woXN
+=47Sh
-----END PGP SIGNATURE-----
diff --git a/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild b/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild
deleted file mode 100644
index 5413a10e4b61..000000000000
--- a/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/litecoind-0.8.5.3_rc3.ebuild,v 1.3 2014/08/10 20:37:27 slyfox Exp $
-
-EAPI=5
-
-DB_VER="4.8"
-
-inherit bash-completion-r1 db-use eutils systemd user
-
-MyPV="${PV/_/-}"
-MyPN="litecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine"
-HOMEPAGE="https://litecoin.org/"
-SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bash-completion examples ipv6 logrotate upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/openssl:0[-bindist]
- logrotate? (
- app-admin/logrotate
- )
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- <=dev-libs/leveldb-1.12.0[-snappy]
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
- sys-apps/sed
-"
-
-S="${WORKDIR}/${MyP}"
-
-pkg_setup() {
- local UG='litecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
- rm -r src/leveldb
-
- if has_version '>=dev-libs/boost-1.52'; then
- sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix
- fi
-}
-
-src_configure() {
- OPTS=()
-
- OPTS+=("DEBUGFLAGS=")
- OPTS+=("CXXFLAGS=${CXXFLAGS}")
- OPTS+=("LDFLAGS=${LDFLAGS}")
-
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- cd src || die
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
-}
-
-#Tests are broken with and without our litecoin-sys_leveldb.patch.
-#When tests work, make sure to inherit toolchain-funcs
-#src_test() {
-# cd src || die
-# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin
-# ./test_litecoin || die 'Tests failed'
-#}
-
-src_install() {
- dobin src/${PN}
-
- insinto /etc/litecoin
- doins "${FILESDIR}/litecoin.conf"
- fowners litecoin:litecoin /etc/litecoin/litecoin.conf
- fperms 600 /etc/litecoin/litecoin.conf
-
- newconfd "${FILESDIR}/litecoin.confd" ${PN}
- newinitd "${FILESDIR}/litecoin.initd" ${PN}
- systemd_dounit "${FILESDIR}/litecoin.service"
-
- keepdir /var/lib/litecoin/.litecoin
- fperms 700 /var/lib/litecoin
- fowners litecoin:litecoin /var/lib/litecoin/
- fowners litecoin:litecoin /var/lib/litecoin/.litecoin
- dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf
-
- dodoc doc/README.md doc/release-notes.md
- newman contrib/debian/manpages/bitcoind.1 litecoind.1
- newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5
-
- if use bash-completion; then
- newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion
- fi
-
- if use examples; then
- docinto examples
- dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools}
- fi
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/litecoind.logrotate" litecoind
- fi
-}
diff --git a/net-p2p/litecoind/litecoind-0.8.6.1-r1.ebuild b/net-p2p/litecoind/litecoind-0.8.6.1-r1.ebuild
deleted file mode 100644
index bc11e975463d..000000000000
--- a/net-p2p/litecoind/litecoind-0.8.6.1-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/litecoind-0.8.6.1-r1.ebuild,v 1.2 2014/08/10 20:37:27 slyfox Exp $
-
-EAPI=5
-
-DB_VER="4.8"
-
-inherit bash-completion-r1 db-use eutils systemd user
-
-MyPV="${PV/_/-}"
-MyPN="litecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine"
-HOMEPAGE="https://litecoin.org/"
-SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bash-completion examples ipv6 logrotate upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/openssl:0[-bindist]
- logrotate? (
- app-admin/logrotate
- )
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- <=dev-libs/leveldb-1.12.0[-snappy]
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
- sys-apps/sed
-"
-
-S="${WORKDIR}/${MyP}"
-
-pkg_setup() {
- local UG='litecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
- rm -r src/leveldb
-
- if has_version '>=dev-libs/boost-1.52'; then
- sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix
- fi
-}
-
-src_configure() {
- OPTS=()
-
- OPTS+=("DEBUGFLAGS=")
- OPTS+=("CXXFLAGS=${CXXFLAGS}")
- OPTS+=("LDFLAGS=${LDFLAGS}")
-
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- cd src || die
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
-}
-
-#Tests are broken with and without our litecoin-sys_leveldb.patch.
-#When tests work, make sure to inherit toolchain-funcs
-#src_test() {
-# cd src || die
-# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin
-# ./test_litecoin || die 'Tests failed'
-#}
-
-src_install() {
- dobin src/${PN}
-
- insinto /etc/litecoin
- doins "${FILESDIR}/litecoin.conf"
- fowners litecoin:litecoin /etc/litecoin/litecoin.conf
- fperms 600 /etc/litecoin/litecoin.conf
-
- newconfd "${FILESDIR}/litecoin.confd" ${PN}
- newinitd "${FILESDIR}/litecoin.initd-r1" ${PN}
- systemd_dounit "${FILESDIR}/litecoin.service"
-
- keepdir /var/lib/litecoin/.litecoin
- fperms 700 /var/lib/litecoin
- fowners litecoin:litecoin /var/lib/litecoin/
- fowners litecoin:litecoin /var/lib/litecoin/.litecoin
- dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf
-
- dodoc doc/README.md doc/release-notes.md
- newman contrib/debian/manpages/bitcoind.1 litecoind.1
- newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5
-
- if use bash-completion; then
- newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion
- fi
-
- if use examples; then
- docinto examples
- dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools}
- fi
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/litecoind.logrotate" litecoind
- fi
-}
diff --git a/net-p2p/litecoind/litecoind-0.8.6.1.ebuild b/net-p2p/litecoind/litecoind-0.8.6.1.ebuild
deleted file mode 100644
index 67e6f7606401..000000000000
--- a/net-p2p/litecoind/litecoind-0.8.6.1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/litecoind-0.8.6.1.ebuild,v 1.3 2014/08/10 20:37:27 slyfox Exp $
-
-EAPI=5
-
-DB_VER="4.8"
-
-inherit bash-completion-r1 db-use eutils systemd user
-
-MyPV="${PV/_/-}"
-MyPN="litecoin"
-MyP="${MyPN}-${MyPV}"
-
-DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine"
-HOMEPAGE="https://litecoin.org/"
-SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyP}.tar.gz"
-
-LICENSE="MIT ISC GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bash-completion examples ipv6 logrotate upnp"
-
-RDEPEND="
- dev-libs/boost[threads(+)]
- dev-libs/openssl:0[-bindist]
- logrotate? (
- app-admin/logrotate
- )
- upnp? (
- net-libs/miniupnpc
- )
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- <=dev-libs/leveldb-1.12.0[-snappy]
-"
-DEPEND="${RDEPEND}
- >=app-shells/bash-4.1
- sys-apps/sed
-"
-
-S="${WORKDIR}/${MyP}"
-
-pkg_setup() {
- local UG='litecoin'
- enewgroup "${UG}"
- enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
- rm -r src/leveldb
-
- if has_version '>=dev-libs/boost-1.52'; then
- sed -i 's/\(-l db_cxx\)/-l boost_chrono$(BOOST_LIB_SUFFIX) \1/' src/makefile.unix
- fi
-}
-
-src_configure() {
- OPTS=()
-
- OPTS+=("DEBUGFLAGS=")
- OPTS+=("CXXFLAGS=${CXXFLAGS}")
- OPTS+=("LDFLAGS=${LDFLAGS}")
-
- if use upnp; then
- OPTS+=("USE_UPNP=1")
- else
- OPTS+=("USE_UPNP=-")
- fi
-
- use ipv6 || OPTS+=("USE_IPV6=-")
-
- OPTS+=("USE_SYSTEM_LEVELDB=1")
- OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
- OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-
- cd src || die
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
-}
-
-#Tests are broken with and without our litecoin-sys_leveldb.patch.
-#When tests work, make sure to inherit toolchain-funcs
-#src_test() {
-# cd src || die
-# emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_litecoin
-# ./test_litecoin || die 'Tests failed'
-#}
-
-src_install() {
- dobin src/${PN}
-
- insinto /etc/litecoin
- doins "${FILESDIR}/litecoin.conf"
- fowners litecoin:litecoin /etc/litecoin/litecoin.conf
- fperms 600 /etc/litecoin/litecoin.conf
-
- newconfd "${FILESDIR}/litecoin.confd" ${PN}
- newinitd "${FILESDIR}/litecoin.initd" ${PN}
- systemd_dounit "${FILESDIR}/litecoin.service"
-
- keepdir /var/lib/litecoin/.litecoin
- fperms 700 /var/lib/litecoin
- fowners litecoin:litecoin /var/lib/litecoin/
- fowners litecoin:litecoin /var/lib/litecoin/.litecoin
- dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf
-
- dodoc doc/README.md doc/release-notes.md
- newman contrib/debian/manpages/bitcoind.1 litecoind.1
- newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5
-
- if use bash-completion; then
- newbashcomp contrib/bitcoind.bash-completion ${PN}.bash-completion
- fi
-
- if use examples; then
- docinto examples
- dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools}
- fi
-
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/litecoind.logrotate" litecoind
- fi
-}