[Lunar-commits] r23483 - moonbase/trunk/net/ppp

Moritz Heiber moe at lunar-linux.org
Sun Mar 4 12:40:08 CET 2007


Author: moe
Date: 2007-03-04 12:40:08 +0100 (Sun, 04 Mar 2007)
New Revision: 23483

Removed:
   moonbase/trunk/net/ppp/CONFIGURE
   moonbase/trunk/net/ppp/message
   moonbase/trunk/net/ppp/options
Modified:
   moonbase/trunk/net/ppp/BUILD
   moonbase/trunk/net/ppp/DETAILS
Log:
Update to 2.4.4. Reworked the module quite a bit. All valid config
files are left intact .. no functionality is lost.



Modified: moonbase/trunk/net/ppp/BUILD
===================================================================
--- moonbase/trunk/net/ppp/BUILD	2007-03-04 10:36:32 UTC (rev 23482)
+++ moonbase/trunk/net/ppp/BUILD	2007-03-04 11:40:08 UTC (rev 23483)
@@ -1,44 +1,29 @@
 (
 
-	if [ $WITH_MPPE == "y" ]; then
-	  patch_it $SOURCE2 1
-	fi &&
+        add_priv_group ppp &&
 
-	sedit "s/FILTER=y/#FILTER=y/"       pppd/Makefile.linux  &&
-	sedit "s/usr\/man/usr\/share\/man/" linux/Makefile.top   &&
-
-        prepare_install  &&
-	default_build    &&
+        default_build &&
+        make install-etcppp &&
 	
-	mkdir  -p  /etc/ppp/peers  &&
-	mkdir  -p  /etc/ppp/chat  &&
+	mkdir  -p  /etc/ppp/{peers,chat}  &&
 
 	if ! [ -f /etc/resolv.conf ]; then
 		ln  -f  /etc/ppp/resolv.conf /etc/resolv.conf
-  	fi
+  	fi &&
 
-	cp  $SCRIPT_DIRECTORY/pon   /usr/bin  &&
-	cp  $SCRIPT_DIRECTORY/poff  /usr/bin  &&
+	install -m755  $SCRIPT_DIRECTORY/pon \
+                       $SCRIPT_DIRECTORY/poff  /usr/bin  &&
 
-	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 /etc/ppp/peers/isp
-  	fi
+		install -m644  $SCRIPT_DIRECTORY/peers /etc/ppp/peers/isp
+  	fi &&
 
 	if  [  !  -e  /etc/ppp/chat/isp  ];  then
-		cp  $SCRIPT_DIRECTORY/isp  /etc/ppp/chat/isp
-	fi
+		install -m644  $SCRIPT_DIRECTORY/isp  /etc/ppp/chat/isp
+	fi &&
 
-	cat  $SCRIPT_DIRECTORY/message  &&
+	chown -R root:ppp /usr/sbin/pppd /etc/ppp &&
+	chmod 4750 /usr/sbin/pppd  &&
+	chmod 600 /etc/ppp/*-secrets
 
-        groupadd ppp        2>/dev/null
-	chown  root:ppp     /usr/sbin/pppd  &&
-	chmod  4750         /usr/sbin/pppd  &&
-	chown  -R root:ppp  /etc/ppp  &&
-	touch               /etc/ppp/{chap,pap}-secrets &&
-	chmod  600          /etc/ppp/*-secrets
-
 ) > $C_FIFO 2>&1

Deleted: moonbase/trunk/net/ppp/CONFIGURE

Modified: moonbase/trunk/net/ppp/DETAILS
===================================================================
--- moonbase/trunk/net/ppp/DETAILS	2007-03-04 10:36:32 UTC (rev 23482)
+++ moonbase/trunk/net/ppp/DETAILS	2007-03-04 11:40:08 UTC (rev 23483)
@@ -1,16 +1,12 @@
           MODULE=ppp
-         VERSION=2.4.3
+         VERSION=2.4.4
           SOURCE=$MODULE-$VERSION.tar.gz
-         SOURCE2=$MODULE-$VERSION-mppe-mppc-1.1.patch.gz
-   SOURCE_URL[0]=ftp://ftp.samba.org/pub/ppp/
-   SOURCE_URL[1]=ftp://cs.anu.edu.au/pub/software/$MODULE/
-  SOURCE2_URL[0]=$PATCH_URL
-  SOURCE2_URL[1]=http://www.polbox.com/h/hs001/
-      SOURCE_VFY=sha1:5e2789f4dedc81943fa9f94c840cccc2407056f7
-     SOURCE2_VFY=sha1:a230ee8cdb7e87b0134a4aa37fa21a4f2c373e79
+   SOURCE_URL[0]=http://samba.org/ftp/ppp/
+   SOURCE_URL[1]=ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/
+      SOURCE_VFY=sha1:9b91b0117e0a8bfaf8c4e894af79e0960dd36259
         WEB_SITE=http://www.samba.org/ppp
          ENTERED=20010922
-         UPDATED=20060903
+         UPDATED=20070304
            SHORT="A server/client for for point to point protocol."
 
 cat << EOF

Deleted: moonbase/trunk/net/ppp/message

Deleted: moonbase/trunk/net/ppp/options



More information about the Lunar-commits mailing list