All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Müller" <schnitzeltony@googlemail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [RFC, meta-oe 08/27] syslog-ng: move systemd support to meta-systemd
Date: Sun, 10 Jun 2012 23:46:41 +0200	[thread overview]
Message-ID: <1339364820-2880-9-git-send-email-schnitzeltony@googlemail.com> (raw)
In-Reply-To: <1339364820-2880-1-git-send-email-schnitzeltony@googlemail.com>

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc    |    9 ++-------
 .../syslog-ng/syslog-ng_3.2.5.bbappend             |   11 +++++++++++
 2 files changed, 13 insertions(+), 7 deletions(-)
 create mode 100644 meta-systemd/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bbappend

diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index 50ce4a4..584e4a4 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"
 # update-rc.d and update-alternatives is important
 RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 
-INC_PR = "r8"
+INC_PR = "r9"
 
-inherit autotools systemd
+inherit autotools
 
 SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/${PN}_${PV}.tar.gz"
 
@@ -25,8 +25,6 @@ EXTRA_OECONF = " \
   --disable-linux-caps \
   --disable-pcre \
   --disable-sql \
-  --enable-systemd \
-  --with-systemdsystemunitdir=${systemd_unitdir}/system \
 "
 
 do_configure_prepend() {
@@ -44,9 +42,6 @@ do_install_append() {
         install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}
 }
 
-SYSTEMD_PACKAGES = "${PN}-systemd"
-SYSTEMD_SERVICE = "${PN}.service"
-
 FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
             ${sysconfdir} ${sharedstatedir} ${localstatedir} \
             ${base_bindir}/* ${base_sbindir}/* \
diff --git a/meta-systemd/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bbappend b/meta-systemd/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bbappend
new file mode 100644
index 0000000..92c2e77
--- /dev/null
+++ b/meta-systemd/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bbappend
@@ -0,0 +1,11 @@
+inherit systemd
+
+PRINC := "${@int(PRINC) + 1}"
+
+EXTRA_OECONF += " \
+  --enable-systemd \
+  --with-systemdsystemunitdir=${systemd_unitdir}/system \
+"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "${PN}.service"
-- 
1.7.4.4




  parent reply	other threads:[~2012-06-10 21:52 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-10 21:46 [RFC, meta-oe 00/27] transit to meta-systemd (cover-letter-only) Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 01/27] systemd.bbclass: move to meta-systemd Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 02/27] move systemd recipes " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 03/27] layer.conf/README: search directory structure for bbappends changed Andreas Müller
2012-06-10 23:12   ` Khem Raj
2012-06-11  8:52     ` Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 04/27] polkit: meta-systemd rework Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 05/27] gdm: move systemd support to meta-systemd Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 06/27] busybox: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 07/27] ntp: " Andreas Müller
2012-06-10 21:46 ` Andreas Müller [this message]
2012-06-10 21:46 ` [RFC, meta-oe 09/27] udisks: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 10/27] lighttpd: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 11/27] cronie: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 12/27] elsa: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 13/27] net-snmp: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 14/27] atftp: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 15/27] dhcp: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 16/27] connman: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 17/27] gateone: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 18/27] cherokee: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 19/27] openssh: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 20/27] cloud9: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 21/27] xinput-calibrator: : " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 22/27] xserver-nodm-init: " Andreas Müller
2012-06-21  7:35   ` [RFC, meta-oe 22/27 v2] " Martin Jansa
2012-06-21 18:00     ` Koen Kooi
2012-06-21 18:10       ` Martin Jansa
2012-06-21 18:30         ` Andreas Müller
2012-06-21 19:02           ` Martin Jansa
2012-06-21 19:04           ` Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 23/27] dropbear: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 24/27] keymaps: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 25/27] rsyslog: " Andreas Müller
2012-06-10 21:46 ` [RFC, meta-oe 26/27] gpsd: " Andreas Müller
2012-06-10 21:47 ` [RFC, meta-oe 27/27] networkmanager: " Andreas Müller
2012-06-16 17:16 ` [RFC, meta-oe 00/27] transit to meta-systemd (cover-letter-only) Martin Jansa
2012-06-16 17:47   ` Martin Jansa
2012-06-16 17:59   ` Martin Jansa
2012-07-02 21:32 ` Paul Eggleton
2012-07-03  7:21   ` Andreas Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339364820-2880-9-git-send-email-schnitzeltony@googlemail.com \
    --to=schnitzeltony@googlemail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.