add net-p2p/dogecoind-1.10.0
authorJustin Wind <justin.wind+git@gmail.com>
Mon, 9 Nov 2015 21:00:26 +0000 (13:00 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Mon, 9 Nov 2015 21:00:26 +0000 (13:00 -0800)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.10.0.ebuild [new file with mode: 0644]

index fe61e05cee5dd6d2a90046d919147665495eb85b..8dd09369a6c04b1451d2ca370f42471e8924812f 100644 (file)
@@ -3,10 +3,12 @@ AUX dogecoin.confd 415 SHA256 8681076255d5ce9c127342bd9bf27f25b0111d3beecde20ca9
 AUX dogecoin.initd 2978 SHA256 20c28282d865411a8dfb9fa2fbb68329b7d95c9894b2fe25700afcefee80fc5c SHA512 bfba32715eb696ffcee56ef807f9569ab5409b197699139ddc98993703e5f57f74f428e39765139226c6bdbaf85a259ef5afda2ad358f7a55e52ba02a39b8cd6 WHIRLPOOL 56ca35a591c70b8b8425bc65de19d3683cc3ad913f1f5b7d894207b7ad5c5b0e00836b08e2087a3b7093708f5e24253d4a36217f0125bfebaaf393afdd6bb6a0
 AUX dogecoin.service 879 SHA256 6c121a84cf9057133f1932622a47e58fbed7b4bb5248b73a356a309b7c728a41 SHA512 6aa48c98cf3d64ee7520dbd8d91fa3a514c7677aacc309db010b2e3184a0ccfcf867c5105d94c7c43e668ab84842790f04a75a0daa0e7db589745e1e5600715c WHIRLPOOL 96361a915fb40668ecb05b068c8acb324a72a037aabf67e39776adc8919c86286feb6c2d2664f4dc2fe59088cc80db114d337312fee0a9b6fae6d2ac7b770cd4
 AUX dogecoind.logrotate 113 SHA256 33d642ea78faca1788f25dc725aaa2249d0a60791d56e6d31febd207432ab68e SHA512 d041af278b6138f8f13b3a51928f0e509ef7a5ef767e2f29ce27a6766709b583f6452dd2813cbbe9691765b042ad6b5e50f457dba3022b9b5f1ca419168845d9 WHIRLPOOL c5554efed5fe6979340686ec7e4b8bf51aac7d5c9770ec318f67a9041b4bfa616e7216793e8458b21228bc937e512960bad4588d3449be46d2b1d5f053aeae74
+DIST dogecoin-v1.10.0.tgz 6537704 SHA256 2c279a7ee425b3706ce635c74a27fd813ac3605a37f6f13e63775ec311f90f7c SHA512 b71aadb698d107a8058a25e7fe78ef0562a64ef273101cdac460026a0c1dcc4965fe44afb2ad63eeffc42d01ff51bda0d92914c16c4598bf1463643ceb6b5336 WHIRLPOOL def1629f38f8515c877f4f729b43f05723282ea4abd622634db3b373875dda021eb11da07aec1b8800d5ad143a05837e4e4c612f4f9ad33fc15e40f97663f6b4
 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.10.0.ebuild 2313 SHA256 831b12022958090e086a521db4938775b2974c8f5fbf7ff94ba73b841799b38c SHA512 163ed0def9d53d8dc5c542ce90d0cdf34b856b6af5f424962b1f21a61668a4639135fe91849b5654deb452af1986c5e3ffe78dc59beba27804cfd78abecc1e28 WHIRLPOOL 46d1c99742fcace16e07a0ddec8b5024cf3ea35471aae28b678dd79f085a5d19471b6c7943bf38b693b0c8cf74bc2f920ca0014783cb33aef52c8cb628ad89e4
 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
diff --git a/net-p2p/dogecoind/dogecoind-1.10.0.ebuild b/net-p2p/dogecoind/dogecoind-1.10.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
+}