diff options
| author | Dave Hibberd <d@vehibberd.com> | 2015-09-07 21:15:26 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2015-09-07 21:15:26 +0100 |
| commit | de9be78d2e3533c32f1797a487fef9a6f9e922a9 (patch) | |
| tree | 1b3187e64d7acd38c351f57cde5cc6da34864dcf /debian/patches | |
| parent | 66e6edde31b4611fd88e49db065d1b4dee63211c (diff) | |
Remove autoreconf files, remove dh-autoreconf from control file, split makefile patch so functions become more clear:
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/folder-update | 6 | ||||
| -rw-r--r-- | debian/patches/install-dir-creation | 14 | ||||
| -rw-r--r-- | debian/patches/no-install-gz-manpages (renamed from debian/patches/makefile) | 28 | ||||
| -rw-r--r-- | debian/patches/remove-cflags | 17 | ||||
| -rw-r--r-- | debian/patches/series | 4 |
5 files changed, 40 insertions, 29 deletions
diff --git a/debian/patches/folder-update b/debian/patches/folder-update index 7308edd..2ed3d63 100644 --- a/debian/patches/folder-update +++ b/debian/patches/folder-update @@ -1,7 +1,7 @@ -Description: Update the folders this is installed to +Description: Update the folders in which Uronode is installed Author: Dave Hibberd <d@vehibberd.com> ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Last-Update: 2015-09-07 + --- a/configure +++ b/configure @@ -1,5 +1,5 @@ diff --git a/debian/patches/install-dir-creation b/debian/patches/install-dir-creation new file mode 100644 index 0000000..8fd3aa5 --- /dev/null +++ b/debian/patches/install-dir-creation @@ -0,0 +1,14 @@ +Description: Create proper SBIN_DIR directory at install time +Author: Dave Hibberd <d@vehibberd.com> +Last-Update: 2015-09-07 + +--- a/Makefile.in ++++ b/Makefile.in +@@ -33,6 +33,7 @@ + install -m 644 -p etc/gateways $(VAR_DIR)/flex + + installbin: all ++ install -m 755 -D -d $(SBIN_DIR) + install -m 755 -s -p uronode $(SBIN_DIR) + install -m 755 -s -p nodeusers $(SBIN_DIR) + install -m 755 -s -p axdigi $(SBIN_DIR) diff --git a/debian/patches/makefile b/debian/patches/no-install-gz-manpages index 30a86d4..be06029 100644 --- a/debian/patches/makefile +++ b/debian/patches/no-install-gz-manpages @@ -1,23 +1,9 @@ -Description: Remove CFLAG and LDFlags for hardening, remove installman -to stop installation of gzipped manpages, added directory install for -SBIN_DIR +Description: Prevent installation of gzipped manpages, they have been moved to the debian folder and unzipped Author: Dave Hibberd <d@vehibberd.com> ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Last-Update: 2015-09-07 --- a/Makefile.in +++ b/Makefile.in -@@ -3,8 +3,8 @@ - CC = gcc - LD = gcc - # CFLAGS = -O2 -g -s -Wstrict-prototypes --CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes --LDFLAGS = -+#CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes -+#LDFLAGS = - LIBS = -lax25 -lax25io - - include Makefile.include @@ -24,7 +24,7 @@ .c.o: $(CC) $(CFLAGS) -c $< @@ -27,15 +13,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ install -m 755 -D -d $(VAR_DIR) install -m 755 -D -d $(VAR_DIR)/node install -m 644 -p etc/loggedin $(VAR_DIR)/node -@@ -33,6 +33,7 @@ - install -m 644 -p etc/gateways $(VAR_DIR)/flex - - installbin: all -+ install -m 755 -D -d $(SBIN_DIR) - install -m 755 -s -p uronode $(SBIN_DIR) - install -m 755 -s -p nodeusers $(SBIN_DIR) - install -m 755 -s -p axdigi $(SBIN_DIR) -@@ -53,16 +54,7 @@ +@@ -53,16 +53,7 @@ install -m 600 -p etc/uronode.routes $(ETC_DIR) install -m 600 -p etc/flexd.conf $(ETC_DIR) diff --git a/debian/patches/remove-cflags b/debian/patches/remove-cflags new file mode 100644 index 0000000..2ffdb5d --- /dev/null +++ b/debian/patches/remove-cflags @@ -0,0 +1,17 @@ +Description: Remove CFLAGS and LDFLAGS to fix Lintian hardening errors +Author: Dave Hibberd <d@vehibberd.com> +Last-Update: 2015-09-07 + +--- a/Makefile.in ++++ b/Makefile.in +@@ -3,8 +3,8 @@ + CC = gcc + LD = gcc + # CFLAGS = -O2 -g -s -Wstrict-prototypes +-CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes +-LDFLAGS = ++#CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes ++#LDFLAGS = + LIBS = -lax25 -lax25io + + include Makefile.include diff --git a/debian/patches/series b/debian/patches/series index 3023be6..065f5bd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,4 @@ +remove-cflags folder-update -makefile +no-install-gz-manpages +install-dir-creation |
