--- fake-1.1.11.orig/debian/changelog +++ fake-1.1.11/debian/changelog @@ -1,3 +1,20 @@ +fake (1.1.11-3) unstable; urgency=medium + + * Restrict architecture to linux-any as send-arp uses a linux-specific + include + + -- Simon Horman Wed, 11 Jan 2017 17:21:39 +0100 + +fake (1.1.11-2) unstable; urgency=medium + + * Make build reproducible. (Closes: #776949) + * Update standards version from 3.6.1 to 3.9.8 + * Update debhelper compat level from 5 to 9 + * Use dh_prep instead of dh_clean -k + * Use flags provided by dpkg-buildflags + + -- Simon Horman Wed, 11 Jan 2017 11:40:43 +0100 + fake (1.1.11-1) unstable; urgency=low * New upstream --- fake-1.1.11.orig/debian/compat +++ fake-1.1.11/debian/compat @@ -1 +1 @@ -5 +9 --- fake-1.1.11.orig/debian/control +++ fake-1.1.11/debian/control @@ -3,10 +3,10 @@ Section: admin Priority: optional Maintainer: Simon Horman -Standards-Version: 3.6.1 +Standards-Version: 3.9.8 Package: fake -Architecture: any +Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Description: IP address takeover tool Fake is a utility that enables the IP address be taken over by bringing up --- fake-1.1.11.orig/debian/rules +++ fake-1.1.11/debian/rules @@ -2,7 +2,12 @@ # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. -build: build-stamp +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir $(MAKE) patch all @@ -20,7 +25,7 @@ install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs $(MAKE) \ @@ -37,14 +42,14 @@ install -c -m 644 AUTHORS $(CURDIR)/debian/tmp/usr/share/doc/fake/ install -c -m 644 ChangeLog \ $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog - gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog + gzip --best -n $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog install -c -m 644 docs/redundant_linux.txt \ $(CURDIR)/debian/tmp/usr/share/doc/fake/ - gzip --best \ + gzip --best -n \ $(CURDIR)/debian/tmp/usr/share/doc/fake/redundant_linux.txt install -c -m 644 docs/arp_fun.txt \ $(CURDIR)/debian/tmp/usr/share/doc/fake/ - gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/arp_fun.txt + gzip --best -n $(CURDIR)/debian/tmp/usr/share/doc/fake/arp_fun.txt dh_movefiles --source=debian/tmp --- fake-1.1.11.orig/send_arp.patch +++ fake-1.1.11/send_arp.patch @@ -1,7 +1,7 @@ diff -uN send_arp.orig/Makefile send_arp/Makefile --- send_arp.orig/Makefile Wed Dec 31 19:00:00 1969 +++ send_arp/Makefile Thu Oct 29 15:40:47 1998 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,32 @@ +###################################################################### +# Makefile for send_arp October 1998 +# horms horms@vergenet.net @@ -28,9 +28,6 @@ + +all: $(BIN) + -+$(BIN): $(SRC) -+ $(CC) $(SRC) -o $(BIN) -+ +clean: + rm -f $(BIN) core $(SRC).* +