Update to 1.0.24

PR:		ports/139931
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
This commit is contained in:
Renato Botelho 2009-10-27 10:16:55 +00:00
parent d4bff8f074
commit bd23b2fa94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243379
3 changed files with 4 additions and 16 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= pure-ftpd
PORTVERSION= 1.0.22
PORTVERSION= 1.0.24
CATEGORIES= ftp ipv6
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \

View file

@ -1,3 +1,3 @@
MD5 (pure-ftpd-1.0.22.tar.bz2) = 3e131e1bb5a7ae8fc63bc0068fd351be
SHA256 (pure-ftpd-1.0.22.tar.bz2) = 64659df4da59aa2ef5f455674ae1c3b4b56b4649bac1cac582b895942d0059cf
SIZE (pure-ftpd-1.0.22.tar.bz2) = 497237
MD5 (pure-ftpd-1.0.24.tar.bz2) = 2f0869166ddb3a9cbe5e4887eae6e74d
SHA256 (pure-ftpd-1.0.24.tar.bz2) = 59dd89535d30aebe84366a29556e734da50bde5486a8d04afb36f40b43bfaa88
SIZE (pure-ftpd-1.0.24.tar.bz2) = 463225

View file

@ -1,12 +0,0 @@
--- src/log_ldap.c.orig Thu Apr 30 07:51:04 2009
+++ src/log_ldap.c Wed May 6 22:43:33 2009
@@ -282,7 +282,8 @@
pw_ldap_getpwnam_freefields(&pwret);
pwret.pw_name = (char *) name;
pw_enabled = pw_ldap_getvalue(ld, res, LDAP_FTPSTATUS);
- if ((pw_enabled != NULL) && (strcasecmp(pw_enabled, "TRUE") != 0)) {
+ if (pw_enabled != NULL && strcasecmp(pw_enabled, "enabled") != 0 &&
+ strcasecmp(pw_enabled, "TRUE") != 0) {
goto error;
}
#ifdef QUOTAS