Re-tag version since there is no real 1.4.2 and fixup version output #136187.
authorMike Frysinger <vapier@gentoo.org>
Sun, 31 Dec 2006 09:48:29 +0000 (09:48 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Dec 2006 09:48:29 +0000 (09:48 +0000)
Package-Manager: portage-2.1.2_rc4-r2

app-admin/sysklogd/ChangeLog
app-admin/sysklogd/files/digest-sysklogd-1.4.2_pre20051017 [new file with mode: 0644]
app-admin/sysklogd/sysklogd-1.4.2_pre20051017.ebuild [new file with mode: 0644]

index 8bec16eac39afd2c7180e964c541b0372142f868..0f7d6d982d196e022db88547b5ca3064a6f33fc2 100644 (file)
@@ -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 (file)
index 0000000..9d05f8a
--- /dev/null
@@ -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 (file)
index 0000000..efd9adc
--- /dev/null
@@ -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
+}