From 54cfc01f4b09105f2acce2d6a9e2f2c5e0db0111 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Fri, 3 Jul 2015 12:03:37 -0700 Subject: [PATCH] add dogecoind-1.8.3 --- net-p2p/dogecoind/Manifest | 2 + net-p2p/dogecoind/dogecoind-1.8.3.ebuild | 104 +++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 net-p2p/dogecoind/dogecoind-1.8.3.ebuild diff --git a/net-p2p/dogecoind/Manifest b/net-p2p/dogecoind/Manifest index 4cc37b0..fe61e05 100644 --- a/net-p2p/dogecoind/Manifest +++ b/net-p2p/dogecoind/Manifest @@ -6,8 +6,10 @@ AUX dogecoind.logrotate 113 SHA256 33d642ea78faca1788f25dc725aaa2249d0a60791d56e DIST dogecoin-v1.8.0.tgz 8049653 SHA256 8a33958c04213cd621aa3c86910477813af22512f03b47c98995d20d31f3f935 SHA512 898bb7e18d8e6964b9da05a1bc12a42ff3362b954c32415f1d4c0e58572313fafddffb4184670f7083412dbe053050719a7593464654e41799fa90e96aca6083 WHIRLPOOL cfd9336a2d15bb911c17314cb6169472e08d838498bc3dfe9164ea1bf59aa0d782e9958798af4a0feca660ab2dd6ccbd92079b5275c70db206ae8f589b67548f DIST dogecoin-v1.8.1.tgz 8277048 SHA256 a2ef769fe582f065f1682db9cfb858918141f9e9aa92f602edd8c80600b17240 SHA512 a12bd99f44477c151e2a00530cc7d0f4c2ea75bb442e85c1da2b8902d780d28e2644ed7ae28aca7d67880fc198fa6932e0b9eb026f20f78a6f268bbc319a57be WHIRLPOOL 4a932a6d5655a145f37da85e44ff84952240853cb24946a21cde8386c1e3127d0afa6c252536761155027a3c0f5c23aa2de4841ffca5452df48a2667541f1d63 DIST dogecoin-v1.8.2.tgz 8280103 SHA256 87060dfe6d9770f8af17c447120cb6a059bbd84687dfd6a1f0787c9d75d75d9e SHA512 f9d05c0b9becbf72d216e98cb1bf3fc374ae84a210a3eb1e1bcf356b692632fbe3a42aa9b889991fcb2e4a78e6b107669d2e1cf3459229dbe12b9cf7065ce9a2 WHIRLPOOL 83ebc5fc2e7268322256675fce5da8f9fcd337a79d9772e45056c62630541e67c27fc3711e3c28a1ad7267593f0ebbfc2689543759fc92045b6894a6134d80f4 +DIST dogecoin-v1.8.3.tgz 8280738 SHA256 e476a135756b53f32704fc6d6213dfc6a1a600ee864ad29c1362421b72471814 SHA512 3cca55e9d1133318fe0f2ac2e4bc14f4e16d5c01099ed05b76ce2b8ec2afd1cb2255776b4b31255809af62b577296112743f379f466b318085abaea3366ca4a7 WHIRLPOOL f95f5d5a363277f79d2a5bd599f3eba273aa8c575064511e1504d4a3c0cc9136ef25ab91f2a3366189a7adfccb382747b6b1ff331dd3a6897d80dfde2c61309f EBUILD dogecoind-1.8.0.ebuild 2249 SHA256 058b5a8d7cba2d2812ed649b84c583c7d2dce5a40f6eb3affca0d48b00894066 SHA512 4d6ecdd8bf93f06358335cfaf26dd6c1bac443a872b1bcd6dc2541d2a63335a17cd6d0806bd3c6fccf9c8f66666049d8a96891216bc3cc7b41e4a1174a23c598 WHIRLPOOL c296ceed23a6b9d1c51a2c3dadc82e7e29537519c77580666d1cb0414ff1f12af805ae6178d3a183d4b501182011bd66159ff5529a17dabb2da6a4586a301055 EBUILD dogecoind-1.8.1.ebuild 2251 SHA256 02ff064cfe988cda943e96648cac27b6fddad40615a3a5fbdf867ede36d4500e SHA512 3bd7ef132c5bf82843c41b79270958131e23d89b74107694f91b1ce169b7ee5f1e4a4a4b2275370072296a71e511adf0928c8ddbc84a3efd7be2a7398eb6295f WHIRLPOOL 77ee5f8aebb44dc0ea7767d4f1a55cf094f1a2b89120d84698cc0f4e8b33ad3bc59c02d087fc7e4fad59ee8e52c0cde39b7f262137f96c1ddda1b99efd97502e EBUILD dogecoind-1.8.2.ebuild 2260 SHA256 d815c1f18a16b6bdfaa978c8ea0d40547f8df8661a22bbd4443f20bbfeb5c816 SHA512 f1f29fe0f8686ceef4212cf0af4d002ebb290841745ee3a4730e162d2ed07f2bdacafe1f815cb579b1c90bac1d1182fb3ca8484dede522ec8cdc48e8a983408d WHIRLPOOL 72fdc8448e7b7e66dac8134b7e69c9dbab4bbbd406b8d04c8da7525c1c7116856951282472f6735e1bc99af8c8e5822f550f79cfb595d1d459587218b6c11ada +EBUILD dogecoind-1.8.3.ebuild 2260 SHA256 31d2b24af6a3cc9d51f4469f292e4d13a6374cdd014e040a7076b3d45770fc91 SHA512 0182a60e8d4056b426955ed5c46d7b75801250029df1d965292cb5248b7665a997c65cee2fca4d89a4f19e6ae054dd8dda4811258d78d284580826711e6e4ec1 WHIRLPOOL 208d0b3f7e8ec445a0fa9da5b5df8edd1218a91df2ddc78656fb2282d4a15cbd7c26749687e9bcdd324675fbb1d2bb23e13ceacf9c4561e05b38d6fc55afa051 MISC ChangeLog 35 SHA256 249b088967e439f9ede35725074ad34e74eb2aebf5afdf87f77f4d9f69a105c1 SHA512 6849adb7ba7996356171b259f1e7d428a27e5168c035787a86a2dc8e37c595bcd4a9887f5cadebeee4aefdce61e1dd6ffc8f924ff1fdda7729b75dcd2a404f43 WHIRLPOOL b8da20935cce8d197d9b83593f52c52f10ba33a9a0ce2c6fb76edc5800eb7275352f602d7b4304690459c7bcdba01df06af92d2e71b58e7822bc16b92c7ab1d1 MISC metadata.xml 551 SHA256 e8b31a7fef94880c2bbd2d5ef7c56461fdc8ad0069ad3dbd0fa4eed6e4ef3305 SHA512 3c84f6b1f9997a692aa8521e049b95df702fb7f0c11e744c3b3c3e109a533a2963b3398757f8eaf19efa1112a8d82ee609e04a8f0665e59ee76addd7d7139f20 WHIRLPOOL 0eed617a170d46a1464f43967e61a90a8f06123f50ade78a3296d1e60d14b4c933c93672ad610c7bc913cf03b112c98cdc9159ee4f743c4ed52f66248b077670 diff --git a/net-p2p/dogecoind/dogecoind-1.8.3.ebuild b/net-p2p/dogecoind/dogecoind-1.8.3.ebuild new file mode 100644 index 0000000..3ec4e71 --- /dev/null +++ b/net-p2p/dogecoind/dogecoind-1.8.3.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +DB_VER="5.1" + +inherit autotools db-use eutils 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() { + 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 +} -- 2.45.2