diff options
| author | Dave Hibberd <d@vehibberd.com> | 2015-09-03 21:52:21 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2015-09-03 22:09:00 +0100 |
| commit | f9627d1e66b3d210586087e2c6aa6c938052427c (patch) | |
| tree | 3dcb97caa9a647f50cf48f7f3c58f78a43b8feca /debian/patches/makefile | |
| parent | 4685b0877438d7e18b664068d4f5a580b95fe887 (diff) | |
Updating manpages so they're not gzipped, added new debian folder,
patched out installman
Diffstat (limited to 'debian/patches/makefile')
| -rw-r--r-- | debian/patches/makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile index f75f591..30a86d4 100644 --- a/debian/patches/makefile +++ b/debian/patches/makefile @@ -1,5 +1,32 @@ +Description: Remove CFLAG and LDFlags for hardening, remove installman +to stop installation of gzipped manpages, added directory install for +SBIN_DIR +Author: Dave Hibberd <d@vehibberd.com> +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ + --- 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 $< + +-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 @@ -33,6 +33,7 @@ install -m 644 -p etc/gateways $(VAR_DIR)/flex @@ -8,3 +35,21 @@ 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 @@ + 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) |
