summaryrefslogtreecommitdiff
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-08-01 09:05:58 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-08-01 09:05:58 +0000
commita2de863d81a67fb8c655dc10121f294d59662d0a (patch)
tree984ef57ae81d40889fe905b2d09cbb498f4aadfd /ftp/vsftpd
parentDo not build-depend on archivers/bzip2 if the system has (diff)
Update to 0.0.15
Submitted by: Anders Andersson <anders@codefactory.se>
Notes
Notes: svn path=/head/; revision=45691
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/Makefile2
-rw-r--r--ftp/vsftpd/distinfo2
-rw-r--r--ftp/vsftpd/files/patch-aa57
-rw-r--r--ftp/vsftpd/pkg-install2
4 files changed, 3 insertions, 60 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 7d61b42ff44a..dcb4aeba30bd 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= vsftpd
-PORTVERSION= 0.0.10
+PORTVERSION= 0.0.15
CATEGORIES= ftp
MASTER_SITES= ftp://ferret.lmh.ox.ac.uk/pub/linux/
diff --git a/ftp/vsftpd/distinfo b/ftp/vsftpd/distinfo
index f340ef8a0f7d..a7ad44a0f284 100644
--- a/ftp/vsftpd/distinfo
+++ b/ftp/vsftpd/distinfo
@@ -1 +1 @@
-MD5 (vsftpd-0.0.10.tar.gz) = f43b0fa54e47907502c5800ed877e387
+MD5 (vsftpd-0.0.15.tar.gz) = 74eadb6c203cc90359632c91e6bb2b9a
diff --git a/ftp/vsftpd/files/patch-aa b/ftp/vsftpd/files/patch-aa
deleted file mode 100644
index b2fa89c79833..000000000000
--- a/ftp/vsftpd/files/patch-aa
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ur sysutil.c work2/vsftpd-0.0.10/sysutil.c
---- sysutil.c Wed Jan 31 03:39:15 2001
-+++ sysutil.c Sat Feb 3 18:08:05 2001
-@@ -19,7 +19,7 @@
- #include <string.h>
- #include <stdlib.h>
- #include <unistd.h>
--#include <sys/types.h>
-+#include <sys/param.h>
- #include <sys/socket.h>
- #include <sys/mman.h>
- #include <sys/stat.h>
-@@ -30,7 +30,12 @@
- #include <sys/file.h>
- #include <time.h>
- #include <arpa/inet.h>
-+#ifndef BSD
- #include <sys/sendfile.h>
-+#endif
-+#ifdef BSD
-+#include <machine/limits.h>
-+#endif
- #include <errno.h>
- #include <pwd.h>
- #include <grp.h>
-@@ -38,6 +43,7 @@
- #include <sys/wait.h>
- #include <sys/time.h>
- #include <sys/uio.h>
-+#include <netinet/in_systm.h>
- #include <netinet/ip.h>
- #include <netinet/tcp.h>
-
-@@ -378,7 +384,11 @@
- vsf_sysutil_set_nodelay(int fd)
- {
- int nodelay = 1;
-+#ifndef BSD
- int retval = setsockopt(fd, SOL_TCP, TCP_NODELAY, &nodelay, sizeof(nodelay));
-+#else
-+ int retval = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &nodelay, sizeof(nodelay));
-+#endif
- if (retval != 0)
- {
- die("setsockopt");
-@@ -413,7 +423,11 @@
- int tos = IPTOS_THROUGHPUT;
-
- /* Ignore failure to set (maybe this IP stack demands privilege for this) */
-+#ifndef BSD
- (void) setsockopt(fd, SOL_IP, IP_TOS, &tos, sizeof(tos));
-+#else
-+ (void) setsockopt(fd, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
-+#endif
- }
-
- int
diff --git a/ftp/vsftpd/pkg-install b/ftp/vsftpd/pkg-install
index 766cc493d693..7127bb221804 100644
--- a/ftp/vsftpd/pkg-install
+++ b/ftp/vsftpd/pkg-install
@@ -68,7 +68,7 @@ EOM
}
if ($> != 0) {
- print "It is necessary to add missing vpopmail users/groups at";
+ print "It is necessary to add missing vsftpd users/groups at";
print "this stage. Please either add them manually or retry";
print "as root.";
# Let pw(1) signal the failure so the user can see which