diff options
author | 2003-03-23 19:12:30 +0000 | |
---|---|---|
committer | 2003-03-23 19:12:30 +0000 | |
commit | d6917b47033753a805336f10b10fa23979a74cb5 (patch) | |
tree | 1564d41c3e34413f39936d539249667f2de3a778 /app-admin/logrotate | |
parent | Worked around a problem with programs/{wcmd,winhelp}. (diff) | |
download | gentoo-2-d6917b47033753a805336f10b10fa23979a74cb5.tar.gz gentoo-2-d6917b47033753a805336f10b10fa23979a74cb5.tar.bz2 gentoo-2-d6917b47033753a805336f10b10fa23979a74cb5.zip |
added selinux support
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/logrotate/files/digest-logrotate-3.6.5 | 1 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.6.5.ebuild | 13 |
3 files changed, 14 insertions, 5 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog index a934cb465c6a..4f91f187edb8 100644 --- a/app-admin/logrotate/ChangeLog +++ b/app-admin/logrotate/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for app-admin/logrotate # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.9 2003/03/23 08:13:01 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.10 2003/03/23 19:12:30 method Exp $ *logrotate-3.6.5 (20 Dec 2002) + 23 Mar 2003; Joshua Brindle <method@gentoo.org> logrotate-3.6.5.ebuild: + added selinux support, thanks pebenito + 23 Mar 2003; Lars Weiler <pylon@gentoo.org> logrotate-3.6.5.ebuild: Set ppc in KEYWORDS diff --git a/app-admin/logrotate/files/digest-logrotate-3.6.5 b/app-admin/logrotate/files/digest-logrotate-3.6.5 index a2b611fc81fc..7976aabdbaaa 100644 --- a/app-admin/logrotate/files/digest-logrotate-3.6.5 +++ b/app-admin/logrotate/files/digest-logrotate-3.6.5 @@ -1 +1,2 @@ MD5 1c707f826f783ffc461a32b34cba5056 logrotate_3.6.5.orig.tar.gz 32086 +MD5 cf9643c28649e31409c9db21acc0dc35 logrotate-3.6.5-2003011510.patch.gz 1850 diff --git a/app-admin/logrotate/logrotate-3.6.5.ebuild b/app-admin/logrotate/logrotate-3.6.5.ebuild index 860d5eb833e7..873d594fae0b 100644 --- a/app-admin/logrotate/logrotate-3.6.5.ebuild +++ b/app-admin/logrotate/logrotate-3.6.5.ebuild @@ -1,20 +1,25 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.6.5.ebuild,v 1.3 2003/03/23 08:13:01 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.6.5.ebuild,v 1.4 2003/03/23 19:12:30 method Exp $ S=${WORKDIR}/${P} DESCRIPTION="Rotates, compresses, and mails system logs" -SRC_URI="http://ftp.debian.org/debian/pool/main/l/${PN}/${PN}_${PV}.orig.tar.gz" +SRC_URI="http://ftp.debian.org/debian/pool/main/l/${PN}/${PN}_${PV}.orig.tar.gz + selinux? http://www.nsa.gov/selinux/patches/${P}-2003011510.patch.gz" HOMEPAGE="http://packages.debian.org/unstable/admin/logrotate.html" -IUSE="" +IUSE="selinux" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ppc ~sparc" +inherit eutils -DEPEND=">=dev-libs/popt-1.5" +DEPEND=">=dev-libs/popt-1.5 + selinux? ( >=sys-apps/selinux-small-2003011510-r2 )" src_compile() { + use selinux && epatch ${DISTDIR}/${P}-2003011510.patch.gz + cp Makefile Makefile.orig sed -e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" Makefile.orig > Makefile make || die |