mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- Add vendor patch to address dirtree issue.
- Bump portrevision Obtained from: TJ Saunders <tj@castaglia.org> (proftpd developer)
This commit is contained in:
parent
94634f398e
commit
d8cf7c811b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196227
@ -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/ \
|
||||
|
22
ftp/proftpd-devel/files/patch-src_dirtree.c
Normal file
22
ftp/proftpd-devel/files/patch-src_dirtree.c
Normal file
@ -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);
|
||||
}
|
||||
}
|
@ -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/ \
|
||||
|
22
ftp/proftpd/files/patch-src_dirtree.c
Normal file
22
ftp/proftpd/files/patch-src_dirtree.c
Normal file
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user