diff options
-rw-r--r-- | mail-filter/libspf2/Manifest | 1 | ||||
-rw-r--r-- | mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch | 20 | ||||
-rw-r--r-- | mail-filter/libspf2/libspf2-1.2.10.ebuild | 43 |
3 files changed, 0 insertions, 64 deletions
diff --git a/mail-filter/libspf2/Manifest b/mail-filter/libspf2/Manifest index 723253e0d979..cb8b0ec80d15 100644 --- a/mail-filter/libspf2/Manifest +++ b/mail-filter/libspf2/Manifest @@ -1,2 +1 @@ -DIST libspf2-1.2.10.tar.gz 508842 BLAKE2B d15a44f64c5e3da20aa349e61a6cc02a15f83ed3acff93fe4c23970e30533d6424b1db35d7d60ff488c9a239d343f8544426fbf8fcb66271237155e0b57df1b5 SHA512 162ce382628c6fcadac3e11f5a12442db622bb23f7ec503e16f5ba7fc88afdd777bce6b093c12a58210355985fd11b74b140f08fab347334d82d953dd183b130 DIST libspf2-1.2.11.tar.gz 565497 BLAKE2B 4000e15204c962ef438cc8bcf6411f4f965e1451e356923e2764d5a1209cbc9153a38e1d83d25c8b4b26646bfb306ec49b71d273fdbabe200b78ac2694c05a4f SHA512 ad7bea800ad6ec8d00a7f8f381b59d9ba074fb6c5932d8babcb05ab5ca59defb78445dd7bd89767e5c272b6c6638c8000c8c525c560d1803c35712f0ff86fa9b diff --git a/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch b/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch deleted file mode 100644 index 75b3fb899b3e..000000000000 --- a/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://github.com/shevek/libspf2/issues/13 -https://bugs.gentoo.org/show_bug.cgi?id=570486 - ---- a/src/include/spf_log.h -+++ b/src/include/spf_log.h -@@ -60,10 +60,10 @@ - - #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L - --#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, __VA_ARGS__ ) --#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, __VA_ARGS__ ) --#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, __VA_ARGS__ ) --#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, __VA_ARGS__ ) -+#define SPF_errorf(...) SPF_errorx( __FILE__, __LINE__, __VA_ARGS__ ) -+#define SPF_warningf(...) SPF_warningx( __FILE__, __LINE__, __VA_ARGS__ ) -+#define SPF_infof(...) SPF_infox( __FILE__, __LINE__, __VA_ARGS__ ) -+#define SPF_debugf(...) SPF_debugx( __FILE__, __LINE__, __VA_ARGS__ ) - - #elif defined( __GNUC__ ) - diff --git a/mail-filter/libspf2/libspf2-1.2.10.ebuild b/mail-filter/libspf2/libspf2-1.2.10.ebuild deleted file mode 100644 index c48e29203125..000000000000 --- a/mail-filter/libspf2/libspf2-1.2.10.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocols" -HOMEPAGE="https://www.libspf2.org" -SRC_URI="https://www.libspf2.org/spf/libspf2-${PV}.tar.gz" - -LICENSE="|| ( LGPL-2.1 BSD-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" - -PATCHES=( - "${FILESDIR}"/${P}-gcc5.patch #570486 -) - -src_prepare() { - default - - sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \ - -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \ - -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \ - -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \ - || die - - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die - - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_install() { - emake DESTDIR="${D}" install - dodoc README TODO INSTALL - - find "${ED}" -name '*.la' -delete || die -} |