diff options
author | rh <rh> | 1999-03-07 16:51:44 +0000 |
---|---|---|
committer | rh <rh> | 1999-03-07 16:51:44 +0000 |
commit | f9fa23d288bb7dd2140b7b2b24c6db62b1858c8b (patch) | |
tree | 6bb0cb13bc51f609c3b04140ab736c6e75618b86 /net/beroftpd/patches | |
parent | 533b8694ecd3e2e420b4438ce68d3b9fc7534391 (diff) | |
download | pkgsrc-f9fa23d288bb7dd2140b7b2b24c6db62b1858c8b.tar.gz |
Adapt package to NetBSD
Update to BeroFTPD-1.3.4
Diffstat (limited to 'net/beroftpd/patches')
-rw-r--r-- | net/beroftpd/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/beroftpd/patches/patch-ab | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net/beroftpd/patches/patch-aa b/net/beroftpd/patches/patch-aa new file mode 100644 index 00000000000..012e8111c8e --- /dev/null +++ b/net/beroftpd/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 1999/03/07 16:51:44 rh Exp $ + +--- Makefile.in.orig Sun Feb 7 15:01:07 1999 ++++ Makefile.in Sun Mar 7 16:53:16 1999 +@@ -58,5 +58,8 @@ + @INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpservers.5 $(mandir)/man5/ftpservers.5 + @INSTALL_DATA@ -o bin -g bin -m 644 doc/xferlog.5 $(mandir)/man5/xferlog.5 + @INSTALL_DATA@ -o bin -g bin -m 644 doc/ftprestart.8 $(mandir)/man8/ftprestart.8 +- @if test ! -f @CONFDIR@/ftpaccess; then echo "Since you didn't have a ftpaccess file, the sample has been"; echo "installed to @CONFDIR@/ftpaccess."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess @CONFDIR@/ftpaccess; fi +- @if test ! -f @CONFDIR@/ftpconversions; then echo "Since you didn't have a ftpconversions file, the sample has been"; echo "installed to @CONFDIR@/ftpconversions."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions @CONFDIR@/ftpconversions; fi ++ @INSTALL_DATA@ -o bin -g bin -m 644 doc/examples/ftpaccess @CONFDIR@/ftpaccess.example ++ @INSTALL_DATA@ -o bin -g bin -m 644 doc/examples/ftpconversions @CONFDIR@/ftpconversions.example ++ @INSTALL_DATA@ -o bin -g bin -m 644 doc/examples/ftpusers @CONFDIR@/ftpusers.example ++ @INSTALL_DATA@ -o bin -g bin -m 644 doc/examples/ftpgroups @CONFDIR@/ftpgroups.example ++ @INSTALL_DATA@ -o bin -g bin -m 644 doc/examples/ftphosts @CONFDIR@/ftphosts.example diff --git a/net/beroftpd/patches/patch-ab b/net/beroftpd/patches/patch-ab new file mode 100644 index 00000000000..a1f566bed3c --- /dev/null +++ b/net/beroftpd/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1 1999/03/07 16:51:45 rh Exp $ + +--- src/ftpcmd.y.orig Sun Mar 7 16:36:53 1999 ++++ src/ftpcmd.y Sun Mar 7 16:39:23 1999 +@@ -830,16 +830,16 @@ + = { + if (log_commands) syslog(LOG_INFO, "SYST"); + if ($2) +-#ifdef unix + #ifdef BSD + reply(215, "UNIX Type: L%d Version: BSD-%d", + NBBY, BSD); + #else /* BSD */ ++#ifdef unix + reply(215, "UNIX Type: L%d", NBBY); +-#endif /* BSD */ + #else /* unix */ + reply(215, "UNKNOWN Type: L%d", NBBY); + #endif /* unix */ ++#endif /* BSD */ + } + + /* |