From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C86815808E for ; Sat, 23 Apr 2022 23:46:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82B40E08E5; Sat, 23 Apr 2022 23:46:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D36CE08DD for ; Sat, 23 Apr 2022 23:46:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B172D341DA0 for ; Sat, 23 Apr 2022 23:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E96D1DC for ; Sat, 23 Apr 2022 23:46:43 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1650757581.a62fc3b9e32e7678fea4a1c636aa29605aabbb20.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendmarc/files/, mail-filter/opendmarc/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch mail-filter/opendmarc/opendmarc-1.4.1.1-r2.ebuild mail-filter/opendmarc/opendmarc-1.4.1.1-r3.ebuild mail-filter/opendmarc/opendmarc-1.4.1.1-r4.ebuild X-VCS-Directories: mail-filter/opendmarc/ mail-filter/opendmarc/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: a62fc3b9e32e7678fea4a1c636aa29605aabbb20 X-VCS-Branch: master Date: Sat, 23 Apr 2022 23:46:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cd10d5fa-4a7f-4cc3-a1e9-88337383eeb7 X-Archives-Hash: a54b2a75a5c9fe7086acdbe6e6532a1c commit: a62fc3b9e32e7678fea4a1c636aa29605aabbb20 Author: David Seifert gentoo org> AuthorDate: Sat Apr 23 23:46:21 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Apr 23 23:46:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a62fc3b9 mail-filter/opendmarc: [QA] fix glibc upgrade issue without hacks Closes: https://bugs.gentoo.org/839951 Closes: https://github.com/gentoo/gentoo/pull/25173 Signed-off-by: David Seifert gentoo.org> .../files/opendmarc-1.4.1.1-underlinking.patch | 17 ++++++ mail-filter/opendmarc/opendmarc-1.4.1.1-r3.ebuild | 71 ---------------------- ...4.1.1-r2.ebuild => opendmarc-1.4.1.1-r4.ebuild} | 15 +++-- 3 files changed, 24 insertions(+), 79 deletions(-) diff --git a/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch b/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch new file mode 100644 index 000000000000..825ee461dfd6 --- /dev/null +++ b/mail-filter/opendmarc/files/opendmarc-1.4.1.1-underlinking.patch @@ -0,0 +1,17 @@ +libopendmarc.so.2.0.3 uses +* __dn_expand +* __dn_skipname +* __res_nquery +which are defined in libresolv in glibc 2.33 and older. + +See: https://bugs.gentoo.org/839951 + +--- a/libopendmarc/Makefile.am ++++ b/libopendmarc/Makefile.am +@@ -15,5 +15,6 @@ + opendmarc_spf_dns.c \ + opendmarc_internal.h + libopendmarc_la_LDFLAGS = -version-info $(LIBOPENDMARC_VERSION_INFO) ++libopendmarc_la_LIBADD = $(LIBRESOLV) + libopendmarc_includedir = $(includedir)/opendmarc + libopendmarc_include_HEADERS = dmarc.h diff --git a/mail-filter/opendmarc/opendmarc-1.4.1.1-r3.ebuild b/mail-filter/opendmarc/opendmarc-1.4.1.1-r3.ebuild deleted file mode 100644 index c9de04f81e6b..000000000000 --- a/mail-filter/opendmarc/opendmarc-1.4.1.1-r3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools systemd - -DESCRIPTION="Open source DMARC implementation" -HOMEPAGE="http://www.trusteddomain.org/opendmarc/" -SRC_URI="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/3" # 1.4 has API breakage with 1.3, yet uses same soname -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="spf +reports static-libs" - -DEPEND="reports? ( dev-perl/DBI ) - || ( mail-filter/libmilter mail-mta/sendmail ) - elibc_glibc? ( >=sys-libs/glibc-2.34 )" #839951 -RDEPEND="${DEPEND} - acct-user/opendmarc - reports? ( - dev-perl/DBD-mysql - dev-perl/HTTP-Message - dev-perl/Switch - ) - spf? ( mail-filter/libspf2 )" - -S=${WORKDIR}/OpenDMARC-rel-${PN}-${PV//./-} - -PATCHES=( - "${FILESDIR}"/${PN}-1.4.1.1-CVE-2021-34555.patch -) - -src_prepare() { - default - - eautoreconf - if use !reports ; then - sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die - fi -} - -src_configure() { - econf \ - $(use_with spf) \ - $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \ - $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir)) \ - $(use_enable static-libs static) -} - -src_install() { - default - - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.la - - newinitd "${FILESDIR}"/opendmarc.initd opendmarc - newconfd "${FILESDIR}"/opendmarc.confd opendmarc - systemd_dounit "${FILESDIR}/${PN}.service" - - dodir /etc/opendmarc - - # create config file - sed \ - -e 's:^# UserID .*$:UserID opendmarc:' \ - -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \ - -e '/^# Socket /s:^# ::' \ - "${S}"/opendmarc/opendmarc.conf.sample \ - > "${ED}"/etc/opendmarc/opendmarc.conf \ - || die -} diff --git a/mail-filter/opendmarc/opendmarc-1.4.1.1-r2.ebuild b/mail-filter/opendmarc/opendmarc-1.4.1.1-r4.ebuild similarity index 81% rename from mail-filter/opendmarc/opendmarc-1.4.1.1-r2.ebuild rename to mail-filter/opendmarc/opendmarc-1.4.1.1-r4.ebuild index 09be27f5139e..e0d08ea8755b 100644 --- a/mail-filter/opendmarc/opendmarc-1.4.1.1-r2.ebuild +++ b/mail-filter/opendmarc/opendmarc-1.4.1.1-r4.ebuild @@ -8,15 +8,15 @@ inherit autotools systemd DESCRIPTION="Open source DMARC implementation" HOMEPAGE="http://www.trusteddomain.org/opendmarc/" SRC_URI="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/OpenDMARC-rel-${PN}-${PV//./-}" LICENSE="BSD" SLOT="0/3" # 1.4 has API breakage with 1.3, yet uses same soname KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="spf +reports static-libs" +IUSE="spf +reports" DEPEND="reports? ( dev-perl/DBI ) - || ( mail-filter/libmilter mail-mta/sendmail ) - elibc_glibc? (