From 37356d15ed31b02907ed2317956d5ec6d007a6a1 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sat, 25 Jan 2014 00:19:38 +0000 Subject: d/patches: Drop 01-Allow-buildflags-to-be-overridden.patch; applied upstream, rename 02-remove-extra-copyright-file.patch as 01-remove-extra-copyright-file.patch --- debian/changelog | 3 ++ .../01-Allow-buildflags-to-be-overridden.patch | 47 ---------------------- .../patches/01-remove-extra-copyright-file.patch | 18 +++++++++ .../patches/02-remove-extra-copyright-file.patch | 17 -------- debian/patches/series | 3 +- 5 files changed, 22 insertions(+), 66 deletions(-) delete mode 100644 debian/patches/01-Allow-buildflags-to-be-overridden.patch create mode 100644 debian/patches/01-remove-extra-copyright-file.patch delete mode 100644 debian/patches/02-remove-extra-copyright-file.patch diff --git a/debian/changelog b/debian/changelog index 1dd5d96..6e20147 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ wavemon (0.7.6-1) UNRELEASED; urgency=low * d/control: update homepage URL * d/control: bump Standards-Version to 3.9.5 - No changes required + * d/patches: Drop 01-Allow-buildflags-to-be-overridden.patch; applied + upstream, rename 02-remove-extra-copyright-file.patch as + 01-remove-extra-copyright-file.patch -- Jonathan McCrohan Tue, 18 Dec 2012 22:37:17 +0000 diff --git a/debian/patches/01-Allow-buildflags-to-be-overridden.patch b/debian/patches/01-Allow-buildflags-to-be-overridden.patch deleted file mode 100644 index 03414ae..0000000 --- a/debian/patches/01-Allow-buildflags-to-be-overridden.patch +++ /dev/null @@ -1,47 +0,0 @@ -From eeaf8047c61fd8dc2eb12240100a8e18f72a9ace Mon Sep 17 00:00:00 2001 -From: Jonathan McCrohan -Date: Sun, 10 Jun 2012 23:12:44 +0100 -Subject: [PATCH] Allow buildflags to be overridden - -Required by Debian debhelper to enable build hardening: -http://wiki.debian.org/Hardening - -Signed-off-by: Jonathan McCrohan -Signed-off-by: Gerrit Renker ---- - Makefile.in | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index b7d8ece..0b27ad7 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -8,10 +8,12 @@ datadir = $(datarootdir)/@PACKAGE_NAME@ - exec_perms = 0755 - install-suid-root: exec_perms = 4755 - --CC = @CC@ --CFLAGS = @CFLAGS@ --DEFS = @DEFS@ --LDLIBS = @LIBS@ -+CC ?= @CC@ -+CFLAGS ?= @CFLAGS@ -+CPPFLAGS ?= @CPPFLAGS@ -+LDFLAGS ?= @LDFLAGS@ -+DEFS ?= @DEFS@ -+LDLIBS ?= @LIBS@ - - INSTALL = @INSTALL@ - RM = rm -vf -@@ -23,7 +25,7 @@ OBJS = $(PURESRC:.c=.o) - DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog - - %.o: %.c $(HEADERS) -- $(CC) $(CFLAGS) $(DEFS) -c -o $@ $< -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $< - - all: @PACKAGE_NAME@ - @PACKAGE_NAME@: $(MAIN) $(OBJS) --- -1.7.10 - diff --git a/debian/patches/01-remove-extra-copyright-file.patch b/debian/patches/01-remove-extra-copyright-file.patch new file mode 100644 index 0000000..6a419ac --- /dev/null +++ b/debian/patches/01-remove-extra-copyright-file.patch @@ -0,0 +1,18 @@ +From: Jonathan McCrohan +Date: Sun, 10 Jun 2012 00:31:09 +0100 +Subject: Remove extra copyright file from Makefile +Last-Update: 2014-01-25 + +diff --git a/Makefile.in b/Makefile.in +index 0b27ad7..e48e174 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -22,7 +22,7 @@ MAIN = @PACKAGE_NAME@.c + HEADERS = @PACKAGE_NAME@.h llist.h iw_if.h + PURESRC = $(filter-out $(MAIN),$(wildcard *.c)) + OBJS = $(PURESRC:.c=.o) +-DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog ++DOCS = README NEWS THANKS AUTHORS ChangeLog + + %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $< diff --git a/debian/patches/02-remove-extra-copyright-file.patch b/debian/patches/02-remove-extra-copyright-file.patch deleted file mode 100644 index 3afe515..0000000 --- a/debian/patches/02-remove-extra-copyright-file.patch +++ /dev/null @@ -1,17 +0,0 @@ -From: Jonathan McCrohan -Date: Sun, 10 Jun 2012 00:31:09 +0100 -Subject: Remove extra copyright file from Makefile - -diff --git a/Makefile.in b/Makefile.in -index b7d8ece..fceed72 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -20,7 +20,7 @@ - HEADERS = @PACKAGE_NAME@.h llist.h iw_if.h - PURESRC = $(filter-out $(MAIN),$(wildcard *.c)) - OBJS = $(PURESRC:.c=.o) --DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog -+DOCS = README NEWS THANKS AUTHORS ChangeLog - - %.o: %.c $(HEADERS) - $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $< diff --git a/debian/patches/series b/debian/patches/series index e2c3674..f5eb0a6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -01-Allow-buildflags-to-be-overridden.patch -02-remove-extra-copyright-file.patch +01-remove-extra-copyright-file.patch -- cgit v1.2.3