aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpproxy
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-29 02:34:11 +0800
committerpav <pav@FreeBSD.org>2005-07-29 02:34:11 +0800
commit723f9652ce7d2d180158a85af50b87f1643ff24c (patch)
tree39671e3828d3e01d26b367740db1185d56febc61 /ftp/ftpproxy
parentd781b3f8e2f0fe80f4b565553ec794b1cc5305ab (diff)
downloadfreebsd-ports-gnome-723f9652ce7d2d180158a85af50b87f1643ff24c.tar.gz
freebsd-ports-gnome-723f9652ce7d2d180158a85af50b87f1643ff24c.tar.zst
freebsd-ports-gnome-723f9652ce7d2d180158a85af50b87f1643ff24c.zip
- Update to 1.2.3
PR: ports/83777 Submitted by: Andrej Zverev <az@inec.ru> Approved by: philippe le berre <philippe@le-berre.com> (maintainer)
Diffstat (limited to 'ftp/ftpproxy')
-rw-r--r--ftp/ftpproxy/Makefile17
-rw-r--r--ftp/ftpproxy/distinfo4
-rw-r--r--ftp/ftpproxy/files/patch-Makefile25
3 files changed, 11 insertions, 35 deletions
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 <bsd.port.mk>
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)