connman: add optional PPTP support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-08-17 17:46:13 +02:00
parent 6770357f61
commit 9ec1f7e571
13 changed files with 45 additions and 1 deletions

View File

@ -13,6 +13,7 @@ Package updates:
Added functions:
- sshd can be enabled via OpenELEC Settings addon
- add PPTP support
Changed functions:

View File

@ -22,6 +22,14 @@
. config/options $1
if [ "$PPTP_SUPPORT" = yes ]; then
CONNMAN_PPTP="--enable-pptp"
export PPPD="/usr/sbin/pppd"
export PPTP="/usr/sbin/pptp"
else
CONNMAN_PPP="--disable-pptp"
fi
export WPASUPPLICANT="/usr/bin/wpa_supplicant"
cd $PKG_BUILD
@ -47,7 +55,7 @@ cd $PKG_BUILD
--disable-openvpn \
--disable-vpnc \
--disable-l2tp \
--disable-pptp \
$CONNMAN_PPTP \
--disable-tist \
--disable-pacrunner \
--disable-iwmx \

View File

@ -41,6 +41,9 @@ mkdir -p $INSTALL/usr/bin
mkdir -p $INSTALL/usr/lib/connman
cp -P $PKG_BUILD/test/* $INSTALL/usr/lib/connman
mkdir -p $INSTALL/usr/lib/connman/scripts
cp -P $PKG_BUILD/scripts/.libs/*.so* $INSTALL/usr/lib/connman/scripts
mkdir -p $INSTALL/usr/sbin
cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin

View File

@ -34,3 +34,8 @@ PKG_LONGDESC="The ConnMan project provides a daemon for managing internet connec
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
if [ "$PPTP_SUPPORT" = yes ]; then
PKG_DEPENDS="$PKG_DEPENDS ppp pptp"
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS ppp pptp"
fi

View File

@ -211,6 +211,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -212,6 +212,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="no"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -210,6 +210,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)

View File

@ -206,6 +206,9 @@
# build and install SSH Guard (yes / no)
SSHGUARD_SUPPORT="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install diskmounter service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)