Update of /cvsroot/leaf/src/bering-uclibc/contrib/xl2tpd In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv5776
Added Files: buildtool.cfg buildtool.mk optimize.patch.gz xl2tpd-1.04.tar.gz xl2tpd.init xl2tpd.options Log Message: Initial import --- NEW FILE: xl2tpd.options --- auth hide-password #proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx --- NEW FILE: xl2tpd-1.04.tar.gz --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xl2tpd.init --- #!/bin/sh #/etc/init.d/l2tpd: start L2TP daemon. RCDLINKS="0,K41 1,K41 2,S43 3,S43 4,S43 5,S43 6,K41" test -x /usr/sbin/l2tpd || exit 0 # Set run_l2tpd to 1 to start l2tpd or 0 to disable it. run_l2tpd=1 case "$1" in start) if [ $run_l2tpd = 1 ] then echo -n "Starting L2TP daemon... " if start-stop-daemon --start --quiet --exec /usr/sbin/l2tpd then echo done. else echo failed. fi fi ;; stop) if [ $run_l2tpd = 1 ] then echo -n "Stopping L2TP daemon..." if start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/l2tpd then echo done. else echo failed. fi fi ;; *) echo "Usage: /etc/init.d/l2tpd {start|stop}" exit 1 esac exit 0 --- NEW FILE: optimize.patch.gz --- (This appears to be a binary file; contents omitted.) --- NEW FILE: buildtool.mk --- include $(MASTERMAKEFILE) XL2TPD_DIR:=xl2tp-1.04 $(XL2TPD_DIR)/.source: zcat $(XL2TPD_SOURCE) | tar -xvf - zcat $(XL2TPD_PATCH1) | patch -d $(XL2TPD_DIR) -p1 touch $(XL2TPD_DIR)/.source source: $(XL2TPD_DIR)/.source $(XL2TPD_DIR)/.build: $(MAKE) -C $(XL2TPD_DIR) CC=$(TARGET_CC) LD=$(TARGET_LD) DFLAGS="$(BT_COPT_FLAGS) -DDEBUG_PPPD" mkdir -p $(BT_STAGING_DIR)/etc/l2tpd mkdir -p $(BT_STAGING_DIR)/usr/sbin mkdir -p $(BT_STAGING_DIR)/etc/init.d mkdir -p $(BT_STAGING_DIR)/etc/ppp cp $(XL2TPD_DIR)/l2tpd $(BT_STAGING_DIR)/usr/sbin/ cp $(XL2TPD_INITD) $(BT_STAGING_DIR)/etc/init.d/l2tpd cp $(XL2TPD_OPTIONS) $(BT_STAGING_DIR)/etc/ppp/options.l2tpd cp $(XL2TPD_DIR)/doc/l2tpd.conf.sample $(BT_STAGING_DIR)/etc/l2tpd/l2tpd.conf cp $(XL2TPD_DIR)/doc/l2tp-secrets.sample $(BT_STAGING_DIR)/etc/l2tpd/l2tp-secrets $(BT_STRIP) $(BT_STRIP_BINOPTS) $(BT_STAGING_DIR)/usr/sbin/l2tpd touch $(XL2TPD_DIR)/.build build: $(XL2TPD_DIR)/.build clean: $(MAKE) -C $(XL2TPD_DIR) clean rm -f $(BT_STAGING_DIR)/usr/sbin/l2tpd rm -f $(BT_STAGING_DIR)/etc/l2tpd/l2tpd.conf rm -f $(BT_STAGING_DIR)/etc/l2tpd/l2tp-secrets rm -f $(BT_STAGING_DIR)/etc/init.d/l2tpd rm -f $(BT_STAGING_DIR)/etc/ppp/options.l2tpd -rmdir $(BT_STAGING_DIR)/etc/init.d -rmdir $(BT_STAGING_DIR)/etc/l2tpd -rmdir $(BT_STAGING_DIR)/etc/ppp rm -f $(XL2TPD_DIR)/.build srcclean: clean rm -rf $(XL2TPD_DIR) --- NEW FILE: buildtool.cfg --- <File buildtool.mk> Server = cvs-contrib-sourceforge Directory = xl2tpd </File> <File xl2tpd-1.04.tar.gz> Server = cvs-contrib-sourceforge Directory = xl2tpd envname = XL2TPD_SOURCE </File> <File optimize.patch.gz> Server = cvs-contrib-sourceforge Directory = xl2tpd envname = XL2TPD_PATCH1 </File> <File xl2tpd.init> Server = cvs-contrib-sourceforge Directory = xl2tpd envname = XL2TPD_INITD </File> <File xl2tpd.options> Server = cvs-contrib-sourceforge Directory = xl2tpd envname = XL2TPD_OPTIONS </File> <Package> <xl2tpd> Version = 1.04 Revision = 1 Help <<EOF L2TP daemon (Xelerance Corporation) LRP package by __PACKAGER__, __BUILDDATE__ EOF <Permissions> Files = 644 Directories = 755 </Permissions> <Owner> Files = root:root Directories = root:root </Owner> <Contents> <File> Filename = usr/sbin/l2tpd Source = usr/sbin/l2tpd Type = binary Permissions = 755 </File> <File> Filename = etc/l2tpd/l2tpd.conf Source = etc/l2tpd/l2tpd.conf Type = conf Type = binary </File> <File> Filename = etc/l2tpd/l2tp-secrets Source = etc/l2tpd/l2tp-secrets Type = conf Type = binary Permissions = 600 </File> <File> Filename = etc/init.d/l2tpd Source = etc/init.d/l2tpd Type = conf Type = binary Permissions = 755 </File> </Contents> </xl2tpd> </Package> _______________________________________________ leaf-cvs-commits mailing list leaf-cvs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits