pkgsrc/net/wu-ftpd/patches/patch-ab
rh a7d8042768 Update wu-ftpd to 2.6.1
Changes to 2.6.0 include:
 o  Fix security leaks that could result in a root shell compromise.
 o  Fix memory leaks in internal ls (this feature still needs more testing;
    you should probably not use it on high-traffic production servers yet.)
 o  Fix up the port-allow command in ftpaccess.
 o  Merge in the virtual passwd/virtual shadow features of BeroFTPD.
 o  Some fixes to the configure script.
 o  SITE MINFO was missed in 2.6.0 when disabling SITE NEWER.
 o  Fix documentation of data-limit.
2000-07-08 16:52:04 +00:00

29 lines
2.4 KiB
Text

$NetBSD: patch-ab,v 1.8 2000/07/08 16:52:05 rh Exp $
--- Makefile.in.orig Sat Jul 1 19:42:15 2000
+++ Makefile.in Sat Jul 8 18:41:53 2000
@@ -67,11 +67,13 @@
-@mkdir -p $(DESTDIR)/$(mandir)/man1
-@mkdir -p $(DESTDIR)/$(mandir)/man5
-@mkdir -p $(DESTDIR)/@ETCDIR@
- @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@sbindir@/in.ftpd
+ -@mkdir -p $(DESTDIR)/@libexecdir@
+ -@mkdir -p $(DESTDIR)/@datadir@/examples/wu-ftpd
+ @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@libexecdir@/ftpd
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/@sbindir@/ftpshut
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/@bindir@/ftpcount
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/@bindir@/ftpwho
- @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ckconfig $(DESTDIR)/@sbindir@/ckconfig
+ @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ckconfig $(DESTDIR)/@sbindir@/ftpckconfig
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftprestart $(DESTDIR)/@sbindir@/ftprestart
@INSTALL_PROGRAM@ -o bin -g bin -m 755 util/privatepw/privatepw $(DESTDIR)/@sbindir@/privatepw
@echo installing manpages.
@@ -87,5 +89,6 @@
@INSTALL_DATA@ -o bin -g bin -m 644 doc/xferlog.5 $(DESTDIR)/$(mandir)/man5/xferlog.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftprestart.8 $(DESTDIR)/$(mandir)/man8/ftprestart.8
@INSTALL_DATA@ -o bin -g bin -m 644 util/privatepw/privatepw.8 $(DESTDIR)/$(mandir)/man8/privatepw.8
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpaccess; then echo "Since you didn't have a ftpaccess file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpaccess."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess; fi
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpconversions; then echo "Since you didn't have a ftpconversions file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpconversions."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions; fi
+ @INSTALL_DATA@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@datadir@/examples/wu-ftpd/ftpaccess.example
+ @INSTALL_DATA@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@datadir@/examples/wu-ftpd/ftpconversions.example
+ @INSTALL_DATA@ -c -o bin -g bin -m 644 doc/examples/ftpusers $(DESTDIR)/@datadir@/examples/wu-ftpd/ftpusers.example