add dogecoind-1.14.3.ebuild
authorJustin Wind <justin.wind+git@gmail.com>
Mon, 8 Mar 2021 21:48:10 +0000 (13:48 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Mon, 8 Mar 2021 21:48:10 +0000 (13:48 -0800)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.14.3.ebuild [new file with mode: 0644]

index c69880afc58003dd8714af1d14f00100b3686658..923a64853d033703ad229f80efc8fea0066f119f 100644 (file)
@@ -8,10 +8,12 @@ AUX dogecoind.logrotate 113 BLAKE2B ece28d92a70ade7e7d4493f0b23fab700a43ae5cad74
 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.14.2.tgz 7207891 BLAKE2B 00de81aba4daec91ff55d0c8642fc6e633b2601f37659605621685c3f3a8fcf8df1a7947b2d3218dd0eea240a6d9b8816e3be5a1b8895aa6ad3a85713ab49290 SHA512 8d931269302675b4df8f2bcab31622897c14514ca5c70c65a410fc39af5bcdb992aaa9ee91b158b70fa0ca0853b14746b94c677d12390c5787f55291a6d0ce5c
+DIST dogecoin-v1.14.3.tgz 7204900 BLAKE2B bc479a288d107dd9cca8aa05475800a4b6a4fe6cdc696b6d2c8864594d49939cf336ab7a91b408f7af0c919467fc0e9ccde959dfc385644b7dd21fce99ef332d SHA512 c97720d52d457227b707e869d7a5f96606592acdd9f1606724b81e2936b725b92af4627740e10e107ff98b5fb7e2ffb7d8bea00f45e50344b5cea621ea10686c
 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.14.2-r2.ebuild 2436 BLAKE2B af5a1db1e6b8d35229e7e8c1c4ba26abbab14345fa5d06458742e6faec3f6439b46765f0bd62725cf3ec488a3df33558687e4aed767cb8e80945a94950271e59 SHA512 c97e59b1fbf7fa494df8189bb255ffd05102db2447350b0f34a3745281393cbec33a025ced82e956dde539ac90230df5a305fee7b8b9b2872caab5e195558179
 EBUILD dogecoind-1.14.2.ebuild 2313 BLAKE2B 9a6cebe7d69982958f7cd92fa9619410f71ae2c632b9c2bc2db58d07f9609c029ba4b923faae70c254464135de6519b0b28459651f6f730891e5367533a4e320 SHA512 163ed0def9d53d8dc5c542ce90d0cdf34b856b6af5f424962b1f21a61668a4639135fe91849b5654deb452af1986c5e3ffe78dc59beba27804cfd78abecc1e28
+EBUILD dogecoind-1.14.3.ebuild 2439 BLAKE2B 069630e51268158c3d3243a5eb0037702600954912ebe227385b492a300e6062ee2c7aa57d78cbd7065ef83e627b1bbc57940b71e7e4dd404b15bb9e8e59b866 SHA512 c0d1b854e49e4457d97c5c2683b013c2c9cbc37f4cb3abe7ed08098231c1cb4d7b95a6c25e90ab4a0acbdc3eb163cca25de014a71372bd3b483250d70e582e23
 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.3.ebuild b/net-p2p/dogecoind/dogecoind-1.14.3.ebuild
new file mode 100644 (file)
index 0000000..148da59
--- /dev/null
@@ -0,0 +1,108 @@
+# 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.74.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() {
+#      epatch "${FILESDIR}/0001-Fix-for-Boost-1.74.patch"
+#      epatch "${FILESDIR}/0002-httpserver-include-deque.patch"
+#      epatch_user
+       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
+}