summaryrefslogtreecommitdiff
path: root/ftp/ftpproxy/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-26 00:07:18 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-26 00:07:18 +0000
commitd5992e92c57098977d89344f2e6101b69a394842 (patch)
tree6c2ca4aca3870510b64d983d9fa684ffdf1f2fd8 /ftp/ftpproxy/files
parentUpdate to 20020113 release of mmix (diff)
Update to 1.1.4
PR: 34186 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=53739
Diffstat (limited to 'ftp/ftpproxy/files')
-rw-r--r--ftp/ftpproxy/files/patch-Makefile25
-rw-r--r--ftp/ftpproxy/files/patch-ftp.c21
-rw-r--r--ftp/ftpproxy/files/patch-main.c20
3 files changed, 25 insertions, 41 deletions
diff --git a/ftp/ftpproxy/files/patch-Makefile b/ftp/ftpproxy/files/patch-Makefile
new file mode 100644
index 000000000000..8ef244d80a0e
--- /dev/null
+++ b/ftp/ftpproxy/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig Wed Jan 23 23:42:24 2002
++++ Makefile Wed Jan 23 23:49:22 2002
+@@ -1,20 +1,4 @@
+-
+-CC = gcc
+-CFLAGS = -O2 -Wall -ggdb
+-
+ FTPPROXY = main.o ftp.o ip-lib.o lib.o
+
+-TARGETS = ftp.proxy
+-
+-
+-all: $(TARGETS)
+- -ctags *.[ch]
+-
+-
+-ftp.proxy: $(FTPPROXY)
+- $(CC) -o $@ $(FTPPROXY)
+-
+-
+-clean:
+- rm -f *.o cut out $(TARGETS) $(TAR).tar.gz
+-
++all: $(FTPPROXY)
++ $(CC) $(CFLAGS) -o ftp.proxy $(FTPPROXY)
diff --git a/ftp/ftpproxy/files/patch-ftp.c b/ftp/ftpproxy/files/patch-ftp.c
deleted file mode 100644
index fb8f266dea37..000000000000
--- a/ftp/ftpproxy/files/patch-ftp.c
+++ /dev/null
@@ -1,21 +0,0 @@
-*** ftp.orig Wed May 16 09:53:13 2001
---- ftp.c Wed May 16 09:54:08 2001
-***************
-*** 31,38 ****
-
- #include <time.h>
- #include <signal.h>
-! #include <wait.h>
- #include <ctype.h>
-
- #include <sys/types.h>
- #include <sys/stat.h>
---- 31,38 ----
-
- #include <time.h>
- #include <signal.h>
-! #include <sys/wait.h>
- #include <ctype.h>
-
- #include <sys/types.h>
- #include <sys/stat.h>
diff --git a/ftp/ftpproxy/files/patch-main.c b/ftp/ftpproxy/files/patch-main.c
deleted file mode 100644
index 68c4b369573d..000000000000
--- a/ftp/ftpproxy/files/patch-main.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- main.c.orig Fri May 11 16:30:04 2001
-+++ main.c Mon Oct 15 21:24:20 2001
-@@ -30,7 +30,7 @@
- #include <stdarg.h>
-
- #include <signal.h>
--#include <wait.h>
-+#include <sys/wait.h>
-
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -81,7 +81,7 @@
- config->timeout = 15 * 60;
- strcpy(config->varname, "PROXY_");
-
-- openlog(program, LOG_PID, LOG_MAIL);
-+ openlog(program, LOG_PID, LOG_FTP);
-
- k = 1;
- while (k < argc && argv[k][0] == '-' && argv[k][1] != 0) {