1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/news/ifmail/files/patch-CONFIG

184 lines
5.7 KiB
Plaintext
Raw Normal View History

*** CONFIG Sat Sep 13 15:41:44 1997
--- CONFIG.neu Fri Dec 5 11:01:29 1997
***************
*** 8,21 ****
# Debug messages turned on by -x key are written here.
# Some error messages may occationally appear here too.
# This may be changed in the 'config' file.
! DEBUGFILE = "/var/log/ifmail/ifdebug"
# Procession log. Usually gets several lines for each invocation.
# Also look for error diagnostics here. If HAS_SYSLOG defined,
# only stdout and stderr from the packers and unpackers go to this
# file, while actual logging is done via syslog() calls.
# This may be changed in the 'config' file.
! LOGFILE = "/var/log/ifmail/iflog"
# Use syslog() facility codes for mail gate, news gate and ifcico.
# Define -DHAS_SYSLOG (see below)
--- 8,21 ----
# Debug messages turned on by -x key are written here.
# Some error messages may occationally appear here too.
# This may be changed in the 'config' file.
! DEBUGFILE = "/var/spool/ifmail/ifdebug"
# Procession log. Usually gets several lines for each invocation.
# Also look for error diagnostics here. If HAS_SYSLOG defined,
# only stdout and stderr from the packers and unpackers go to this
# file, while actual logging is done via syslog() calls.
# This may be changed in the 'config' file.
! LOGFILE = "/var/spool/ifmail/iflog"
# Use syslog() facility codes for mail gate, news gate and ifcico.
# Define -DHAS_SYSLOG (see below)
***************
*** 27,39 ****
CICOLOG = LOG_LOCAL0
# Directory where UUCP lock files reside.
! #LOCKDIR = "/var/spool/uucp"
! LOCKDIR = "/var/lock"
# Directory from which file requests are resolved.
# This may be changed from the 'config' file.
! #PUBDIR = "/home/ftp/pub"
! PUBDIR = "/var/spool/uucppublic"
# News spool directory (to check space only)
#NEWSSPOOL = "/usr/spool/news"
--- 27,39 ----
CICOLOG = LOG_LOCAL0
# Directory where UUCP lock files reside.
! LOCKDIR = "/var/spool/uucp"
! #LOCKDIR = "/var/lock"
# Directory from which file requests are resolved.
# This may be changed from the 'config' file.
! PUBDIR = "/home/ftp/pub"
! #PUBDIR = "/var/spool/uucppublic"
# News spool directory (to check space only)
#NEWSSPOOL = "/usr/spool/news"
***************
*** 152,171 ****
# system, usually "-DINT32=long -DINT16=short"
# Linux/x86: (add -DHAS_BSD_SIGNALS if you have glibc2 aka libc6.x)
! OPTS = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
! -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
! -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
! -DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY \
! -DSLAVE_SENDS_NAK_TOO -DNEED_FORK \
! -DINT32=long -DINT16=short
# 386BSD:
! #OPTS = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
! # -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H \
! # -DHAS_REGEX_H -DHAS_TCP -DHAS_SYSLOG -DNEED_UUCPFROM \
! # -DNEED_BSY -DNEED_FORK -DNEGATIVE_SEEK_BUG \
! # -DHAS_SYS_ERRLIST -DHAS_BSD_SIGNALS \
! # -DINT32=long -DINT16=short
# SVR4:
#OPTS = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
--- 152,171 ----
# system, usually "-DINT32=long -DINT16=short"
# Linux/x86: (add -DHAS_BSD_SIGNALS if you have glibc2 aka libc6.x)
! #OPTS = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
! # -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
! # -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
! # -DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY \
! # -DSLAVE_SENDS_NAK_TOO -DNEED_FORK \
! # -DINT32=long -DINT16=short
# 386BSD:
! OPTS = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
! -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H \
! -DHAS_REGEX_H -DHAS_TCP -DHAS_SYSLOG -DNEED_UUCPFROM \
! -DNEED_BSY -DNEED_FORK -DNEGATIVE_SEEK_BUG \
! -DHAS_SYS_ERRLIST -DHAS_BSD_SIGNALS \
! -DINT32=long -DINT16=short
# SVR4:
#OPTS = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
***************
*** 217,223 ****
# -DNEED_BSY -DSLAVE_SENDS_NAK_TOO -DINT32=int -DINT16=short
# for make install, where to put binaries and what owner to set
! BINDIR = /usr/lib/ifmail
OWNER = ifmail
GROUP = uucp
MODE = 0711
--- 217,223 ----
# -DNEED_BSY -DSLAVE_SENDS_NAK_TOO -DINT32=int -DINT16=short
# for make install, where to put binaries and what owner to set
! BINDIR = ${PREFIX}/libexec/ifmail
OWNER = ifmail
GROUP = uucp
MODE = 0711
***************
*** 237,243 ****
TAR = tar
#CFLAGS = -g -Wall
! # Linux, 386BSD, SunOS:
CFLAGS = -O2 -Wall
# SVR4:
#CFLAGS = -O -Xa
--- 237,243 ----
TAR = tar
#CFLAGS = -g -Wall
! # Linux, 386BSD,FreeBsd, SunOS:
CFLAGS = -O2 -Wall
# SVR4:
#CFLAGS = -O -Xa
***************
*** 254,264 ****
# If you need TERM also add e.g. "/usr/src/term112/client.a"
# Linux
! LIBS = -lgdbm
# SunOS:
#LIBS =
# 386BSD:
#LIBS = -lgdbm -lcompat
# SVR4
#LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
# SCO
--- 254,266 ----
# If you need TERM also add e.g. "/usr/src/term112/client.a"
# Linux
! #LIBS = -lgdbm
# SunOS:
#LIBS =
# 386BSD:
#LIBS = -lgdbm -lcompat
+ # FreeBsd:
+ LIBS = -lgnuregex
# SVR4
#LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
# SCO
***************
*** 275,281 ****
# What programs are absent at your system?
#NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o usleep.o \
# regexpr.o
! # Linux
NEEDED =
# SVR4
#NEEDED = regexpr.o
--- 277,283 ----
# What programs are absent at your system?
#NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o usleep.o \
# regexpr.o
! # Linux, FreeBSD
NEEDED =
# SVR4
#NEEDED = regexpr.o