From 9b4a6dfbbd0ef91119a0f5e525a9d3a46f426d16 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 28 Jul 2005 18:34:11 +0000 Subject: - Update to 1.2.3 PR: ports/83777 Submitted by: Andrej Zverev Approved by: philippe le berre (maintainer) --- ftp/ftpproxy/Makefile | 17 +++++++++-------- ftp/ftpproxy/distinfo | 4 ++-- ftp/ftpproxy/files/patch-Makefile | 25 ------------------------- 3 files changed, 11 insertions(+), 35 deletions(-) delete mode 100644 ftp/ftpproxy/files/patch-Makefile (limited to 'ftp/ftpproxy') diff --git a/ftp/ftpproxy/Makefile b/ftp/ftpproxy/Makefile index a5339b2c4605..e50576357e94 100644 --- a/ftp/ftpproxy/Makefile +++ b/ftp/ftpproxy/Makefile @@ -6,27 +6,28 @@ # PORTNAME= ftpproxy -PORTVERSION= 1.1.5 +PORTVERSION= 1.2.3 CATEGORIES= ftp -MASTER_SITES= http://www.ftpproxy.org/download/older_releases/ +MASTER_SITES= http://www.ftpproxy.org/download/ \ + http://www.ftpproxy.org/download/older_releases/ EXTRACT_SUFX= .tgz MAINTAINER= philippe@le-berre.com COMMENT= A ftp proxy -WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_REINPLACE= yes +USE_GMAKE= yes +CFLAGS +=-DVERSION=\\\"${PORTVERSION}\\\" MAN1= ftp.proxy.1 MANCOMPRESSED= no PLIST_FILES= sbin/ftp.proxy -pre-patch: - @${RM} -Rf ${WRKSRC}/*.o ${WRKSRC}/src/ftp.proxy - @${REINPLACE_CMD} -e 's|SOL_TCP|SOL_SOCKET|' ${WRKSRC}/ftp.c +pre-build: + @${REINPLACE_CMD} -e 's|^CFLAGS|#CFLAGS|' ${WRKSRC}/src/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/ftp.proxy ${PREFIX}/sbin - @${INSTALL_MAN} ${WRKSRC}/../doc/ftp.proxy.1 ${PREFIX}/man/man1 + @${INSTALL_PROGRAM} ${WRKSRC}/src/ftp.proxy ${PREFIX}/sbin + @${INSTALL_MAN} ${WRKSRC}/doc/ftp.proxy.1 ${PREFIX}/man/man1 .include diff --git a/ftp/ftpproxy/distinfo b/ftp/ftpproxy/distinfo index 188ab3e7b0a0..48b14dc7197f 100644 --- a/ftp/ftpproxy/distinfo +++ b/ftp/ftpproxy/distinfo @@ -1,2 +1,2 @@ -MD5 (ftpproxy-1.1.5.tgz) = 4db5116f29e0477fa35f4c563e5aa2ad -SIZE (ftpproxy-1.1.5.tgz) = 148035 +MD5 (ftpproxy-1.2.3.tgz) = c2068bc452e1d7554d3bda08030aa433 +SIZE (ftpproxy-1.2.3.tgz) = 81625 diff --git a/ftp/ftpproxy/files/patch-Makefile b/ftp/ftpproxy/files/patch-Makefile deleted file mode 100644 index 8ef244d80a0e..000000000000 --- a/ftp/ftpproxy/files/patch-Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- 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) -- cgit v1.2.3