aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-10-07 03:12:44 +0800
committerbeech <beech@FreeBSD.org>2007-10-07 03:12:44 +0800
commit2769e32f21a8109f68a60bd07c3fe27d472a1ed3 (patch)
tree6850661318a8e65b9f40ae5131659c5c67cec21b /ftp
parent83ebf18ef5c912a51483568985c7ee78a5b9f4fa (diff)
downloadfreebsd-ports-gnome-2769e32f21a8109f68a60bd07c3fe27d472a1ed3.tar.gz
freebsd-ports-gnome-2769e32f21a8109f68a60bd07c3fe27d472a1ed3.tar.zst
freebsd-ports-gnome-2769e32f21a8109f68a60bd07c3fe27d472a1ed3.zip
- Update to 1.3.1 Final
- Bugfixes: - Fixed compilation error in mod_sql_mysql. - Fixed handling of the --ipv4 and --ipv6 command-line options. - Fixed "directory not accessible" errors when using the mod_facl module. - Patches integrated upstream. Approved by: sat (mentor), portmgr (linimon)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile4
-rw-r--r--ftp/proftpd-devel/distinfo6
-rw-r--r--ftp/proftpd-devel/files/extra-patch-contrib-mod_ldap.c51
-rw-r--r--ftp/proftpd-devel/files/patch-ah4
-rw-r--r--ftp/proftpd-devel/files/patch-contrib-mod_sql_mysql.c11
-rw-r--r--ftp/proftpd-devel/files/patch-contrib-mod_wrap2-Makefile.in4
-rw-r--r--ftp/proftpd-devel/files/patch-modules-Makefile.in25
-rw-r--r--ftp/proftpd-devel/files/patch-src_dirtree.c22
-rw-r--r--ftp/proftpd/Makefile4
-rw-r--r--ftp/proftpd/distinfo6
-rw-r--r--ftp/proftpd/files/extra-patch-contrib-mod_ldap.c51
-rw-r--r--ftp/proftpd/files/patch-ah4
-rw-r--r--ftp/proftpd/files/patch-contrib-mod_sql_mysql.c11
-rw-r--r--ftp/proftpd/files/patch-contrib-mod_wrap2-Makefile.in4
-rw-r--r--ftp/proftpd/files/patch-modules-Makefile.in25
-rw-r--r--ftp/proftpd/files/patch-src_dirtree.c22
16 files changed, 16 insertions, 238 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 0e4ab1401aa7..bf8501c4ef26 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= proftpd
-DISTVERSION= 1.3.1rc3
-PORTREVISION= 6
+DISTVERSION= 1.3.1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -163,7 +162,6 @@ USE_OPENLDAP= yes
MODULES:=${MODULES}:mod_ldap
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-contrib-mod_ldap.c
.endif
.if defined(WITH_MYSQL)
diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo
index cbe9f53832c0..65b3cefbaf73 100644
--- a/ftp/proftpd-devel/distinfo
+++ b/ftp/proftpd-devel/distinfo
@@ -1,6 +1,6 @@
-MD5 (proftpd-1.3.1rc3.tar.bz2) = 485af3aee9ecebfeae1ae2003250a3a9
-SHA256 (proftpd-1.3.1rc3.tar.bz2) = 9bad65ea4ddca40547ca6bb1aa337c7d4ae54752bb9f5fc76124a8c4535daefd
-SIZE (proftpd-1.3.1rc3.tar.bz2) = 1538700
+MD5 (proftpd-1.3.1.tar.bz2) = 175958df8de92d5209b7b1e2e23a5a28
+SHA256 (proftpd-1.3.1.tar.bz2) = 03bc023e5b7b1c04d8eb2d5dca53b931b3e02cc7aba7dd8f629b0878535dc91b
+SIZE (proftpd-1.3.1.tar.bz2) = 2243888
MD5 (mod_clamav-0.5.tar.bz2) = a098b630db1aa4ce02d77be84c21e59d
SHA256 (mod_clamav-0.5.tar.bz2) = badab5d0577439e4de4a4d8fa6d1035da4884cc5b8e5569057816da4ced9667f
SIZE (mod_clamav-0.5.tar.bz2) = 3027
diff --git a/ftp/proftpd-devel/files/extra-patch-contrib-mod_ldap.c b/ftp/proftpd-devel/files/extra-patch-contrib-mod_ldap.c
deleted file mode 100644
index ef8660fc7b76..000000000000
--- a/ftp/proftpd-devel/files/extra-patch-contrib-mod_ldap.c
+++ /dev/null
@@ -1,51 +0,0 @@
----contrib/mod_ldap.c.orig 2007-07-02 15:20:31.000000000 -0800
-+++ contrib/mod_ldap.c 2007-08-27 13:48:11.000000000 -0800
-@@ -22,7 +22,7 @@
- */
-
- /*
-- * mod_ldap v2.8.17-20070701
-+ * mod_ldap v2.8.17
- *
- * Thanks for patches go to (in alphabetical order):
- *
-@@ -48,7 +48,7 @@
- * LDAPDefaultAuthScheme
- *
- *
-- * $Id: mod_ldap.c,v 1.54 2007/07/02 23:20:31 jwm Exp $
-+ * $Id: mod_ldap.c,v 1.57 2007/08/22 02:00:06 jwm Exp $
- * $Libraries: -lldap -llber$
- */
-
-@@ -70,7 +70,7 @@
- #include "conf.h"
- #include "privs.h"
-
--#define MOD_LDAP_VERSION "mod_ldap/2.8.17-20070701"
-+#define MOD_LDAP_VERSION "mod_ldap/2.8.17"
-
- #if PROFTPD_VERSION_NUMBER < 0x0001021002
- # error MOD_LDAP_VERSION " requires ProFTPD 1.2.10rc2 or later"
-@@ -2245,8 +2245,8 @@
- * ldap_init() will connect to the LDAP SDK's default.
- */
- if ((c = find_config(main_server->conf, CONF_PARAM, "LDAPServer", FALSE)) != NULL) {
-- if (strcmp(c->argv[1], "url") == 0) {
-- url = c->argv[2];
-+ if (strcmp(c->argv[0], "url") == 0) {
-+ url = c->argv[1];
- if (url) {
- #ifdef LDAP_OPT_X_TLS_HARD
- if (strcmp(url->lud_scheme, "ldaps") == 0) {
-@@ -2269,8 +2269,8 @@
- * by other/future callers.
- */
- }
-- } else if (strcmp(c->argv[1], "host") == 0) {
-- ldap_server = c->argv[2];
-+ } else if (strcmp(c->argv[0], "host") == 0) {
-+ ldap_server = c->argv[1];
- } else {
- /* This should never happen, since the configuration handler for
- * LDAPServer only passes url or host, but we'll be defensive.
diff --git a/ftp/proftpd-devel/files/patch-ah b/ftp/proftpd-devel/files/patch-ah
index 1cea5a3ce4a0..b534609737fc 100644
--- a/ftp/proftpd-devel/files/patch-ah
+++ b/ftp/proftpd-devel/files/patch-ah
@@ -1,5 +1,5 @@
---- modules/mod_auth_unix.c.orig Thu May 13 23:40:18 2004
-+++ modules/mod_auth_unix.c Thu May 13 23:40:27 2004
+--- modules/mod_auth_unix.c.orig 2006-06-29 09:16:23.000000000 -0800
++++ modules/mod_auth_unix.c 2007-10-05 16:23:46.000000000 -0800
@@ -57,6 +57,7 @@
#endif /* HAVE_HPSECURITY_H or HPUX10 or HPUX11 */
diff --git a/ftp/proftpd-devel/files/patch-contrib-mod_sql_mysql.c b/ftp/proftpd-devel/files/patch-contrib-mod_sql_mysql.c
deleted file mode 100644
index 60a3cd4c12c2..000000000000
--- a/ftp/proftpd-devel/files/patch-contrib-mod_sql_mysql.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- contrib/mod_sql_mysql.c.orig 2007-07-05 10:34:43.000000000 -0800
-+++ contrib/mod_sql_mysql.c 2007-07-05 10:42:05.000000000 -0800
-@@ -595,7 +595,7 @@
- }
-
- if (!conn_pool) {
-- pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been
-+ pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been"
- "properly intialized. Please make sure your --with-modules configure "
- "option lists mod_sql *before* mod_sql_mysql, and recompile.");
-
diff --git a/ftp/proftpd-devel/files/patch-contrib-mod_wrap2-Makefile.in b/ftp/proftpd-devel/files/patch-contrib-mod_wrap2-Makefile.in
index ad39d6af333e..db1914062dd4 100644
--- a/ftp/proftpd-devel/files/patch-contrib-mod_wrap2-Makefile.in
+++ b/ftp/proftpd-devel/files/patch-contrib-mod_wrap2-Makefile.in
@@ -1,5 +1,5 @@
---- contrib/mod_wrap2/Makefile.in.orig Wed Sep 6 15:11:47 2006
-+++ contrib/mod_wrap2/Makefile.in Thu Dec 28 11:41:24 2006
+--- contrib/mod_wrap2/Makefile.in.orig 2007-01-08 19:16:11.000000000 -0900
++++ contrib/mod_wrap2/Makefile.in 2007-10-05 14:02:38.000000000 -0800
@@ -13,7 +13,7 @@
MODULE_NAME=mod_wrap2
diff --git a/ftp/proftpd-devel/files/patch-modules-Makefile.in b/ftp/proftpd-devel/files/patch-modules-Makefile.in
deleted file mode 100644
index 7bf4e642ed27..000000000000
--- a/ftp/proftpd-devel/files/patch-modules-Makefile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: modules/Makefile.in
-===================================================================
-RCS file: /cvsroot/proftp/proftpd/modules/Makefile.in,v
-retrieving revision 1.24
-diff -u -r1.24 Makefile.in
---- modules/Makefile.in 8 Jan 2007 19:58:22 -0000 1.24
-+++ modules/Makefile.in 17 Sep 2007 17:27:11 -0000
-@@ -50,7 +50,7 @@
- test -z "$(SHARED_MODULE_OBJS)" || $(LIBTOOL) --mode=install $(INSTALL_BIN) $(SHARED_MODULE_OBJS) $(DESTDIR)$(LIBEXECDIR)
- @dirs="$(SHARED_MODULE_DIRS)"; \
- for dir in $$dirs; do\
-- cd $(top_srcdir)/$$dir/ && $(MAKE) install; \
-+ (cd $(top_srcdir)/$$dir/ && $(MAKE) install); \
- done
-
- clean:
-@@ -59,7 +59,7 @@
- $(LIBTOOL) --mode=clean $(RM) `echo $(SHARED_MODULE_OBJS) | sed 's/\.la$\/.lo/g'`
- @dirs="$(SHARED_MODULE_DIRS) $(STATIC_MODULE_DIRS)"; \
- for dir in $$dirs; do\
-- cd $(top_srcdir)/$$dir/ && $(MAKE) clean; \
-+ (cd $(top_srcdir)/$$dir/ && $(MAKE) clean); \
- done
-
- depend:
diff --git a/ftp/proftpd-devel/files/patch-src_dirtree.c b/ftp/proftpd-devel/files/patch-src_dirtree.c
deleted file mode 100644
index 786934a9c139..000000000000
--- a/ftp/proftpd-devel/files/patch-src_dirtree.c
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: src/dirtree.c
-===================================================================
-RCS file: /cvsroot/proftp/proftpd/src/dirtree.c,v
-retrieving revision 1.184
-diff -u -r1.184 dirtree.c
---- src/dirtree.c 22 Mar 2007 03:54:20 -0000 1.184
-+++ src/dirtree.c 24 Jul 2007 17:13:05 -0000
-@@ -2911,12 +2911,13 @@
- * this address.
- */
- snprintf(ipbuf, sizeof(ipbuf), "::ffff:%s", ipstr);
-- ipstr = ipbuf;
-+ ipstr = pstrdup(s->pool, ipbuf);
- }
- }
- #endif /* PR_USE_IPV6 */
-
-- pr_conf_add_server_config_param_str(s, "_bind", 1, ipstr);
-+ if (ipstr)
-+ pr_conf_add_server_config_param_str(s, "_bind", 1, ipstr);
- }
- }
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 0e4ab1401aa7..bf8501c4ef26 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= proftpd
-DISTVERSION= 1.3.1rc3
-PORTREVISION= 6
+DISTVERSION= 1.3.1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -163,7 +162,6 @@ USE_OPENLDAP= yes
MODULES:=${MODULES}:mod_ldap
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-contrib-mod_ldap.c
.endif
.if defined(WITH_MYSQL)
diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo
index cbe9f53832c0..65b3cefbaf73 100644
--- a/ftp/proftpd/distinfo
+++ b/ftp/proftpd/distinfo
@@ -1,6 +1,6 @@
-MD5 (proftpd-1.3.1rc3.tar.bz2) = 485af3aee9ecebfeae1ae2003250a3a9
-SHA256 (proftpd-1.3.1rc3.tar.bz2) = 9bad65ea4ddca40547ca6bb1aa337c7d4ae54752bb9f5fc76124a8c4535daefd
-SIZE (proftpd-1.3.1rc3.tar.bz2) = 1538700
+MD5 (proftpd-1.3.1.tar.bz2) = 175958df8de92d5209b7b1e2e23a5a28
+SHA256 (proftpd-1.3.1.tar.bz2) = 03bc023e5b7b1c04d8eb2d5dca53b931b3e02cc7aba7dd8f629b0878535dc91b
+SIZE (proftpd-1.3.1.tar.bz2) = 2243888
MD5 (mod_clamav-0.5.tar.bz2) = a098b630db1aa4ce02d77be84c21e59d
SHA256 (mod_clamav-0.5.tar.bz2) = badab5d0577439e4de4a4d8fa6d1035da4884cc5b8e5569057816da4ced9667f
SIZE (mod_clamav-0.5.tar.bz2) = 3027
diff --git a/ftp/proftpd/files/extra-patch-contrib-mod_ldap.c b/ftp/proftpd/files/extra-patch-contrib-mod_ldap.c
deleted file mode 100644
index ef8660fc7b76..000000000000
--- a/ftp/proftpd/files/extra-patch-contrib-mod_ldap.c
+++ /dev/null
@@ -1,51 +0,0 @@
----contrib/mod_ldap.c.orig 2007-07-02 15:20:31.000000000 -0800
-+++ contrib/mod_ldap.c 2007-08-27 13:48:11.000000000 -0800
-@@ -22,7 +22,7 @@
- */
-
- /*
-- * mod_ldap v2.8.17-20070701
-+ * mod_ldap v2.8.17
- *
- * Thanks for patches go to (in alphabetical order):
- *
-@@ -48,7 +48,7 @@
- * LDAPDefaultAuthScheme
- *
- *
-- * $Id: mod_ldap.c,v 1.54 2007/07/02 23:20:31 jwm Exp $
-+ * $Id: mod_ldap.c,v 1.57 2007/08/22 02:00:06 jwm Exp $
- * $Libraries: -lldap -llber$
- */
-
-@@ -70,7 +70,7 @@
- #include "conf.h"
- #include "privs.h"
-
--#define MOD_LDAP_VERSION "mod_ldap/2.8.17-20070701"
-+#define MOD_LDAP_VERSION "mod_ldap/2.8.17"
-
- #if PROFTPD_VERSION_NUMBER < 0x0001021002
- # error MOD_LDAP_VERSION " requires ProFTPD 1.2.10rc2 or later"
-@@ -2245,8 +2245,8 @@
- * ldap_init() will connect to the LDAP SDK's default.
- */
- if ((c = find_config(main_server->conf, CONF_PARAM, "LDAPServer", FALSE)) != NULL) {
-- if (strcmp(c->argv[1], "url") == 0) {
-- url = c->argv[2];
-+ if (strcmp(c->argv[0], "url") == 0) {
-+ url = c->argv[1];
- if (url) {
- #ifdef LDAP_OPT_X_TLS_HARD
- if (strcmp(url->lud_scheme, "ldaps") == 0) {
-@@ -2269,8 +2269,8 @@
- * by other/future callers.
- */
- }
-- } else if (strcmp(c->argv[1], "host") == 0) {
-- ldap_server = c->argv[2];
-+ } else if (strcmp(c->argv[0], "host") == 0) {
-+ ldap_server = c->argv[1];
- } else {
- /* This should never happen, since the configuration handler for
- * LDAPServer only passes url or host, but we'll be defensive.
diff --git a/ftp/proftpd/files/patch-ah b/ftp/proftpd/files/patch-ah
index 1cea5a3ce4a0..b534609737fc 100644
--- a/ftp/proftpd/files/patch-ah
+++ b/ftp/proftpd/files/patch-ah
@@ -1,5 +1,5 @@
---- modules/mod_auth_unix.c.orig Thu May 13 23:40:18 2004
-+++ modules/mod_auth_unix.c Thu May 13 23:40:27 2004
+--- modules/mod_auth_unix.c.orig 2006-06-29 09:16:23.000000000 -0800
++++ modules/mod_auth_unix.c 2007-10-05 16:23:46.000000000 -0800
@@ -57,6 +57,7 @@
#endif /* HAVE_HPSECURITY_H or HPUX10 or HPUX11 */
diff --git a/ftp/proftpd/files/patch-contrib-mod_sql_mysql.c b/ftp/proftpd/files/patch-contrib-mod_sql_mysql.c
deleted file mode 100644
index 60a3cd4c12c2..000000000000
--- a/ftp/proftpd/files/patch-contrib-mod_sql_mysql.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- contrib/mod_sql_mysql.c.orig 2007-07-05 10:34:43.000000000 -0800
-+++ contrib/mod_sql_mysql.c 2007-07-05 10:42:05.000000000 -0800
-@@ -595,7 +595,7 @@
- }
-
- if (!conn_pool) {
-- pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been
-+ pr_log_pri(PR_LOG_WARNING, "warning: the mod_sql_mysql module has not been"
- "properly intialized. Please make sure your --with-modules configure "
- "option lists mod_sql *before* mod_sql_mysql, and recompile.");
-
diff --git a/ftp/proftpd/files/patch-contrib-mod_wrap2-Makefile.in b/ftp/proftpd/files/patch-contrib-mod_wrap2-Makefile.in
index ad39d6af333e..db1914062dd4 100644
--- a/ftp/proftpd/files/patch-contrib-mod_wrap2-Makefile.in
+++ b/ftp/proftpd/files/patch-contrib-mod_wrap2-Makefile.in
@@ -1,5 +1,5 @@
---- contrib/mod_wrap2/Makefile.in.orig Wed Sep 6 15:11:47 2006
-+++ contrib/mod_wrap2/Makefile.in Thu Dec 28 11:41:24 2006
+--- contrib/mod_wrap2/Makefile.in.orig 2007-01-08 19:16:11.000000000 -0900
++++ contrib/mod_wrap2/Makefile.in 2007-10-05 14:02:38.000000000 -0800
@@ -13,7 +13,7 @@
MODULE_NAME=mod_wrap2
diff --git a/ftp/proftpd/files/patch-modules-Makefile.in b/ftp/proftpd/files/patch-modules-Makefile.in
deleted file mode 100644
index 7bf4e642ed27..000000000000
--- a/ftp/proftpd/files/patch-modules-Makefile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: modules/Makefile.in
-===================================================================
-RCS file: /cvsroot/proftp/proftpd/modules/Makefile.in,v
-retrieving revision 1.24
-diff -u -r1.24 Makefile.in
---- modules/Makefile.in 8 Jan 2007 19:58:22 -0000 1.24
-+++ modules/Makefile.in 17 Sep 2007 17:27:11 -0000
-@@ -50,7 +50,7 @@
- test -z "$(SHARED_MODULE_OBJS)" || $(LIBTOOL) --mode=install $(INSTALL_BIN) $(SHARED_MODULE_OBJS) $(DESTDIR)$(LIBEXECDIR)
- @dirs="$(SHARED_MODULE_DIRS)"; \
- for dir in $$dirs; do\
-- cd $(top_srcdir)/$$dir/ && $(MAKE) install; \
-+ (cd $(top_srcdir)/$$dir/ && $(MAKE) install); \
- done
-
- clean:
-@@ -59,7 +59,7 @@
- $(LIBTOOL) --mode=clean $(RM) `echo $(SHARED_MODULE_OBJS) | sed 's/\.la$\/.lo/g'`
- @dirs="$(SHARED_MODULE_DIRS) $(STATIC_MODULE_DIRS)"; \
- for dir in $$dirs; do\
-- cd $(top_srcdir)/$$dir/ && $(MAKE) clean; \
-+ (cd $(top_srcdir)/$$dir/ && $(MAKE) clean); \
- done
-
- depend:
diff --git a/ftp/proftpd/files/patch-src_dirtree.c b/ftp/proftpd/files/patch-src_dirtree.c
deleted file mode 100644
index 786934a9c139..000000000000
--- a/ftp/proftpd/files/patch-src_dirtree.c
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: src/dirtree.c
-===================================================================
-RCS file: /cvsroot/proftp/proftpd/src/dirtree.c,v
-retrieving revision 1.184
-diff -u -r1.184 dirtree.c
---- src/dirtree.c 22 Mar 2007 03:54:20 -0000 1.184
-+++ src/dirtree.c 24 Jul 2007 17:13:05 -0000
-@@ -2911,12 +2911,13 @@
- * this address.
- */
- snprintf(ipbuf, sizeof(ipbuf), "::ffff:%s", ipstr);
-- ipstr = ipbuf;
-+ ipstr = pstrdup(s->pool, ipbuf);
- }
- }
- #endif /* PR_USE_IPV6 */
-
-- pr_conf_add_server_config_param_str(s, "_bind", 1, ipstr);
-+ if (ipstr)
-+ pr_conf_add_server_config_param_str(s, "_bind", 1, ipstr);
- }
- }