~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to net-snmp-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  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/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
# $Id: net-snmp-config.in 17139 2008-07-30 17:28:08Z dts12 $
 
3
# $Id: net-snmp-config.in 18651 2010-05-06 06:33:37Z bvassche $
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
94
94
    --default-mibdirs|--mibdirs|--MIBDIRS)
95
95
      echo @NETSNMP_DEFAULT_MIBDIRS@
96
96
      ;;
 
97
    --env-separator)
 
98
      echo "@ENV_SEPARATOR@"
 
99
      ;;
97
100
    --snmpconfpath|--SNMPCONFPATH)
98
101
      echo "@SNMPCONFPATH@@ENV_SEPARATOR@@SNMPSHAREPATH@@ENV_SEPARATOR@@SNMPLIBPATH@@ENV_SEPARATOR@$HOME/.snmp@ENV_SEPARATOR@@PERSISTENT_DIRECTORY@"
99
102
      ;;
107
110
    --base-cflags)
108
111
      echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
109
112
      ;;
 
113
    --base-lib-cflags)
 
114
      echo @LIBCFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
 
115
      ;;
110
116
    --cflags|--cf*)
111
117
      echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
112
118
      ;;
684
690
  echo "  These options produce the various compilation flags needed when"
685
691
  echo "  building external SNMP applications:"
686
692
  echo ""
 
693
  echo "    --base-lib-cflags lists additional compilation flags needed for linking"
 
694
  echo "                      against libsnmp"
687
695
  echo "    --base-cflags     lists additional compilation flags needed"
688
696
  echo "    --cflags          lists additional compilation flags needed"
689
697
  echo "                      (includes -I. and extra developer warning flags)"