[debian-edu-commits] debian-edu/slbackup.git (#31) - wheezy-proposed-updates (branch) updated: debian/0.0.12-4-2-g35253f9
Holger Levsen
holger at alioth.debian.org
Tue Oct 8 12:20:16 UTC 2013
The branch, wheezy-proposed-updates has been updated
via 35253f9a12ad209b371d6a00692ee4c054c68f5a (commit)
from e9b39de67277bee03ca6a052fb4fa9f9a7b96db6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 2 ++
debian/patches/001_use-getopt-std.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+)
create mode 100644 debian/patches/001_use-getopt-std.patch
create mode 100644 debian/patches/series
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 7157e06..2f39900 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ slbackup (0.0.12-5) UNRELEASED; urgency=low
* /debian/postinst:
+ Make sure the backup directory (server_destdir) as configured via debconf
gets created by postinst script.
+ * Add patch 001_use-getopt-std.patch: use Getopt:Std instead of Perl 4 era
+ library getopts.pl. (Closes: #696983).
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Mon, 22 Apr 2013 12:07:03 +0200
diff --git a/debian/patches/001_use-getopt-std.patch b/debian/patches/001_use-getopt-std.patch
new file mode 100644
index 0000000..92cdb67
--- /dev/null
+++ b/debian/patches/001_use-getopt-std.patch
@@ -0,0 +1,23 @@
+Description: Use Getopt::Std instead of deprecated Perl 4 era library getopts.pl
+Author: Mike Gabriel <sunweaver at debian.org>
+Forwarded: http://anonscm.debian.org/gitweb/?p=debian-edu/upstream/slbackup.git;a=commitdiff;h=1157b609d12de0a2c5b8c279b8181ce6ff7ea22d
+--- a/src/slbackup-cron
++++ b/src/slbackup-cron
+@@ -11,7 +11,7 @@
+ use POSIX qw(strftime);
+ use Net::DNS;
+ use SLBackup;
+-require 'getopts.pl';
++use Getopt::Std;
+
+
+ sub usage() {
+@@ -38,7 +38,7 @@
+ }
+
+ # parse commandline
+-&Getopts ("c:l:r:o:s:hv") || &usage();
++getopts("c:l:r:o:s:hv") || &usage();
+ my $conffile = $opt_c || "/etc/slbackup/slbackup.conf";
+ my $logfile = $opt_l || "/var/log/slbackup/slbackup.log";
+ my $scripts_predir = $opt_r || "/etc/slbackup/pre.d";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3dc85b8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_use-getopt-std.patch
hooks/post-receive
--
slbackup.git (Debian package slbackup)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "slbackup.git" (Debian package slbackup).
More information about the debian-edu-commits
mailing list