Skip to content

Commit

Permalink
connman: add optional PPTP support
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <[email protected]>
  • Loading branch information
sraue committed Aug 17, 2012
1 parent 6770357 commit 9ec1f7e
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Package updates:

Added functions:
- sshd can be enabled via OpenELEC Settings addon
- add PPTP support

Changed functions:

Expand Down
10 changes: 9 additions & 1 deletion packages/network/connman/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,7 +55,7 @@ cd $PKG_BUILD
--disable-openvpn \
--disable-vpnc \
--disable-l2tp \
--disable-pptp \
$CONNMAN_PPTP \
--disable-tist \
--disable-pacrunner \
--disable-iwmx \
Expand Down
3 changes: 3 additions & 0 deletions packages/network/connman/install
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions packages/network/connman/meta
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions projects/ATV/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Fusion/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Generic/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Generic_OSS/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/ION/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Intel/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/RPi/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Ultra/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions projects/Virtual/options
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ec1f7e

Please sign in to comment.