Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/compat: Bump to 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Depend on ${misc:Depends}.
  * debian/rules:
    - Add recommended build-arch and build-indep targets.
    - Use dh_prep instead of dh_clean -k.
    - Don't allow clean to ignore errors.

Thanks for considering the patch.

Logan Rosen
diff -u poppassd-1.8.5/debian/control poppassd-1.8.5/debian/control
--- poppassd-1.8.5/debian/control
+++ poppassd-1.8.5/debian/control
@@ -2,12 +2,12 @@
 Section: mail
 Priority: optional
 Maintainer: Adam Conrad <adcon...@0c3.net>
-Build-Depends: debhelper (>> 4.0.0), libpam-dev
+Build-Depends: debhelper (>= 9), libpam-dev
 Standards-Version: 3.6.2
 
 Package: poppassd
 Architecture: any
-Depends: netbase, libpam-runtime (>= 0.76-14), update-inetd, openbsd-inetd | inet-superserver, ${shlibs:Depends}
+Depends: netbase, libpam-runtime (>= 0.76-14), update-inetd, openbsd-inetd | inet-superserver, ${misc:Depends}, ${shlibs:Depends}
 Description: password change server for Eudora and NUPOP
  This package provides a daemon for changing passwords on POP mail accounts,
  a feature common to Eudora and other MacOS/Win32 mail user agents.  This
diff -u poppassd-1.8.5/debian/rules poppassd-1.8.5/debian/rules
--- poppassd-1.8.5/debian/rules
+++ poppassd-1.8.5/debian/rules
@@ -14,7 +14,9 @@
 	INSTALL_PROGRAM += -s
 endif
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 
@@ -34,14 +36,14 @@
 	rm -f debian/copyright
 
 	# 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/poppassd.
@@ -75 +77 @@
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
diff -u poppassd-1.8.5/debian/compat poppassd-1.8.5/debian/compat
--- poppassd-1.8.5/debian/compat
+++ poppassd-1.8.5/debian/compat
@@ -1 +1 @@
-4
+9

Reply via email to