slackware-current/source/n/net-snmp/net-snmp-5.7.2-pie.patch
Patrick J Volkerding 374248fe50 Fri Nov 9 21:46:09 UTC 2018
a/udisks2-2.6.5-x86_64-3.txz:  Rebuilt.
  Recompiled against net-snmp-5.8.
ap/hplip-3.18.10-x86_64-2.txz:  Rebuilt.
  Recompiled against net-snmp-5.8.
d/bison-3.2.1-x86_64-1.txz:  Upgraded.
d/meson-0.48.2-x86_64-1.txz:  Upgraded.
l/pycairo-1.18.0-x86_64-1.txz:  Upgraded.
n/bridge-utils-1.6-x86_64-1.txz:  Upgraded.
n/net-snmp-5.8-x86_64-1.txz:  Upgraded.
  Shared library .so-version bump.
n/ntp-4.2.8p12-x86_64-2.txz:  Rebuilt.
  Recompiled against net-snmp-5.8.
n/php-7.2.12-x86_64-2.txz:  Rebuilt.
  Recompiled against net-snmp-5.8.
xap/blackbox-0.74-x86_64-2.txz:  Rebuilt.
  When building, don't install anything to the system. Thanks to Didier Spaier.
xap/sane-1.0.27-x86_64-4.txz:  Rebuilt.
  Recompiled against net-snmp-5.8.
extra/aspell-word-lists/aspell-ar-1.2_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-ast-0.01-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-ca-2.1.5_1-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-de_alt-2.1_1-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-fy-0.12_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-grc-0.02_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-hy-0.10.0_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-ky-0.01_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-ml-0.03_1-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-pt_PT-20070510_0-x86_64-1.txz:  Added.
extra/aspell-word-lists/aspell-tk-0.01_0-x86_64-1.txz:  Added.
2018-11-10 08:59:45 +01:00

24 lines
1.5 KiB
Diff

diff -up net-snmp-5.7.2/agent/Makefile.in.pie net-snmp-5.7.2/agent/Makefile.in
--- net-snmp-5.7.2/agent/Makefile.in.pie 2012-10-10 00:28:58.000000000 +0200
+++ net-snmp-5.7.2/agent/Makefile.in 2012-10-18 09:45:13.298613099 +0200
@@ -294,7 +294,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG)
- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
$(LIB_LD_CMD) $(AGENTLIB) ${LLIBAGENTOBJS} $(USELIBS) ${LAGENTLIBS} @LD_NO_UNDEFINED@ $(LDFLAGS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS) @AGENTLIBS@
diff -up net-snmp-5.7.2/apps/Makefile.in.pie net-snmp-5.7.2/apps/Makefile.in
--- net-snmp-5.7.2/apps/Makefile.in.pie 2012-10-10 00:28:58.000000000 +0200
+++ net-snmp-5.7.2/apps/Makefile.in 2012-10-18 09:44:27.827774580 +0200
@@ -170,7 +170,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
$(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
+ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
$(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}