summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2009-06-23 07:55:03 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2009-06-23 07:55:03 +0000
commita20cff936ebb748e02f224d8cde478a099d5b68b (patch)
treec4cd0dedf74b2fcf345dc174fbf795de9cfd9c52 /ftp
parentUpdate to 0.4 (diff)
Update to version 2.9.2
Notes
Notes: svn path=/head/; revision=236510
Diffstat (limited to 'ftp')
-rw-r--r--ftp/uftp/Makefile4
-rw-r--r--ftp/uftp/distinfo6
-rw-r--r--ftp/uftp/files/patch-Makefile31
-rw-r--r--ftp/uftp/files/patch-uftpd.c15
4 files changed, 22 insertions, 34 deletions
diff --git a/ftp/uftp/Makefile b/ftp/uftp/Makefile
index bc33f247877c..1050b13dc39c 100644
--- a/ftp/uftp/Makefile
+++ b/ftp/uftp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uftp
-PORTVERSION= 2.8.1
+PORTVERSION= 2.9.2
PORTEPOCH= 1
CATEGORIES= ftp
MASTER_SITES= http://www.tcnj.edu/~bush/
@@ -18,6 +18,8 @@ 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
diff --git a/ftp/uftp/distinfo b/ftp/uftp/distinfo
index bb6d16434ab7..642195010b6c 100644
--- a/ftp/uftp/distinfo
+++ b/ftp/uftp/distinfo
@@ -1,3 +1,3 @@
-MD5 (uftp-2.8.1/uftp.tar) = 5873267aa7c3af5576964890231a33ef
-SHA256 (uftp-2.8.1/uftp.tar) = 6bd7a4e7b16a6efc04df45b53d344bb03e30af7e1d0a4ef43d92e9f13b4c0616
-SIZE (uftp-2.8.1/uftp.tar) = 163840
+MD5 (uftp-2.9.2/uftp.tar) = 0aaf1e81a9a99694f1bccf6ac14d9d50
+SHA256 (uftp-2.9.2/uftp.tar) = f260bb81e9826bcb6bd09d7c176d4cb1f68cf5ff0104d6300b706d4527abf7a0
+SIZE (uftp-2.9.2/uftp.tar) = 163840
diff --git a/ftp/uftp/files/patch-Makefile b/ftp/uftp/files/patch-Makefile
index b695973f8ca6..2e55a16935ed 100644
--- a/ftp/uftp/files/patch-Makefile
+++ b/ftp/uftp/files/patch-Makefile
@@ -1,15 +1,16 @@
-*** /dev/null Wed Jun 4 14:07:15 2008
---- Makefile Wed Jun 4 14:07:49 2008
-***************
-*** 0 ****
---- 1,10 ----
-+ #
-+ # Makefile for uftp client and server
-+ #
-+ all: uftp uftpd
-+
-+ uftp: uftp.c
-+ ${CC} ${CFLAGS} -o $@ $< -lm
-+
-+ uftpd: uftpd.c
-+ ${CC} ${CFLAGS} -o $@ $< -lm
+--- 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)
+
+ # defaults
+-CC = gcc
++CC ?= gcc
+ OPTIONS=-g -Wall
+-LDLIBS=-lc -lm
+-CFLAGS=
++LDLIBS+=-lc -lm
++CFLAGS?=
+
+ # FreeBSD
+ ifeq ("FreeBSD", "$(UNAME_S)")
diff --git a/ftp/uftp/files/patch-uftpd.c b/ftp/uftp/files/patch-uftpd.c
deleted file mode 100644
index ecf63261d148..000000000000
--- a/ftp/uftp/files/patch-uftpd.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- uftpd.c.orig 2008-12-26 16:54:54.000000000 +0300
-+++ uftpd.c 2008-12-26 16:55:36.000000000 +0300
-@@ -867,9 +867,9 @@
- applog=stderr;
- nice(-20);
- for (c=1;c<=17;c++)
-- sigset(c,gotsig);
-- sigset(SIGPIPE,gotpipe);
-- sigset(SIGCHLD,SIG_IGN);
-+ signal(c,gotsig);
-+ signal(SIGPIPE,gotpipe);
-+ signal(SIGCHLD,SIG_IGN);
- #endif
- for (c=0;c<MAXLIST;c++)
- id_list[c].txID=0;