[Lunar-commits] CVS: moonbase/net/ppp CONFIGURE, NONE, 1.1 BUILD,
1.2, 1.3 DETAILS, 1.2, 1.3
Moritz Heiber
moe at lunar-linux.org
Mon May 24 21:00:57 GMT 2004
Update of /var/cvs/lunar/moonbase/net/ppp
In directory dbguin.lunar-linux.org:/tmp/cvs-serv3652
Modified Files:
BUILD DETAILS
Added Files:
CONFIGURE
Log Message:
Reworking ppp module to add MPPE/MPPC support.
Not touching the UPDATED field since there is
no reason for bumping it.
--- NEW FILE: CONFIGURE ---
# Do we want MPPE or not?
if ! grep -q CONFIGURED $MODULE_CONFIG; then
if query "Enable MPPE/MPPC compression support?" y; then
WITH_MPPE="y"
fi
echo 'WITH_MPPE='\"$WITH_MPPE\" >> $MODULE_CONFIG
echo 'CONFIGURED="y"' >> $MODULE_CONFIG
fi
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/ppp/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD 17 Jan 2004 06:17:02 -0000 1.2
+++ BUILD 24 May 2004 21:00:55 -0000 1.3
@@ -1,36 +1,43 @@
-sedit "s/FILTER=y/#FILTER=y/" pppd/Makefile.linux &&
-sedit "s/usr\/man/usr\/share\/man/" linux/Makefile.top &&
-default_build &&
-(
+(
- mkdir -p /etc/ppp/peers
- mkdir -p /etc/ppp/chat
+ if [ $WITH_MPPE ]; then
+ cp $SOURCE_CACHE/$SOURCE2 $SOURCE_DIRECTORY/
+ gunzip $SOURCE2
+ patch_it $PATCHNAME 1
+ fi
- if ! [ -f /etc/resolv.conf ]; then
- ln -f /etc/ppp/resolv.conf /etc/resolv.conf
- fi
+ sedit "s/FILTER=y/#FILTER=y/" pppd/Makefile.linux &&
+ sedit "s/usr\/man/usr\/share\/man/" linux/Makefile.top &&
- cp $SCRIPT_DIRECTORY/pon /usr/bin
- cp $SCRIPT_DIRECTORY/poff /usr/bin
+ default_build &&
+
+ mkdir -p /etc/ppp/peers &&
+ mkdir -p /etc/ppp/chat &&
- if ! [ -f /etc/ppp/options ]; then
- cp $SCRIPT_DIRECTORY/options /etc/ppp/options
- fi
+ if ! [ -f /etc/resolv.conf ]; then
+ ln -f /etc/ppp/resolv.conf /etc/resolv.conf
+ fi
- if [ ! -e /etc/ppp/peers/isp ]; then
- cp $SCRIPT_DIRECTORY/peers.isp /etc/ppp/peers/isp
- fi
+ cp $SCRIPT_DIRECTORY/pon /usr/bin &&
+ cp $SCRIPT_DIRECTORY/poff /usr/bin &&
- if [ ! -e /etc/ppp/chat/isp ]; then
- cp $SCRIPT_DIRECTORY/isp /etc/ppp/chat/isp
- fi
+ if ! [ -f /etc/ppp/options ]; then
+ cp $SCRIPT_DIRECTORY/options /etc/ppp/options
+ fi
+ if [ ! -e /etc/ppp/peers/isp ]; then
+ cp $SCRIPT_DIRECTORY/peers.isp /etc/ppp/peers/isp
+ fi
- cat $SCRIPT_DIRECTORY/message
+ if [ ! -e /etc/ppp/chat/isp ]; then
+ cp $SCRIPT_DIRECTORY/isp /etc/ppp/chat/isp
+ fi
- chown root:ppp /usr/sbin/pppd
- chmod 4750 /usr/sbin/pppd
- chown -R root:ppp /etc/ppp
- chmod 600 /etc/ppp/*-secrets
+ cat $SCRIPT_DIRECTORY/message &&
-)
+ chown root:ppp /usr/sbin/pppd &&
+ chmod 4750 /usr/sbin/pppd &&
+ chown -R root:ppp /etc/ppp &&
+ chmod 600 /etc/ppp/*-secrets
+
+) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/ppp/DETAILS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DETAILS 17 Jan 2004 06:17:02 -0000 1.2
+++ DETAILS 24 May 2004 21:00:55 -0000 1.3
@@ -1,10 +1,12 @@
MODULE=ppp
VERSION=2.4.2
SOURCE=$MODULE-$VERSION.tar.gz
+ PATCHNAME=ppp-2.4.2-mppe-mppc-1.0.patch
+ SOURCE2=$PATCHNAME.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_URL[0]=ftp://ftp.samba.org/pub/ppp/$SOURCE
SOURCE_URL[1]=ftp://cs.anu.edu.au/pub/software/$MODULE/$SOURCE
- SOURCE_VFY=md5:362bcf218fba8afbb9afbee7471e5dac
+ SOURCE2_URL[0]=http://www.polbox.com/h/hs001/$SOURCE2
WEB_SITE=http://www.samba.org/ppp
ENTERED=20010922
UPDATED=20040117
More information about the Lunar-commits
mailing list