From f860805cf5d2e5a488c6b36192d53e17cbb3fcc7 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Sun, 26 Dec 2021 14:18:15 -0800 Subject: [PATCH] add net-p2p/dogecoind-1.14.5-r1 which drops -bindist from openssl --- net-p2p/dogecoind/Manifest | 1 + net-p2p/dogecoind/dogecoind-1.14.5-r1.ebuild | 108 +++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 net-p2p/dogecoind/dogecoind-1.14.5-r1.ebuild diff --git a/net-p2p/dogecoind/Manifest b/net-p2p/dogecoind/Manifest index 998e740..9aaac82 100644 --- a/net-p2p/dogecoind/Manifest +++ b/net-p2p/dogecoind/Manifest @@ -15,6 +15,7 @@ EBUILD dogecoind-1.14.0.ebuild 2313 BLAKE2B 9a6cebe7d69982958f7cd92fa9619410f71a EBUILD dogecoind-1.14.2-r2.ebuild 2436 BLAKE2B af5a1db1e6b8d35229e7e8c1c4ba26abbab14345fa5d06458742e6faec3f6439b46765f0bd62725cf3ec488a3df33558687e4aed767cb8e80945a94950271e59 SHA512 c97e59b1fbf7fa494df8189bb255ffd05102db2447350b0f34a3745281393cbec33a025ced82e956dde539ac90230df5a305fee7b8b9b2872caab5e195558179 EBUILD dogecoind-1.14.2.ebuild 2313 BLAKE2B 9a6cebe7d69982958f7cd92fa9619410f71ae2c632b9c2bc2db58d07f9609c029ba4b923faae70c254464135de6519b0b28459651f6f730891e5367533a4e320 SHA512 163ed0def9d53d8dc5c542ce90d0cdf34b856b6af5f424962b1f21a61668a4639135fe91849b5654deb452af1986c5e3ffe78dc59beba27804cfd78abecc1e28 EBUILD dogecoind-1.14.3.ebuild 2439 BLAKE2B 069630e51268158c3d3243a5eb0037702600954912ebe227385b492a300e6062ee2c7aa57d78cbd7065ef83e627b1bbc57940b71e7e4dd404b15bb9e8e59b866 SHA512 c0d1b854e49e4457d97c5c2683b013c2c9cbc37f4cb3abe7ed08098231c1cb4d7b95a6c25e90ab4a0acbdc3eb163cca25de014a71372bd3b483250d70e582e23 +EBUILD dogecoind-1.14.5-r1.ebuild 2429 BLAKE2B 2a8677dfc34ffe49f32b7219f4a4b4e7c655220b3e375c8439231438c4bedcc7c1535680774e7283779d6d85fcd4b81da6961f928478835d4b8fbe2abcc4b1da SHA512 d19b4d7fba3de41a4c375a2fb8f3a6965c86027f95664b51e72ae911d220fde0db2b8d210d35f8e6c8a7c3d884d0007f3d092e30b3e12cef3dac5a70b51b1a72 EBUILD dogecoind-1.14.5.ebuild 2439 BLAKE2B 069630e51268158c3d3243a5eb0037702600954912ebe227385b492a300e6062ee2c7aa57d78cbd7065ef83e627b1bbc57940b71e7e4dd404b15bb9e8e59b866 SHA512 c0d1b854e49e4457d97c5c2683b013c2c9cbc37f4cb3abe7ed08098231c1cb4d7b95a6c25e90ab4a0acbdc3eb163cca25de014a71372bd3b483250d70e582e23 MISC ChangeLog 35 BLAKE2B c179e242ef417bc09182174c7b53268bac6bb2f34854ea57d98a6dccd65bf5837f39bf932a1014663d5a5a57ab1ae00cab2b95d08fcf359bf34c5b6c253bfb3b SHA512 6849adb7ba7996356171b259f1e7d428a27e5168c035787a86a2dc8e37c595bcd4a9887f5cadebeee4aefdce61e1dd6ffc8f924ff1fdda7729b75dcd2a404f43 MISC Manifest.old 6402 BLAKE2B 5f6804d1c0068db8f9d0b9485a6e744f25ef05a49d2e895635f2b55cf1271786be72da7ff288352361a43d37bd1cd705dc8e980ce100427337411a2e5b6e84c5 SHA512 9b26de814ce6f6bf9c430c44b31551a6ca5ce82311a254eff8444209c762f3f1850d3ea10ac2a3682948a35569c0db08ffc41e5c82acca2b2771298aed6a5dde diff --git a/net-p2p/dogecoind/dogecoind-1.14.5-r1.ebuild b/net-p2p/dogecoind/dogecoind-1.14.5-r1.ebuild new file mode 100644 index 0000000..9d18405 --- /dev/null +++ b/net-p2p/dogecoind/dogecoind-1.14.5-r1.ebuild @@ -0,0 +1,108 @@ +# 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.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 + 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 +} -- 2.45.2