aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pftpd/Makefile6
-rw-r--r--ftp/pftpd/distinfo2
-rw-r--r--ftp/pftpd/files/patch-plib-support.c17
-rw-r--r--ftp/pftpd/pkg-descr2
4 files changed, 21 insertions, 6 deletions
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile
index e6186a04663c..a47a70b52aa4 100644
--- a/ftp/pftpd/Makefile
+++ b/ftp/pftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pftpd
-PORTVERSION= 0.39
+PORTVERSION= 0.42
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/unix/pftpd/
@@ -14,8 +14,8 @@ MAINTAINER= gslin@ccca.nctu.edu.tw
GNU_CONFIGURE= yes
-NO_CDROM= "License problem"
-NO_PACKAGE= "License problem"
+NO_CDROM= License problem
+NO_PACKAGE= ${NO_CDROM}
MAN1= pftpd.1 rpad.1
diff --git a/ftp/pftpd/distinfo b/ftp/pftpd/distinfo
index e9b21b9c8b4e..4d6d625ce6f5 100644
--- a/ftp/pftpd/distinfo
+++ b/ftp/pftpd/distinfo
@@ -1 +1 @@
-MD5 (pftpd-0.39.tar.gz) = fdfd986ba0b8cb6c11fc7946879208e1
+MD5 (pftpd-0.42.tar.gz) = 0c810bc09435e520dabd408e000b7962
diff --git a/ftp/pftpd/files/patch-plib-support.c b/ftp/pftpd/files/patch-plib-support.c
new file mode 100644
index 000000000000..73aa197a3e2a
--- /dev/null
+++ b/ftp/pftpd/files/patch-plib-support.c
@@ -0,0 +1,17 @@
+--- plib/support.c.orig Thu May 2 05:01:54 2002
++++ plib/support.c Sat May 18 02:11:58 2002
+@@ -369,11 +369,13 @@
+ return code;
+
+ #else
++ pthread_once_t grp_once;
++ pthread_mutex_t grp_lock;
+ struct group *gp;
+ int i, len;
+
+
+- pthread_once(&grp_once, grp_lock_init);
++ pthread_once(&grp_once, NULL);
+ pthread_mutex_lock(&grp_lock);
+
+ gp = getgrgid(gid);
diff --git a/ftp/pftpd/pkg-descr b/ftp/pftpd/pkg-descr
index 78697839f3f6..0c38527d3ffd 100644
--- a/ftp/pftpd/pkg-descr
+++ b/ftp/pftpd/pkg-descr
@@ -3,5 +3,3 @@ It uses multithreading (where available) in order to be lightweight, but
still have high performance.
WWW: http://www.lysator.liu.se/~pen/pftpd/
---
-Gea-Suan Lin <gslin@ccca.nctu.edu.tw>