Package: jdresolve
Version: 0.6.1-4
Followup-For: Bug #800252
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

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

  * debian/compat: Indicate compatibility level of 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Move Build-Depends-Indep to Build-Depends, since clean needs debhelper.
    - Depend on ${misc:Depends}.
  * debian/rules:
    - Use dh_prep instead of dh_clean -k.
    - Add recommended build-arch and build-indep targets.
    - Install files into debian/jdresolve instead of debian/tmp.

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)

Kernel: Linux 4.4.0-17-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u jdresolve-0.6.1/debian/rules jdresolve-0.6.1/debian/rules
--- jdresolve-0.6.1/debian/rules
+++ jdresolve-0.6.1/debian/rules
@@ -5,7 +5,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build:
+build: build-arch build-indep
+build-arch:
+build-indep:
 
 clean:
 	dh_testdir
@@ -16,11 +18,11 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
-	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp MANDIR=/usr/share/man/man1
+	# Add here commands to install the package into debian/jdresolve.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/jdresolve MANDIR=/usr/share/man/man1
 
 # Build architecture-independent files here.
 binary-indep: build install
diff -u jdresolve-0.6.1/debian/control jdresolve-0.6.1/debian/control
--- jdresolve-0.6.1/debian/control
+++ jdresolve-0.6.1/debian/control
@@ -3,11 +3,11 @@
 Priority: extra
 Maintainer: Frederic Peters <fpet...@debian.org>
 Standards-Version: 3.5.6
-Build-Depends-Indep: debhelper
+Build-Depends: debhelper (>= 9)
 
 Package: jdresolve
 Architecture: all
-Depends: ${perl:Depends}, libnet-dns-perl
+Depends: ${misc:Depends}, ${perl:Depends}, libnet-dns-perl
 Description: fast alternative to apache logresolve
  The jdresolve application resolves IP addresses into hostnames. To
  reduce the time necessary to resolve large batches of addresses,
only in patch2:
unchanged:
--- jdresolve-0.6.1.orig/debian/compat
+++ jdresolve-0.6.1/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to