diff options
author | mm <mm@FreeBSD.org> | 2007-10-06 15:57:44 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-10-06 15:57:44 +0800 |
commit | 96de81ee3d7e34777cfdbef48283c91892af670e (patch) | |
tree | 1bfeabca66cf7c7b75fb4bcb971cedeb96624c26 /net/smbldap-tools | |
parent | f62ee7791b4913c42279ad29f7de60c80202527f (diff) | |
download | freebsd-ports-gnome-96de81ee3d7e34777cfdbef48283c91892af670e.tar.gz freebsd-ports-gnome-96de81ee3d7e34777cfdbef48283c91892af670e.tar.zst freebsd-ports-gnome-96de81ee3d7e34777cfdbef48283c91892af670e.zip |
- Add patch to fix "date" command handling in smbldap-usermod
- Bump PORTREVISION
Suggested by: Fabiano Caixeta Duarte <fabiano at fearp.usp.br>
Diffstat (limited to 'net/smbldap-tools')
-rw-r--r-- | net/smbldap-tools/Makefile | 2 | ||||
-rw-r--r-- | net/smbldap-tools/files/patch-smbldap-usermod | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/smbldap-tools/Makefile b/net/smbldap-tools/Makefile index 54d780b98dc4..214e0bb3fe27 100644 --- a/net/smbldap-tools/Makefile +++ b/net/smbldap-tools/Makefile @@ -7,7 +7,7 @@ PORTNAME= smbldap-tools PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://download.gna.org/smbldap-tools/packages/ \ http://download.gna.org/smbldap-tools/packages/old-release/ diff --git a/net/smbldap-tools/files/patch-smbldap-usermod b/net/smbldap-tools/files/patch-smbldap-usermod new file mode 100644 index 000000000000..20d41077ed44 --- /dev/null +++ b/net/smbldap-tools/files/patch-smbldap-usermod @@ -0,0 +1,11 @@ +--- smbldap-usermod.orig 2007-10-06 09:50:45.000000000 +0200 ++++ smbldap-usermod 2007-10-06 09:51:09.000000000 +0200 +@@ -466,7 +466,7 @@ + + if (defined($tmp = $Options{'e'})) { + if ($samba == 1) { +- my $kickoffTime=`date --date='$tmp' +%s`; ++ my $kickoffTime=`date -j -f "%F %T" '$tmp' +%s`; + chomp($kickoffTime); + push(@mods, 'sambakickoffTime' => $kickoffTime); + } else { |