dogecoind-1.8.1
authorJustin Wind <justin.wind+git@gmail.com>
Mon, 22 Dec 2014 17:47:55 +0000 (09:47 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Mon, 22 Dec 2014 17:47:55 +0000 (09:47 -0800)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.8.1.ebuild [new file with mode: 0644]

index 56e2ad867707bdd06aef511d120a4cca64018a13..49a32d6d357b2004e6ea8a610e41d9abf790b54b 100644 (file)
@@ -4,6 +4,8 @@ AUX dogecoin.initd 2978 SHA256 20c28282d865411a8dfb9fa2fbb68329b7d95c9894b2fe257
 AUX dogecoin.service 879 SHA256 6c121a84cf9057133f1932622a47e58fbed7b4bb5248b73a356a309b7c728a41 SHA512 6aa48c98cf3d64ee7520dbd8d91fa3a514c7677aacc309db010b2e3184a0ccfcf867c5105d94c7c43e668ab84842790f04a75a0daa0e7db589745e1e5600715c WHIRLPOOL 96361a915fb40668ecb05b068c8acb324a72a037aabf67e39776adc8919c86286feb6c2d2664f4dc2fe59088cc80db114d337312fee0a9b6fae6d2ac7b770cd4
 AUX dogecoind.logrotate 113 SHA256 33d642ea78faca1788f25dc725aaa2249d0a60791d56e6d31febd207432ab68e SHA512 d041af278b6138f8f13b3a51928f0e509ef7a5ef767e2f29ce27a6766709b583f6452dd2813cbbe9691765b042ad6b5e50f457dba3022b9b5f1ca419168845d9 WHIRLPOOL c5554efed5fe6979340686ec7e4b8bf51aac7d5c9770ec318f67a9041b4bfa616e7216793e8458b21228bc937e512960bad4588d3449be46d2b1d5f053aeae74
 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
 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
 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.1.ebuild b/net-p2p/dogecoind/dogecoind-1.8.1.ebuild
new file mode 100644 (file)
index 0000000..ea6d8d6
--- /dev/null
@@ -0,0 +1,103 @@
+# Copyright 1999-2014 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 RELEASE_NOTES_1_8.1.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
+}