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