add net-p2p/dogecoind-1.14.6.ebuild master
authorJustin Wind <justin.wind+git@gmail.com>
Thu, 28 Jul 2022 16:17:30 +0000 (09:17 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Thu, 28 Jul 2022 16:17:30 +0000 (09:17 -0700)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.14.6.ebuild [new file with mode: 0644]

index bb6257cc1d7feafc1df9d9e5ffa2508fb32c0490..a1a29b06e1e788a90819182b86e1dfc5611e6323 100644 (file)
@@ -6,7 +6,9 @@ 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.14.5.tgz 7277474 BLAKE2B d4b3c3e2dd4ff9de9021ae23e4374b7892df247441e8d225a1989c7849b71dfd1f21a6a376d7730e695eef274e9a29620fb66730efec9146fa4e48a3ae5e09c1 SHA512 fc283591b325400fdf95cc8a9b456c18fa92f8cee7ce7f70bc606511fa54431beffc56baa20d7b578417b259212a619c29a65ae186ea4093fc263899b0acff26
+DIST dogecoin-v1.14.6.tgz 8162072 BLAKE2B e2d1abe7b60cc2f15998834ec1f23570ad3d471d80e9d05b8e5aa64d6e46b7196d7a13d134e6721fe57b6afd34811bd486de02c00b54ee8516313b81ae6821c2 SHA512 05f1142a22f36a04e65ef91c834b3e724280e29b930617bb66fac98777bb541ddca15771db4205f0cdc14389f3eb4e94fda550f7806b3e9863d909c063f38610
 EBUILD dogecoind-1.14.5-r2.ebuild 2412 BLAKE2B d661e132521f3b2cb15d080dfdd2fabd264ca5af9d4a2a46727632509b5de62db7c6f1958bfe741521c57a1a4db6d593fecbf954fe82b98b984f878ca6d0f4cf SHA512 b00c42de37457a036ffa8345545c3cda1401b9b13d04c9a74b5309e2719af6138c614f43902aa8e96cae9e26a3b5e594ef14dfe24dc0096b3e5925e0eb33ce42
+EBUILD dogecoind-1.14.6.ebuild 2412 BLAKE2B d661e132521f3b2cb15d080dfdd2fabd264ca5af9d4a2a46727632509b5de62db7c6f1958bfe741521c57a1a4db6d593fecbf954fe82b98b984f878ca6d0f4cf SHA512 b00c42de37457a036ffa8345545c3cda1401b9b13d04c9a74b5309e2719af6138c614f43902aa8e96cae9e26a3b5e594ef14dfe24dc0096b3e5925e0eb33ce42
 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.6.ebuild b/net-p2p/dogecoind/dogecoind-1.14.6.ebuild
new file mode 100644 (file)
index 0000000..8481949
--- /dev/null
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DB_VER="5.1"
+
+inherit autotools db-use flag-o-matic systemd
+
+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
+       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
+       default
+       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
+}