Update to 1.1.4

PR:		34186
Submitted by:	maintainer
This commit is contained in:
Patrick Li
2002-01-26 00:07:18 +00:00
parent b9d623eba1
commit d5992e92c5
7 changed files with 41 additions and 52 deletions

View File

@@ -6,21 +6,27 @@
#
PORTNAME= ftpproxy
PORTVERSION= 1.0.7
PORTVERSION= 1.1.4
CATEGORIES= ftp
MASTER_SITES= http://ftp.daemons.de/download/
DISTNAME= ftpproxy-${PORTVERSION}
MASTER_SITES= http://www.ftpproxy.org/download/ \
ftp://ftp.daemons.de/ \
http://www.ftpproxy.org/download/older_releases/ \
ftp://ftp.daemons.de/older_releases/
EXTRACT_SUFX= .tgz
MAINTAINER= philippe@le-berre.com
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= ftp.proxy.1
MANCOMPRESSED= no
pre-build:
${PERL} -pi -e "s@gcc@${CC}@g; s@-O2 -Wall -ggdb@-Wall ${CFLAGS}@g; \
s@/usr/local@${PREFIX}@g" ${WRKSRC}/Makefile
pre-patch:
@${RM} -Rf ${WRKSRC}/*.o ${WRKSRC}/src/ftp.proxy
@${PERL} -pi.orig -e 's|SOL_TCP|SOL_SOCKET|' ${WRKSRC}/ftp.c
post-patch:
${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ftp.proxy ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/../doc/ftp.proxy.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@@ -1 +1 @@
MD5 (ftpproxy-1.0.7.tar.gz) = 4cf5774e22fbcd0a0e02dab0c7ba4853
MD5 (ftpproxy-1.1.4.tgz) = 3f2732c23d7cda68320b7258544cb753

View File

@@ -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)

View File

@@ -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>

View File

@@ -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) {

View File

@@ -6,7 +6,7 @@ Beside this basic function which makes the program useful on firewall
or masqueraders it offers fixing the FTP server (e.g. for connections
into a protected LAN) and proxy authentication.
WWW: http://ftp.daemons.de/
WWW: http://www.ftpproxy.org/
-Philippe
philippe@le-berre.com

View File

@@ -1 +0,0 @@
sbin/ftp.proxy