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