Author: Antonio Borneo
Date: Sun Dec 1 13:23:25 2013
New Revision: 534
Log:
No build date in manpage
makeman.pl internal script adds local build time. Change
it to the source man template filetime instead, so we avoid
republishing this package every month.
Patch already present in openSUSE package.
Author: Cristian Rodriguez <cristian.rodriguez@opensuse.org>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Modified:
branches/vpnc-nortel/makeman.pl
trunk/makeman.pl
Modified: branches/vpnc-nortel/makeman.pl
==============================================================================
--- branches/vpnc-nortel/makeman.pl (original)
+++ branches/vpnc-nortel/makeman.pl Sun Dec 1 13:23:25 2013
@@ -92,7 +92,8 @@
# Hopefully the code speaks for itself from now on...
setlocale( LC_ALL, 'C' );
-my $date = strftime( '%B %Y', localtime );
+my $write_secs = (stat("./vpnc.8.template"))[9];
+my $date = strftime( '%B %Y', localtime($write_secs) );
open my $VERSION, '<', './VERSION';
my $vpnc_version = <$VERSION>;
Modified: trunk/makeman.pl
==============================================================================
--- trunk/makeman.pl (original)
+++ trunk/makeman.pl Sun Dec 1 13:23:25 2013
@@ -92,7 +92,8 @@
# Hopefully the code speaks for itself from now on...
setlocale( LC_ALL, 'C' );
-my $date = strftime( '%B %Y', localtime );
+my $write_secs = (stat("./vpnc.8.template"))[9];
+my $date = strftime( '%B %Y', localtime($write_secs) );
open my $VERSION, '<', './VERSION';
my $vpnc_version = <$VERSION>;
_______________________________________________
vpnc-devel mailing list
vpnc-devel@unix-ag.uni-kl.de
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/
Date: Sun Dec 1 13:23:25 2013
New Revision: 534
Log:
No build date in manpage
makeman.pl internal script adds local build time. Change
it to the source man template filetime instead, so we avoid
republishing this package every month.
Patch already present in openSUSE package.
Author: Cristian Rodriguez <cristian.rodriguez@opensuse.org>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Modified:
branches/vpnc-nortel/makeman.pl
trunk/makeman.pl
Modified: branches/vpnc-nortel/makeman.pl
==============================================================================
--- branches/vpnc-nortel/makeman.pl (original)
+++ branches/vpnc-nortel/makeman.pl Sun Dec 1 13:23:25 2013
@@ -92,7 +92,8 @@
# Hopefully the code speaks for itself from now on...
setlocale( LC_ALL, 'C' );
-my $date = strftime( '%B %Y', localtime );
+my $write_secs = (stat("./vpnc.8.template"))[9];
+my $date = strftime( '%B %Y', localtime($write_secs) );
open my $VERSION, '<', './VERSION';
my $vpnc_version = <$VERSION>;
Modified: trunk/makeman.pl
==============================================================================
--- trunk/makeman.pl (original)
+++ trunk/makeman.pl Sun Dec 1 13:23:25 2013
@@ -92,7 +92,8 @@
# Hopefully the code speaks for itself from now on...
setlocale( LC_ALL, 'C' );
-my $date = strftime( '%B %Y', localtime );
+my $write_secs = (stat("./vpnc.8.template"))[9];
+my $date = strftime( '%B %Y', localtime($write_secs) );
open my $VERSION, '<', './VERSION';
my $vpnc_version = <$VERSION>;
_______________________________________________
vpnc-devel mailing list
vpnc-devel@unix-ag.uni-kl.de
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/