Package: openbsd-inetd
Version: 0.20080125-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hello!

Since xinetd listens on external ports, I think it might benefit
from having hardening[1] enabled for its build.  The attached patch
implements this.

Thanks!

-Kees

[1] http://wiki.debian.org/Hardening

-- 
Kees Cook                                            @debian.org
diff -uNrp openbsd-inetd-0.20080125~/debian/control openbsd-inetd-0.20080125/debian/control
--- openbsd-inetd-0.20080125~/debian/control	2009-08-17 12:04:16.000000000 -0700
+++ openbsd-inetd-0.20080125/debian/control	2009-08-20 18:53:14.000000000 -0700
@@ -2,7 +2,7 @@ Source: openbsd-inetd
 Section: net
 Priority: standard
 Maintainer: Marco d'Itri <m...@linux.it>
-Build-Depends: debhelper (>= 4.0), quilt (>= 0.40), libwrap0-dev
+Build-Depends: debhelper (>= 4.0), quilt (>= 0.40), libwrap0-dev, hardening-wrapper
 Standards-Version: 3.8.0
 
 Package: openbsd-inetd
diff -uNrp openbsd-inetd-0.20080125~/debian/rules openbsd-inetd-0.20080125/debian/rules
--- openbsd-inetd-0.20080125~/debian/rules	2009-08-17 12:04:16.000000000 -0700
+++ openbsd-inetd-0.20080125/debian/rules	2009-08-20 18:53:25.000000000 -0700
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 SHELL+= -e
 
+export DEB_BUILD_HARDENING=1
 QUILT_STAMPFN := debian/.stamp-patched
 include /usr/share/quilt/quilt.make
 

Reply via email to