ppp: remove package 'ppp', remove ppp support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-25 17:51:22 +01:00
parent ff2e750900
commit 17bf48cd84
12 changed files with 0 additions and 218 deletions

View File

@ -20,19 +20,6 @@ cp $KERNEL_CFG_FILE $LINUX/.config
sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$PKG_DIR/config/initramfs\"|" \
$LINUX/.config
if [ "$PPP_DAEMON" = yes ]; then
echo "CONFIG_PPP=m" >> $LINUX/.config
echo "CONFIG_PPP_MULTILINK=n" >> $LINUX/.config
echo "CONFIG_PPP_FILTER=n" >> $LINUX/.config
echo "CONFIG_PPP_ASYNC=m" >> $LINUX/.config
echo "CONFIG_PPP_SYNC_TTY=m" >> $LINUX/.config
echo "CONFIG_PPP_DEFLATE=n" >> $LINUX/.config
echo "CONFIG_PPP_BSDCOMP=n" >> $LINUX/.config
echo "CONFIG_PPP_MPPE=n" >> $LINUX/.config
echo "CONFIG_PPPOE=y" >> $LINUX/.config
echo "CONFIG_PPPOL2TP=n" >> $LINUX/.config
fi
# copy some extra firmware to linux tree
cp -R $PKG_DIR/firmware/* $LINUX/firmware

View File

@ -9,5 +9,3 @@ $SCRIPTS/install ethtool
if [ "$NETMOUNT" = "yes" ]; then
$SCRIPTS/install netmount
fi
#[ "$PPP_DAEMON" = yes ] && $SCRIPTS/install ppp

View File

@ -1,12 +0,0 @@
#!/bin/sh
. config/options $1
cd $PKG_BUILD
./configure
sed -i "s/^FILTER=y/#FILTER=y/" pppd/Makefile
make CC="$TARGET_CC" COPTS="$TARGET_CFLAGS"

View File

@ -1,21 +0,0 @@
plugin /etc/ppp/plugins/rp-pppoe.so
# Ethernet interface name
eth0
# Your username at the ISP
#user ""
# What should be in the second column in /etc/ppp/*-secrets
remotename "chap"
# If needed, specify the service and the access concentrator name
# rp_pppoe_service "internet"
# rp_pppoe_ac "ac1"
# The settings below usually don't need to be changed
noauth
hide-password
updetach
debug
defaultroute
noipdefault
usepeerdns

View File

@ -1,53 +0,0 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
# start pppoe connection
#
# runlevels: openelec, textmode
. /etc/profile
progress "Starting pppoe connection"
ifconfig eth0 up
echo "nameserver 8.8.8.8" >> /var/cache/resolv.conf
echo "nameserver 8.8.4.4" >> /var/cache/resolv.conf
cp /etc/ppp/chap-secrets.sample /storage/.config/
cp /etc/ppp/pap-secrets.sample /storage/.config/
cp /etc/ppp/peers/adsl.sample /storage/.config/
cp /storage/.config/chap-secrets /var/cache
cp /storage/.config/pap-secrets /var/cache
cp /storage/.config/adsl /var/cache
modprobe ppp_generic
modprobe ppp_async
modprobe pppoe
pppd call adsl
sleep 5

View File

@ -1,37 +0,0 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/etc/ppp
cp $PKG_BUILD/etc.ppp/chap-secrets $INSTALL/etc/ppp/chap-secrets.sample
cp $PKG_BUILD/etc.ppp/pap-secrets $INSTALL/etc/ppp/pap-secrets.sample
# /etc/ppp/chap-secrets and /etc/ppp/pap-secets must be writeable
ln -sf /var/cache/chap-secrets $INSTALL/etc/ppp/chap-secrets
ln -sf /var/cache/pap-secrets $INSTALL/etc/ppp/pap-secrets
mkdir -p $INSTALL/etc/ppp/peers
cp $PKG_DIR/config/adsl.sample $INSTALL/etc/ppp/peers/
# /etc/ppp/peers/adsl must be writeable
ln -sf /var/cache/adsl $INSTALL/etc/ppp/peers/adsl
mkdir -p $INSTALL/etc/ppp/plugins
cp $PKG_BUILD/pppd/plugins/rp-pppoe/rp-pppoe.so $INSTALL/etc/ppp/plugins
mkdir -p $INSTALL/usr/sbin
cp $PKG_DIR/scripts/pppoe-setup $INSTALL/usr/sbin
cp $PKG_BUILD/scripts/ppp-on $INSTALL/usr/sbin/pon
cp $PKG_BUILD/scripts/ppp-off $INSTALL/usr/sbin/poff
cp $PKG_BUILD/scripts/ppp-on-dialer $INSTALL/usr/sbin
cp $PKG_BUILD/scripts/plog $INSTALL/usr/sbin
cp $PKG_BUILD/chat/chat $INSTALL/usr/sbin
cp $PKG_BUILD/pppd/pppd $INSTALL/usr/sbin
cp $PKG_BUILD/pppd/plugins/rp-pppoe/pppoe-discovery $INSTALL/usr/sbin/
cp $PKG_BUILD/pppdump/pppdump $INSTALL/usr/sbin
cp $PKG_BUILD/pppstats/pppstats $INSTALL/usr/sbin
mkdir -p $INSTALL/usr/lib/pppd/2.4.5
cp $PKG_BUILD/pppd/plugins/*.so $INSTALL/usr/lib/pppd/2.4.5

View File

@ -1,16 +0,0 @@
PKG_NAME="ppp"
PKG_VERSION="2.4.5"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.samba.org/ppp/"
PKG_URL="http://ppp.samba.org/ftp/ppp/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="ppp: The PPP user level programs"
PKG_LONGDESC="The Point-to-Point Protocol (PPP) provides a standard way to establish a network connection over a serial link. At present, this package supports IP and the protocols layered above IP, such as TCP and UDP. The Linux port of this package also has support for IPX."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -1,52 +0,0 @@
#!/bin/sh
echo "Adsl configure........."
while [ true ] ; do
echo ""
echo "USER NAME"
echo ""
printf "%s" ">>> Enter your PPPoE user name (default $user): "
read Uu
if [ "$Uu" = "" ] ; then
Uu="$user"
fi
U=`echo $Uu | sed -e "s/&/\\\\\&/g"`
while [ true ] ; do
echo ""
echo "PASSWORD"
echo ""
printf "%s" ">>> Please enter your PPPoE password: "
read PWD1
echo ""
printf "%s" ">>> Please re-enter your PPPoE password: "
read PWD2
echo ""
if [ "$PWD1" = "$PWD2" ] ; then
break
fi
printf "%s" ">>> Sorry, the passwords do not match. Try again? (y/n)"
read ANS
case "$ANS" in
N|No|NO|Non|n|no|non)
echo "OK, quitting. Bye."
exit 1
esac
done
echo "\"$Uu\" * \"$PWD1\"" > /storage/.config/chap-secrets
cp /storage/.config/chap-secrets /var/cache/
echo "\"$Uu\" * \"$PWD1\"" > /storage/.config/pap-secrets
cp /storage/.config/pap-secrets /var/cache/
exit 0
done

View File

@ -99,9 +99,6 @@
# build with netmount (mounting network drives on boot) support (yes / no)
NETMOUNT="yes"
# build ppp daemon (for configuring adsl etc...) (yes / no)
PPP_DAEMON="no"
# build and install with XBMC webfrontend (yes / no)
WEBSERVER="yes"

View File

@ -98,9 +98,6 @@
# build with netmount (mounting network drives on boot) support (yes / no)
NETMOUNT="yes"
# build ppp daemon (for configuring adsl etc...) (yes / no)
PPP_DAEMON="no"
# build and install with XBMC webfrontend (yes / no)
WEBSERVER="yes"

View File

@ -98,9 +98,6 @@
# build with netmount (mounting network drives on boot) support (yes / no)
NETMOUNT="yes"
# build ppp daemon (for configuring adsl etc...) (yes / no)
PPP_DAEMON="no"
# build and install with XBMC webfrontend (yes / no)
WEBSERVER="yes"

View File

@ -98,9 +98,6 @@
# build with netmount (mounting network drives on boot) support (yes / no)
NETMOUNT="yes"
# build ppp daemon (for configuring adsl etc...) (yes / no)
PPP_DAEMON="no"
# build and install with XBMC webfrontend (yes / no)
WEBSERVER="yes"