diff options
author | joerg <joerg@pkgsrc.org> | 2006-02-13 23:20:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-02-13 23:20:32 +0000 |
commit | e9bec00a5b122194069adbd2643f35e55cfea947 (patch) | |
tree | b3568c5c35e5d0e57c6e06c1ab018606ec9f914e /mail/exim3/patches | |
parent | 03bb2f7deb113a99808157dd205b91fddde2e385 (diff) | |
download | pkgsrc-e9bec00a5b122194069adbd2643f35e55cfea947.tar.gz |
Don't use shiped PCRE version, since it is very old and most likely
vulnerable. Bump revision.
Diffstat (limited to 'mail/exim3/patches')
-rw-r--r-- | mail/exim3/patches/patch-ai | 13 | ||||
-rw-r--r-- | mail/exim3/patches/patch-aj | 13 | ||||
-rw-r--r-- | mail/exim3/patches/patch-ak | 13 | ||||
-rw-r--r-- | mail/exim3/patches/patch-al | 13 | ||||
-rw-r--r-- | mail/exim3/patches/patch-am | 26 | ||||
-rw-r--r-- | mail/exim3/patches/patch-an | 50 |
6 files changed, 128 insertions, 0 deletions
diff --git a/mail/exim3/patches/patch-ai b/mail/exim3/patches/patch-ai new file mode 100644 index 00000000000..ce00e23cec6 --- /dev/null +++ b/mail/exim3/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- src/exim.h.orig 2006-02-12 21:26:40.000000000 +0100 ++++ src/exim.h +@@ -322,7 +322,7 @@ extern int ferror(FILE *); + + /* The header from the PCRE regex package */ + +-#include "pcre/pcre.h" ++#include <pcre.h> + + /* Exim includes are in several files */ + diff --git a/mail/exim3/patches/patch-aj b/mail/exim3/patches/patch-aj new file mode 100644 index 00000000000..ce1e3d5a09d --- /dev/null +++ b/mail/exim3/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- src/exim_dumpdb.c.orig 2006-02-12 21:30:01.000000000 +0100 ++++ src/exim_dumpdb.c +@@ -14,7 +14,7 @@ + #include <sys/stat.h> + + #include <pwd.h> /* Because used in includes below */ +-#include "pcre/pcre.h" /* Ditto */ ++#include <pcre.h> /* Ditto */ + #define MAXPACKET 1024 /* Ditto */ + + #include "macros.h" diff --git a/mail/exim3/patches/patch-ak b/mail/exim3/patches/patch-ak new file mode 100644 index 00000000000..8023f2cc57c --- /dev/null +++ b/mail/exim3/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- src/exim_fixdb.c.orig 2006-02-12 21:27:24.000000000 +0100 ++++ src/exim_fixdb.c +@@ -18,7 +18,7 @@ + #include <sys/stat.h> + + #include <pwd.h> /* Because used in includes below */ +-#include "pcre/pcre.h" /* Ditto */ ++#include <pcre.h> /* Ditto */ + #define MAXPACKET 1024 /* Ditto */ + + #include "macros.h" diff --git a/mail/exim3/patches/patch-al b/mail/exim3/patches/patch-al new file mode 100644 index 00000000000..ae9de04a045 --- /dev/null +++ b/mail/exim3/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- src/exim_tidydb.c.orig 2006-02-12 21:27:48.000000000 +0100 ++++ src/exim_tidydb.c +@@ -36,7 +36,7 @@ This argument is required. */ + #include <sys/stat.h> + + #include <pwd.h> /* Because used in includes below */ +-#include "pcre/pcre.h" /* Ditto */ ++#include <pcre.h> /* Ditto */ + #define MAXPACKET 1024 /* Ditto */ + + #include "macros.h" diff --git a/mail/exim3/patches/patch-am b/mail/exim3/patches/patch-am new file mode 100644 index 00000000000..9411234df6a --- /dev/null +++ b/mail/exim3/patches/patch-am @@ -0,0 +1,26 @@ +$NetBSD: patch-am,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- scripts/MakeLinks.orig 2006-02-12 21:30:42.000000000 +0100 ++++ scripts/MakeLinks +@@ -39,21 +39,6 @@ ln -s ../../src/libident/support.c + ln -s ../../src/libident/version.c version.c + cd .. + +-# Likewise for the PCRE regular expression library +-mkdir pcre +-cd pcre +-ln -s ../../src/pcre/Makefile Makefile +-ln -s ../../src/pcre/config.h config.h +-ln -s ../../src/pcre/dftables.c dftables.c +-ln -s ../../src/pcre/internal.h internal.h +-ln -s ../../src/pcre/pcre.h pcre.h +-ln -s ../../src/pcre/maketables.c maketables.c +-ln -s ../../src/pcre/get.c get.c +-ln -s ../../src/pcre/pcre.c pcre.c +-ln -s ../../src/pcre/pcretest.c pcretest.c +-ln -s ../../src/pcre/study.c study.c +-cd .. +- + # Likewise for the lookups + mkdir lookups + cd lookups diff --git a/mail/exim3/patches/patch-an b/mail/exim3/patches/patch-an new file mode 100644 index 00000000000..1ffb01b836f --- /dev/null +++ b/mail/exim3/patches/patch-an @@ -0,0 +1,50 @@ +$NetBSD: patch-an,v 1.1 2006/02/13 23:20:32 joerg Exp $ + +--- OS/Makefile-Base.orig 2006-02-12 21:31:59.000000000 +0100 ++++ OS/Makefile-Base +@@ -79,7 +79,7 @@ config.h: Makefile buildconfig ../src/co + # This is the real default target for all the various exim binaries and + # scripts, once the configuring stuff is done. + +-allexim: config.h buildpcre $(EXIM_MONITOR) exicyclog exinext exiwhat \ ++allexim: config.h $(EXIM_MONITOR) exicyclog exinext exiwhat \ + ../util/exigrep ../util/eximstats ../util/exiqsumm \ + ../util/transport-filter.pl ../util/convert4r3 \ + exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb exim_lock \ +@@ -207,7 +207,7 @@ OBJ_EXIM = accept.o child.o daemon.o dbf + route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o \ + store.o string.o tls.o tod.o transport.o tree.o verify.o $(EXIM_PERL) + +-exim: libident/libident.a pcre/libpcre.a lookups/lookups.a auths/auths.a \ ++exim: libident/libident.a lookups/lookups.a auths/auths.a \ + directors/directors.a routers/routers.a transports/transports.a \ + $(OBJ_EXIM) version.c + awk '{ print ($$1+1) }' cnumber.h > cnumber.temp +@@ -215,10 +215,10 @@ exim: libident/libident.a pcre/libpcre + $(CC) -c $(CFLAGS) $(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) version.c + /bin/rm -f exim + $(PURIFY) $(CC) -o exim $(LFLAGS) $(OBJ_EXIM) version.o \ +- libident/libident.a pcre/libpcre.a directors/directors.a \ ++ libident/libident.a directors/directors.a \ + routers/routers.a transports/transports.a lookups/lookups.a \ + auths/auths.a \ +- $(LIBS) $(LIBS_EXIM) $(IPV6_LIBS) $(EXTRALIBS) $(EXTRALIBS_EXIM) \ ++ $(LIBS) -lpcre $(LIBS_EXIM) $(IPV6_LIBS) $(EXTRALIBS) $(EXTRALIBS_EXIM) \ + $(DBMLIB) $(LIBRESOLV) $(LOOKUP_LIBS) $(PERL_LIBS) $(TLS_LIBS) + @if [ x"$(STRIP_COMMAND)" != x"" ]; then $(STRIP_COMMAND) exim; fi + $(EXIM_CHMOD) +@@ -293,12 +293,12 @@ MONBIN = em_StripChart.o $(EXIMON_TEXTPO + + OBJ_MONBIN = dummies.o spool_in.o store.o string.o tree.o $(MONBIN) + +-eximon.bin: $(EXIMON_EDITME) eximon $(OBJ_MONBIN) pcre/libpcre.a \ ++eximon.bin: $(EXIMON_EDITME) eximon $(OBJ_MONBIN) \ + ../exim_monitor/em_version.c + $(CC) -o em_version.o -c \ + $(CFLAGS) $(XINCLUDE) -I. ../exim_monitor/em_version.c + $(PURIFY) $(CC) -o eximon.bin em_version.o $(LFLAGS) $(XLFLAGS) \ +- $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 pcre/libpcre.a \ ++ $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 -lpcre \ + $(LIBS) $(LIBS_EXIMON) $(EXTRALIBS) $(EXTRALIBS_EXIMON) -lc + @if [ x"$(STRIP_COMMAND)" != x"" ]; then $(STRIP_COMMAND) eximon.bin; fi + @echo " " |