summaryrefslogtreecommitdiff
path: root/recipes/sysklogd
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/sysklogd
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/sysklogd')
-rw-r--r--recipes/sysklogd/sysklogd-1.4.1/nonrootinstall.patch19
-rw-r--r--recipes/sysklogd/sysklogd-1.5/nonrootinstall.patch21
-rw-r--r--recipes/sysklogd/sysklogd.inc17
-rw-r--r--recipes/sysklogd/sysklogd_1.4.1.bb1
-rw-r--r--recipes/sysklogd/sysklogd_1.5.bb1
5 files changed, 59 insertions, 0 deletions
diff --git a/recipes/sysklogd/sysklogd-1.4.1/nonrootinstall.patch b/recipes/sysklogd/sysklogd-1.4.1/nonrootinstall.patch
new file mode 100644
index 0000000000..062b06cc50
--- /dev/null
+++ b/recipes/sysklogd/sysklogd-1.4.1/nonrootinstall.patch
@@ -0,0 +1,19 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- sysklogd-1.4.1/Makefile~nonrootinstall
++++ sysklogd-1.4.1/Makefile
+@@ -116,7 +116,7 @@
+ ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd
+
+ install_man:
+- ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 sysklogd.8 ${MANDIR}/man8/sysklogd.8
+- ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 syslogd.8 ${MANDIR}/man8/syslogd.8
+- ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
+- ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 klogd.8 ${MANDIR}/man8/klogd.8
++ ${INSTALL} -m 644 sysklogd.8 ${MANDIR}/man8/sysklogd.8
++ ${INSTALL} -m 644 syslogd.8 ${MANDIR}/man8/syslogd.8
++ ${INSTALL} -m 644 syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
++ ${INSTALL} -m 644 klogd.8 ${MANDIR}/man8/klogd.8
diff --git a/recipes/sysklogd/sysklogd-1.5/nonrootinstall.patch b/recipes/sysklogd/sysklogd-1.5/nonrootinstall.patch
new file mode 100644
index 0000000000..1f15fa5a46
--- /dev/null
+++ b/recipes/sysklogd/sysklogd-1.5/nonrootinstall.patch
@@ -0,0 +1,21 @@
+upstream: not applicable. It seems upstream has made a conscious choice here. See lines 56-61 in the Makefile.
+
+Index: tmp/sysklogd-1.5/Makefile
+===================================================================
+--- sysklogd-1.5.orig/Makefile 2008-07-19 13:33:35.793734746 +0200
++++ sysklogd-1.5/Makefile 2008-07-19 13:34:07.351535636 +0200
+@@ -131,10 +131,10 @@
+ ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd
+
+ install_man:
+- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
+- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
+- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
+- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
++ ${INSTALL} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
++ ${INSTALL} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
++ ${INSTALL} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
++ ${INSTALL} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
+
+ obj-m += oops.o
+
diff --git a/recipes/sysklogd/sysklogd.inc b/recipes/sysklogd/sysklogd.inc
new file mode 100644
index 0000000000..da05c0e02e
--- /dev/null
+++ b/recipes/sysklogd/sysklogd.inc
@@ -0,0 +1,17 @@
+LICENSE = "GPL"
+SECTION = "base"
+DESCRIPTION = "The sysklogd package implements \
+two system log daemons."
+
+SRC_URI = "http://www.ibiblio.org/pub/Linux/system/daemons/sysklogd-${PV}.tar.gz \
+ file://nonrootinstall.patch;patch=1"
+
+CFLAGS_append = " -DSYSV"
+
+do_install () {
+ install -d ${D}${mandir}/man8 \
+ ${D}${mandir}/man5 \
+ ${D}${bindir}
+ oe_runmake 'BINDIR=${D}${bindir}' \
+ 'MANDIR=${D}${mandir}' install
+}
diff --git a/recipes/sysklogd/sysklogd_1.4.1.bb b/recipes/sysklogd/sysklogd_1.4.1.bb
new file mode 100644
index 0000000000..31843d603f
--- /dev/null
+++ b/recipes/sysklogd/sysklogd_1.4.1.bb
@@ -0,0 +1 @@
+require sysklogd.inc
diff --git a/recipes/sysklogd/sysklogd_1.5.bb b/recipes/sysklogd/sysklogd_1.5.bb
new file mode 100644
index 0000000000..31843d603f
--- /dev/null
+++ b/recipes/sysklogd/sysklogd_1.5.bb
@@ -0,0 +1 @@
+require sysklogd.inc