diff options
author | fenner <fenner@FreeBSD.org> | 1997-11-16 12:57:27 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-11-16 12:57:27 +0800 |
commit | eb3e318999137b3529b4b9fe91052e7b612ecdb0 (patch) | |
tree | 1f1513c217fdfa38a3ca2018a5cf04ccade8c4c3 /news/ifmail/files | |
parent | a6a50fda8e393a25a2227cfe7fed4b411f768cd2 (diff) | |
download | freebsd-ports-gnome-eb3e318999137b3529b4b9fe91052e7b612ecdb0.tar.gz freebsd-ports-gnome-eb3e318999137b3529b4b9fe91052e7b612ecdb0.tar.zst freebsd-ports-gnome-eb3e318999137b3529b4b9fe91052e7b612ecdb0.zip |
Port of ifmail, a FidoNet(tm) support package for UN*X platform.
Extensively modified from submitted PR, including upgrading to a
new version, installing examples and documentation, and creating
the required new user.
PR: ports/3306
Submitted by: Dirk Meyer <dirk@net2.dinoex.sub.de>
Diffstat (limited to 'news/ifmail/files')
-rw-r--r-- | news/ifmail/files/patch-CONFIG | 179 | ||||
-rw-r--r-- | news/ifmail/files/patch-clibrary.h | 15 | ||||
-rw-r--r-- | news/ifmail/files/patch-directory.h | 10 |
3 files changed, 204 insertions, 0 deletions
diff --git a/news/ifmail/files/patch-CONFIG b/news/ifmail/files/patch-CONFIG new file mode 100644 index 000000000000..1f1a32037056 --- /dev/null +++ b/news/ifmail/files/patch-CONFIG @@ -0,0 +1,179 @@ +*** CONFIG.orig Sat Apr 26 01:44:17 1997 +--- CONFIG Sat Nov 15 20:28:40 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" +*************** +*** 138,155 **** + # (see below). + + # Linux: +! 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 \ +! -DREGEX_NEED_CARET -DSLAVE_SENDS_NAK_TOO -DNEED_FORK +! +! # 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 \ +! # -DREGEX_NEED_CARET -DHAS_SYS_ERRLIST + + # SVR4: + #OPTS = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \ +--- 138,155 ---- + # (see below). + + # Linux: +! #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 \ +! # -DREGEX_NEED_CARET -DSLAVE_SENDS_NAK_TOO -DNEED_FORK +! +! # 386BSD,FreeBSD: +! 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 \ +! -DREGEX_NEED_CARET -DHAS_SYS_ERRLIST + + # SVR4: + #OPTS = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \ +*************** +*** 193,199 **** + # -DREGEX_NEED_CARET -DDONT_HAVE_GETOPT + + # for make install, where to put binaries and what owner to set +! BINDIR = /usr/lib/ifmail + OWNER = ifmail + GROUP = uucp + MODE = 0711 +--- 193,199 ---- + # -DREGEX_NEED_CARET -DDONT_HAVE_GETOPT + + # for make install, where to put binaries and what owner to set +! BINDIR = ${PREFIX}/libexec/ifmail + OWNER = ifmail + GROUP = uucp + MODE = 0711 +*************** +*** 213,219 **** + TAR = tar + + #CFLAGS = -g -Wall +! # Linux, 386BSD, SunOS: + CFLAGS = -O2 -Wall + # SVR4: + #CFLAGS = -O -Xa +--- 213,219 ---- + TAR = tar + + #CFLAGS = -g -Wall +! # Linux, 386BSD,FreeBsd, SunOS: + CFLAGS = -O2 -Wall + # SVR4: + #CFLAGS = -O -Xa +*************** +*** 227,237 **** + # 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 +--- 227,239 ---- + # 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 +*************** +*** 248,254 **** + # 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 +--- 250,256 ---- + # 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 diff --git a/news/ifmail/files/patch-clibrary.h b/news/ifmail/files/patch-clibrary.h new file mode 100644 index 000000000000..24658cad9254 --- /dev/null +++ b/news/ifmail/files/patch-clibrary.h @@ -0,0 +1,15 @@ +*** iflib/clibrary.h Sat Sep 11 17:16:11 1993 +--- iflib/clibrary.h.neu Wed Feb 19 20:53:56 1997 +*************** +*** 121,128 **** +--- 121,130 ---- + extern void exit(); + /* =()<extern @<GETPIDVAL>@ getpid();>()= */ + extern int getpid(); ++ #ifndef __FreeBSD__ + /* =()<extern @<LSEEKVAL>@ lseek();>()= */ + extern long lseek(); ++ #endif + /* =()<extern @<QSORTVAL>@ qsort();>()= */ + extern int qsort(); + /* =()<extern @<SLEEPVAL>@ sleep();>()= */ diff --git a/news/ifmail/files/patch-directory.h b/news/ifmail/files/patch-directory.h new file mode 100644 index 000000000000..cc25aec25558 --- /dev/null +++ b/news/ifmail/files/patch-directory.h @@ -0,0 +1,10 @@ +--- iflib/directory.h.orig Sat Nov 15 16:22:07 1997 ++++ iflib/directory.h Sat Nov 15 16:22:17 1997 +@@ -8,6 +8,7 @@ + * Written by stefan@space.s-link.de (Stefan Westerfeld) + */ + ++#include <sys/types.h> + #include <dirent.h> + + #ifdef DONT_HAVE_DIRENT |