|
|
700982 |
diff -up net-snmp-5.7.2/agent/Makefile.in.pie net-snmp-5.7.2/agent/Makefile.in
|
|
|
700982 |
--- net-snmp-5.7.2/agent/Makefile.in.pie 2012-10-10 00:28:58.000000000 +0200
|
|
|
700982 |
+++ net-snmp-5.7.2/agent/Makefile.in 2012-10-18 09:45:13.298613099 +0200
|
|
|
700982 |
@@ -294,7 +294,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
|
|
|
700982 |
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
|
|
|
700982 |
|
|
|
700982 |
snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG)
|
|
|
700982 |
- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
|
700982 |
+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
|
700982 |
|
|
|
700982 |
libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
|
|
|
700982 |
$(LIB_LD_CMD) $(AGENTLIB) ${LLIBAGENTOBJS} $(USELIBS) ${LAGENTLIBS} @LD_NO_UNDEFINED@ $(LDFLAGS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS) @AGENTLIBS@
|
|
|
700982 |
diff -up net-snmp-5.7.2/apps/Makefile.in.pie net-snmp-5.7.2/apps/Makefile.in
|
|
|
700982 |
--- net-snmp-5.7.2/apps/Makefile.in.pie 2012-10-10 00:28:58.000000000 +0200
|
|
|
700982 |
+++ net-snmp-5.7.2/apps/Makefile.in 2012-10-18 09:44:27.827774580 +0200
|
|
|
700982 |
@@ -170,7 +170,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
|
|
|
700982 |
$(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
$(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
diff -urNp a/apps/Makefile.in b/apps/Makefile.in
|
|
|
700982 |
--- a/apps/Makefile.in 2018-09-25 09:18:46.036239465 +0200
|
|
|
700982 |
+++ b/apps/Makefile.in 2018-09-25 09:38:18.361298461 +0200
|
|
|
700982 |
@@ -156,37 +156,37 @@ OTHERUNINSTALL=snmpinformuninstall snmpt
|
|
|
700982 |
# build rules
|
|
|
700982 |
#
|
|
|
700982 |
snmpwalk$(EXEEXT): snmpwalk.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpwalk.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpwalk.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpbulkwalk$(EXEEXT): snmpbulkwalk.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpbulkwalk.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpbulkwalk.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpbulkget$(EXEEXT): snmpbulkget.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpbulkget.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpbulkget.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptranslate$(EXEEXT): snmptranslate.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmptranslate.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmptranslate.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpstatus$(EXEEXT): snmpstatus.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpstatus.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpstatus.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpget$(EXEEXT): snmpget.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpget.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpget.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpdelta$(EXEEXT): snmpdelta.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpdelta.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpdelta.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptable$(EXEEXT): snmptable.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmptable.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmptable.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptest$(EXEEXT): snmptest.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
|
|
|
700982 |
$(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpinform$(EXEEXT): snmptrap$(EXEEXT)
|
|
|
700982 |
rm -f snmpinform
|
|
|
700982 |
@@ -197,34 +197,34 @@ snmptop$(EXEEXT): snmpps$(EXEEXT)
|
|
|
700982 |
$(LN_S) snmpps$(EXEEXT) snmptop$(EXEEXT)
|
|
|
700982 |
|
|
|
700982 |
snmpset$(EXEEXT): snmpset.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpset.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpset.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpusm$(EXEEXT): snmpusm.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpvacm$(EXEEXT): snmpvacm.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpvacm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpvacm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmptls$(EXEEXT): snmptls.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmptls.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmptls.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
agentxtrap$(EXEEXT): agentxtrap.$(OSUFFIX) $(USEAGENTLIBS)
|
|
|
700982 |
$(LINK) ${CFLAGS} -o $@ agentxtrap.$(OSUFFIX) ${LDFLAGS} $(USEAGENTLIBS) $(PERLLDOPTS_FOR_APPS) ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpgetnext$(EXEEXT): snmpgetnext.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpgetnext.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpgetnext.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
encode_keychange$(EXEEXT): encode_keychange.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ encode_keychange.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie encode_keychange.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpdf$(EXEEXT): snmpdf.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpdf.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpdf.$(OSUFFIX) ${LDFLAGS} ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpps$(EXEEXT): snmpps.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpps.$(OSUFFIX) ${LDFLAGS} @LIBCURSES@ ${LIBS}
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpps.$(OSUFFIX) ${LDFLAGS} @LIBCURSES@ ${LIBS}
|
|
|
700982 |
|
|
|
700982 |
snmpping$(EXEEXT): snmpping.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
- $(LINK) ${CFLAGS} -o $@ snmpping.$(OSUFFIX) ${LDFLAGS} ${LIBS} -lm
|
|
|
700982 |
+ $(LINK) ${CFLAGS} -o $@ -pie snmpping.$(OSUFFIX) ${LDFLAGS} ${LIBS} -lm
|
|
|
700982 |
|
|
|
700982 |
snmppcap$(EXEEXT): snmppcap.$(OSUFFIX) $(USELIBS)
|
|
|
700982 |
$(LINK) ${CFLAGS} -o $@ snmppcap.$(OSUFFIX) ${LDFLAGS} ${LIBS} -lpcap
|
|
|
700982 |
diff -urNp a/apps/snmpnetstat/Makefile.in b/apps/snmpnetstat/Makefile.in
|
|
|
700982 |
--- a/apps/snmpnetstat/Makefile.in 2018-09-25 09:18:46.036239465 +0200
|
|
|
700982 |
+++ b/apps/snmpnetstat/Makefile.in 2018-09-25 09:39:30.406458117 +0200
|
|
|
700982 |
@@ -34,4 +34,4 @@ LIBS= ../../snmplib/libnetsnmp.$(LIB_EX
|
|
|
700982 |
all: standardall
|
|
|
700982 |
|
|
|
700982 |
snmpnetstat$(EXEEXT): ${LOBJS} ${USELIBS}
|
|
|
700982 |
- ${LINK} ${CFLAGS} -o $@ ${LOBJS} ${LOCAL_LIBS} ${LDFLAGS} ${LIBS}
|
|
|
700982 |
+ ${LINK} ${CFLAGS} -o $@ -pie ${LOBJS} ${LOCAL_LIBS} ${LDFLAGS} ${LIBS}
|