From 6a0d17f5a0232fce52617fd694e0d99613a5582e Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Thu, 14 Mar 2024 05:53:51 +0100 Subject: net-p2p/gridcoin: add 5.4.7.0, drop 5.4.6.0 Signed-off-by: Sven Eden --- net-p2p/gridcoin/Manifest | 4 +- net-p2p/gridcoin/gridcoin-5.4.6.0.ebuild | 135 ------------------------------- net-p2p/gridcoin/gridcoin-5.4.7.0.ebuild | 135 +++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+), 137 deletions(-) delete mode 100644 net-p2p/gridcoin/gridcoin-5.4.6.0.ebuild create mode 100644 net-p2p/gridcoin/gridcoin-5.4.7.0.ebuild diff --git a/net-p2p/gridcoin/Manifest b/net-p2p/gridcoin/Manifest index d1e3491..9d38f2a 100644 --- a/net-p2p/gridcoin/Manifest +++ b/net-p2p/gridcoin/Manifest @@ -1,6 +1,6 @@ AUX gridcoin.init 313 BLAKE2B c816b1726418146e786e9d78802e0dd0e5cd9177d93a791488bb2a5c919bf37cf785b3a51da03754f732f1c69b49ef334d82e62eda0838b9a049764e22660c65 SHA512 1bc3cfb07ecc01563ab5aaf53d02c6b70b8516d60ec54c4a0df5e2738568af6b1146095c5d673b716b95540bb65385b63c28ded041a09c841c8a37f556122f80 AUX gridcoin.service 191 BLAKE2B c828c4d95b3bc11da42221a8f3118d4a9af841fc19408e24d5aa657796e6e7697039f65e4fbd86287d35f81fef07af8157877dac5958f89c8acd4732a6e9359c SHA512 f892a5edbd9f2351e24adc6af4dcd35b5d450098c3eacd4a795ed959aef9e041c0a72aada59ef4a2076222fcedba7cef0f05f1726a2c5af970ec537665b6f81d AUX gridcoinresearch.conf 2880 BLAKE2B 75e768979cd317eff2cc9739e7eb11187f0330880121cecf025f6240164e1a0ccdd2e31d7614553ec8bdd5cade038809d53364c8fa868582b8b96d0361ffcc68 SHA512 bce85a30232fac19b8e207f4fa95acb388835ea12d9d7b9a461788898a3651d0d11dff3a208c28692b4d1f7cd2ec82421948e03b2130e72796ade6d53a31733d -DIST gridcoin-5.4.6.0.tar.gz 42842258 BLAKE2B 86ead45de3efc10bda607f86b799f93e46c394ad9eba4f4de9162113c06c88365c239f9fb1cd974220a7a83ff1b845ba45d2c1ed69016ea0bc7829d8431f5bad SHA512 a5c00b9b23bc1553e42bc95dba83f3370aeae13319c751895a35b6468d27260a98c3acc0e91233ac9769c2834a857be47ff2c42a632e64f4d410d36bfa8cde64 -EBUILD gridcoin-5.4.6.0.ebuild 4509 BLAKE2B b05aa1fc0450f20c81304801008681fd4399b2381c28d822366505e1b62545aca37a002192ebe258fdd7b5c159c482ca903751cb6275ddb29a3597fb8c0bc08e SHA512 9f167dd7be64d7c3ca269dc2f22472dca67886ffb79d0f80e2f72f1814159f2a8885ac06e926e776f319fabc78c8ebb752d07108a991dc87e86db8d7178d98c9 +DIST gridcoin-5.4.7.0.tar.gz 42846185 BLAKE2B 2d6d0858fc34611878e19ada2066d38e00abde55037a1eecc8f2c28d8db1d10c1297177c1b6b74ef0ce2630bea67075ff6fd47b6a8830465007a5860f789aae1 SHA512 042250d89151492796f8a294c83aa756fb9fbed6d62302a9d7037180d18d67b582eb0ba4fc4c9340e0d07ad9f0cd0f5dfeddc76f4c08bf417c73cb6b12a12ca2 +EBUILD gridcoin-5.4.7.0.ebuild 4509 BLAKE2B b05aa1fc0450f20c81304801008681fd4399b2381c28d822366505e1b62545aca37a002192ebe258fdd7b5c159c482ca903751cb6275ddb29a3597fb8c0bc08e SHA512 9f167dd7be64d7c3ca269dc2f22472dca67886ffb79d0f80e2f72f1814159f2a8885ac06e926e776f319fabc78c8ebb752d07108a991dc87e86db8d7178d98c9 MISC metadata.xml 1402 BLAKE2B 2d756f641e8236924dc2af0d9eef43ffdf3313f650d6a3a620480670d52ddc78889b82b0a4277e4fd1fb8c8c46fe9b076a35fbe472195a510f535746e1728608 SHA512 d5a83407d17e8f50ae6bb762c4e7ca3f5ea69acf249cd78696685323022c15605901b44d08fcec578ebd5209bf60a9d8ea5785ee518f521b2be01504ce7ecbd2 diff --git a/net-p2p/gridcoin/gridcoin-5.4.6.0.ebuild b/net-p2p/gridcoin/gridcoin-5.4.6.0.ebuild deleted file mode 100644 index 43baa64..0000000 --- a/net-p2p/gridcoin/gridcoin-5.4.6.0.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic systemd desktop - -DESCRIPTION="Gridcoin Proof-of-Stake based crypto-currency that rewards BOINC computation" -HOMEPAGE="https://gridcoin.us/" -SRC_URI="https://github.com/${PN}-community/${PN^}-Research/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN^}-Research-${PV}" - -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE_GUI="dbus qt5" -IUSE_DAEMON="daemon" -IUSE_OPTIONAL="+bench +boinc +ccache debug +harden +libraries pic +qrcode static test +upnp +utils systemd" -IUSE="${IUSE_GUI} ${IUSE_DAEMON} ${IUSE_OPTIONAL}" - -RESTRICT="!test? ( test )" - -# Note: The client *CAN* *NOT* connect to the daemon like the BOINC client does. -# Therefore either run the daemon or the GUI client. Furthermore starting the GUI client while -# the daemon is running will kill the latter. -# See: https://www.reddit.com/r/gridcoin/comments/9x0zsy/comment/e9r85vf/ -# "The GUI instance will not RPC to another wallet process." -REQUIRED_USE=" - ?? ( daemon qt5 ) - dbus? ( qt5 ) - qrcode? ( qt5 ) -" - -RDEPEND=" - >=dev-libs/libevent-2.1.12 - daemon? ( - acct-group/gridcoin - acct-user/gridcoin[boinc=] - ) - dev-libs/boost - dev-libs/openssl-compat:1.1.1 - dev-libs/libzip - sys-libs/db:5.3[cxx] - dbus? ( dev-qt/qtdbus:5 ) - qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 dev-qt/qtconcurrent:5 dev-qt/qtcharts:5 ) - qrcode? ( media-gfx/qrencode ) - upnp? ( net-libs/miniupnpc ) - boinc? ( sci-misc/boinc ) - utils? ( net-p2p/bitcoin-core[bitcoin-cli] ) -" -DEPEND=" - ${RDEPEND} - qt5? ( dev-qt/linguist-tools:5 ) -" - -pkg_setup() { - BDB_VER="$(best_version sys-libs/db:5.3)" - export BDB_CFLAGS="-I/usr/include/db${BDB_VER:12:3}" - export BDB_LIBS="-ldb_cxx-${BDB_VER:12:3}" -} - -src_prepare() { - if use debug && [[ ! $(portageq envvar FEATURES) =~ .*(splitdebug|nostrip).* ]]; then - ewarn "You have enabled debug flags and macros during compilation." - ewarn "For these to be useful, you should also have Portage retain debug symbols." - ewarn "See https://wiki.gentoo.org/wiki/Debugging on configuring your environment" - ewarn "and set your desired FEATURES before (re-)building this package." - fi - default - ./autogen.sh -} - -src_configure() { - use harden && append-flags -Wa,--noexecstack - econf \ - $(use_enable bench) \ - $(use_enable ccache ) \ - $(use_enable debug) \ - $(use_enable harden hardening) \ - $(use_enable static) \ - $(use_enable test tests) \ - $(use_with daemon) \ - $(use_with dbus qtdbus) \ - $(use_with libraries libs) \ - $(use_with pic) \ - $(use_with qrcode qrencode) \ - $(use_with qt5 gui qt5) \ - $(use_with upnp miniupnpc) \ - $(use_with utils) -} - -src_install() { - if use daemon ; then - newbin src/gridcoinresearchd gridcoinresearchd - newman doc/gridcoinresearchd.1 gridcoinresearchd.1 - newinitd "${FILESDIR}"/gridcoin.init gridcoin - if use systemd ; then - systemd_dounit "${FILESDIR}"/gridcoin.service - fi - diropts -o${PN} -g${PN} - keepdir /var/lib/${PN}/.GridcoinResearch/ - newconfd "${FILESDIR}"/gridcoinresearch.conf gridcoinresearch - fowners gridcoin:gridcoin /etc/conf.d/gridcoinresearch - fperms 0660 /etc/conf.d/gridcoinresearch - dosym ../../../../etc/conf.d/gridcoinresearch /var/lib/${PN}/.GridcoinResearch/gridcoinresearch.conf - fi - if use qt5 ; then - newbin src/qt/gridcoinresearch gridcoinresearch - newman doc/gridcoinresearch.1 gridcoinresearch.1 - domenu contrib/gridcoinresearch.desktop - for size in 16 22 24 32 48 64 128 256 ; do - doicon -s "${size}" "share/icons/hicolor/${size}x${size}/apps/gridcoinresearch.png" - done - doicon -s scalable "share/icons/hicolor/scalable/apps/gridcoinresearch.svg" - fi - dodoc README.md CHANGELOG.md doc/build-unix.md - -} - -pkg_postinst() { - elog - elog "You are using a source compiled version of gridcoin." - use daemon && elog "The daemon can be found at /usr/bin/gridcoinresearchd" - use qt5 && elog "The graphical wallet can be found at /usr/bin/gridcoinresearch" - elog - elog "You need to configure this node with a few basic details to do anything" - elog "useful with gridcoin. The wallet configuration file is located at:" - use daemon && elog " /etc/conf.d/gridcoinresearch" - use qt5 && elog " \$HOME/.GridcoinResearch" - elog "The wiki for this configuration file is located at:" - elog " http://wiki.gridcoin.us/Gridcoinresearch_config_file" - elog -} diff --git a/net-p2p/gridcoin/gridcoin-5.4.7.0.ebuild b/net-p2p/gridcoin/gridcoin-5.4.7.0.ebuild new file mode 100644 index 0000000..43baa64 --- /dev/null +++ b/net-p2p/gridcoin/gridcoin-5.4.7.0.ebuild @@ -0,0 +1,135 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic systemd desktop + +DESCRIPTION="Gridcoin Proof-of-Stake based crypto-currency that rewards BOINC computation" +HOMEPAGE="https://gridcoin.us/" +SRC_URI="https://github.com/${PN}-community/${PN^}-Research/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN^}-Research-${PV}" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE_GUI="dbus qt5" +IUSE_DAEMON="daemon" +IUSE_OPTIONAL="+bench +boinc +ccache debug +harden +libraries pic +qrcode static test +upnp +utils systemd" +IUSE="${IUSE_GUI} ${IUSE_DAEMON} ${IUSE_OPTIONAL}" + +RESTRICT="!test? ( test )" + +# Note: The client *CAN* *NOT* connect to the daemon like the BOINC client does. +# Therefore either run the daemon or the GUI client. Furthermore starting the GUI client while +# the daemon is running will kill the latter. +# See: https://www.reddit.com/r/gridcoin/comments/9x0zsy/comment/e9r85vf/ +# "The GUI instance will not RPC to another wallet process." +REQUIRED_USE=" + ?? ( daemon qt5 ) + dbus? ( qt5 ) + qrcode? ( qt5 ) +" + +RDEPEND=" + >=dev-libs/libevent-2.1.12 + daemon? ( + acct-group/gridcoin + acct-user/gridcoin[boinc=] + ) + dev-libs/boost + dev-libs/openssl-compat:1.1.1 + dev-libs/libzip + sys-libs/db:5.3[cxx] + dbus? ( dev-qt/qtdbus:5 ) + qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 dev-qt/qtconcurrent:5 dev-qt/qtcharts:5 ) + qrcode? ( media-gfx/qrencode ) + upnp? ( net-libs/miniupnpc ) + boinc? ( sci-misc/boinc ) + utils? ( net-p2p/bitcoin-core[bitcoin-cli] ) +" +DEPEND=" + ${RDEPEND} + qt5? ( dev-qt/linguist-tools:5 ) +" + +pkg_setup() { + BDB_VER="$(best_version sys-libs/db:5.3)" + export BDB_CFLAGS="-I/usr/include/db${BDB_VER:12:3}" + export BDB_LIBS="-ldb_cxx-${BDB_VER:12:3}" +} + +src_prepare() { + if use debug && [[ ! $(portageq envvar FEATURES) =~ .*(splitdebug|nostrip).* ]]; then + ewarn "You have enabled debug flags and macros during compilation." + ewarn "For these to be useful, you should also have Portage retain debug symbols." + ewarn "See https://wiki.gentoo.org/wiki/Debugging on configuring your environment" + ewarn "and set your desired FEATURES before (re-)building this package." + fi + default + ./autogen.sh +} + +src_configure() { + use harden && append-flags -Wa,--noexecstack + econf \ + $(use_enable bench) \ + $(use_enable ccache ) \ + $(use_enable debug) \ + $(use_enable harden hardening) \ + $(use_enable static) \ + $(use_enable test tests) \ + $(use_with daemon) \ + $(use_with dbus qtdbus) \ + $(use_with libraries libs) \ + $(use_with pic) \ + $(use_with qrcode qrencode) \ + $(use_with qt5 gui qt5) \ + $(use_with upnp miniupnpc) \ + $(use_with utils) +} + +src_install() { + if use daemon ; then + newbin src/gridcoinresearchd gridcoinresearchd + newman doc/gridcoinresearchd.1 gridcoinresearchd.1 + newinitd "${FILESDIR}"/gridcoin.init gridcoin + if use systemd ; then + systemd_dounit "${FILESDIR}"/gridcoin.service + fi + diropts -o${PN} -g${PN} + keepdir /var/lib/${PN}/.GridcoinResearch/ + newconfd "${FILESDIR}"/gridcoinresearch.conf gridcoinresearch + fowners gridcoin:gridcoin /etc/conf.d/gridcoinresearch + fperms 0660 /etc/conf.d/gridcoinresearch + dosym ../../../../etc/conf.d/gridcoinresearch /var/lib/${PN}/.GridcoinResearch/gridcoinresearch.conf + fi + if use qt5 ; then + newbin src/qt/gridcoinresearch gridcoinresearch + newman doc/gridcoinresearch.1 gridcoinresearch.1 + domenu contrib/gridcoinresearch.desktop + for size in 16 22 24 32 48 64 128 256 ; do + doicon -s "${size}" "share/icons/hicolor/${size}x${size}/apps/gridcoinresearch.png" + done + doicon -s scalable "share/icons/hicolor/scalable/apps/gridcoinresearch.svg" + fi + dodoc README.md CHANGELOG.md doc/build-unix.md + +} + +pkg_postinst() { + elog + elog "You are using a source compiled version of gridcoin." + use daemon && elog "The daemon can be found at /usr/bin/gridcoinresearchd" + use qt5 && elog "The graphical wallet can be found at /usr/bin/gridcoinresearch" + elog + elog "You need to configure this node with a few basic details to do anything" + elog "useful with gridcoin. The wallet configuration file is located at:" + use daemon && elog " /etc/conf.d/gridcoinresearch" + use qt5 && elog " \$HOME/.GridcoinResearch" + elog "The wiki for this configuration file is located at:" + elog " http://wiki.gridcoin.us/Gridcoinresearch_config_file" + elog +} -- cgit v1.2.3-65-gdbad