diff options
author | mm <mm@FreeBSD.org> | 2007-09-21 16:53:50 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-09-21 16:53:50 +0800 |
commit | e5c040ea5acc7340cada2161dddd4c560bbb7d82 (patch) | |
tree | e9127e1d8445e762ee0826e14f75ea0f440bdd0e /net/smbldap-tools | |
parent | 4082c23dd9357ac9f1f019e6bd059afb078178a0 (diff) | |
download | freebsd-ports-gnome-e5c040ea5acc7340cada2161dddd4c560bbb7d82.tar.gz freebsd-ports-gnome-e5c040ea5acc7340cada2161dddd4c560bbb7d82.tar.zst freebsd-ports-gnome-e5c040ea5acc7340cada2161dddd4c560bbb7d82.zip |
- Add patch for smbldap-passwd
- Update COMMENT
- Bump PORTREVISION
PR: ports/115919
Diffstat (limited to 'net/smbldap-tools')
-rw-r--r-- | net/smbldap-tools/Makefile | 3 | ||||
-rw-r--r-- | net/smbldap-tools/files/patch-smbldap-passwd | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net/smbldap-tools/Makefile b/net/smbldap-tools/Makefile index be1761917a31..54d780b98dc4 100644 --- a/net/smbldap-tools/Makefile +++ b/net/smbldap-tools/Makefile @@ -7,13 +7,14 @@ PORTNAME= smbldap-tools PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://download.gna.org/smbldap-tools/packages/ \ http://download.gna.org/smbldap-tools/packages/old-release/ EXTRACT_SUFX= .tgz MAINTAINER= mm@FreeBSD.org -COMMENT= Useful package for managing users and groups in a LDAP directory +COMMENT= Samba-LDAP management and support tools BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \ ${SITE_PERL}/Crypt/SmbHash.pm:${PORTSDIR}/security/p5-Crypt-SmbHash \ diff --git a/net/smbldap-tools/files/patch-smbldap-passwd b/net/smbldap-tools/files/patch-smbldap-passwd new file mode 100644 index 000000000000..3d78e5875ec6 --- /dev/null +++ b/net/smbldap-tools/files/patch-smbldap-passwd @@ -0,0 +1,11 @@ +--- smbldap-passwd.orig 2007-09-20 12:14:16.000000000 +0200 ++++ smbldap-passwd 2007-09-20 12:15:59.000000000 +0200 +@@ -266,7 +266,7 @@ + if ( $update_unix_passwd ) { + my $shadowLastChange=int(time()/86400); + my $modify; +- if ($< != 0) { ++ if (($< != 0) || (!defined $config{defaultMaxPasswordAge})) { + $modify = $ldap_master->modify ( "$dn", + changes => [ + replace => [userPassword => "$hash_password"], |