dogecoind-1.8.0
authorJustin Wind <justin.wind+git@gmail.com>
Mon, 25 Aug 2014 22:23:24 +0000 (15:23 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Mon, 25 Aug 2014 22:23:24 +0000 (15:23 -0700)
net-p2p/dogecoind/Manifest
net-p2p/dogecoind/dogecoind-1.8.0.ebuild [new file with mode: 0644]

index 8d30d893d0213f8613c3c9095eca7a3e605848e0..17e696b715edc610a704fe2550460fcf4beb78f0 100644 (file)
@@ -7,8 +7,10 @@ AUX dogecoind.logrotate 113 SHA256 33d642ea78faca1788f25dc725aaa2249d0a60791d56e
 DIST dogecoin-1.6.tar.gz 3405829 SHA256 cab04d7a33de1b429440bfa98506d4a64417a70bddcb9a33342b38837edf54fd SHA512 dd40d96f87aa787af3ae7da38ec33c94bdc15b1176c2468c3a7408778b3b0e64f2c2bdafa3a85e72ef02fe4b9f931cbe7dec33b1da3bc867978d747f31662621 WHIRLPOOL 9721725f24d712caeab03b863115b9f3d553951cdf48885a3cdc4899f5e5a5eec5a7c1c63c22b5bf7ff93c73cc90b15f8b9c1f4318d8737c1cfa4f7e5aafd1ae
 DIST dogecoin-1.7.0.tar.gz 6865456 SHA256 e45cb9f2f24b3028ade4dc4791e72bf36e471920b50a93e03b29b36a95fd63cb SHA512 2d764f9a5411036d39cafb693c698944c200d2b80634e34e187d2265724066d72ce28c018633b5e6ef73a69de8ea8cea67bd1851b1f0dbf7d0cad22b0ee8c741 WHIRLPOOL 94b24bf913ff7fda6229bda40c4c7371dea2e49405edffe1eaf3c0dd8f0aab060ae1f269b70eb1f933a5303076828351ba823496070c60d1230a83f4d53ecdf4
 DIST dogecoin-v1.7.0.tgz 6865456 SHA256 e45cb9f2f24b3028ade4dc4791e72bf36e471920b50a93e03b29b36a95fd63cb SHA512 2d764f9a5411036d39cafb693c698944c200d2b80634e34e187d2265724066d72ce28c018633b5e6ef73a69de8ea8cea67bd1851b1f0dbf7d0cad22b0ee8c741 WHIRLPOOL 94b24bf913ff7fda6229bda40c4c7371dea2e49405edffe1eaf3c0dd8f0aab060ae1f269b70eb1f933a5303076828351ba823496070c60d1230a83f4d53ecdf4
+DIST dogecoin-v1.8.0.tgz 8049653 SHA256 8a33958c04213cd621aa3c86910477813af22512f03b47c98995d20d31f3f935 SHA512 898bb7e18d8e6964b9da05a1bc12a42ff3362b954c32415f1d4c0e58572313fafddffb4184670f7083412dbe053050719a7593464654e41799fa90e96aca6083 WHIRLPOOL cfd9336a2d15bb911c17314cb6169472e08d838498bc3dfe9164ea1bf59aa0d782e9958798af4a0feca660ab2dd6ccbd92079b5275c70db206ae8f589b67548f
 EBUILD dogecoind-1.6.ebuild 3009 SHA256 61e3b4f3c96997e577de9a64c77eef666cb274085d6cb8a6517bef9db3018b44 SHA512 f7469092e7c38359a46c79808abcec13df8e3cebcc6136b8473e3140851faac9bb9e59b4faf241046e1f2fb26bf43b888ce66ec746194458c0e6e2341a438a5f WHIRLPOOL 2d61fb09f04b01546881b2fa7fde96791349d5659321e5f35664e7b96f4d6ad4672b55d5e1f6491a2ed9c9531b4b064c4c1cc3f274ad2fdfef5acc05be6c60ee
 EBUILD dogecoind-1.7.0-r1.ebuild 2581 SHA256 ef30c3fb41fdd0f7b3a7b7ad2bcc8eb74e436caa27f4a3cd1df33de0e1fb2c9e SHA512 3f8a2cb168df4baa22feee4d991a8f1aa2ef1a90ee0bd2e326ac1f0585bed7f2dc686c5553ad95948c6c2654cfdc8d45118604d7310a82f988822153055b85dd WHIRLPOOL e0f1efdc781eb9e829f927225d642e48cbd9b9abfbef1691104efb7df8d410fdc797d002473898c0bcc9b4b0fef9aed65ded67af99dc8641c7dbfbd86943ad47
 EBUILD dogecoind-1.7.0.ebuild 3010 SHA256 bf3ff3002c2049de26bb9c5691d0f9aba18fad853ea72a525022c820880aeb73 SHA512 e9a6eeb49e3a2905db225d2c92e9a17aaab3d2db2659d846f22b4396441d495f1ce37bf9a99814fc9a4c82bf2d52ff0827215fc7fc9c7cc3a676c77f0e99bd9b WHIRLPOOL f280e12463de27aa64640e783ef6eec58b84f56838d5efb7f98012b16332bf2ff42fa25b47373a558fe53ee50aeaa6f99de9acfc8450bb2b6ee75e35295a8a9f
+EBUILD dogecoind-1.8.0.ebuild 2532 SHA256 bb7a93346ca478c952b1bd996a921fc1b4e873cbf39729eef30fb48f14537e30 SHA512 6818331444400a1c50dac6aa4a5b2bed77458d228d03ab7c4b36db5f63296e71d1bf1ad8b2dfba6f88b3f0d6f56a236a12171e3cd64b255ce7fff2919b5b50fa WHIRLPOOL b709d4bbc2b348c191f731f9bb33e04692f90701820d897c39a6aabc7d420e3a22833904443e13c15cb3923e52d3a5a0aeaeb0cace6fa577c4101cf5e940d59d
 MISC ChangeLog 35 SHA256 249b088967e439f9ede35725074ad34e74eb2aebf5afdf87f77f4d9f69a105c1 SHA512 6849adb7ba7996356171b259f1e7d428a27e5168c035787a86a2dc8e37c595bcd4a9887f5cadebeee4aefdce61e1dd6ffc8f924ff1fdda7729b75dcd2a404f43 WHIRLPOOL b8da20935cce8d197d9b83593f52c52f10ba33a9a0ce2c6fb76edc5800eb7275352f602d7b4304690459c7bcdba01df06af92d2e71b58e7822bc16b92c7ab1d1
 MISC metadata.xml 325 SHA256 37aef5bcb42f89e449ea4f0ec19174be6c9ba1bafcd49df1d3f60969a2eeb0e9 SHA512 de0df1316737a65c1e0996dbae24e653eac94d439cf2c291126ba0917195345a31518f7b3f9b2d548b2330d615c01797b2a808b341491980d1ffdd23f43bc145 WHIRLPOOL 31a18cf426f2479402744bb74e6987c9cd87899558fe7c9c4e5bd3a4d171d2f0ab21c40898d5c96f7c67ce7a74327f859df1ac51eb2e94a6abc1ce64045de2af
diff --git a/net-p2p/dogecoind/dogecoind-1.8.0.ebuild b/net-p2p/dogecoind/dogecoind-1.8.0.ebuild
new file mode 100644 (file)
index 0000000..743c0fb
--- /dev/null
@@ -0,0 +1,108 @@
+# Distributed under the terms of the GNU General Public License v2
+
+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
+       )
+       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() {
+       # bitcoin for some reason doesn't use embedded leveldb
+       # but we will, because version/bug pinning is a good thing
+#      rm -r src/leveldb
+#      sed -e 's/^\(LIBLEVELDB=\).*$/\1-lleveldb/' \
+#              -e 's/^\(LIBMEMENV=\).*$/\1-lmemenv/' \
+#              -e 's/^\(AM_CONDITIONAL(\[EMBEDDED_LEVELDB\],\[\).*\(\])\)$/\1false\2/' \
+#              -i configure.ac
+
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-silent-rules \
+               $(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.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
+}