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.
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])],
libstrongswan_maemo_la_LDFLAGS = -module -avoid-version
+dbusservice_DATA = org.strongswan.charon.service
+
+EXTRA_DIST = $(dbusservice_DATA)
+
--- /dev/null
+[D-BUS Service]
+Name=org.strongswan.charon
+Exec=/usr/bin/run-standalone.sh /usr/libexec/ipsec/charon
+User=root