diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
commit | 6d7a7f4776711758cf5b59028378f01cd8eba493 (patch) | |
tree | 67cc0ff4f56a0d7e1deff1d0a39867d486c86a9b /package/dovecot | |
parent | 18b38b0eb68cbcb8793efe989dcd8796a60288af (diff) |
FreeBSD compatibility patches
- update ipset and libpri to latest upstream
Diffstat (limited to 'package/dovecot')
-rw-r--r-- | package/dovecot/patches/patch-configure | 8 | ||||
-rw-r--r-- | package/dovecot/patches/patch-src_lib-sql_sql-drivers-register_c | 13 | ||||
-rw-r--r-- | package/dovecot/patches/patch-src_plugins_quota_Makefile_in | 63 |
3 files changed, 77 insertions, 7 deletions
diff --git a/package/dovecot/patches/patch-configure b/package/dovecot/patches/patch-configure index 1db57dc0c..5ccf6bfba 100644 --- a/package/dovecot/patches/patch-configure +++ b/package/dovecot/patches/patch-configure @@ -1,7 +1,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- dovecot-1.1.7.orig/configure 2008-11-23 23:16:38.000000000 +0100 -+++ dovecot-1.1.7/configure 2008-12-22 14:15:16.000000000 +0100 -@@ -34792,23 +34792,6 @@ if ! $RPCGEN -c /dev/null > /dev/null; t +--- dovecot-1.1.14.orig/configure 2009-04-17 04:38:09.000000000 +0200 ++++ dovecot-1.1.14/configure 2009-05-14 00:37:04.000000000 +0200 +@@ -30129,23 +30129,6 @@ if ! $RPCGEN -c /dev/null > /dev/null; t fi @@ -25,7 +25,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ if test "$want_solr" != "no"; then # Extract the first word of "curl-config", so it can be a program name with args. -@@ -35340,13 +35323,6 @@ echo "$as_me: error: conditional \"BUILD +@@ -30684,13 +30667,6 @@ echo "$as_me: error: conditional \"BUILD Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi diff --git a/package/dovecot/patches/patch-src_lib-sql_sql-drivers-register_c b/package/dovecot/patches/patch-src_lib-sql_sql-drivers-register_c new file mode 100644 index 000000000..6c0403839 --- /dev/null +++ b/package/dovecot/patches/patch-src_lib-sql_sql-drivers-register_c @@ -0,0 +1,13 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- dovecot-1.1.14.orig/src/lib-sql/sql-drivers-register.c 2009-04-17 04:40:53.000000000 +0200 ++++ dovecot-1.1.14/src/lib-sql/sql-drivers-register.c 2009-05-14 00:37:59.000000000 +0200 +@@ -1,9 +1,5 @@ + /* this file automatically generated by Makefile */ + #include "lib.h" + #include "sql-api.h" +-extern struct sql_db driver_pgsql_db; +-extern struct sql_db driver_mysql_db; + void sql_drivers_register_all(void) { +-sql_driver_register(&driver_pgsql_db); +-sql_driver_register(&driver_mysql_db); + } diff --git a/package/dovecot/patches/patch-src_plugins_quota_Makefile_in b/package/dovecot/patches/patch-src_plugins_quota_Makefile_in index c6349ddbd..ff405c296 100644 --- a/package/dovecot/patches/patch-src_plugins_quota_Makefile_in +++ b/package/dovecot/patches/patch-src_plugins_quota_Makefile_in @@ -1,7 +1,22 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- dovecot-1.1.7.orig/src/plugins/quota/Makefile.in 2008-11-23 23:16:42.000000000 +0100 -+++ dovecot-1.1.7/src/plugins/quota/Makefile.in 2008-12-22 14:17:55.000000000 +0100 -@@ -239,9 +239,6 @@ lib10_quota_plugin_la_LDFLAGS = -module +--- dovecot-1.1.14.orig/src/plugins/quota/Makefile.in 2009-04-17 04:38:14.000000000 +0200 ++++ dovecot-1.1.14/src/plugins/quota/Makefile.in 2009-05-14 00:44:46.000000000 +0200 +@@ -55,12 +55,11 @@ LTLIBRARIES = $(module_LTLIBRARIES) + lib10_quota_plugin_la_DEPENDENCIES = + am__lib10_quota_plugin_la_SOURCES_DIST = quota.c quota-count.c \ + quota-fs.c quota-dict.c quota-dirsize.c quota-maildir.c \ +- quota-plugin.c quota-storage.c rquota_xdr.c ++ quota-plugin.c quota-storage.c + am__objects_1 = quota.lo quota-count.lo quota-fs.lo quota-dict.lo \ + quota-dirsize.lo quota-maildir.lo quota-plugin.lo \ + quota-storage.lo +-@HAVE_RQUOTA_TRUE@am__objects_2 = rquota_xdr.lo +-am_lib10_quota_plugin_la_OBJECTS = $(am__objects_1) $(am__objects_2) ++am_lib10_quota_plugin_la_OBJECTS = $(am__objects_1) + lib10_quota_plugin_la_OBJECTS = $(am_lib10_quota_plugin_la_OBJECTS) + lib10_quota_plugin_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +@@ -244,9 +243,6 @@ lib10_quota_plugin_la_LDFLAGS = -module module_LTLIBRARIES = \ lib10_quota_plugin.la @@ -11,3 +26,45 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ quota_dist_sources = \ quota.c \ quota-count.c \ +@@ -258,11 +254,8 @@ quota_dist_sources = \ + quota-storage.c + + lib10_quota_plugin_la_SOURCES = \ +- $(quota_dist_sources) \ +- $(RQUOTA_XDR) ++ $(quota_dist_sources) + +-@HAVE_RQUOTA_TRUE@RQUOTA_XDR = rquota_xdr.c +-@HAVE_RQUOTA_TRUE@RQUOTA_X = /usr/include/rpcsvc/rquota.x + noinst_HEADERS = \ + quota.h \ + quota-fs.h \ +@@ -347,7 +340,6 @@ distclean-compile: + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quota-plugin.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quota-storage.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quota.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rquota_xdr.Plo@am__quote@ + + .c.o: + @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@@ -553,20 +545,6 @@ uninstall-am: uninstall-moduleLTLIBRARIE + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-moduleLTLIBRARIES + +-@HAVE_RQUOTA_TRUE@rquota_xdr.c: Makefile $(RQUOTA_X) +-@HAVE_RQUOTA_TRUE@ (echo '#include "lib.h"'; \ +-@HAVE_RQUOTA_TRUE@ echo '#include <rpc/rpc.h>'; \ +-@HAVE_RQUOTA_TRUE@ $(RPCGEN) -c $(RQUOTA_X) | \ +-@HAVE_RQUOTA_TRUE@ sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \ +-@HAVE_RQUOTA_TRUE@ -e 's,/usr/include/rpcsvc/rquota.h,rquota.h,' \ +-@HAVE_RQUOTA_TRUE@ -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' \ +-@HAVE_RQUOTA_TRUE@ -e 's/^static char rcsid.*//' ) > rquota_xdr.c +- +-@HAVE_RQUOTA_TRUE@rquota.h: Makefile $(RQUOTA_X) +-@HAVE_RQUOTA_TRUE@ $(RPCGEN) -h $(RQUOTA_X) > rquota.h +- +-@HAVE_RQUOTA_TRUE@quota-fs.lo: rquota.h +- + install-exec-local: + for d in imap pop3 lda; do \ + $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \ |