[Lunar-commits] CVS: moonbase/ftp/proftpd CONFIGURE, NONE, 1.1 BUILD, 1.2, 1.3 DETAILS, 1.6, 1.7

Jerry Lundström prox at lunar-linux.org
Fri Apr 30 09:07:10 GMT 2004


Update of /var/cvs/lunar/moonbase/ftp/proftpd
In directory dbguin.lunar-linux.org:/tmp/cvs-serv16326

Modified Files:
	BUILD DETAILS 
Added Files:
	CONFIGURE 
Log Message:
added option to select contributed modules like mod_tls

--- NEW FILE: CONFIGURE ---
PROFTPD_MODULES="mod_ifsession mod_ldap mod_radius mod_ratio mod_readme mod_rewrite mod_sql mod_sql_mysql mod_sql_postgres mod_tls mod_wrap"

if query "Configure contributed modules? " n; then 
  for mod in $PROFTPD_MODULES; do
    if ! grep -q "MOD_$mod" $MODULE_CONFIG; then
      if query "Enable $mod? " n
        then echo "MOD_$mod=y" >> $MODULE_CONFIG
        else echo "MOD_$mod=n" >> $MODULE_CONFIG
      fi
    fi
  done
fi

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/ftp/proftpd/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD	5 Mar 2003 22:21:17 -0000	1.2
+++ BUILD	30 Apr 2004 09:07:08 -0000	1.3
@@ -1,4 +1,17 @@
 (
+  PROFTPD_MODULES="mod_ifsession mod_ldap mod_radius mod_ratio mod_readme mod_rewrite mod_sql mod_sql_mysql mod_sql_postgres mod_tls mod_wrap"
+  MODS=""
+
+  for mod in $PROFTPD_MODULES; do
+    if [ $(eval echo \$MOD_$mod) = "y" ]; then
+      MODS="$MODS:$mod"
+    fi
+  done
+  MODS=`echo $MODS|sed -re 's%^:%%'`
+
+  if [ -n "$MODS" ]; then
+    OPTS="$OPTS --with-modules=$MODS"
+  fi
 
   if  module_installed  Linux-PAM;  then
     OPTS=$OPTS" --enable-shadow $ENABLE_PAM"

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/ftp/proftpd/DETAILS,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- DETAILS	31 Oct 2003 17:05:59 -0000	1.6
+++ DETAILS	30 Apr 2004 09:07:08 -0000	1.7
@@ -1,13 +1,13 @@
-	  MODULE=proftpd
+	      MODULE=proftpd
          VERSION=1.2.9
-	   MAJOR=1.2.9
+	       MAJOR=1.2.9
           SOURCE=$MODULE-$VERSION.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$MAJOR
    SOURCE_URL[0]=ftp://ftp.proftpd.org/distrib/source/$SOURCE
       SOURCE_VFY=md5:7c85503b160a36a96594ef75f3180a07
         WEB_SITE=http://www.proftpd.org
          ENTERED=20011112
-         UPDATED=20031031
+         UPDATED=20040430
            SHORT="proftpd is a ftp server"
 cat << EOF
 ProFTPD is a proven, high-performance, scalable FTP server written



More information about the Lunar-commits mailing list