From debaa1a0472615bac5d951695d79d56e6cfd9d94 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 22 Dec 2021 18:14:57 -0500 Subject: net-dns/opendnssec: update ldns dep The ed25519 and ed448 USE flags are being removed. Bug: https://bugs.gentoo.org/829687 Signed-off-by: Mike Gilbert Closes: https://bugs.gentoo.org/829687 Closes: https://github.com/gentoo/gentoo/pull/23475 Signed-off-by: Marc Schiffbauer --- net-dns/opendnssec/opendnssec-2.1.10-r1.ebuild | 238 ------------------------- net-dns/opendnssec/opendnssec-2.1.10-r2.ebuild | 238 +++++++++++++++++++++++++ 2 files changed, 238 insertions(+), 238 deletions(-) delete mode 100644 net-dns/opendnssec/opendnssec-2.1.10-r1.ebuild create mode 100644 net-dns/opendnssec/opendnssec-2.1.10-r2.ebuild (limited to 'net-dns') diff --git a/net-dns/opendnssec/opendnssec-2.1.10-r1.ebuild b/net-dns/opendnssec/opendnssec-2.1.10-r1.ebuild deleted file mode 100644 index 210d41c8d872..000000000000 --- a/net-dns/opendnssec/opendnssec-2.1.10-r1.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${P/_}" -PKCS11_IUSE="+softhsm opensc external-hsm" - -inherit autotools - -DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="https://www.opendnssec.org/" -SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc +mysql readline +signer sqlite test ${PKCS11_IUSE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-group/opendnssec - acct-user/opendnssec - dev-lang/perl - dev-libs/libxml2 - dev-libs/libxslt - net-libs/ldns[ed25519,ed448] - mysql? ( - dev-db/mysql-connector-c:0= - dev-perl/DBD-mysql - ) - opensc? ( dev-libs/opensc ) - readline? ( sys-libs/readline:0 ) - softhsm? ( dev-libs/softhsm:* ) - sqlite? ( - dev-db/sqlite:3 - dev-perl/DBD-SQLite - ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - doc? ( app-doc/doxygen ) - test? ( - app-text/trang - dev-libs/softhsm:* - dev-util/cunit - ) -" - -REQUIRED_USE=" - ^^ ( mysql sqlite ) - ^^ ( softhsm opensc external-hsm ) -" - -PATCHES=( - "${FILESDIR}/${PN}-fix-run-dir-2.1.x.patch" - "${FILESDIR}/${PN}-use-system-trang.patch" -) - -DOCS=( MIGRATION NEWS ) - -check_pkcs11_setup() { - # PKCS#11 HSM's are often only available with proprietary drivers not - # available in portage tree. - - if use softhsm; then - PKCS11_LIB=softhsm - PKCS11_PATH=/usr/$(get_libdir)/softhsm/libsofthsm2.so - elog "Building with SoftHSM PKCS#11 library support." - fi - if use opensc; then - PKCS11_LIB=opensc - PKCS11_PATH=/usr/$(get_libdir)/opensc-pkcs11.so - elog "Building with OpenSC PKCS#11 library support." - fi - if use external-hsm; then - if [[ -n ${PKCS11_SCA6000} ]]; then - PKCS11_LIB=sca6000 - PKCS11_PATH=${PKCS11_SCA6000} - elif [[ -n ${PKCS11_ETOKEN} ]]; then - PKCS11_LIB=etoken - PKCS11_PATH=${PKCS11_ETOKEN} - elif [[ -n ${PKCS11_NCIPHER} ]]; then - PKCS11_LIB=ncipher - PKCS11_PATH=${PKCS11_NCIPHER} - elif [[ -n ${PKCS11_AEPKEYPER} ]]; then - PKCS11_LIB=aepkeyper - PKCS11_PATH=${PKCS11_AEPKEYPER} - else - ewarn "You enabled USE flag 'external-hsm' but did not specify a path to a PKCS#11" - ewarn "library. To set a path, set one of the following environment variables:" - ewarn " for Sun Crypto Accelerator 6000, set: PKCS11_SCA6000=" - ewarn " for Aladdin eToken, set: PKCS11_ETOKEN=" - ewarn " for Thales/nCipher netHSM, set: PKCS11_NCIPHER=" - ewarn " for AEP Keyper, set: PKCS11_AEPKEYPER=" - ewarn "Example:" - ewarn " PKCS11_ETOKEN=\"/opt/etoken/lib/libeTPkcs11.so\" emerge -pv opendnssec" - ewarn "or store the variable into /etc/portage/make.conf" - die "USE flag 'external-hsm' set but no PKCS#11 library path specified." - fi - elog "Building with external PKCS#11 library support ($PKCS11_LIB): ${PKCS11_PATH}" - fi -} - -pkg_pretend() { - if has_version "=2.0.0 you need to upgrade to" - eerror "version >=1.4.10 first:" - eerror "" - eerror " emerge \"=1.4.10 first for proper db migraion" - fi - - check_pkcs11_setup -} - -pkg_setup() { - # pretend does not preserve variables so we need to run this once more - check_pkcs11_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { -# --localstatedir="${EPREFIX}/var/lib" \ - econf \ - --enable-installation-user=opendnssec \ - --enable-installation-group=opendnssec \ - --without-cunit \ - --disable-static \ - --with-enforcer-database=$(use mysql && echo "mysql")$(use sqlite && echo "sqlite3") \ - --with-pkcs11-${PKCS11_LIB}=${PKCS11_PATH} \ - $(use_with readline) \ - $(use_enable signer) -} - -src_compile() { - default - use doc && emake docs -} - -src_install() { - default - - # remove useless .la files - find "${ED}" -name '*.la' -delete - - # Remove subversion tags from config files to avoid useless config updates - sed -i \ - -e '/