aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-07-09 10:07:07 +0800
committerwill <will@FreeBSD.org>2000-07-09 10:07:07 +0800
commit1c935af1b82935f6902060b10fe76ebb342dcf28 (patch)
treedea7690b2d692bf196585a7a6574c3db853ab94b
parente9d6128bd2697496daaed28f4a6d42a444700bf6 (diff)
downloadfreebsd-ports-gnome-1c935af1b82935f6902060b10fe76ebb342dcf28.tar.gz
freebsd-ports-gnome-1c935af1b82935f6902060b10fe76ebb342dcf28.tar.zst
freebsd-ports-gnome-1c935af1b82935f6902060b10fe76ebb342dcf28.zip
Update to 2.6.1, which fixes some security issues (actually, we already
had some setproctitle(), etc. fixed through patch-aa), fixes memory leaks in internal ls, and merges in the virtual passwd/shadow features of BeroFTPD. This update should solve SA 00:29. Add WWW to DESCR.
-rw-r--r--ftp/wu-ftpd+ipv6/Makefile2
-rw-r--r--ftp/wu-ftpd+ipv6/distinfo2
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-aa44
-rw-r--r--ftp/wu-ftpd+ipv6/pkg-descr2
-rw-r--r--ftp/wu-ftpd/Makefile2
-rw-r--r--ftp/wu-ftpd/distinfo2
-rw-r--r--ftp/wu-ftpd/files/patch-aa44
-rw-r--r--ftp/wu-ftpd/pkg-descr2
8 files changed, 22 insertions, 78 deletions
diff --git a/ftp/wu-ftpd+ipv6/Makefile b/ftp/wu-ftpd+ipv6/Makefile
index 7e9391cdaa18..2a12039f2409 100644
--- a/ftp/wu-ftpd+ipv6/Makefile
+++ b/ftp/wu-ftpd+ipv6/Makefile
@@ -8,7 +8,7 @@
# it is changed from previous versions
PORTNAME= wu-ftpd
-PORTVERSION= 2.6.0
+PORTVERSION= 2.6.1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
diff --git a/ftp/wu-ftpd+ipv6/distinfo b/ftp/wu-ftpd+ipv6/distinfo
index 970b70f99624..987702e1166a 100644
--- a/ftp/wu-ftpd+ipv6/distinfo
+++ b/ftp/wu-ftpd+ipv6/distinfo
@@ -1 +1 @@
-MD5 (wu-ftpd-2.6.0.tar.gz) = 652cfe4b59e0468eded736e7c281d16f
+MD5 (wu-ftpd-2.6.1.tar.gz) = 857ab8504998a753195eb94ac2dc39a4
diff --git a/ftp/wu-ftpd+ipv6/files/patch-aa b/ftp/wu-ftpd+ipv6/files/patch-aa
index 7345d962bb7d..717e10da331a 100644
--- a/ftp/wu-ftpd+ipv6/files/patch-aa
+++ b/ftp/wu-ftpd+ipv6/files/patch-aa
@@ -1,6 +1,6 @@
---- src/ftpd.c.old Sat Jun 24 15:03:05 2000
-+++ src/ftpd.c Sat Jun 24 15:04:01 2000
-@@ -1602,9 +1602,9 @@
+--- src/ftpd.c Sat Jul 1 14:17:39 2000
++++ src/ftpd.c.new Sat Jul 8 21:48:05 2000
+@@ -1662,9 +1662,9 @@
/* Display s/key challenge where appropriate. */
if (pwd == NULL || skeychallenge(&skey, pwd->pw_name, sbuf))
@@ -12,19 +12,7 @@
pwok ? "allowed" : "required", name);
return (buf);
}
-@@ -2008,9 +2008,9 @@
- s = strsep(&cp, "\n");
- if (cp == NULL || *cp == '\0')
- break;
-- lreply(331, s);
-+ lreply(331, "%s", s);
- }
-- reply(331, s);
-+ reply(331, "%s", s);
- }
- else {
- #endif
-@@ -2491,7 +2491,7 @@
+@@ -2572,7 +2572,7 @@
#ifdef BSD_AUTH
if (ext_auth) {
if ((salt = check_auth(the_user, passwd))) {
@@ -33,25 +21,7 @@
#ifdef LOG_FAILED /* 27-Apr-93 EHK/BM */
syslog(LOG_INFO, "failed login from %s",
remoteident);
-@@ -3156,7 +3156,7 @@
- reply(230, "User %s logged in.%s", pw->pw_name, guest ?
- " Access restrictions apply." : "");
- sprintf(proctitle, "%s: %s", remotehost, pw->pw_name);
-- setproctitle(proctitle);
-+ setproctitle("%s", proctitle);
- if (logging)
- syslog(LOG_INFO, "FTP LOGIN FROM %s, %s", remoteident, pw->pw_name);
- /* H* mod: if non-anonymous user, copy it to "authuser" so everyone can
-@@ -5888,7 +5888,7 @@
-
- remotehost[sizeof(remotehost) - 1] = '\0';
- sprintf(proctitle, "%s: connected", remotehost);
-- setproctitle(proctitle);
-+ setproctitle("%s", proctitle);
-
- wu_authenticate();
- /* Create a composite source identification string, to improve the logging
-@@ -6298,7 +6298,7 @@
+@@ -6435,7 +6435,7 @@
dirlist = ftpglob(whichfiles);
sdirlist = dirlist; /* save to free later */
if (globerr != NULL) {
@@ -60,7 +30,7 @@
goto globfree;
}
else if (dirlist == NULL) {
-@@ -6346,7 +6346,6 @@
+@@ -6486,7 +6486,6 @@
}
goto globfree;
}
@@ -68,7 +38,7 @@
if (dout == NULL) {
dout = dataconn("file list", (off_t) - 1, "w");
if (dout == NULL)
-@@ -6369,7 +6368,6 @@
+@@ -6509,7 +6508,6 @@
byte_count_out++;
}
#endif
diff --git a/ftp/wu-ftpd+ipv6/pkg-descr b/ftp/wu-ftpd+ipv6/pkg-descr
index 0c2cde97fb53..46c3c139a6be 100644
--- a/ftp/wu-ftpd+ipv6/pkg-descr
+++ b/ftp/wu-ftpd+ipv6/pkg-descr
@@ -18,3 +18,5 @@ a basic working configuration. The config files are:
You will also need to change /etc/inetd.conf to point to the new server
located at /usr/local/libexec/ftpd
+
+WWW: http://www.wu-ftpd.org/
diff --git a/ftp/wu-ftpd/Makefile b/ftp/wu-ftpd/Makefile
index 7e9391cdaa18..2a12039f2409 100644
--- a/ftp/wu-ftpd/Makefile
+++ b/ftp/wu-ftpd/Makefile
@@ -8,7 +8,7 @@
# it is changed from previous versions
PORTNAME= wu-ftpd
-PORTVERSION= 2.6.0
+PORTVERSION= 2.6.1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
diff --git a/ftp/wu-ftpd/distinfo b/ftp/wu-ftpd/distinfo
index 970b70f99624..987702e1166a 100644
--- a/ftp/wu-ftpd/distinfo
+++ b/ftp/wu-ftpd/distinfo
@@ -1 +1 @@
-MD5 (wu-ftpd-2.6.0.tar.gz) = 652cfe4b59e0468eded736e7c281d16f
+MD5 (wu-ftpd-2.6.1.tar.gz) = 857ab8504998a753195eb94ac2dc39a4
diff --git a/ftp/wu-ftpd/files/patch-aa b/ftp/wu-ftpd/files/patch-aa
index 7345d962bb7d..717e10da331a 100644
--- a/ftp/wu-ftpd/files/patch-aa
+++ b/ftp/wu-ftpd/files/patch-aa
@@ -1,6 +1,6 @@
---- src/ftpd.c.old Sat Jun 24 15:03:05 2000
-+++ src/ftpd.c Sat Jun 24 15:04:01 2000
-@@ -1602,9 +1602,9 @@
+--- src/ftpd.c Sat Jul 1 14:17:39 2000
++++ src/ftpd.c.new Sat Jul 8 21:48:05 2000
+@@ -1662,9 +1662,9 @@
/* Display s/key challenge where appropriate. */
if (pwd == NULL || skeychallenge(&skey, pwd->pw_name, sbuf))
@@ -12,19 +12,7 @@
pwok ? "allowed" : "required", name);
return (buf);
}
-@@ -2008,9 +2008,9 @@
- s = strsep(&cp, "\n");
- if (cp == NULL || *cp == '\0')
- break;
-- lreply(331, s);
-+ lreply(331, "%s", s);
- }
-- reply(331, s);
-+ reply(331, "%s", s);
- }
- else {
- #endif
-@@ -2491,7 +2491,7 @@
+@@ -2572,7 +2572,7 @@
#ifdef BSD_AUTH
if (ext_auth) {
if ((salt = check_auth(the_user, passwd))) {
@@ -33,25 +21,7 @@
#ifdef LOG_FAILED /* 27-Apr-93 EHK/BM */
syslog(LOG_INFO, "failed login from %s",
remoteident);
-@@ -3156,7 +3156,7 @@
- reply(230, "User %s logged in.%s", pw->pw_name, guest ?
- " Access restrictions apply." : "");
- sprintf(proctitle, "%s: %s", remotehost, pw->pw_name);
-- setproctitle(proctitle);
-+ setproctitle("%s", proctitle);
- if (logging)
- syslog(LOG_INFO, "FTP LOGIN FROM %s, %s", remoteident, pw->pw_name);
- /* H* mod: if non-anonymous user, copy it to "authuser" so everyone can
-@@ -5888,7 +5888,7 @@
-
- remotehost[sizeof(remotehost) - 1] = '\0';
- sprintf(proctitle, "%s: connected", remotehost);
-- setproctitle(proctitle);
-+ setproctitle("%s", proctitle);
-
- wu_authenticate();
- /* Create a composite source identification string, to improve the logging
-@@ -6298,7 +6298,7 @@
+@@ -6435,7 +6435,7 @@
dirlist = ftpglob(whichfiles);
sdirlist = dirlist; /* save to free later */
if (globerr != NULL) {
@@ -60,7 +30,7 @@
goto globfree;
}
else if (dirlist == NULL) {
-@@ -6346,7 +6346,6 @@
+@@ -6486,7 +6486,6 @@
}
goto globfree;
}
@@ -68,7 +38,7 @@
if (dout == NULL) {
dout = dataconn("file list", (off_t) - 1, "w");
if (dout == NULL)
-@@ -6369,7 +6368,6 @@
+@@ -6509,7 +6508,6 @@
byte_count_out++;
}
#endif
diff --git a/ftp/wu-ftpd/pkg-descr b/ftp/wu-ftpd/pkg-descr
index 0c2cde97fb53..46c3c139a6be 100644
--- a/ftp/wu-ftpd/pkg-descr
+++ b/ftp/wu-ftpd/pkg-descr
@@ -18,3 +18,5 @@ a basic working configuration. The config files are:
You will also need to change /etc/inetd.conf to point to the new server
located at /usr/local/libexec/ftpd
+
+WWW: http://www.wu-ftpd.org/