aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-12-05 11:49:26 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2011-12-06 11:21:10 +0100
commitfe86b9e787a474dbe4a085ce88e0546cba740d3a (patch)
treec7f934363356549dc1ea715cbe4a8ca3cc2a011a /meta-oe
parentaf50ba2d39e55bbf3e603353e73d19953415c267 (diff)
downloadmeta-openembedded-fe86b9e787a474dbe4a085ce88e0546cba740d3a.tar.gz
syslog-ng: enable systemd support
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng.inc12
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bb2
2 files changed, 12 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
index c57c5abf7d..3bbebec717 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
@@ -9,7 +9,7 @@ RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "",
INC_PR = "r6"
-inherit autotools
+inherit autotools systemd
SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/${PN}_${PV}.tar.gz"
@@ -25,6 +25,8 @@ EXTRA_OECONF = " \
--disable-linux-caps \
--disable-pcre \
--disable-sql \
+ --enable-systemd \
+ --with-systemdsystemunitdir=${base_libdir}/systemd/system \
"
do_configure_prepend() {
@@ -42,6 +44,14 @@ do_install_append() {
install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog.${PN}
}
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "${PN}.service"
+
+PACKAGES =+ "${PN}-systemd"
+
+FILES_${PN}-systemd += "${base_libdir}/systemd"
+RDEPENDS_${PN}-systemd += "${PN}"
+
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* \
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bb
index ff1e2479e2..62faa83b2b 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bb
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_3.2.5.bb
@@ -1,5 +1,5 @@
require syslog-ng.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
SRC_URI += " \
file://syslog-ng.conf \
a'>akuster/master_qa OpenEmbedded Core user contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libnsl/libnsl2_git.bb
blob: a539148caf04942c01ce5eb41ffea2cb95c72522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

SUMMARY = "Library containing NIS functions using TI-RPC (IPv6 enabled)"
DESCRIPTION = "This library contains the public client interface for NIS(YP) and NIS+\
               it was part of glibc and now is standalone packages. it also supports IPv6"
HOMEPAGE = "https://github.com/thkukuk/libnsl"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SECTION = "libs"
DEPENDS = "libtirpc"
DEPENDS_append_libc-musl = " bsd-headers"

PV = "1.0.5+git${SRCPV}"

SRCREV = "dfa2f313524aff9243c4d8ce1bace73786478356"

SRC_URI = "git://github.com/thkukuk/libnsl \
           file://0001-include-sys-cdefs.h-explicitly.patch \
           file://0002-Define-glibc-specific-macros.patch \
           file://0001-nis_call.c-Include-stdint.h-for-uintptr_t-definition.patch \
          "

S = "${WORKDIR}/git"

inherit autotools pkgconfig gettext

EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl"

do_install_append() {
	install -d ${D}${libdir}
	mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir}
}

FILES_${PN} += "${libdir}/nsl/*.so.*"
FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so"
FILES_${PN}-staticdev += "${libdir}/nsl/*.a"