[Lunar-commits] CVS: moonbase/net/net-snmp DEPENDS, NONE, 1.1 BUILD, 1.2, 1.3 CONFIGURE, 1.1, 1.2 DETAILS, 1.6, 1.7

Jerry Lundström prox at lunar-linux.org
Tue Aug 17 13:13:47 GMT 2004


Update of /var/cvs/lunar/moonbase/net/net-snmp
In directory dbguin.lunar-linux.org:/tmp/cvs-serv7706

Modified Files:
	BUILD CONFIGURE DETAILS 
Added Files:
	DEPENDS 
Log Message:
more options, some cleanup

--- NEW FILE: DEPENDS ---
optional_depends "perl" \
    "--with-perl-modules --enable-embedded-perl --enable-shared" \
    "" \
    "Embed perl in the SNMP agent and install perl SNMP modules?"

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/net-snmp/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD	5 Jan 2003 09:53:37 -0000	1.2
+++ BUILD	17 Aug 2004 13:13:45 -0000	1.3
@@ -16,6 +16,7 @@
   make    install                    &&
   if [ ! -e /etc/config.d/snmpd ]; then
       cp $SCRIPT_DIRECTORY/snmpd /etc/config.d/snmpd
-  fi
+  fi &&
+  mkdir -p /var/state/ucd-snmp
 
 ) > $C_FIFO 2>&1

Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/net-snmp/CONFIGURE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CONFIGURE	12 Feb 2004 13:25:27 -0000	1.1
+++ CONFIGURE	17 Aug 2004 13:13:45 -0000	1.2
@@ -1,6 +1,10 @@
-if ! grep -q "^OPTS=" $MODULE_CONFIG; then
-    if query "Install net-snmp perl modules?" n; then
-        OPTS=$OPTS"  --with-perl-modules"
-    fi
-    echo 'OPTS='\"$OPTS\" >> $MODULE_CONFIG
+if  !  grep  -q  CONFIGURED  $MODULE_CONFIG;  then
+
+  if  query  "Enable IPv6?" n;  then
+    OPTS="$OPTS --enable-ipv6"
+  fi
+
+  echo  'CONFIGURED="y"'  >>  $MODULE_CONFIG
+  echo  'OPTS='\"$OPTS\"    >>  $MODULE_CONFIG
+
 fi

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/net-snmp/DETAILS,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- DETAILS	17 Aug 2004 07:25:15 -0000	1.6
+++ DETAILS	17 Aug 2004 13:13:45 -0000	1.7
@@ -2,9 +2,9 @@
          VERSION=5.1.2
           SOURCE=$MODULE-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
-   SOURCE_URL[0]=$SFORGE_URL/net-snmp/$SOURCE
-   SOURCE_URL[1]=ftp://ftp.freesnmp.org/mirrors/net-snmp/$SOURCE
-   SOURCE_URL[2]=http://rtfm.uni-svishtov.bg/net-snmp/$SOURCE
+   SOURCE_URL[0]=$SFORGE_URL/$MODULE/
+   SOURCE_URL[1]=ftp://ftp.freesnmp.org/mirrors/$MODULE/
+   SOURCE_URL[2]=http://rtfm.uni-svishtov.bg/$MODULE/
       SOURCE_VFY=md5:8080555ab3f90011f25d5122042d9a8d
         WEB_SITE=http://www.net-snmp.org
          ENTERED=20011108



More information about the Lunar-commits mailing list