[libsys-hostname-long-perl] 05/07: Refresh sole patch
Axel Beckert
abe at deuxchevaux.org
Sun May 10 16:20:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libsys-hostname-long-perl.
commit f29e2c6e75545aee112ba429ea4c1354763282a4
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun May 10 18:15:59 2015 +0200
Refresh sole patch
---
debian/changelog | 1 +
debian/patches/nobody-vs-nologin.patch | 22 ++++++++++++----------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0e71922..e533177 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libsys-hostname-long-perl (1.5-1) UNRELEASED; urgency=medium
[ Axel Beckert ]
* Add debian/upstream/metadata
* Import upstream version 1.5
+ + Refresh sole patch.
-- Axel Beckert <abe at debian.org> Sun, 10 May 2015 18:11:03 +0200
diff --git a/debian/patches/nobody-vs-nologin.patch b/debian/patches/nobody-vs-nologin.patch
index 85a20a6..413d3ef 100644
--- a/debian/patches/nobody-vs-nologin.patch
+++ b/debian/patches/nobody-vs-nologin.patch
@@ -1,17 +1,19 @@
Description: Use "su -s /bin/sh nobody" to cope with the change of nobody's shell in base-passwd 3.5.30.
Author: Colin Watson <cjwatson at debian.org>
Bug-Debian: http://bugs.debian.org/734710
+Last-Update: 2015-05-10
+Reviewed-by: Axel Beckert <abe at debian.org>
Index: libsys-hostname-long-perl/lib/Sys/Hostname/Long.pm
===================================================================
---- libsys-hostname-long-perl.orig/lib/Sys/Hostname/Long.pm 2014-01-10 01:11:28.759504943 +0100
-+++ libsys-hostname-long-perl/lib/Sys/Hostname/Long.pm 2014-01-10 01:15:34.340185522 +0100
-@@ -75,7 +75,7 @@
- # Skip for Solaris, and only run as non-root
+--- libsys-hostname-long-perl.orig/lib/Sys/Hostname/Long.pm 2015-05-10 18:14:23.626030076 +0200
++++ libsys-hostname-long-perl/lib/Sys/Hostname/Long.pm 2015-05-10 18:14:23.626030076 +0200
+@@ -77,7 +77,7 @@
my $tmp;
- if ($< == 0) {
-- $tmp = `su nobody -c "hostname --fqdn"`;
-+ $tmp = `su -s /bin/sh nobody -c "hostname --fqdn"`;
- } else {
- $tmp = `hostname --fqdn`;
- }
+ if ( $^O ne 'darwin' ) {
+ if ($< == 0) {
+- $tmp = `su nobody -c "hostname --fqdn"`;
++ $tmp = `su -s /bin/sh nobody -c "hostname --fqdn"`;
+ } else {
+ $tmp = `hostname --fqdn`;
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsys-hostname-long-perl.git
More information about the Pkg-perl-cvs-commits
mailing list