Merge from vendor branch TNF:
[pkgsrc.git] / security / smtpd / patches / patch-aa
1 $NetBSD$
2
3 --- Makefile.orig       Thu Apr 20 18:23:56 2000
4 +++ Makefile    Thu Apr 20 18:29:42 2000
5 @@ -1,7 +1,7 @@
6  ##########################################################
7  ## Where do I get installed? #############################
8  ##########################################################
9 -INSTALL_PREFIX = /usr/local/
10 +INSTALL_PREFIX = ${PREFIX}/
11  INSTALL_BIN = sbin/
12  INSTALL_MAN = man/
13  
14 @@ -20,7 +20,7 @@
15  # sendmail or whatever you are using as MAIL_AGENT above so that the user
16  # may use the "-f" flag to specify the sender of a mail message.
17  SMTP_USER = uucp
18 -SMTP_GROUP = uucp
19 +SMTP_GROUP = mail
20  
21  # smtpd and smtpfwdd generate lots of syslogs, by design.
22  #
23 @@ -41,7 +41,7 @@
24  # in SMTP_USER above.
25  #
26  # The chroot directory
27 -SPOOLDIR = /usr/spool/smtpd
28 +SPOOLDIR = /var/spool/smtpd
29  # Where to store messages, relative to SPOOLDIR above.
30  SPOOLSUBDIR = .
31  #Use below instead of above if you don't want smtpd to chroot. This
32 @@ -53,7 +53,7 @@
33  
34  # How frequently (in seconds) should smtpfwdd wake up to check the
35  # spool directory for new mail? 
36 -POLL_TIME = 10
37 +POLL_TIME = 30
38  
39  # What is the maximum number of children smtpfwdd should spawn at one time
40  # when delivering messages before waiting for some to complete? This ensures
41 @@ -206,8 +206,8 @@
42  # build with CHECK_ADDRESS set to 1. You will get an error about
43  # juniper_firewall.h not existing if you forget this.
44  #
45 -JUNIPER_SUPPORT=1
46 -#JUNIPER_SUPPORT=0
47 +#JUNIPER_SUPPORT=1
48 +JUNIPER_SUPPORT=0
49  
50  # Use regexp's in patterns?  If you have a POSIX <regex.h> and friends, 
51  # and you trust the regex lib enough for use, you can set USE_REGEX to 
52 @@ -245,7 +245,7 @@
53  #
54  #NS_MATCH=0
55  NS_MATCH=1
56 -LD_LIBS=-lresolv  # you may or may not need this.
57 +#LD_LIBS=-lresolv  # you may or may not need this.
58  
59  # The rules file for address checking, if enabled, remember this file
60  # will be in the chroot jail, so the line below probably means