diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-13 03:31:26 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-13 03:31:26 +0000 |
commit | 0ac598ddbf8640662bfd38a3cb8e0bd66a5164d8 (patch) | |
tree | 94d5a94ab11193f92b3f0a7a11e553a092c7cec9 /app-admin/logrotate | |
parent | Stable on amd64 per bug #146509 (diff) | |
download | gentoo-2-0ac598ddbf8640662bfd38a3cb8e0bd66a5164d8.tar.gz gentoo-2-0ac598ddbf8640662bfd38a3cb8e0bd66a5164d8.tar.bz2 gentoo-2-0ac598ddbf8640662bfd38a3cb8e0bd66a5164d8.zip |
New version with fixes for bug #147352, bug #89352, and bug #119638
(Portage version: 2.1.1)
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/logrotate/files/digest-logrotate-3.7.2 | 3 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.7.2.ebuild | 64 |
3 files changed, 73 insertions, 1 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog index 7675bdc74773..faf509342c18 100644 --- a/app-admin/logrotate/ChangeLog +++ b/app-admin/logrotate/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/logrotate # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.57 2006/07/20 15:04:34 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.58 2006/09/13 03:31:26 dang Exp $ + +*logrotate-3.7.2 (13 Sep 2006) + + 13 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.2.ebuild: + New version with fixes for bug #147352, bug #89352, and bug #119638 20 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.1-r2.ebuild: diff --git a/app-admin/logrotate/files/digest-logrotate-3.7.2 b/app-admin/logrotate/files/digest-logrotate-3.7.2 new file mode 100644 index 000000000000..172d42d19c05 --- /dev/null +++ b/app-admin/logrotate/files/digest-logrotate-3.7.2 @@ -0,0 +1,3 @@ +MD5 74b4e0d8cfa8208d2644e41053d3d518 logrotate-3.7.2.tar.bz2 33626 +RMD160 ba247420605920fe55f6cd8c149ce83ccf92ba09 logrotate-3.7.2.tar.bz2 33626 +SHA256 c9cccad00604c375d66f93e39e50976a3d935b591340f99808aed60aa903a6c6 logrotate-3.7.2.tar.bz2 33626 diff --git a/app-admin/logrotate/logrotate-3.7.2.ebuild b/app-admin/logrotate/logrotate-3.7.2.ebuild new file mode 100644 index 000000000000..a25a101ebff5 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.7.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.2.ebuild,v 1.1 2006/09/13 03:31:26 dang Exp $ + +inherit eutils + +DESCRIPTION="Rotates, compresses, and mails system logs" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="selinux" + +RDEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux )" + +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.47-r10 + >=sys-apps/sed-4 + selinux? ( sec-policy/selinux-logrotate )" + +src_unpack() { + unpack ${P}.tar.bz2 + + cd ${S} + + sed -i \ + -e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" \ + -e "/CVSROOT =/d" \ + Makefile || die "sed failed" +} + +src_compile() { + local myconf + useq selinux && myconf='WITH_SELINUX=yes' + emake ${myconf} || die "emake failed" +} + +src_install() { + insinto /usr + dosbin logrotate + doman logrotate.8 + dodoc examples/logrotate* + + exeinto /etc/cron.daily + doexe ${FILESDIR}/logrotate.cron + + insinto /etc + doins ${FILESDIR}/logrotate.conf + + keepdir /etc/logrotate.d +} + +pkg_postinst() { + einfo "If you wish to have logrotate e-mail you updates, please" + einfo "emerge mail-client/mailx and configure logrotate in" + einfo "/etc/logrotate.conf appropriately" + einfo + einfo "Additionally, /etc/logrotate.conf may need to be modified" + einfo "for your particular needs. See man logrotate for details." +} |