mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Add patch to fix "date" command handling in smbldap-usermod
- Bump PORTREVISION Suggested by: Fabiano Caixeta Duarte <fabiano at fearp.usp.br>
This commit is contained in:
parent
2a760873a5
commit
d4b1420f78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200981
@ -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/
|
||||
|
11
net/smbldap-tools/files/patch-smbldap-usermod
Normal file
11
net/smbldap-tools/files/patch-smbldap-usermod
Normal file
@ -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 {
|
Loading…
Reference in New Issue
Block a user