OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 18-Aug-2003 15:42:25
Branch: HEAD Handle: 2003081814422500
Modified files:
openpkg-src/snmp snmp.spec
Log:
generalize MIB inclusion and add smux MIB, too
Summary:
Revision Changes Path
1.54 +13 -3 openpkg-src/snmp/snmp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/snmp/snmp.spec
============================================================================
$ cvs diff -u -r1.53 -r1.54 snmp.spec
--- openpkg-src/snmp/snmp.spec 18 Aug 2003 13:22:31 -0000 1.53
+++ openpkg-src/snmp/snmp.spec 18 Aug 2003 13:42:25 -0000 1.54
@@ -38,7 +38,8 @@
# package options
%option with_fsl yes
%option with_perl no
-%option with_host_mib no
+%option with_mib_host no
+%option with_mib_smux no
# list of sources
Source0: http://osdn.dl.sourceforge.net/net-snmp/net-snmp-%{version}.tar.gz
@@ -112,6 +113,15 @@
echo "ac_cv_lib_db_3_0_db_create=no"
) >config.cache
+ # determine additional MIBs to include
+ mibs=""
+%if "%{with_mib_host}" == "yes"
+ mibs="$mibs host"
+%endif
+%if "%{with_mib_smux}" == "yes"
+ mibs="$mibs smux"
+%endif
+
# configure package
./configure \
--cache-file=./config.cache \
@@ -124,8 +134,8 @@
--with-openssl=%{l_prefix} \
--enable-silent-libtool \
--disable-shared \
-%if "%{with_host_mib}" == "yes"
- --with-mib-modules="host" \
+%if "%{with_mib_host}" == "yes" || "%{with_mib_smux}" == "yes"
+ --with-mib-modules="$mibs" \
%endif
%if "%{with_perl}" == "yes"
--with-perl-modules \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]