summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-17 18:38:44 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-17 18:39:00 +0100
commit29afcce64732a333017c2c10bfc083c1af3271f7 (patch)
tree3f9c813368e193092595f94f29ac26d7f9cf4061
parentapp-admin/sysklogd: Fixing build issue with Glibc 2.24. bug #604232 (diff)
downloadgentoo-29afcce64732a333017c2c10bfc083c1af3271f7.tar.gz
gentoo-29afcce64732a333017c2c10bfc083c1af3271f7.tar.bz2
gentoo-29afcce64732a333017c2c10bfc083c1af3271f7.zip
app-admin/sysklogd: Minor ebuild enhancements.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--app-admin/sysklogd/sysklogd-1.5.1-r1.ebuild30
1 files changed, 19 insertions, 11 deletions
diff --git a/app-admin/sysklogd/sysklogd-1.5.1-r1.ebuild b/app-admin/sysklogd/sysklogd-1.5.1-r1.ebuild
index 9fdc76a7b23d..4ca42aac0213 100644
--- a/app-admin/sysklogd/sysklogd-1.5.1-r1.ebuild
+++ b/app-admin/sysklogd/sysklogd-1.5.1-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=5
inherit eutils flag-o-matic toolchain-funcs
@@ -22,19 +22,25 @@ DEPEND=""
RDEPEND="dev-lang/perl
sys-apps/debianutils"
-src_prepare() {
- epatch "${WORKDIR}"/${PN}_${DEB_PV}.diff
+DOCS=( ANNOUNCE CHANGES NEWS README.1st README.linux )
+
+PATCHES=(
+ "${WORKDIR}"/${PN}_${DEB_PV}.diff
- epatch "${FILESDIR}"/${PN}-1.5-debian-cron.patch
- epatch "${FILESDIR}"/${PN}-1.5-build.patch
+ "${FILESDIR}"/${PN}-1.5-debian-cron.patch
+ "${FILESDIR}"/${PN}-1.5-build.patch
# CAEN/OWL security patches
- epatch "${FILESDIR}"/${PN}-1.4.2-caen-owl-syslogd-bind.diff
- epatch "${FILESDIR}"/${PN}-1.4.2-caen-owl-syslogd-drop-root.diff
- epatch "${FILESDIR}"/${PN}-1.4.2-caen-owl-klogd-drop-root.diff
+ "${FILESDIR}"/${PN}-1.4.2-caen-owl-syslogd-bind.diff
+ "${FILESDIR}"/${PN}-1.4.2-caen-owl-syslogd-drop-root.diff
+ "${FILESDIR}"/${PN}-1.4.2-caen-owl-klogd-drop-root.diff
+
+ "${FILESDIR}"/${PN}-1.5-syslog-func-collision.patch #342601
+ "${FILESDIR}"/${PN}-1.5-glibc-2.24.patch #604232
+)
- epatch "${FILESDIR}"/${PN}-1.5-syslog-func-collision.patch #342601
- epatch "${FILESDIR}"/${PN}-1.5-glibc-2.24.patch #604232
+src_prepare() {
+ epatch "${PATCHES[@]}"
}
src_configure() {
@@ -56,7 +62,9 @@ src_install() {
exeinto /etc/cron.weekly
newexe debian/cron.weekly syslog
fi
- dodoc ANNOUNCE CHANGES NEWS README.1st README.linux
+
+ einstalldocs
+
newinitd "${FILESDIR}"/sysklogd.rc7 sysklogd
newconfd "${FILESDIR}"/sysklogd.confd sysklogd
}