Maemo: Register charon as D-BUS system service.
In order to be able to access this service via libosso, charon is started with the run-standalone.sh script, which sets up the required environment.laforge/swu
parent
8411dc6e70
commit
2bce814190
|
@ -625,6 +625,11 @@ if test x$android = xtrue; then
|
|||
AC_SUBST(DLLIB)
|
||||
fi
|
||||
|
||||
if test x$maemo = xtrue; then
|
||||
dbusservicedir="/usr/share/dbus-1/system-services"
|
||||
AC_SUBST(dbusservicedir)
|
||||
fi
|
||||
|
||||
if test x$nm = xtrue; then
|
||||
PKG_CHECK_EXISTS([libnm-glib],
|
||||
[PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm-glib libnm-glib-vpn])],
|
||||
|
|
|
@ -15,3 +15,7 @@ libstrongswan_maemo_la_SOURCES = \
|
|||
|
||||
libstrongswan_maemo_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
dbusservice_DATA = org.strongswan.charon.service
|
||||
|
||||
EXTRA_DIST = $(dbusservice_DATA)
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[D-BUS Service]
|
||||
Name=org.strongswan.charon
|
||||
Exec=/usr/bin/run-standalone.sh /usr/libexec/ipsec/charon
|
||||
User=root
|
Loading…
Reference in New Issue