add net-p2p/dogecoind-1.14.5.ebuild
authorJustin Wind <justin.wind+git@gmail.com>
Tue, 9 Nov 2021 19:54:21 +0000 (11:54 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Tue, 9 Nov 2021 19:54:21 +0000 (11:54 -0800)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.14.5.ebuild [new file with mode: 0644]

index 923a64853d033703ad229f80efc8fea0066f119f..998e740063b54f0c32fb5f0bfb46aeec22baf51f 100644 (file)
@@ -9,11 +9,13 @@ DIST dogecoin-v1.10.0.tgz 6537709 BLAKE2B c25f15a75da021873978631724ecdc28615ece
 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
+DIST dogecoin-v1.14.5.tgz 7277474 BLAKE2B d4b3c3e2dd4ff9de9021ae23e4374b7892df247441e8d225a1989c7849b71dfd1f21a6a376d7730e695eef274e9a29620fb66730efec9146fa4e48a3ae5e09c1 SHA512 fc283591b325400fdf95cc8a9b456c18fa92f8cee7ce7f70bc606511fa54431beffc56baa20d7b578417b259212a619c29a65ae186ea4093fc263899b0acff26
 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
+EBUILD dogecoind-1.14.5.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.5.ebuild b/net-p2p/dogecoind/dogecoind-1.14.5.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
+}