aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2010-07-23 07:16:26 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2010-07-23 07:16:26 +0000
commit5e1257c629a3b85b75f4e27d08a687ec0d3c23ee (patch)
tree850614d29759b0be5039fcf757c4f660e2cdf24c /ftp
parentd0b563983c17b73dbad2ad24dee475d9ae10202f (diff)
downloadports-5e1257c629a3b85b75f4e27d08a687ec0d3c23ee.tar.gz
ports-5e1257c629a3b85b75f4e27d08a687ec0d3c23ee.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/uftp/Makefile13
-rw-r--r--ftp/uftp/distinfo6
-rw-r--r--ftp/uftp/files/patch-Makefile20
3 files changed, 24 insertions, 15 deletions
diff --git a/ftp/uftp/Makefile b/ftp/uftp/Makefile
index 5ae3e6976247..68b4c380ae60 100644
--- a/ftp/uftp/Makefile
+++ b/ftp/uftp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uftp
-PORTVERSION= 2.10.3
+PORTVERSION= 3.3.1
PORTEPOCH= 1
CATEGORIES= ftp
MASTER_SITES= http://www.tcnj.edu/~bush/
@@ -15,19 +15,22 @@ EXTRACT_SUFX= .tar
MAINTAINER= demon@FreeBSD.org
COMMENT= A multicast capable FTP client and server
-WRKSRC= ${WRKDIR}
USE_GMAKE= yes
MAKEFILE= makefile
-PLIST_FILES= bin/uftp bin/uftpd
+PLIST_FILES= bin/uftp bin/uftp_keymgt sbin/uftpd sbin/uftpproxyd
-MAN1= uftp.1 uftpd.1
+MAN1= uftp.1 uftpd.1 uftpproxyd.1 uftp_keymgt.1
MANCOMPRESSED= no
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uftp ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/uftpd ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/uftpd ${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/uftp_keymgt ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/uftpproxyd ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/uftp.1 ${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/uftpd.1 ${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/uftpproxyd.1 ${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/uftp_keymgt.1 ${MANPREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/ftp/uftp/distinfo b/ftp/uftp/distinfo
index cc84e970fad8..7f695043e100 100644
--- a/ftp/uftp/distinfo
+++ b/ftp/uftp/distinfo
@@ -1,3 +1,3 @@
-MD5 (uftp-2.10.3.tar) = 93f35bda2412194897d9dcf2b9c46c53
-SHA256 (uftp-2.10.3.tar) = eb47cdfcf5379d0c7de16642e002f71bb341f9d40c5ab208958f4659d7ded151
-SIZE (uftp-2.10.3.tar) = 163840
+MD5 (uftp-3.3.1.tar) = 34cf2df483e56d1a4a326fc8b3a716b5
+SHA256 (uftp-3.3.1.tar) = af5a49e0ee647147de005af68c42101ecf1e6b90eeea7f725f8a35e3f6ef87b8
+SIZE (uftp-3.3.1.tar) = 727040
diff --git a/ftp/uftp/files/patch-Makefile b/ftp/uftp/files/patch-Makefile
index 2e55a16935ed..18e909b62ce0 100644
--- a/ftp/uftp/files/patch-Makefile
+++ b/ftp/uftp/files/patch-Makefile
@@ -1,16 +1,22 @@
---- makefile.orig 2009-06-23 11:49:24.000000000 +0400
-+++ makefile 2009-06-23 11:50:10.000000000 +0400
-@@ -1,10 +1,10 @@
- UNAME_S:=$(shell uname -s)
+--- makefile.orig 2010-07-19 06:03:27.000000000 +0400
++++ makefile 2010-07-23 11:11:06.000000000 +0400
+@@ -39,14 +39,15 @@ CRYPT_LIB=-lcrypto
+ endif
# defaults
-CC = gcc
+CC ?= gcc
- OPTIONS=-g -Wall
--LDLIBS=-lc -lm
+ OPTIONS=-g -Wall $(ENC_OPTS)
+-LDLIBS=-lc -lm $(CRYPT_LIB)
-CFLAGS=
-+LDLIBS+=-lc -lm
++LDLIBS+=-lm $(CRYPT_LIB)
+CFLAGS?=
# FreeBSD
ifeq ("FreeBSD", "$(UNAME_S)")
+-OPTIONS=-g -Wall -DHAS_GETIFADDRS $(ENC_OPTS)
++OPTIONS=-Wall -DHAS_GETIFADDRS $(ENC_OPTS)
++OPENSSL=/usr
+ endif
+
+ # OSX, aka Darwin