diff options
author | beech <beech@FreeBSD.org> | 2007-07-25 05:34:34 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2007-07-25 05:34:34 +0800 |
commit | 59aa86827613710d17b14e4b0ee8a23efed5aed0 (patch) | |
tree | 1d3bf6bb0168d52d1ec6ad2a0bbe088b9688075f /ftp/proftpd-devel | |
parent | 2d5dbd4321e1ad1d0838022b5a867ad163f2f57b (diff) | |
download | freebsd-ports-gnome-59aa86827613710d17b14e4b0ee8a23efed5aed0.tar.gz freebsd-ports-gnome-59aa86827613710d17b14e4b0ee8a23efed5aed0.tar.zst freebsd-ports-gnome-59aa86827613710d17b14e4b0ee8a23efed5aed0.zip |
- Add vendor patch to address dirtree issue.
- Bump portrevision
Obtained from: TJ Saunders <tj@castaglia.org> (proftpd developer)
Diffstat (limited to 'ftp/proftpd-devel')
-rw-r--r-- | ftp/proftpd-devel/Makefile | 2 | ||||
-rw-r--r-- | ftp/proftpd-devel/files/patch-src_dirtree.c | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index a3db00749387..55f1916c0e67 100644 --- a/ftp/proftpd-devel/Makefile +++ b/ftp/proftpd-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= proftpd DISTVERSION= 1.3.1rc3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \ diff --git a/ftp/proftpd-devel/files/patch-src_dirtree.c b/ftp/proftpd-devel/files/patch-src_dirtree.c new file mode 100644 index 000000000000..786934a9c139 --- /dev/null +++ b/ftp/proftpd-devel/files/patch-src_dirtree.c @@ -0,0 +1,22 @@ +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); + } + } |