diff options
Diffstat (limited to 'security/smtpd/patches/patch-aa')
-rw-r--r-- | security/smtpd/patches/patch-aa | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/security/smtpd/patches/patch-aa b/security/smtpd/patches/patch-aa index 31ab89b7beb..d11ecb4409c 100644 --- a/security/smtpd/patches/patch-aa +++ b/security/smtpd/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ +$NetBSD: patch-aa,v 1.2 2004/02/08 14:27:35 grant Exp $ ---- Makefile.orig Thu Apr 20 18:23:56 2000 -+++ Makefile Thu Apr 20 18:29:42 2000 +--- Makefile.orig 1997-10-13 11:40:34.000000000 +1000 ++++ Makefile @@ -1,7 +1,7 @@ ########################################################## ## Where do I get installed? ############################# @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ INSTALL_BIN = sbin/ INSTALL_MAN = man/ -@@ -20,7 +20,7 @@ +@@ -20,7 +20,7 @@ MAIL_AGENT = /usr/sbin/sendmail # sendmail or whatever you are using as MAIL_AGENT above so that the user # may use the "-f" flag to specify the sender of a mail message. SMTP_USER = uucp @@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ # smtpd and smtpfwdd generate lots of syslogs, by design. # -@@ -41,7 +41,7 @@ +@@ -41,7 +41,7 @@ LOG_FACILITY = LOG_MAIL # in SMTP_USER above. # # The chroot directory @@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ # Where to store messages, relative to SPOOLDIR above. SPOOLSUBDIR = . #Use below instead of above if you don't want smtpd to chroot. This -@@ -53,7 +53,7 @@ +@@ -53,7 +53,7 @@ SPOOLSUBDIR = . # How frequently (in seconds) should smtpfwdd wake up to check the # spool directory for new mail? @@ -38,7 +38,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ # What is the maximum number of children smtpfwdd should spawn at one time # when delivering messages before waiting for some to complete? This ensures -@@ -206,8 +206,8 @@ +@@ -206,8 +206,8 @@ CHECK_ADDRESS = 1 # build with CHECK_ADDRESS set to 1. You will get an error about # juniper_firewall.h not existing if you forget this. # @@ -49,7 +49,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ # Use regexp's in patterns? If you have a POSIX <regex.h> and friends, # and you trust the regex lib enough for use, you can set USE_REGEX to -@@ -245,7 +245,7 @@ +@@ -245,7 +245,7 @@ USE_REGEX=1 # #NS_MATCH=0 NS_MATCH=1 @@ -58,3 +58,38 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $ # The rules file for address checking, if enabled, remember this file # will be in the chroot jail, so the line below probably means +@@ -318,14 +318,14 @@ OPTIONS = -DMAIL_AGENT=\"$(MAIL_AGENT)\" + + ## CC of choice. + #CC = cc +-CC = gcc ++#CC = gcc + + #################################################### + ###### Uncomment your Operating System below ####### + #################################################### + + # The Source is with you (*BSD 4.4, Linux) +-CFLAGS = -g -O -Wall -DUSE_FLOCK -DUSE_MKSTEMP $(OPTIONS) ++#CFLAGS = -g -O -Wall -DUSE_FLOCK -DUSE_MKSTEMP $(OPTIONS) + + + #SunOS 5.X +@@ -343,14 +343,15 @@ CFLAGS = -g -O -Wall -DUSE_FLOCK -DUSE_M + #AIX + #CFLAGS = -g -O -Wall -DGETOPT_EOF -DUSE_LOCKF -DNEEDS_FCNTL_H -DNEEDS_LOCKF_H -DNEEDS_STRINGS_H -DNEEDS_SELECT_H $(OPTIONS) + ++CFLAGS+=$(OPTIONS) + + all: smtpd smtpfwdd + + smtpd: smtpd.o address_check.o +- $(CC) -o smtpd smtpd.o address_check.o $(LD_LIBS) ++ $(CC) $(CFLAGS) -o smtpd smtpd.o address_check.o $(LD_LIBS) + + smtpfwdd: smtpfwdd.o +- $(CC) -o smtpfwdd smtpfwdd.o $(LD_LIBS) ++ $(CC) $(CFLAGS) -o smtpfwdd smtpfwdd.o $(LD_LIBS) + + smtpd.o: smtpd.c smtpd.h smtp.h + |