Blame SOURCES/net-snmp-5.7.2-create-user-multilib.patch

b5ae06
Make net-snmp-create-v3-user multilib-clean
b5ae06
b5ae06
The file had different NSC_AGENTLIBS on different architectures.
b5ae06
b5ae06
Source: upstream
b5ae06
b5ae06
commit 68300a9fb43568c5d833c48a2fef3ff16c2923c3
b5ae06
Author: Jan Safranek <jsafranek@users.sourceforge.net>
b5ae06
Date:   Thu Feb 7 10:14:33 2013 +0100
b5ae06
b5ae06
    Remove unused variables.
b5ae06
b5ae06
diff -up net-snmp-5.7.2/net-snmp-create-v3-user.in.multilib net-snmp-5.7.2/net-snmp-create-v3-user.in
b5ae06
--- net-snmp-5.7.2/net-snmp-create-v3-user.in.multilib	2013-03-22 10:19:41.151901243 +0100
b5ae06
+++ net-snmp-5.7.2/net-snmp-create-v3-user.in	2013-03-22 10:20:02.476801266 +0100
b5ae06
@@ -8,25 +8,7 @@
b5ae06
 prefix=@prefix@
b5ae06
 exec_prefix=@exec_prefix@
b5ae06
 includedir=@includedir@
b5ae06
-libdir=@libdir@
b5ae06
 datarootdir=@datarootdir@
b5ae06
-NSC_LDFLAGS="@LDFLAGS@"
b5ae06
-NSC_INCLUDEDIR=${includedir}
b5ae06
-NSC_LIBDIR=-L${libdir}
b5ae06
-NSC_LIBS="@LIBS@"
b5ae06
-NSC_AGENTLIBS="@AGENTLIBS@ @PERLLDOPTS_FOR_APPS@"
b5ae06
-NSC_PREFIX=$prefix
b5ae06
-NSC_EXEC_PREFIX=$exec_prefix
b5ae06
-NSC_SRCDIR=@srcdir@
b5ae06
-NSC_INCDIR=${NSC_PREFIX}/include
b5ae06
-NSC_BASE_SUBAGENT_LIBS="-lnetsnmpagent -lnetsnmp"
b5ae06
-NSC_BASE_AGENT_LIBS="-lnetsnmpagent -lnetsnmpmibs -lnetsnmp"
b5ae06
-NSC_SRC_LIBDIRS="agent/.libs snmplib/.libs"
b5ae06
-NSC_SRC_LIBDEPS="agent/.libs/libnetsnmpmibs.a agent/.libs/libnetsnmpagent.a snmplib/.libs/libnetsnmp.a"
b5ae06
-
b5ae06
-if test "x$NSC_SRCDIR" = "x." ; then
b5ae06
-   NSC_SRCDIR="NET-SNMP-SOURCE-DIR"
b5ae06
-fi
b5ae06
 
b5ae06
 if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then
b5ae06
     echo "Apparently at least one snmpd demon is already running."