From: Sebastian Harl Date: Mon, 14 Jun 2010 22:09:25 +0000 (+0200) Subject: rules, oping.overrides: Install /usr/bin/noping setuid root. X-Git-Tag: liboping-1.4.0-1^0 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5c364fa8c13e15c29536a26a8ea6cf20dd670f7;p=pkg-liboping.git rules, oping.overrides: Install /usr/bin/noping setuid root. … and document that in overrides. --- diff --git a/debian/changelog b/debian/changelog index 5d637f7..a3db5b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,8 +11,10 @@ liboping (1.4.0-1) unstable; urgency=low - Added /usr/bin/noping. * debian/oping.links: - Make noping.8 be a symlink to oping.8. + * debian/rules, debian/oping.overrides: + - Install /usr/bin/noping setuid root and document that in overrides. - -- Sebastian Harl Mon, 14 Jun 2010 23:32:26 +0200 + -- Sebastian Harl Tue, 15 Jun 2010 00:08:46 +0200 liboping (1.3.4-1) unstable; urgency=low diff --git a/debian/oping.overrides b/debian/oping.overrides index f76af8d..b7a97c7 100644 --- a/debian/oping.overrides +++ b/debian/oping.overrides @@ -1,2 +1,3 @@ -oping: setuid-binary +oping: setuid-binary usr/bin/oping 4755 root/root +oping: setuid-binary usr/bin/noping 4755 root/root diff --git a/debian/rules b/debian/rules index e7d74ff..3024bb4 100755 --- a/debian/rules +++ b/debian/rules @@ -77,7 +77,7 @@ install: build $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - chmod u+s debian/tmp/usr/bin/oping + chmod u+s debian/tmp/usr/bin/oping debian/tmp/usr/bin/noping mkdir -p debian/oping/usr/share/lintian/overrides/ cp debian/oping.overrides debian/oping/usr/share/lintian/overrides/oping @@ -98,7 +98,7 @@ binary-arch: build install dh_link dh_strip dh_compress - dh_fixperms -Xusr/bin/oping + dh_fixperms -Xusr/bin/oping -Xusr/bin/noping dh_makeshlibs dh_installdeb dh_shlibdeps -ldebian/liboping0/usr/lib/