New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net-p2p/litecoind: add 0.18.1 #21302
Conversation
--- litecoind-0.10.4.0-r2.ebuild
+++ litecoind-0.18.1.ebuild
@@ -19,63 +19,46 @@
LICENSE="MIT ISC GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="logrotate upnp +wallet"
+IUSE="cpu_flags_x86_sse2 upnp +wallet"
RDEPEND="
acct-group/litecoin
acct-user/litecoin
dev-libs/boost:=[threads(+)]
dev-libs/leveldb:=
- dev-libs/openssl:0[-bindist(-)]
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- logrotate? ( app-admin/logrotate )
- upnp? ( net-libs/miniupnpc )
-"
-DEPEND="
- ${RDEPEND}
- >=app-shells/bash-4.1
- sys-apps/sed
-"
-
-PATCHES=(
- "${FILESDIR}"/0.9.0-sys_leveldb.patch
- "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch
- "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch
- "${FILESDIR}"/${P}-gcc6.patch
-)
+ dev-libs/libevent:=[threads(+)]
+ dev-libs/openssl:=[-bindist(-)]
+ sys-libs/db:$(db_ver_to_slot ${DB_VER})[cxx]
+ upnp? ( net-libs/miniupnpc:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-system-leveldb.patch )
src_prepare() {
default
-
+ rm -r src/leveldb || die
eautoreconf
- rm -r src/leveldb
}
src_configure() {
# To avoid executable GNU stack.
append-ldflags -Wl,-z,noexecstack
- local my_econf=
- if use upnp; then
- my_econf="${my_econf} --with-miniupnpc --enable-upnp-default"
- else
- my_econf="${my_econf} --without-miniupnpc --disable-upnp-default"
- fi
-
local myeconfargs=(
$(use_enable wallet)
+ $(use_with upnp miniupnpc)
+ $(use_enable upnp upnp-default)
+ $(use_enable cpu_flags_x86_sse2 sse2)
--disable-ccache
--disable-static
+ # tests are broken and segfault
--disable-tests
--with-system-leveldb
- --with-system-libsecp256k1
--without-libs
--with-daemon
--without-gui
--without-qrencode
- ${my_econf}
)
-
econf "${myeconfargs[@]}"
}
@@ -83,13 +66,13 @@
default
insinto /etc/litecoin
- doins "${FILESDIR}/litecoin.conf"
+ doins "${FILESDIR}"/litecoin.conf
fowners litecoin:litecoin /etc/litecoin/litecoin.conf
fperms 600 /etc/litecoin/litecoin.conf
- newconfd "${FILESDIR}/litecoin.confd" ${PN}
- newinitd "${FILESDIR}/litecoin.initd-r1" ${PN}
- systemd_dounit "${FILESDIR}/litecoin.service"
+ newconfd "${FILESDIR}"/litecoin.confd ${PN}
+ newinitd "${FILESDIR}"/litecoin.initd-r1 ${PN}
+ systemd_dounit "${FILESDIR}"/litecoin.service
keepdir /var/lib/litecoin/.litecoin
fperms 700 /var/lib/litecoin
@@ -98,11 +81,7 @@
dosym /etc/litecoin/litecoin.conf /var/lib/litecoin/.litecoin/litecoin.conf
dodoc doc/README.md doc/release-notes.md
- newman contrib/debian/manpages/bitcoind.1 litecoind.1
- newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5
- if use logrotate; then
- insinto /etc/logrotate.d
- newins "${FILESDIR}/litecoind.logrotate" litecoind
- fi
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/litecoind.logrotate litecoind
}
|
Pull request CI reportReport generated at: 2021-06-18 10:19 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
3b32139
to
fdf368d
Compare
Closes: https://bugs.gentoo.org/607842 Bug: https://bugs.gentoo.org/672326 Bug: https://bugs.gentoo.org/768768 Bug: https://bugs.gentoo.org/788844 Signed-off-by: David Seifert <soap@gentoo.org>
fdf368d
to
fd77c59
Compare
Pull request CI reportReport generated at: 2021-06-18 11:19 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2021-06-18 11:29 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Closes: https://bugs.gentoo.org/607842
Bug: https://bugs.gentoo.org/672326
Bug: https://bugs.gentoo.org/768768
Bug: https://bugs.gentoo.org/788844
Signed-off-by: David Seifert soap@gentoo.org