summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog13
-rw-r--r--debian/control4
-rw-r--r--debian/patches/hardening27
-rw-r--r--debian/patches/remove-cflags17
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules1
-rw-r--r--debian/watch6
7 files changed, 46 insertions, 24 deletions
diff --git a/debian/changelog b/debian/changelog
index dc06a45..b3776c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+uronode (2.5.1-2) unstable; urgency=medium
+
+ * debian/control
+ - Updated Standards Version to 3.9.7
+ - Changed VCS-* to secure URIs
+ * debian/patches/hardening
+ - patch renamed (previously called remove-cflags)
+ - patch adds CPPFlags and LDFlags to compiler instructions
+ * debian/rules
+ - Exporting hardening=+all to enable fPIE and bindnow
+
+ -- Dave Hibberd <d@vehibberd.com> Tue, 05 Apr 2016 00:48:49 +0100
+
uronode (2.5.1-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/control b/debian/control
index 31e4445..df58be6 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@ Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders: Dave Hibberd <d@vehibberd.com>
Build-Depends: debhelper (>= 9), libax25-dev, zlib1g-dev
Standards-Version: 3.9.7
-Vcs-Browser: http://anonscm.debian.org/cgit/pkg-hamradio/uronode.git
-Vcs-Git: http://anonscm.debian.org/git/pkg-hamradio/uronode.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-hamradio/uronode.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-hamradio/uronode.git
Homepage: http://uronode.sourceforge.net/
Package: uronode
diff --git a/debian/patches/hardening b/debian/patches/hardening
new file mode 100644
index 0000000..a629022
--- /dev/null
+++ b/debian/patches/hardening
@@ -0,0 +1,27 @@
+Description: Fix Lintian hardening errors caused by flags not being passed to compiler,
+use debhelper compiler flags
+Author: Dave Hibberd <d@vehibberd.com>
+Last-Update: 2016-04-05
+
+--- 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 @@
+ DIGI_OBJS = $(DIGI_SRC:.c=.o)
+ CALIBRATE_OBJS = $(CALIBRATE_SRC:.c=.o)
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $<
+
+ install: installbin installman installhelp installconf
+ install -b -m 755 -D -d $(VAR_DIR)
diff --git a/debian/patches/remove-cflags b/debian/patches/remove-cflags
deleted file mode 100644
index 2ffdb5d..0000000
--- a/debian/patches/remove-cflags
+++ /dev/null
@@ -1,17 +0,0 @@
-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 5113b0a..330f0f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
-remove-cflags
+hardening
folder-update
install-dir-creation
makefile-install-locations
diff --git a/debian/rules b/debian/rules
index c7d34ed..dff3261 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@
diff --git a/debian/watch b/debian/watch
index b17055a..d7102b4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,3 @@
version=3
-opts=dversionmangle=s/\+dfsg$// \
- http://sf.net/uronode/uronode-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
- export REPACK_SH=debian/repack.sh
- debian sh debian/repack.stub
+
+http://sf.net/uronode/uronode-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))