connman: remove vpn support

This commit is contained in:
Stefan Saraev 2015-01-11 16:51:01 +02:00
parent 26df7b4528
commit 83e79ce766
3 changed files with 2 additions and 32 deletions

View File

@ -33,29 +33,15 @@ 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_TARGET="$PKG_DEPENDS_TARGET ppp pptp"
CONNMAN_PPTP="--enable-pptp PPPD=/usr/sbin/pppd PPTP=/usr/sbin/pptp"
else
CONNMAN_PPTP="--disable-pptp"
fi
if [ "$OPENVPN_SUPPORT" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET openvpn"
CONNMAN_OPENVPN="--enable-openvpn --with-openvpn=/usr/sbin/openvpn"
else
CONNMAN_OPENVPN="--disable-openvpn"
fi
PKG_CONFIGURE_OPTS_TARGET="WPASUPPLICANT=/usr/bin/wpa_supplicant \
--disable-gtk-doc \
--disable-debug \
--disable-hh2serial-gps \
--disable-openconnect \
$CONNMAN_OPENVPN \
--disable-openvpn \
--disable-vpnc \
--disable-l2tp \
$CONNMAN_PPTP \
--disable-pptp \
--disable-iospm \
--disable-tist \
--disable-session-policy-local \
@ -82,7 +68,6 @@ PKG_CONFIGURE_OPTS_TARGET="WPASUPPLICANT=/usr/bin/wpa_supplicant \
PKG_MAKE_OPTS_TARGET="storagedir=/storage/.cache/connman \
vpn_storagedir=/storage/.config/vpn-config \
statedir=/run/connman"
post_makeinstall_target() {

View File

@ -1,14 +0,0 @@
[Unit]
Description=ConnMan VPN service
Requires=dbus.socket
After=dbus.socket
[Service]
Type=dbus
BusName=net.connman.vpn
EnvironmentFile=-/run/openelec/debug/connman.conf
ExecStart=/usr/sbin/connman-vpnd -n $CONNMANVPN_DEBUG
StandardOutput=null
[Install]
WantedBy=multi-user.target

View File

@ -18,4 +18,3 @@
d /run/connman 0755 root root - -
d /storage/.cache/connman 0755 root root - -
d /storage/.config/vpn-config 0755 root root - -