diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-11 14:21:18 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-12 19:39:11 +0100 |
| commit | 48a62d1a72190420205c4d7e015c3df092ae66c8 (patch) | |
| tree | 22fcd9fceed29b3a218b11db180d113f2708fce0 | |
| parent | f36e2e2ea4edcd4a0e65ed1c213bce388231214c (diff) | |
| download | meta-openembedded-48a62d1a72190420205c4d7e015c3df092ae66c8.tar.gz | |
strongswam: disable systemd support in meta-oe and reenable it in meta-systemd
* fixes:
strongswan-5.0.0: strongswan: Files/directories were installed but not shipped
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/strongswan.service
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb | 6 | ||||
| -rw-r--r-- | meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb b/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb index 52c8becb0d..efacc8ea4c 100644 --- a/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb +++ b/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb | |||
| @@ -5,7 +5,7 @@ SECTION = "console/network" | |||
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 7 | DEPENDS = "gmp openssl flex-native flex bison-native" | 7 | DEPENDS = "gmp openssl flex-native flex bison-native" |
| 8 | PR = "r1" | 8 | PR = "r2" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" | 10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2" |
| 11 | SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212" | 11 | SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212" |
| @@ -15,6 +15,10 @@ EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ | |||
| 15 | --enable-gmp --disable-mysql --disable-sqlite \ | 15 | --enable-gmp --disable-mysql --disable-sqlite \ |
| 16 | --enable-openssl" | 16 | --enable-openssl" |
| 17 | 17 | ||
| 18 | SYSTEMD_UNITDIR ??= "no" | ||
| 19 | |||
| 20 | EXTRA_OECONF += "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" | ||
| 21 | |||
| 18 | inherit autotools | 22 | inherit autotools |
| 19 | 23 | ||
| 20 | RRECOMMENDS_${PN} = "kernel-module-ipsec" | 24 | RRECOMMENDS_${PN} = "kernel-module-ipsec" |
diff --git a/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend b/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend new file mode 100644 index 0000000000..a60a109afd --- /dev/null +++ b/meta-systemd/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bbappend | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | inherit systemd | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 1}" | ||
| 4 | |||
| 5 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | ||
| 6 | |||
| 7 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
| 8 | SYSTEMD_SERVICE = "${PN}.service" | ||
