Package: vlan
Version: 1.9-3.4
Severity: normal
Tags: patch  pending

Dear maintainer,

I've prepared an NMU for vlan (versioned as 1.9-3.5) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru vlan-1.9/debian/changelog vlan-1.9/debian/changelog
--- vlan-1.9/debian/changelog   2018-08-02 12:10:52.000000000 +0000
+++ vlan-1.9/debian/changelog   2019-01-01 11:58:57.000000000 +0000
@@ -1,3 +1,23 @@
+vlan (1.9-3.5) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS by using dh_auto_build to pass relevant compiler
+    variables during cross builds.  (Closes: #794156)
+  * Replace deprecated "-s" for dh_* commands with "-a".
+  * Add (now) mandatory build-arch and build-indep targets to
+    debian/rules.
+  * Bump priority to "optional" (replacing the deprecated priority
+    "extra").
+  * Declare that vlan can produce its binary package without using
+    (fake)root via "Rules-Requires-Root".
+  * Declare vlan to be architecture "linux-any" rather than "any"
+    as it does not work on kfreebsd and hurd.  (Closes: #745202)
+  * Bump debhelper compat to 12.  It causes no difference on the
+    output and removes deprecation warnings.
+  * Call dh_dwz to reduce the size of the dbgsym symbols slightly.
+
+ -- Niels Thykier <[email protected]>  Tue, 01 Jan 2019 11:58:57 +0000
+
 vlan (1.9-3.4) unstable; urgency=medium
 
   * Merge a change from Ubuntu:
diff -Nru vlan-1.9/debian/compat vlan-1.9/debian/compat
--- vlan-1.9/debian/compat      2018-08-02 12:10:52.000000000 +0000
+++ vlan-1.9/debian/compat      1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-5
diff -Nru vlan-1.9/debian/control vlan-1.9/debian/control
--- vlan-1.9/debian/control     2018-08-02 12:10:52.000000000 +0000
+++ vlan-1.9/debian/control     2019-01-01 11:40:44.000000000 +0000
@@ -1,15 +1,16 @@
 Source: vlan
 Section: misc
-Priority: extra
+Priority: optional
 Maintainer: Ard van Breemen <[email protected]>
 Uploaders: Loic Minier <[email protected]>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper-compat (= 12)
 Standards-Version: 3.7.2
+Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/debian/vlan.git
 Vcs-Browser: https://salsa.debian.org/debian/vlan
 
 Package: vlan
-Architecture: any
+Architecture: linux-any
 Depends: ${misc:Depends}, ${shlibs:Depends}, iproute2
 Section: misc
 Description: user mode programs to enable VLANs on your ethernet devices
diff -Nru vlan-1.9/debian/rules vlan-1.9/debian/rules
--- vlan-1.9/debian/rules       2018-08-02 12:10:52.000000000 +0000
+++ vlan-1.9/debian/rules       2019-01-01 11:47:41.000000000 +0000
@@ -1,29 +1,36 @@
 #!/usr/bin/make -f
 
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifeq ($(origin CC),default)
+CC=$(DEB_HOST_GNU_TYPE)-cc
+endif
 CCFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 
-binary-arch:
+binary-arch: build-arch
        dh_testdir
        dh_testroot
-       dh_installdocs -s
-       dh_installman -s
-       dh_installchangelogs -s CHANGELOG
-       dh_install -s
+       dh_installdocs -a
+       dh_installman -a
+       dh_installchangelogs -a CHANGELOG
+       dh_install -a
        chmod -R 755 debian/vlan/etc/network
-       dh_strip -s
-       dh_fixperms -s
-       dh_compress -s
-       dh_shlibdeps -s
-       dh_gencontrol -s
-       dh_installdeb -s
-       dh_md5sums -s
-       dh_builddeb -s
-
-build:
+       dh_dwz -a
+       dh_strip -a
+       dh_fixperms -a
+       dh_compress -a
+       dh_shlibdeps -a
+       dh_gencontrol -a
+       dh_installdeb -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+build: build-indep build-arch
+build-indep:
+build-arch:
        # upstream ships a macvlan_config binary
        #mv -f macvlan_config macvlan_config.orig
        # STRIP is to avoid the upstream stripping
-       $(MAKE) CCFLAGS="$(CCFLAGS)" STRIP=true
+       dh_auto_build -- CCFLAGS="$(CCFLAGS)" STRIP=true
 
 clean:
        # restore macvlan_config binary shipped by upstream
@@ -31,7 +38,7 @@
        dh_clean
        rm -f vconfig.h vconfig.o vconfig
 
-binary-indep:
+binary-indep: build-indep
 
 binary: binary-arch binary-indep
 

Reply via email to