diff options
Diffstat (limited to 'packages/mail-filter')
-rw-r--r-- | packages/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch | 22 | ||||
-rw-r--r-- | packages/mail-filter/libspf2/libspf2-1.2.10.exheres-0 | 10 | ||||
-rw-r--r-- | packages/mail-filter/libspf2/libspf2.exlib | 10 |
3 files changed, 42 insertions, 0 deletions
diff --git a/packages/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch b/packages/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch new file mode 100644 index 0000000..d36ec96 --- /dev/null +++ b/packages/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch @@ -0,0 +1,22 @@ +https://github.com/shevek/libspf2/issues/13 +https://bugs.gentoo.org/show_bug.cgi?id=570486 + +Index: libspf2-1.2.10/src/include/spf_log.h +=================================================================== +--- libspf2-1.2.10/src/include/spf_log.h ++++ libspf2-1.2.10/src/include/spf_log.h 2015-10-20 23:23:04.579055906 +0200 +@@ -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/packages/mail-filter/libspf2/libspf2-1.2.10.exheres-0 b/packages/mail-filter/libspf2/libspf2-1.2.10.exheres-0 new file mode 100644 index 0000000..64a34cb --- /dev/null +++ b/packages/mail-filter/libspf2/libspf2-1.2.10.exheres-0 @@ -0,0 +1,10 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require libspf2 + +PLATFORMS="~amd64 ~x86" + +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/libspf2-1.2.10-gcc5.patch +) diff --git a/packages/mail-filter/libspf2/libspf2.exlib b/packages/mail-filter/libspf2/libspf2.exlib new file mode 100644 index 0000000..b144c80 --- /dev/null +++ b/packages/mail-filter/libspf2/libspf2.exlib @@ -0,0 +1,10 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ] + +SUMMARY="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocols" +HOMEPAGE="http://www.libspf2.org" +SLOT="0" +LICENCES="LGPL-2.1 BSD-2" +DOWNLOADS="https://www.libspf2.org/spf/${PNV}.tar.gz" |