summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-07-19 06:24:17 +0000
committerGuillem Jover <guillem@hadrons.org>2010-06-10 23:21:19 +0200
commit2b44bca9f7db09fc8edf30618c0329188c855282 (patch)
tree7788ae30ad20b161e567fd591c0bb3a58b15f611
parenta9b216ecb9aaea31d3b4ce262f035ce2bd126934 (diff)
downloadinetutils-2b44bca9f7db09fc8edf30618c0329188c855282.tar.gz
Fix ping and ping6 perms to 4755
-rw-r--r--debian/changelog3
-rw-r--r--debian/inetutils-ping.overrides4
-rw-r--r--debian/patches/30_ping_suid_perms.patch12
3 files changed, 17 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index b57a2e6..38dab88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ inetutils (2:1.4.3+20060719-1) UNRELEASED; urgency=low
* Reindent debian/copyright.
* Now using Standards-Version 3.7.2 (no changes needed).
* Move myself from Uploaders to Maintainer.
+ * Fix ping and ping6 perms to 4755.
+ - debian/patches/30_ping_suid_perms.patch: New file.
+ - debian/inetutils-ping.overrides: Match overrides.
-- Guillem Jover <guillem@debian.org> Wed, 19 Jul 2006 08:21:08 +0300
diff --git a/debian/inetutils-ping.overrides b/debian/inetutils-ping.overrides
index 0552b10..0eb2b04 100644
--- a/debian/inetutils-ping.overrides
+++ b/debian/inetutils-ping.overrides
@@ -1,2 +1,2 @@
-inetutils-ping: setuid-binary bin/ping 4775 root/root
-inetutils-ping: setuid-binary bin/ping6 4775 root/root
+inetutils-ping: setuid-binary bin/ping 4755 root/root
+inetutils-ping: setuid-binary bin/ping6 4755 root/root
diff --git a/debian/patches/30_ping_suid_perms.patch b/debian/patches/30_ping_suid_perms.patch
new file mode 100644
index 0000000..e28c02b
--- /dev/null
+++ b/debian/patches/30_ping_suid_perms.patch
@@ -0,0 +1,12 @@
+#DPATCHLEVEL=0
+--- ping/Makefile.am 2005-10-11 14:29:11.000000000 +0300
++++ ping/Makefile.am 2006-07-19 09:15:57.000000000 +0300
+@@ -32,7 +32,7 @@
+
+ ping6_SOURCES = ping6.c ping_common.c ping_common.h ping6.h
+
+-SUIDMODE = -o root -m 4775
++SUIDMODE = -o root -m 4755
+
+ install-ping-hook:
+ -@for program in $(bin_PROGRAMS); do \