~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to net-snmp-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-26 01:27:00 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091126012700-pox7w0a5j2x305h9
Tags: 5.4.2.1~dfsg-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
    (LP: #426813).
 * Dropped patches:
   - debian/patches/101-fix-ipalias.patch: Applied upstream.
   - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
   - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
   - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# $Id: net-snmp-config.in 16569 2007-06-29 22:18:27Z tanders $
 
3
# $Id: net-snmp-config.in 17139 2008-07-30 17:28:08Z dts12 $
4
4
#
5
5
# this shell script is designed to merely dump the configuration
6
6
# information about how the net-snmp package was compiled.  The
41
41
NSC_SRCDIR=@srcdir@
42
42
NSC_INCDIR=${NSC_PREFIX}/include
43
43
NSC_BASE_SUBAGENT_LIBS="-lnetsnmpagent -lnetsnmphelpers -lnetsnmp"
44
 
NSC_BASE_AGENT_LIBS="-lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp"
 
44
NSC_BASE_AGENT_LIBS="-lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp"
45
45
NSC_SRC_LIBDIRS="agent/.libs snmplib/.libs agent/helpers/.libs"
46
46
NSC_SRC_LIBDEPS="agent/.libs/libnetsnmpmibs.a agent/.libs/libnetsnmpagent.a agent/helpers/.libs/libnetsnmphelpers.a snmplib/.libs/libnetsnmp.a"
47
47
 
58
58
    *) optarg= ;;
59
59
  esac
60
60
 
 
61
  unset shifted
61
62
  case $1 in
62
63
    --prefix=*)
63
64
      prefix=$optarg
201
202
      Xalgorithm="DES"
202
203
      token=rwuser
203
204
      shift
 
205
      shifted=1
204
206
      while test "x$done" = "x" -a "x$1" != "x" ; do
205
207
        case $1 in
206
208
            -A|-a)
315
317
    ####################################################
316
318
    --compile-subagent)
317
319
      shift
 
320
      shifted=1
318
321
      while test "x$done" = "x" -a "x$1" != "x" ; do
319
322
        case $1 in
320
323
            --norm)
656
659
      usage="yes"
657
660
      ;;
658
661
  esac
659
 
  shift
 
662
  if [ "x$shifted" = "x" ] ; then
 
663
      shift
 
664
  fi
660
665
  done
661
666
fi
662
667