diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-31 09:48:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-31 09:48:29 +0000 |
commit | 0fe356b32748fa64a28cfb16d3082cbb568f15fc (patch) | |
tree | bfe8a9f2eb69db3a54f277cdd6dd57e944c75e4f /app-admin | |
parent | dont expand wildcards (diff) | |
download | historical-0fe356b32748fa64a28cfb16d3082cbb568f15fc.tar.gz historical-0fe356b32748fa64a28cfb16d3082cbb568f15fc.tar.bz2 historical-0fe356b32748fa64a28cfb16d3082cbb568f15fc.zip |
Re-tag version since there is no real 1.4.2 and fixup version output #136187.
Package-Manager: portage-2.1.2_rc4-r2
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sysklogd/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20051017 | 6 | ||||
-rw-r--r-- | app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild | 69 |
3 files changed, 82 insertions, 1 deletions
diff --git a/app-admin/sysklogd/ChangeLog b/app-admin/sysklogd/ChangeLog index 8bec16eac39a..0f7d6d982d19 100644 --- a/app-admin/sysklogd/ChangeLog +++ b/app-admin/sysklogd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/sysklogd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/ChangeLog,v 1.49 2006/12/03 18:13:26 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/ChangeLog,v 1.50 2006/12/31 09:48:29 vapier Exp $ + +*sysklogd-1.4.2_pre20051017 (31 Dec 2006) + + 31 Dec 2006; Mike Frysinger <vapier@gentoo.org> + +sysklogd-1.4.2_pre20051017.ebuild, -sysklogd-1.4.2.ebuild: + Re-tag version since there is no real 1.4.2 and fixup version output #136187. 03 Dec 2006; Markus Rothe <corsair@gentoo.org> sysklogd-1.4.2.ebuild: Stable on ppc64 diff --git a/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20051017 b/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20051017 new file mode 100644 index 000000000000..9d05f8a82100 --- /dev/null +++ b/app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20051017 @@ -0,0 +1,6 @@ +MD5 0448667e26888a90da374eb981a9e9a7 sysklogd-1.4.1-cvs-20051017.patch.gz 11006 +RMD160 7ab9d246106c262e8983d0e927167e73b6c1fb70 sysklogd-1.4.1-cvs-20051017.patch.gz 11006 +SHA256 bbc08f11de085880eee1b1ba715a86515f6a500de51e01f4e7fb287c850b984a sysklogd-1.4.1-cvs-20051017.patch.gz 11006 +MD5 d214aa40beabf7bdb0c9b3c64432c774 sysklogd-1.4.1.tar.gz 81784 +RMD160 5e60f1294c45932915a3dcd1018cdc02d005a3e0 sysklogd-1.4.1.tar.gz 81784 +SHA256 44357e0fae8c8f0e315bf130b4e86a4f96b91d66eeb4e473def4ce8336fff102 sysklogd-1.4.1.tar.gz 81784 diff --git a/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild b/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild new file mode 100644 index 000000000000..efd9adccd6ce --- /dev/null +++ b/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild,v 1.1 2006/12/31 09:48:29 vapier Exp $ + +inherit eutils + +CVS_DATE="20051017" +MY_P=${PN}-1.4.1 +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Standard log daemons" +HOMEPAGE="http://www.infodrom.org/projects/sysklogd/" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/daemons/${MY_P}.tar.gz + http://dev.gentoo.org/~merlin/${MY_P}-cvs-${CVS_DATE}.patch.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc64 sparc x86" +IUSE="" +RESTRICT="test" + +DEPEND="" +RDEPEND="dev-lang/perl + sys-apps/debianutils" +PROVIDE="virtual/logger" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${MY_P}-accept.patch + + # CVS patch / effectively version to 1.4.2 + epatch "${WORKDIR}/${MY_P}-cvs-${CVS_DATE}.patch" + + # CAEN/OWL security patches + epatch "${FILESDIR}/${MY_P}-caen-owl-syslogd-bind.diff" + epatch "${FILESDIR}/${MY_P}-caen-owl-syslogd-drop-root.diff" + epatch "${FILESDIR}/${MY_P}-caen-owl-klogd-drop-root.diff" + + # Handle SO_BSDCOMPAT being depricated in 2.5+ kernels. + epatch "${FILESDIR}/${MY_P}-SO_BSDCOMPAT.patch" + + # http://linuxfromscratch.org/pipermail/patches/2003-October/000432.html + epatch "${FILESDIR}/${MY_P}-querymod.patch" + + sed -i -e "/PATCHLEVEL/s:1:1+cvs20051017:" version.h + + sed -i \ + -e "s:-O3:${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE:" \ + Makefile || die "sed CFLAGS" +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dosbin syslogd klogd "${FILESDIR}"/syslogd-listfiles || die "dosbin" + doman *.[1-9] "${FILESDIR}"/syslogd-listfiles.8 + exeinto /etc/cron.daily + newexe "${FILESDIR}"/syslog-cron syslog.cron + dodoc ANNOUNCE CHANGES MANIFEST NEWS README.1st README.linux + dodoc "${FILESDIR}"/syslog.conf + insinto /etc + doins "${FILESDIR}"/syslog.conf + newinitd "${FILESDIR}"/sysklogd.rc6 sysklogd + newconfd "${FILESDIR}"/sysklogd.confd sysklogd +} |