diff options
-rw-r--r-- | metadata/categories.conf | 1 | ||||
-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 | ||||
-rw-r--r-- | packages/net-libs/toxcore/toxcore.exlib | 4 |
5 files changed, 46 insertions, 1 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf index 443c3f5..89a9b77 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -4,6 +4,7 @@ app-misc dev-libs dev-util kde +mail-filter media-gfx media-video net-im 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" diff --git a/packages/net-libs/toxcore/toxcore.exlib b/packages/net-libs/toxcore/toxcore.exlib index c0ba8d7..1e22d0d 100644 --- a/packages/net-libs/toxcore/toxcore.exlib +++ b/packages/net-libs/toxcore/toxcore.exlib @@ -1,4 +1,6 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru> +# Based in part upon 'tox-9999.ebuild' from Gentoo, which is: +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 require github [ user=TokTok project=c-toxcore tag=v${PV} force_git_clone=true ] |