summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2005-01-02 03:56:46 +0000
committerChris PeBenito <pebenito@gentoo.org>2005-01-02 03:56:46 +0000
commit0a37c95d3b48a8e213148171d5a10bc134ea9cf8 (patch)
tree751d02bc7e16fb47a180d0633ca0659891b0a8ea /app-admin
parentAdd patch from upstream to support alpha/hppa. (diff)
downloadhistorical-0a37c95d3b48a8e213148171d5a10bc134ea9cf8.tar.gz
historical-0a37c95d3b48a8e213148171d5a10bc134ea9cf8.tar.bz2
historical-0a37c95d3b48a8e213148171d5a10bc134ea9cf8.zip
selinux code is now integrated
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logrotate/ChangeLog5
-rw-r--r--app-admin/logrotate/Manifest4
-rw-r--r--app-admin/logrotate/logrotate-3.7.ebuild12
3 files changed, 10 insertions, 11 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog
index 3233dd1ec914..c77ca6a15460 100644
--- a/app-admin/logrotate/ChangeLog
+++ b/app-admin/logrotate/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/logrotate
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.32 2005/01/01 11:08:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.33 2005/01/02 03:56:46 pebenito Exp $
+
+ 01 Jan 2005; Chris PeBenito <pebenito@gentoo.org> logrotate-3.7.ebuild:
+ SELinux code is now integrated in 3.7. Adjust ebuild accordingly.
*logrotate-3.7 (31 Dec 2004)
diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest
index 6924bdcfc7c0..b93b5660df13 100644
--- a/app-admin/logrotate/Manifest
+++ b/app-admin/logrotate/Manifest
@@ -1,6 +1,6 @@
-MD5 75ab91a56c2135673706aafe849327ba ChangeLog 4402
+MD5 c91000d75cded213bc6dc76306f5e24c ChangeLog 4544
MD5 67f6426c285df9fc96384c47d68ae3a6 logrotate-3.6.5-r1.ebuild 1730
-MD5 485f0b8785511b790da557cbde49895d logrotate-3.7.ebuild 1733
+MD5 098cc168fade54d752abb4316bf4860f logrotate-3.7.ebuild 1679
MD5 36f3868207e982d53335b6d9aa2c68f5 metadata.xml 305
MD5 bdf48119e016d4ee8b829da9e83959bf files/digest-logrotate-3.6.5-r1 71
MD5 ef1405c48d23249f97330709d1d2a093 files/logrotate-3.6.5-selinux.diff.bz2 1440
diff --git a/app-admin/logrotate/logrotate-3.7.ebuild b/app-admin/logrotate/logrotate-3.7.ebuild
index 3f8689102ba9..05308d59de8d 100644
--- a/app-admin/logrotate/logrotate-3.7.ebuild
+++ b/app-admin/logrotate/logrotate-3.7.ebuild
@@ -1,10 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.ebuild,v 1.2 2005/01/01 11:08:57 eradicator Exp $
-
-inherit eutils
-
-SELINUX_PATCH="logrotate-3.6.5-selinux.diff.bz2"
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.ebuild,v 1.3 2005/01/02 03:56:46 pebenito Exp $
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="http://packages.debian.org/unstable/admin/logrotate.html"
@@ -26,8 +22,6 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${PN}_${PV}.orig.tar.gz
- use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
-
sed -i \
-e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" \
-e "/CVSROOT =/d" \
@@ -39,7 +33,9 @@ src_unpack() {
}
src_compile() {
- emake || die "emake failed"
+ local myconf
+ useq selinux && myconf='WITH_SELINUX=yes'
+ emake ${myconf} || die "emake failed"
}
src_install() {