cherokee: move systemd support to meta-systemd
authorAndreas Müller <schnitzeltony@googlemail.com>
Sun, 10 Jun 2012 21:46:51 +0000 (21:46 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:21:34 +0000 (08:21 -0800)
(From meta-openembedded rev: c203043683deff90b4d80c326bf6b27a28a59386)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bb
meta-openembedded/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee/cherokee.service [moved from meta-openembedded/meta-oe/recipes-connectivity/cherokee/cherokee/cherokee.service with 100% similarity]
meta-openembedded/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend [new file with mode: 0644]

index a4835e0..f481c42 100644 (file)
@@ -5,17 +5,16 @@ SECTION = "network"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-PR = "r4"
+PR = "r5"
 
 DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \
-           file://cherokee.init \
-           file://cherokee.service"
+           file://cherokee.init"
 SRC_URI[md5sum] = "21b01e7d45c0e82ecc0c4257a9c27feb"
 SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a078b7d"
 
-inherit autotools pkgconfig binconfig update-rc.d systemd
+inherit autotools pkgconfig binconfig update-rc.d
 
 EXTRA_OECONF = "--disable-static \
                 --disable-nls \
@@ -45,6 +44,3 @@ CONFFILES_${PN} = " \
 
 INITSCRIPT_NAME = "cherokee"
 INITSCRIPT_PARAMS = "defaults 91 91"
-
-SYSTEMD_PACKAGES = "${PN}-systemd"
-SYSTEMD_SERVICE = "cherokee.service"
diff --git a/meta-openembedded/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend b/meta-openembedded/meta-systemd/meta-oe/recipes-connectivity/cherokee/cherokee_1.2.98.bbappend
new file mode 100644 (file)
index 0000000..7cc7dd8
--- /dev/null
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SRC_URI += "file://cherokee.service"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "cherokee.service"