Package: compartment Version: 1.1.0-4 Followup-For: Bug #817318 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * debian/rules: - Remove legacy DH_COMPAT export. - Use dh_prep instead of dh_clean -k. - Add recommended build-arch and build-indep targets. - Don't allow clean to ignore errors. * debian/compat: Indicate compatibility level of 9. * debian/control: - Build-depend on debhelper (>= 9). - Depend on ${misc:Depends}. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -u compartment-1.1.0/debian/rules compartment-1.1.0/debian/rules --- compartment-1.1.0/debian/rules +++ compartment-1.1.0/debian/rules @@ -5,10 +5,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# This is the debhelper compatability version to use. -export DH_COMPAT=4 - -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir @@ -24,14 +23,14 @@ rm -f build-stamp # Add here commands to clean up after the build process. - -$(MAKE) clean + $(MAKE) clean dh_clean install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs # Add here commands to install the package into debian/compartment diff -u compartment-1.1.0/debian/control compartment-1.1.0/debian/control --- compartment-1.1.0/debian/control +++ compartment-1.1.0/debian/control @@ -2,12 +2,12 @@ Section: admin Priority: optional Maintainer: Javier Fernandez-Sanguino Pen~a <j...@computer.org> -Build-Depends: debhelper +Build-Depends: debhelper (>= 9) Standards-Version: 3.6.2 Package: compartment Architecture: any -Depends: ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} Description: Confine services in a limited environment Compartment was designed to allow safe execution of privileged and/or untrusted executables and services. It has got all possible only in patch2: unchanged: --- compartment-1.1.0.orig/debian/compat +++ compartment-1.1.0/debian/compat @@ -0,0 +1 @@ +9