Package: autofs Severity: wishlist Version: 5.1.2-2 Tags: patch thanks
Not sure this one is needed, use it or not as you please. Signed-off-by: mci156 <vincent.mcint...@csiro.au> --- debian/patches/hardening-flags.patch | 20 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 debian/patches/hardening-flags.patch diff --git a/debian/patches/hardening-flags.patch b/debian/patches/hardening-flags.patch new file mode 100644 index 0000000..f6e2350 --- /dev/null +++ b/debian/patches/hardening-flags.patch @@ -0,0 +1,20 @@ +Last Updated: 2017-06-16 +Author: Vincent McIntyre <vincent.mcint...@csiro.au> +Forwarded: no +Description: Avoid warning about -fPIE from blhc + +This is probably not entirely necessary since all modules are +compiled with -fPIE, but it avoids a warning. +Index: autofs-5.1.2/daemon/Makefile +=================================================================== +--- autofs-5.1.2.orig/daemon/Makefile ++++ autofs-5.1.2/daemon/Makefile +@@ -30,7 +30,7 @@ endif + all: automount + + automount: $(OBJS) $(AUTOFS_LIB) +- $(CC) $(DAEMON_LDFLAGS) -o automount $(OBJS) $(LDFLAGS) $(AUTOFS_LIB) $(LIBS) ++ $(CC) $(DAEMON_CFLAGS) $(DAEMON_LDFLAGS) -o automount $(OBJS) $(LDFLAGS) $(AUTOFS_LIB) $(LIBS) + $(STRIP) automount + + clean: diff --git a/debian/patches/series b/debian/patches/series index 91208ef..e8163b9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +hardening-flags.patch 11default_automaster_location.patch 12disable_default_auto_master.patch 15auto_net_nfs4.patch -- 2.1.4