summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/flexd-spelling15
-rw-r--r--debian/patches/folder-update4
-rw-r--r--debian/patches/makefile-install-locations4
-rw-r--r--debian/patches/multiarch-libc.patch15
-rw-r--r--debian/patches/no-install-gz-manpages33
-rw-r--r--debian/patches/series1
6 files changed, 20 insertions, 52 deletions
diff --git a/debian/patches/flexd-spelling b/debian/patches/flexd-spelling
deleted file mode 100644
index 31ec403..0000000
--- a/debian/patches/flexd-spelling
+++ /dev/null
@@ -1,15 +0,0 @@
-Description: Fix Lintian binary spelling errors
-Author: Dave Hibberd <d@vehibberd.com>
-Last-Update: 2017-08-22
-
---- a/flexd.c
-+++ b/flexd.c
-@@ -413,7 +413,7 @@
- printf("FlexD version %s.\n\r", VERSION);
- printf("Copywrite (c) 2000-2003 by Roy PE1RJA and Stefano IZ5AWZ\n\r");
- printf("Copywrite (c) 2003 - present by Brian Rogers - N1URO.\n\r");
-- printf("FlexD is free sofware and you are welcome to redistribute it\n\r");
-+ printf("FlexD is free software and you are welcome to redistribute it\n\r");
- printf("under the terms of GNU General Public Licence as published\n\r");
- printf("by Free Software Foundation; either version 2 of the License, or\n\r");
- printf("(at your option) any later version.\n\r");
diff --git a/debian/patches/folder-update b/debian/patches/folder-update
index ad5da98..5af4a89 100644
--- a/debian/patches/folder-update
+++ b/debian/patches/folder-update
@@ -1,10 +1,10 @@
Description: Update the folders in which Uronode is installed
Author: Dave Hibberd <d@vehibberd.com>
-Last-Update: 2017-01-21
+Last-Update: 2018-12-27
--- a/configure
+++ b/configure
-@@ -20,13 +20,13 @@
+@@ -14,13 +14,13 @@
_sleep 2
make distclean > make.debug
diff --git a/debian/patches/makefile-install-locations b/debian/patches/makefile-install-locations
index 6580cd3..c511c3d 100644
--- a/debian/patches/makefile-install-locations
+++ b/debian/patches/makefile-install-locations
@@ -1,6 +1,6 @@
Description: Install files to temporary directory for packaging
Author: Dave Hibberd <d@vehibberd.com>
-Last-Update: 2018-02-10
+Last-Update: 2018-12-27
--- a/Makefile.include.in
+++ b/Makefile.include.in
@@ -27,7 +27,7 @@ Last-Update: 2018-02-10
+ZLIB = @ZLIB@
--- a/configure
+++ b/configure
-@@ -26,7 +26,7 @@
+@@ -20,7 +20,7 @@
[ "$LIB_DIR" ] || LIB_DIR=/usr/lib
[ "$DATA_DIR" ] || DATA_DIR=/usr/share
[ "$MAN_DIR" ] || MAN_DIR=/usr/share/man
diff --git a/debian/patches/multiarch-libc.patch b/debian/patches/multiarch-libc.patch
new file mode 100644
index 0000000..58bc32e
--- /dev/null
+++ b/debian/patches/multiarch-libc.patch
@@ -0,0 +1,15 @@
+Description: Stop Uronode hard-coding location of net/if.h
+Author: Helmut Grohne <helmut@subdivi.de>
+Last-Update: 2018-12-27
+
+--- a/axdigi.c
++++ b/axdigi.c
+@@ -21,7 +21,7 @@
+ * 12th June 1997.
+ */
+
+-#include </usr/include/net/if.h>
++#include <net/if.h>
+ #include <linux/if_ether.h>
+ #include <netinet/in.h>
+ #include <sys/ioctl.h>
diff --git a/debian/patches/no-install-gz-manpages b/debian/patches/no-install-gz-manpages
deleted file mode 100644
index be06029..0000000
--- a/debian/patches/no-install-gz-manpages
+++ /dev/null
@@ -1,33 +0,0 @@
-Description: Prevent installation of gzipped manpages, they have been moved to the debian folder and unzipped
-Author: Dave Hibberd <d@vehibberd.com>
-Last-Update: 2015-09-07
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -24,7 +24,7 @@
- .c.o:
- $(CC) $(CFLAGS) -c $<
-
--install: installbin installman installhelp installconf
-+install: installbin installhelp installconf
- install -m 755 -D -d $(VAR_DIR)
- install -m 755 -D -d $(VAR_DIR)/node
- install -m 644 -p etc/loggedin $(VAR_DIR)/node
-@@ -53,16 +53,7 @@
- install -m 600 -p etc/uronode.routes $(ETC_DIR)
- install -m 600 -p etc/flexd.conf $(ETC_DIR)
-
--installman:
-- install -m 755 -D -d $(MAN_DIR)/man1 $(MAN_DIR)/man5 $(MAN_DIR)/man8
-- install -m 644 -p man/nodeusers.1.gz $(MAN_DIR)/man1
-- install -m 644 -p man/uronode.conf.5.gz $(MAN_DIR)/man5
-- install -m 644 -p man/uronode.perms.5.gz $(MAN_DIR)/man5
-- install -m 644 -p man/flexd.conf.5.gz $(MAN_DIR)/man5
-- install -m 644 -p man/uronode.8.gz $(MAN_DIR)/man8
-- install -m 644 -p man/axdigi.8.gz $(MAN_DIR)/man8
--
--upgrade: installman
-+upgrade:
- install -m 755 -p uronode $(SBIN_DIR)
- install -m 755 -p nodeusers $(SBIN_DIR)
- install -m 755 -p flexd $(SBIN_DIR)
diff --git a/debian/patches/series b/debian/patches/series
index e3a7f0c..1d4667e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+multiarch-libc.patch
non-interactive-install.patch
hardening
folder-update