add net-p2p/dogecoind-1.14.0
authorJustin Wind <justin.wind+git@gmail.com>
Fri, 12 Jul 2019 21:07:50 +0000 (14:07 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Fri, 12 Jul 2019 21:07:50 +0000 (14:07 -0700)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.14.0.ebuild [new file with mode: 0644]

index 96ba05bf8408ed1074c3e431f1c9883e71566a58..56027f77eb0fca625892b0e28acc45540b9f336a 100644 (file)
@@ -4,7 +4,11 @@ AUX dogecoin.initd 2980 BLAKE2B b3d3b304ee1b3da41f000cd6f1fad5c24a6cc1a8e3de5b40
 AUX dogecoin.service 879 BLAKE2B 9d90f9464a11ad91166f8d3587984d579708f70a61b744b37640ddf98cd5faf9a77f0e8e19931e562436294a6dbf664c7bf4a99e27a0e6f8cf21446b32271a4d SHA512 6aa48c98cf3d64ee7520dbd8d91fa3a514c7677aacc309db010b2e3184a0ccfcf867c5105d94c7c43e668ab84842790f04a75a0daa0e7db589745e1e5600715c
 AUX dogecoind.logrotate 113 BLAKE2B ece28d92a70ade7e7d4493f0b23fab700a43ae5cad745e32e01af23fa2f03bf2c0521bd44321b8cbbb553f1e7f112d0e26c48a7a10a3ee08fa7165cfe5dee8b7 SHA512 d041af278b6138f8f13b3a51928f0e509ef7a5ef767e2f29ce27a6766709b583f6452dd2813cbbe9691765b042ad6b5e50f457dba3022b9b5f1ca419168845d9
 DIST dogecoin-v1.10.0.tgz 6537709 BLAKE2B c25f15a75da021873978631724ecdc28615ecec6582c7365d7b9adf96b8b7456eeda631fbdc2b770e639943ff82bf106902f4c8e326281d5267ca36e434bc56d SHA512 a8b636ff36dc55b0dc559c33385bba8ab41dfb351d9697cd136731f5c4306f51f22e974f2d2658fe82eed4a083da68a534f5f989882b4cc3599eac9301d3f1e5
+DIST dogecoin-v1.14.0.tgz 7208252 BLAKE2B 0060dcffaf0c81e7931a49ee85146d37e8c663976e5fdcc183e47abb5e53efcb771e23f5b086e5114f0a87c4938f8370dc3d1f31489a33b2c7e6d2d94b102ffa SHA512 376a542fd5bb3bbfaaa00c6839851f5a8fd51f3cc770836de87c1ce6eefa27812a7fea90609ea68efd3be36851dfff1a3ce307d4a5d5c3897382bf09680aed50
+DIST dogecoin-v1.8.3.tgz 8282319 BLAKE2B 95e15a2aa8eed9ba4c9059314c9a74e516075abc540a73a834ee48026394d2f59ba6f6e11135aae44561a0bc891c8a4b06ec6410bd07b504831a2c5f94d6b9d4 SHA512 9251deea81a6e4762bbfee9846a14bfa6868e8b1f2563b74a599e5df9b2a6e41ecbe14fae70e50d465f40666a243f8eecb5e0f1548aa4bbe3cd84827398ba7f6
 EBUILD dogecoind-1.10.0.ebuild 2313 BLAKE2B 9a6cebe7d69982958f7cd92fa9619410f71ae2c632b9c2bc2db58d07f9609c029ba4b923faae70c254464135de6519b0b28459651f6f730891e5367533a4e320 SHA512 163ed0def9d53d8dc5c542ce90d0cdf34b856b6af5f424962b1f21a61668a4639135fe91849b5654deb452af1986c5e3ffe78dc59beba27804cfd78abecc1e28
+EBUILD dogecoind-1.14.0.ebuild 2313 BLAKE2B 9a6cebe7d69982958f7cd92fa9619410f71ae2c632b9c2bc2db58d07f9609c029ba4b923faae70c254464135de6519b0b28459651f6f730891e5367533a4e320 SHA512 163ed0def9d53d8dc5c542ce90d0cdf34b856b6af5f424962b1f21a61668a4639135fe91849b5654deb452af1986c5e3ffe78dc59beba27804cfd78abecc1e28
+EBUILD dogecoind-1.8.3.ebuild 2260 BLAKE2B ac23543ebba8b7e582186f76f02ac8befb987ca4773fc6f1b70819b1ff482fbf65d12542058978a6049cd656c3e544d2f90c8e097fb7a93657a539539c92d416 SHA512 0182a60e8d4056b426955ed5c46d7b75801250029df1d965292cb5248b7665a997c65cee2fca4d89a4f19e6ae054dd8dda4811258d78d284580826711e6e4ec1
 MISC ChangeLog 35 BLAKE2B c179e242ef417bc09182174c7b53268bac6bb2f34854ea57d98a6dccd65bf5837f39bf932a1014663d5a5a57ab1ae00cab2b95d08fcf359bf34c5b6c253bfb3b SHA512 6849adb7ba7996356171b259f1e7d428a27e5168c035787a86a2dc8e37c595bcd4a9887f5cadebeee4aefdce61e1dd6ffc8f924ff1fdda7729b75dcd2a404f43
 MISC Manifest.old 6402 BLAKE2B 5f6804d1c0068db8f9d0b9485a6e744f25ef05a49d2e895635f2b55cf1271786be72da7ff288352361a43d37bd1cd705dc8e980ce100427337411a2e5b6e84c5 SHA512 9b26de814ce6f6bf9c430c44b31551a6ca5ce82311a254eff8444209c762f3f1850d3ea10ac2a3682948a35569c0db08ffc41e5c82acca2b2771298aed6a5dde
 MISC metadata.xml 565 BLAKE2B e1adc3d584fc0fda4469f614be12723ab06700eb7cb0c81b0f8a52be3e9ee409c6bb13787d052f5b8745d6afd5f57d1268a67a3a65631e5e7e5882c56d5a1d70 SHA512 a43876c77b2e7ded5c3d94b89ac0bf660f8250a962d06cfa8c87762757f4c9c60b16f5dd6ff56e4802d1bd57340100c76f6bb382c7299edcb7783cabb9d8243d
diff --git a/net-p2p/dogecoind/dogecoind-1.14.0.ebuild b/net-p2p/dogecoind/dogecoind-1.14.0.ebuild
new file mode 100644 (file)
index 0000000..540774b
--- /dev/null
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DB_VER="5.1"
+
+inherit autotools db-use eutils flag-o-matic versionator systemd user
+
+MyPV="${PV/_/}"
+MyPN="dogecoin"
+MyP="${MyPN}-${MyPV}"
+
+DESCRIPTION="P2P Internet currency based on Bitcoin but wow such doge"
+HOMEPAGE="https://dogecoin.com/"
+SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz"
+
+LICENSE="MIT ISC GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug examples logrotate upnp +wallet test"
+
+RDEPEND="
+       >=dev-libs/boost-1.48.0[threads(+)]
+       dev-libs/openssl:0[-bindist]
+       logrotate? (
+               app-admin/logrotate
+       )
+       upnp? (
+               net-libs/miniupnpc
+       )
+       wallet? (
+               sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+       )
+"
+DEPEND="${RDEPEND}
+       >=app-shells/bash-4.1
+       sys-apps/sed
+"
+
+S="${WORKDIR}/${MyP}"
+
+pkg_setup() {
+       local UG='dogecoin'
+       enewgroup "${UG}"
+       enewuser "${UG}" -1 -1 /var/lib/dogecoin "${UG}"
+}
+
+src_prepare() {
+       eautoreconf
+}
+
+src_configure() {
+       append-cppflags "-I/usr/include/db${DB_VER}"
+       econf \
+               $(use_enable wallet) \
+               $(use_enable test tests) \
+               --disable-hardening \
+               $(use_enable debug) \
+               $(use_with upnp miniupnpc) \
+               --with-gui=no
+}
+
+src_test() {
+       emake check
+}
+
+src_install() {
+       dobin "src/${PN}"
+       dobin "src/dogecoin-cli"
+
+       insinto /etc/dogecoin
+       newins "${FILESDIR}/dogecoin.conf" dogecoin.conf
+       fowners dogecoin:dogecoin /etc/dogecoin/dogecoin.conf
+       fperms 600 /etc/dogecoin/dogecoin.conf
+
+       newconfd "${FILESDIR}/dogecoin.confd" "${PN}"
+       newinitd "${FILESDIR}/dogecoin.initd" "${PN}"
+#      systemd_dounit "${FILESDIR}/dogecoind.service"
+
+       keepdir /var/lib/dogecoin/.dogecoin
+       fperms 700 /var/lib/dogecoin
+       fowners dogecoin:dogecoin /var/lib/dogecoin/
+       fowners dogecoin:dogecoin /var/lib/dogecoin/.dogecoin
+       dosym /etc/dogecoin/dogecoin.conf /var/lib/dogecoin/.dogecoin/dogecoin.conf
+
+       dodoc doc/README.md
+       # dodoc RELEASE_NOTES_1_8.2.md
+#      doman contrib/debian/manpages/{dogecoind.1,dogecoin.conf.5}
+
+#      if use bash-completion; then
+#              newbashcomp "contrib/${PN}.bash-completion" "${PN}"
+#      fi
+
+       if use examples; then
+               docinto examples
+               dodoc -r contrib/{README.md,bitrpc,pyminer,spendfrom,linearize,qos}
+       fi
+
+       if use logrotate; then
+               insinto /etc/logrotate.d
+               newins "${FILESDIR}/dogecoind.logrotate" dogecoind
+       fi
+}