summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-05-15 22:27:37 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-05-15 22:27:37 +0000
commit0f983c32198929d1d945702690ef1b96e1a1483b (patch)
tree9b486382163ebc4e5a3c21c8ab244577f0502238 /app-admin/logrotate
parentapplied a patch from Wayne Davison to unpack in src_unpack rather than src_co... (diff)
downloadgentoo-2-0f983c32198929d1d945702690ef1b96e1a1483b.tar.gz
gentoo-2-0f983c32198929d1d945702690ef1b96e1a1483b.tar.bz2
gentoo-2-0f983c32198929d1d945702690ef1b96e1a1483b.zip
applied a patch from Wayne Davison to unpack in src_unpack rather than src_compile
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r--app-admin/logrotate/ChangeLog6
-rw-r--r--app-admin/logrotate/Manifest4
-rw-r--r--app-admin/logrotate/logrotate-3.6.5-r1.ebuild12
3 files changed, 15 insertions, 7 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog
index 2d7544919d79..81a33dd2c315 100644
--- a/app-admin/logrotate/ChangeLog
+++ b/app-admin/logrotate/ChangeLog
@@ -1,6 +1,10 @@
# 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.14 2003/05/14 08:28:05 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.15 2003/05/15 22:27:29 msterret Exp $
+
+ 01 May 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild:
+ applied a patch from Wayne Davison to unpack in src_unpack rather than
+ src_compile.
01 May 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild:
fix typo: install logrotate.cron into /etc/cron.daily instead of /etc.
diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest
index 266be4be8cf7..e5e053a408f6 100644
--- a/app-admin/logrotate/Manifest
+++ b/app-admin/logrotate/Manifest
@@ -1,6 +1,6 @@
-MD5 a327d9c2b3767c17effb689ba891f830 ChangeLog 2637
+MD5 d57e523296e4e94a0d3bc2287df1d1b5 ChangeLog 2790
MD5 5de35c1256960167596ce487bac8137e logrotate-3.5.9-r1.ebuild 899
-MD5 657aaedc4b8d87895594be63e45f7db1 logrotate-3.6.5-r1.ebuild 1527
+MD5 8098aba4d741d2ff44366559ebee61a1 logrotate-3.6.5-r1.ebuild 1579
MD5 9591f8c4767e3cfa028cce62764a4ec7 logrotate-3.6.5.ebuild 1129
MD5 28159ca93a9002428ba650c15d5f0191 files/logrotate.conf 729
MD5 60b5761bada5528ca3e3e9582b56dbfe files/digest-logrotate-3.5.9-r1 71
diff --git a/app-admin/logrotate/logrotate-3.6.5-r1.ebuild b/app-admin/logrotate/logrotate-3.6.5-r1.ebuild
index d070f2f491c3..67dee5ae8bab 100644
--- a/app-admin/logrotate/logrotate-3.6.5-r1.ebuild
+++ b/app-admin/logrotate/logrotate-3.6.5-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.2 2003/05/14 08:28:07 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.6.5-r1.ebuild,v 1.3 2003/05/15 22:27:29 msterret Exp $
IUSE="selinux"
@@ -19,14 +19,18 @@ DEPEND=">=sys-apps/portage-2.0.47-r10
>=sys-apps/sed-4
selinux? ( >=sys-apps/selinux-small-2003011510-r2 )"
-src_compile() {
+src_unpack() {
+ unpack ${PN}_${PV}.orig.tar.gz
+
use selinux && epatch ${DISTDIR}/${P}-2003011510.patch.gz
sed -i \
-e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" \
-e "/CVSROOT =/d" \
- Makefile || die "sed failed"
+ ${S}/Makefile || die "sed failed"
+}
+src_compile() {
emake || die "emake failed"
}
@@ -49,7 +53,7 @@ pkg_postinst() {
einfo "If you wish to have logrotate e-mail you updates, please"
einfo "emerge net-mail/mailx and configure logrotate in"
einfo "/etc/logrotate.conf appropriately"
- einfo ""
+ einfo
einfo "Additionally, /etc/logrotate.conf may need to be modified"
einfo "for your particular needs. See man logrotate for details."
}