Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv28784/scripts
Modified Files:
stunnel
Log Message:
stunnel improvements
Index: stunnel
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/stunnel,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- stunnel 20 Jul 2005 20:31:03 -0000 1.14
+++ stunnel 1 May 2008 20:46:29 -0000 1.15
@@ -36,7 +36,7 @@
#fi
#KDIR=$(find_src_dir linux)
#replace_str Makefile /usr/src/linux $KDIR
- ./configure --prefix=/usr $OPT_FLAGS || exit 1
+ ./configure --prefix=/ $OPT_FLAGS || exit 1
yes "" | make $PMAKE all || exit 1
strip_debug
fi
@@ -46,8 +46,15 @@
if [ "$CONFIG_STUNNEL" = "y" ]; then
mkdir -p $CDDIR/usr/sbin || exit 1
mkdir -p $CDDIR/usr/lib || exit 1
+ mkdir -p $ETCDIR/etc/stunnel || exit 1
cp -p src/stunnel $CDDIR/usr/sbin/ || exit 1
+ cp -p $MYDIR/scripts/stunnel $ETCDIR/etc/init.d || exit 1
+ cp -p tools/stunnel.c* $ETCDIR/etc/stunnel || exit 1
copy_man
+ echo "# Start $MYNAME?" >> $CONFIGFILE
+ echo "START_$MYNAME=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_$MYNAME=\"Universal SSL Wrapper\"" >> $SOFTWAREHELP
fi
;;
|