diff options
Diffstat (limited to 'dev-libs/cyrus-sasl/files')
11 files changed, 0 insertions, 259 deletions
diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch deleted file mode 100644 index a9dd1476d2e6..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.25-auxprop.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://bugzilla.cyrusimap.org/show_bug.cgi?id=3590 -https://bugs.gentoo.org/show_bug.cgi?id=392761 - ---- cyrus-sasl-2.1.25/lib/auxprop.c~ 2011-10-20 17:33:46.423015318 +0200 -+++ cyrus-sasl-2.1.25/lib/auxprop.c 2011-10-20 17:48:49.336348654 +0200 -@@ -971,6 +971,10 @@ - } - - if(!found) { -+ /* compatibility with <= 2.1.23, ignore the lack of auxrop plugin */ -+ if (!plist) -+ result = SASL_OK; -+ else - _sasl_log(sparams->utils->conn, SASL_LOG_DEBUG, - "could not find auxprop plugin, was searching for '%s'", - plist ? plist : "[all]"); diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch deleted file mode 100644 index 0177b52567f2..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.26-missing-size_t.patch +++ /dev/null @@ -1,13 +0,0 @@ -Gentoo bug #458790 ---- a/include/sasl.h -+++ b/include/sasl.h -@@ -121,6 +121,9 @@ - #ifndef SASL_H - #define SASL_H 1 - -+/* stddef.h to get size_t defined */ -+#include <stddef.h> -+ - /* Keep in sync with win32/common.mak */ - #define SASL_VERSION_MAJOR 2 - #define SASL_VERSION_MINOR 1 diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-CVE-2019-19906.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-CVE-2019-19906.patch deleted file mode 100644 index 82b9e1fb6dbe..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-CVE-2019-19906.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: CVE-2019-19906: Off-by-one in _sasl_add_string function -Origin: vendor -Bug: https://github.com/cyrusimap/cyrus-sasl/issues/587 -Bug-Debian: https://bugs.debian.org/947043 -Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-19906 -Author: Stephan Zeisberg <stephan@srlabs.de> -Reviewed-by: Salvatore Bonaccorso <carnil@debian.org> -Last-Update: 2019-12-19 - ---- a/lib/common.c -+++ b/lib/common.c -@@ -190,7 +190,7 @@ int _sasl_add_string(char **out, size_t - - if (add==NULL) add = "(null)"; - -- addlen=strlen(add); /* only compute once */ -+ addlen=strlen(add)+1; /* only compute once */ - if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK) - return SASL_NOMEM; - diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-as_needed.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-as_needed.patch deleted file mode 100644 index 7cd9e151fbb7..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-as_needed.patch +++ /dev/null @@ -1,25 +0,0 @@ -Author: Matthias Klose <doko@ubuntu.com> -Desription: Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use -it. ---- cyrus-sasl-2.1.27/saslauthd/Makefile.am -+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am -@@ -25,7 +25,7 @@ - saslauthd_DEPENDENCIES = saslauthd-main.o $(LTLIBOBJS_FULL) - saslauthd_LDADD = @SASL_KRB_LIB@ \ - @GSSAPIBASE_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \ -- @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ $(LTLIBOBJS_FULL) $(CRYPTO_COMPAT_OBJS) $(LIBSASLDB_OBJS) -+ @LIB_SOCKET@ ../sasldb/libsasldb.la @LIB_PAM@ @LDAP_LIBS@ $(LTLIBOBJS_FULL) $(CRYPTO_COMPAT_OBJS) $(LIBSASLDB_OBJS) - - testsaslauthd_SOURCES = testsaslauthd.c utils.c - testsaslauthd_LDADD = @LIB_SOCKET@ ---- cyrus-sasl-2.1.27/sasldb/Makefile.am -+++ cyrus-sasl-2.1.27/sasldb/Makefile.am -@@ -54,6 +54,6 @@ - - libsasldb_la_SOURCES = allockey.c sasldb.h - EXTRA_libsasldb_la_SOURCES = $(extra_common_sources) --libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) --libsasldb_la_LIBADD = $(SASL_DB_BACKEND) -+libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) $(SASL_DB_LIB) -+libsasldb_la_LIBADD = $(SASL_DB_BACKEND) $(SASL_DB_LIB) - libsasldb_la_LDFLAGS = -no-undefined diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-autotools_fixes.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-autotools_fixes.patch deleted file mode 100644 index 2ce971efc5b5..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-autotools_fixes.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- cyrus-sasl-2.1.27/configure.ac -+++ cyrus-sasl-2.1.27/configure.ac -@@ -44,6 +44,8 @@ - - AC_PREREQ(2.63) - -+AC_CONFIG_MACRO_DIR([config]) -+ - dnl - dnl REMINDER: When changing the version number here, please also update - dnl the values in win32/include/config.h and include/sasl.h as well. ---- cyrus-sasl-2.1.27/Makefile.am -+++ cyrus-sasl-2.1.27/Makefile.am -@@ -44,6 +44,8 @@ - # - ################################################################ - -+ACLOCAL_AMFLAGS = -I config -+ - if SASLAUTHD - SAD = saslauthd - else ---- cyrus-sasl-2.1.27/saslauthd/Makefile.am -+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am -@@ -1,4 +1,6 @@ - AUTOMAKE_OPTIONS = 1.7 -+ACLOCAL_AMFLAGS = -I ../config -+ - sbin_PROGRAMS = saslauthd testsaslauthd - EXTRA_PROGRAMS = saslcache - diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-avoid_pic_overwrite.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-avoid_pic_overwrite.patch deleted file mode 100644 index c331039e2f16..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-avoid_pic_overwrite.patch +++ /dev/null @@ -1,17 +0,0 @@ -Author: Fabian Fagerholm <fabbe@debian.org> -Description: This patch makes sure the non-PIC version of libsasldb.a, which -is created out of non-PIC objects, is not going to overwrite the PIC version, -which is created out of PIC objects. The PIC version is placed in .libs, and -the non-PIC version in the current directory. This ensures that both non-PIC -and PIC versions are available in the correct locations. ---- cyrus-sasl-2.1.27/lib/Makefile.am -+++ cyrus-sasl-2.1.27/lib/Makefile.am -@@ -98,7 +98,7 @@ - - libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS) - @echo adding static plugins and dependencies -- $(AR) cru .libs/$@ $(SASL_STATIC_OBJS) -+ $(AR) cru $@ $(SASL_STATIC_OBJS) - @for i in ./libsasl2.la ../common/libplugin_common.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \ - if test ! -f $$i; then continue; fi; . $$i; \ - for j in $$dependency_libs foo; do \ diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-doc_build_fix.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-doc_build_fix.patch deleted file mode 100644 index bdd02f779660..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-doc_build_fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cyrus-sasl-2.1.27/docsrc/exts/sphinxlocal/writers/manpage.py -+++ cyrus-sasl-2.1.27/docsrc/exts/sphinxlocal/writers/manpage.py -@@ -23,7 +23,7 @@ - from sphinx import addnodes - from sphinx.locale import admonitionlabels, _ - from sphinx.util.osutil import ustrftime --from sphinx.util.compat import docutils_version -+#from sphinx.util.compat import docutils_version - - class CyrusManualPageWriter(ManualPageWriter): - diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-gss_c_nt_hostbased_service.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-gss_c_nt_hostbased_service.patch deleted file mode 100644 index c585cb158e15..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-gss_c_nt_hostbased_service.patch +++ /dev/null @@ -1,16 +0,0 @@ -Gentoo bug #389349 ---- cyrus-sasl-2.1.27/m4/sasl2.m4 -+++ cyrus-sasl-2.1.27/m4/sasl2.m4 -@@ -220,7 +220,11 @@ - [AC_WARN([Cybersafe define not found])]) - - elif test "$ac_cv_header_gssapi_h" = "yes"; then -- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, -+ AC_EGREP_CPP(hostbased_service_gss_nt_yes, gssapi.h, -+ [#include <gssapi.h> -+ #ifdef GSS_C_NT_HOSTBASED_SERVICE -+ hostbased_service_gss_nt_yes -+ #endif], - [AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE,, - [Define if your GSSAPI implementation defines GSS_C_NT_HOSTBASED_SERVICE])]) - elif test "$ac_cv_header_gssapi_gssapi_h"; then diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-memmem.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-memmem.patch deleted file mode 100644 index 158529dcb5f5..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-memmem.patch +++ /dev/null @@ -1,53 +0,0 @@ -auth_rimap: provide naive memmem implementation if missing - -read_response uses memmem, which is not available on e.g. Solaris 10 - -Bug: https://github.com/cyrusimap/cyrus-sasl/pull/551 -Signed-off-by: Fabian Groffen <grobian@gentoo.org> - ---- a/saslauthd/auth_rimap.c -+++ b/saslauthd/auth_rimap.c -@@ -367,6 +367,32 @@ - /* END FUNCTION: process_login_reply */ - - -+#ifndef HAVE_MEMMEM -+static void *memmem( -+ const void *big, size_t big_len, -+ const void *little, size_t little_len) -+{ -+ const char *bp = (const char *)big; -+ const char *lp = (const char *)little; -+ size_t l; -+ -+ if (big_len < little_len || little_len == 0 || big_len == 0) -+ return NULL; -+ -+ while (big_len > 0) { -+ for (l = 0; l < little_len; l++) { -+ if (bp[l] != lp[l]) -+ break; -+ } -+ if (l == little_len) -+ return (void *)bp; -+ bp++; -+ } -+ -+ return NULL; -+} -+#endif -+ - static int read_response(int s, char *rbuf, int buflen, const char *tag) - { - int rc = 0; ---- a/configure.ac -+++ b/configure.ac -@@ -1292,7 +1292,7 @@ - - #AC_FUNC_MEMCMP - #AC_FUNC_VPRINTF --AC_CHECK_FUNCS(gethostname getdomainname getpwnam getspnam gettimeofday inet_aton memcpy mkdir select socket strchr strdup strerror strspn strstr strtol jrand48 getpassphrase asprintf strlcat strlcpy) -+AC_CHECK_FUNCS(gethostname getdomainname getpwnam getspnam gettimeofday inet_aton memcpy memmem mkdir select socket strchr strdup strerror strspn strstr strtol jrand48 getpassphrase asprintf strlcat strlcpy) - - if test $ac_cv_func_getspnam = yes; then - AC_MSG_CHECKING(if getpwnam_r/getspnam_r take 5 arguments) diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-slibtool.patch b/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-slibtool.patch deleted file mode 100644 index 81198cb87f0d..000000000000 --- a/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.27-slibtool.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://github.com/cyrusimap/cyrus-sasl/pull/623 -https://bugs.gentoo.org/775875 - -From 5b8075eeba8d0334573689450b07610c176a2618 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Wed, 9 Sep 2020 07:29:38 -0700 -Subject: [PATCH] common: Define the missing crypto_compat_version version. - ---- a/common/Makefile.am -+++ b/common/Makefile.am -@@ -46,6 +46,7 @@ - # See <http://www.gnu.org/software/libtool/manual/libtool.html#Versioning> - # CURRENT:REVISION:AGE - plugin_common_version = 3:0:0 -+crypto_compat_version = 0:0:0 - - AM_CPPFLAGS=-fPIC -I$(top_srcdir)/include -I$(top_builddir)/include - diff --git a/dev-libs/cyrus-sasl/files/java.README.gentoo b/dev-libs/cyrus-sasl/files/java.README.gentoo deleted file mode 100644 index fb73204ecab1..000000000000 --- a/dev-libs/cyrus-sasl/files/java.README.gentoo +++ /dev/null @@ -1,39 +0,0 @@ -4-Nov-2000 - -Note: this file has been modified to adapt to Gentoo specific. - -class files are installed in - -`java-config -p cyrus-sasl-2` - -to compile programs using it, do: - -javac -classpath $JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2` <file>.java - -(make sure to substitute your JDK for $JAVA_HOME/lib/tools.jar) - -to run, do - -java -classpath <same path as above> <YourProgram> - ----------------------------- -This is a java version of the SASL libraries. It supports all the -mechanisms in the C version and conforms to the internet draft in the -doc/ directory. JNI is used. - -Sample applications exist in the Test/ directory. - -They generally can be run with something like: - -java -debug -classpath -../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. jimtest -p 2143 -m -KERBEROS_V4 cyrus-dev - -and - -java -debug -classpath -../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. testserver - - -Any feedback is welcome. - |