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

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