summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-03-29 20:40:20 +0000
committertron <tron@pkgsrc.org>1998-03-29 20:40:20 +0000
commit9d48f086b36887f45a4b53edbb39bcfd1e350f2a (patch)
treec1278b9c80b2b45df2338fc5b54ed2dcb6518530 /net/wu-ftpd/patches
parente259711c482b7aeb25c7c53ae0677e193f827c8c (diff)
downloadpkgsrc-9d48f086b36887f45a4b53edbb39bcfd1e350f2a.tar.gz
Initial import of FreeBSD's "wu-ftpd-2.4.2-beta-16" port.
Diffstat (limited to 'net/wu-ftpd/patches')
-rw-r--r--net/wu-ftpd/patches/patch-aa19
-rw-r--r--net/wu-ftpd/patches/patch-ab84
-rw-r--r--net/wu-ftpd/patches/patch-ac42
-rw-r--r--net/wu-ftpd/patches/patch-ag19
-rw-r--r--net/wu-ftpd/patches/patch-ah31
-rw-r--r--net/wu-ftpd/patches/patch-ai15
-rw-r--r--net/wu-ftpd/patches/patch-al19
-rw-r--r--net/wu-ftpd/patches/patch-am33
8 files changed, 262 insertions, 0 deletions
diff --git a/net/wu-ftpd/patches/patch-aa b/net/wu-ftpd/patches/patch-aa
new file mode 100644
index 00000000000..0dd5a807967
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-aa
@@ -0,0 +1,19 @@
+*** src/config/config.fbs.bak Fri Dec 12 18:17:19 1997
+--- src/config/config.fbs Wed Dec 24 20:39:50 1997
+***************
+*** 29,35 ****
+ #define VIRTUAL
+ # if defined(__FreeBSD__)
+ # undef SPT_TYPE
+! # if __FreeBSD__ == 2
+ # include <osreldate.h> /* and this works */
+ # if __FreeBSD_version >= 199512 /* 2.2-current right now */
+ # define SPT_TYPE SPT_BUILTIN
+--- 29,35 ----
+ #define VIRTUAL
+ # if defined(__FreeBSD__)
+ # undef SPT_TYPE
+! # if __FreeBSD__ >= 2
+ # include <osreldate.h> /* and this works */
+ # if __FreeBSD_version >= 199512 /* 2.2-current right now */
+ # define SPT_TYPE SPT_BUILTIN
diff --git a/net/wu-ftpd/patches/patch-ab b/net/wu-ftpd/patches/patch-ab
new file mode 100644
index 00000000000..dc2c5ea8368
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ab
@@ -0,0 +1,84 @@
+*** makefiles/Makefile.fbs.orig Fri Dec 19 08:54:48 1997
+--- makefiles/Makefile.fbs Wed Dec 24 20:20:39 1997
+***************
+*** 1,7 ****
+! PREFIX= /usr/local
+ BINDIR= ${PREFIX}/bin
+! ETCDIR= ${PREFIX}/libexec
+ MANDIR= ${PREFIX}/man
+ MANEXT= 8
+ INSTALL= install
+
+--- 1,8 ----
+! PREFIX?= /usr/local
+ BINDIR= ${PREFIX}/bin
+! ETCDIR= ${PREFIX}/etc
+ MANDIR= ${PREFIX}/man
++ LIBEXECDIR= ${PREFIX}/libexec
+ MANEXT= 8
+ INSTALL= install
+
+***************
+*** 10,26 ****
+ @ echo 'You can say "build help" for details on how it works.'
+
+ install: bin/ftpd bin/ftpcount bin/ftpshut
+! -mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old
+ @echo installing binaries.
+! ${INSTALL} -c -o bin -g bin -m 755 bin/ftpd ${ETCDIR}/ftpd
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
+ install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig
+ @echo NOT Installing basic configuration
+! # install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess
+! # install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers
+! # install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions
+ @echo installing manpages.
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
+--- 11,27 ----
+ @ echo 'You can say "build help" for details on how it works.'
+
+ install: bin/ftpd bin/ftpcount bin/ftpshut
+! -mv -f ${LIBEXECDIR}/ftpd ${LIBEXECDIR}/ftpd-old
+ @echo installing binaries.
+! ${INSTALL} -c -o bin -g bin -m 755 bin/ftpd ${LIBEXECDIR}/ftpd
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
+ ${INSTALL} -c -o bin -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
+ install -c -o bin -g bin -m 755 bin/ckconfig ${BINDIR}/ftpckconfig
+ @echo NOT Installing basic configuration
+! install -c -o root -g bin -m 644 doc/examples/ftpaccess ${ETCDIR}/ftpaccess.example
+! install -c -o root -g bin -m 644 doc/examples/ftpusers ${ETCDIR}/ftpusers.example
+! install -c -o root -g bin -m 644 doc/examples/ftpconversions ${ETCDIR}/ftpconversions.example
+ @echo installing manpages.
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
+***************
+*** 30,41 ****
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
+ ${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
+! @echo Compressing manpages
+! gzip -f -9 ${MANDIR}/man8/ftpd.8
+! gzip -f -9 ${MANDIR}/man1/ftpcount.1
+! gzip -f -9 ${MANDIR}/man1/ftpwho.1
+! gzip -f -9 ${MANDIR}/man8/ftpshut.8
+! gzip -f -9 ${MANDIR}/man5/ftpaccess.5
+! gzip -f -9 ${MANDIR}/man5/ftphosts.5
+! gzip -f -9 ${MANDIR}/man5/ftpconversions.5
+! gzip -f -9 ${MANDIR}/man5/xferlog.5
+--- 31,42 ----
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
+ ${INSTALL} -c -o bin -g bin -m 644 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5
+ ${INSTALL} -c -o bin -g bin -m 644 doc/xferlog.5 ${MANDIR}/man5/xferlog.5
+! # @echo Compressing manpages
+! # gzip -f -9 ${MANDIR}/man8/ftpd.8
+! # gzip -f -9 ${MANDIR}/man1/ftpcount.1
+! # gzip -f -9 ${MANDIR}/man1/ftpwho.1
+! # gzip -f -9 ${MANDIR}/man8/ftpshut.8
+! # gzip -f -9 ${MANDIR}/man5/ftpaccess.5
+! # gzip -f -9 ${MANDIR}/man5/ftphosts.5
+! # gzip -f -9 ${MANDIR}/man5/ftpconversions.5
+! # gzip -f -9 ${MANDIR}/man5/xferlog.5
diff --git a/net/wu-ftpd/patches/patch-ac b/net/wu-ftpd/patches/patch-ac
new file mode 100644
index 00000000000..93749a1da79
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ac
@@ -0,0 +1,42 @@
+*** src/pathnames.h.bak Mon Jan 20 06:21:45 1997
+--- src/pathnames.h Thu Jan 30 15:42:24 1997
+***************
+*** 45,54 ****
+ #define _PATH_CVT "/etc/ftpd/ftpconversions"
+ #define _PATH_PRIVATE "/etc/ftpd/ftpgroups"
+ #else
+! #define _PATH_FTPUSERS "/usr/local/lib/ftpd/ftpusers"
+! #define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
+! #define _PATH_CVT "/usr/local/lib/ftpd/ftpconversions"
+! #define _PATH_PRIVATE "/usr/local/lib/ftpd/ftpgroups"
+ #endif
+ #endif
+
+--- 45,54 ----
+ #define _PATH_CVT "/etc/ftpd/ftpconversions"
+ #define _PATH_PRIVATE "/etc/ftpd/ftpgroups"
+ #else
+! #define _PATH_FTPUSERS "!!PREFIX!!/etc/ftpusers"
+! #define _PATH_FTPACCESS "!!PREFIX!!/etc/ftpaccess"
+! #define _PATH_CVT "!!PREFIX!!/etc/ftpconversions"
+! #define _PATH_PRIVATE "!!PREFIX!!/etc/ftpgroups"
+ #endif
+ #endif
+
+***************
+*** 109,115 ****
+ #ifdef USE_ETC_FTPD
+ #define _PATH_FTPHOSTS "/etc/ftpd/ftphosts"
+ #else
+! #define _PATH_FTPHOSTS "/usr/local/lib/ftpd/ftphosts"
+ #endif
+ #endif
+ #endif
+--- 109,115 ----
+ #ifdef USE_ETC_FTPD
+ #define _PATH_FTPHOSTS "/etc/ftpd/ftphosts"
+ #else
+! #define _PATH_FTPHOSTS "!!PREFIX!!/etc/ftphosts"
+ #endif
+ #endif
+ #endif
diff --git a/net/wu-ftpd/patches/patch-ag b/net/wu-ftpd/patches/patch-ag
new file mode 100644
index 00000000000..dabfbce24f9
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ag
@@ -0,0 +1,19 @@
+*** doc/examples/ftpconversions.orig Wed Jan 25 22:11:02 1995
+--- doc/examples/ftpconversions Wed Jan 25 22:11:49 1995
+***************
+*** 1,7 ****
+! :.Z: : :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
+ : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
+ :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
+ : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
+ : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR
+ : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
+! : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
+--- 1,7 ----
+! :.Z: : :/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
+ : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
+ :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
+ : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
+ : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR
+ : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
+! : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
diff --git a/net/wu-ftpd/patches/patch-ah b/net/wu-ftpd/patches/patch-ah
new file mode 100644
index 00000000000..537d8d5e095
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ah
@@ -0,0 +1,31 @@
+*** doc/examples/ftpusers.orig Tue Aug 8 19:30:46 1995
+--- doc/examples/ftpusers Tue Aug 8 19:33:46 1995
+***************
+*** 1,14 ****
+ root
+! bin
+! boot
+ daemon
+- digital
+- field
+- gateway
+- guest
+- nobody
+ operator
+! ris
+! sccs
+! sys
+ uucp
+--- 1,12 ----
+ root
+! toor
+ daemon
+ operator
+! bin
+! games
+! news
+! man
+ uucp
++ xten
++ ingres
++ nobody
diff --git a/net/wu-ftpd/patches/patch-ai b/net/wu-ftpd/patches/patch-ai
new file mode 100644
index 00000000000..eeee626462d
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ai
@@ -0,0 +1,15 @@
+*** config.h.orig Fri Sep 12 19:44:00 1997
+--- config.h Mon Sep 15 09:27:39 1997
+***************
+*** 72,76 ****
+ * See FIXES-2.4-HOBBIT for more information on this option.
+ */
+
+! #undef SKEY
+
+--- 72,76 ----
+ * See FIXES-2.4-HOBBIT for more information on this option.
+ */
+
+! /* #undef SKEY */
+
diff --git a/net/wu-ftpd/patches/patch-al b/net/wu-ftpd/patches/patch-al
new file mode 100644
index 00000000000..90c5246d7d5
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-al
@@ -0,0 +1,19 @@
+*** support/makefiles/Makefile.fbs.bak Mon Mar 3 12:11:54 1997
+--- support/makefiles/Makefile.fbs Sun Apr 27 21:13:35 1997
+***************
+*** 8,14 ****
+ LIBC = /usr/lib/libc.a
+ IFLAGS =
+ LFLAGS =
+! CFLAGS = -O ${IFLAGS} ${LFLAGS} -DNO_MALLOC_PROTO
+
+ SRCS = strcasestr.c authuser.c ftw.c
+ OBJS = strcasestr.o authuser.o ftw.o
+--- 8,14 ----
+ LIBC = /usr/lib/libc.a
+ IFLAGS =
+ LFLAGS =
+! CFLAGS += ${IFLAGS} ${LFLAGS} -DNO_MALLOC_PROTO
+
+ SRCS = strcasestr.c authuser.c ftw.c
+ OBJS = strcasestr.o authuser.o ftw.o
diff --git a/net/wu-ftpd/patches/patch-am b/net/wu-ftpd/patches/patch-am
new file mode 100644
index 00000000000..04297b0bb71
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-am
@@ -0,0 +1,33 @@
+*** src/makefiles/Makefile.fbs.orig Sun Dec 21 07:04:49 1997
+--- src/makefiles/Makefile.fbs Wed Dec 24 20:26:01 1997
+***************
+*** 4,10 ****
+ #CC = cc
+ IFLAGS = -I.. -I../support
+ LFLAGS = -L../support -s
+! CFLAGS = -O ${IFLAGS} ${LFLAGS}
+ LIBES = -lsupport -lutil -lskey -lmd -lcrypt
+ LIBC = /usr/lib/libc.a
+ LINTFLAGS=
+--- 4,10 ----
+ #CC = cc
+ IFLAGS = -I.. -I../support
+ LFLAGS = -L../support -s
+! CFLAGS += ${IFLAGS} ${LFLAGS}
+ LIBES = -lsupport -lutil -lskey -lmd -lcrypt
+ LIBC = /usr/lib/libc.a
+ LINTFLAGS=
+***************
+*** 27,33 ****
+--- 27,37 ----
+ ${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES}
+
+ ftpd: ${OBJS} ${LIBC}
++ .if defined(PACKAGE_BUILDING)
+ ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES}
++ .else
++ ${CC} -static ${CFLAGS} -o $@ ${OBJS} ${LIBES}
++ .endif
+
+ ckconfig: ckconfig.c
+ ${CC} ${CFLAGS} -o $@ ckconfig.c