mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
connman: add optional PPTP support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6770357f61
commit
9ec1f7e571
@ -13,6 +13,7 @@ Package updates:
|
|||||||
|
|
||||||
Added functions:
|
Added functions:
|
||||||
- sshd can be enabled via OpenELEC Settings addon
|
- sshd can be enabled via OpenELEC Settings addon
|
||||||
|
- add PPTP support
|
||||||
|
|
||||||
Changed functions:
|
Changed functions:
|
||||||
|
|
||||||
|
@ -22,6 +22,14 @@
|
|||||||
|
|
||||||
. config/options $1
|
. 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"
|
export WPASUPPLICANT="/usr/bin/wpa_supplicant"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
@ -47,7 +55,7 @@ cd $PKG_BUILD
|
|||||||
--disable-openvpn \
|
--disable-openvpn \
|
||||||
--disable-vpnc \
|
--disable-vpnc \
|
||||||
--disable-l2tp \
|
--disable-l2tp \
|
||||||
--disable-pptp \
|
$CONNMAN_PPTP \
|
||||||
--disable-tist \
|
--disable-tist \
|
||||||
--disable-pacrunner \
|
--disable-pacrunner \
|
||||||
--disable-iwmx \
|
--disable-iwmx \
|
||||||
|
@ -41,6 +41,9 @@ mkdir -p $INSTALL/usr/bin
|
|||||||
mkdir -p $INSTALL/usr/lib/connman
|
mkdir -p $INSTALL/usr/lib/connman
|
||||||
cp -P $PKG_BUILD/test/* $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
|
mkdir -p $INSTALL/usr/sbin
|
||||||
cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin
|
cp -P $PKG_BUILD/src/connmand $INSTALL/usr/sbin
|
||||||
|
|
||||||
|
@ -34,3 +34,8 @@ PKG_LONGDESC="The ConnMan project provides a daemon for managing internet connec
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
if [ "$PPTP_SUPPORT" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS ppp pptp"
|
||||||
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS ppp pptp"
|
||||||
|
fi
|
||||||
|
@ -211,6 +211,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -212,6 +212,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="no"
|
SSHGUARD_SUPPORT="no"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -210,6 +210,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
@ -206,6 +206,9 @@
|
|||||||
# build and install SSH Guard (yes / no)
|
# build and install SSH Guard (yes / no)
|
||||||
SSHGUARD_SUPPORT="yes"
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install PPP support (yes / no)
|
||||||
|
PPTP_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install diskmounter service (udisks)
|
# build and install diskmounter service (udisks)
|
||||||
# this service provide auto mounting support for external drives
|
# this service provide auto mounting support for external drives
|
||||||
# in the mediacenter also automount internally drives at boottime (yes / no)
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user