diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2009-03-10 02:01:55 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2009-03-10 02:01:55 +0000 |
commit | bcb4530d7b45daf9b216efb8dd4b081458257a41 (patch) | |
tree | 47b196b8b0efedf8930e6b4dcb5b6249f05e31a0 /app-admin/logrotate | |
parent | Version bump for scapy. (diff) | |
download | historical-bcb4530d7b45daf9b216efb8dd4b081458257a41.tar.gz historical-bcb4530d7b45daf9b216efb8dd4b081458257a41.tar.bz2 historical-bcb4530d7b45daf9b216efb8dd4b081458257a41.zip |
Bump to logrotate-3.7.8
- Update to EAPI 2
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/logrotate/Manifest | 12 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.7.8.ebuild | 69 |
3 files changed, 84 insertions, 6 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog index 460a7e49a595..84127d9b69a9 100644 --- a/app-admin/logrotate/ChangeLog +++ b/app-admin/logrotate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/logrotate # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.76 2009/01/25 19:42:45 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.77 2009/03/10 02:01:55 dang Exp $ + +*logrotate-3.7.8 (10 Mar 2009) + + 10 Mar 2009; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.8.ebuild: + Bump to logrotate-3.7.8 + + - Update to EAPI 2 25 Jan 2009; Daniel Gryniewicz <dang@gentoo.org> files/logrotate-3.7.7-fbsd.patch: diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 46c1a52b20a7..9324ca48d238 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -17,15 +17,17 @@ AUX logrotate.cron 52 RMD160 fc2606fcd6d6bbdcf189ff3aa3a112e481182a9e SHA1 0a681 DIST logrotate-3.7.1.tar.bz2 31953 RMD160 cee80082113a6ddae8c694aa4b9a035f6aff61b1 SHA1 8177ae49ba1ed0c9db1bd76be9135249b2a5470b SHA256 d828ced574eea4900ae7a1179730503cd2984c685fa97967a2d9c743b0d4071f DIST logrotate-3.7.2.tar.bz2 33626 RMD160 ba247420605920fe55f6cd8c149ce83ccf92ba09 SHA1 c2dccac55b697d5a7337927aa9ab7b9363d237ac SHA256 c9cccad00604c375d66f93e39e50976a3d935b591340f99808aed60aa903a6c6 DIST logrotate-3.7.7.tar.gz 42867 RMD160 ce4b07541f4234b9d577b1acac9153fc008276d0 SHA1 da6aadf20ffe289d93611864cbeb5a5f6a82a440 SHA256 b281c1f318417184caf2588979a04793809f2c6f558c6249248ebb07494cc93f +DIST logrotate-3.7.8.tar.gz 43246 RMD160 c90de0efe013b533eff50bb52e2bf6948b839572 SHA1 5742dc0d9541ac59eba5f5718520f7504aea2159 SHA256 21aa3dc830e8cc895ee4199d9325aa1e37cd3b525d0eaef400f66f6c7fc536dd EBUILD logrotate-3.7.1-r2.ebuild 1772 RMD160 bcd15a34b30e7c9860053e65caf039c7913a23ea SHA1 dada17034e9190ce076eae0e8d788400b3968583 SHA256 8204cfc744e895514066f9e1849b76ffc77a7a96d03e6f0c23445f5c27013174 EBUILD logrotate-3.7.2.ebuild 1548 RMD160 c4873a2a51ed7c0f26871fb60e6e03f457f2ccfb SHA1 7a45d2676ddfd699f9428929fbc6966c8154b11a SHA256 36145618ea4d8b7e84b5b6e449d7f60f5e71665ea8f4f5376c3e99d9caf66e9e EBUILD logrotate-3.7.7.ebuild 1776 RMD160 c4867a0b3779b58e5af9b94192962da374c4d3d6 SHA1 21f2dacd19f876a4b4b6cdf8624fefe7860e55dc SHA256 6c7981a44772d04cdecf97dc7cdded224179a02acef250244009d88b1515e3bb -MISC ChangeLog 10678 RMD160 d194b5db66fa03f8e96e51159e7daa83ad2adb77 SHA1 7b36fffbc176f0b17f198114411e58962c502a9f SHA256 0eb3299b7c204a9e760212b67ef83160e2da973a93d696fe5b3601d5350ab030 +EBUILD logrotate-3.7.8.ebuild 1763 RMD160 ec8be85734fb8ad2117b839d63d4c5629528f0c7 SHA1 71f3f313bb5ab33b6c14fef65435b344a46b8f7e SHA256 0ea054f83d4e185c210cf234ca60d277d70fa5420e640be8c4385b9f42ba9f65 +MISC ChangeLog 10835 RMD160 a93365d059fefe04c7ecdcd17415c6e3f5fd3dcc SHA1 48367201502dc22e52e681c83d0e1ae9a440d22f SHA256 66b82847c2fc6fe269192a16e24412b7301279a5d2aff0b5043185c7fc043022 MISC metadata.xml 216 RMD160 9bd928268bad8d343ce07f1c2f875b7c296db426 SHA1 df32457660dc43f2fd8b867c0b01ff7aed8e8f98 SHA256 4285dde164ce71c8922ac0cb88e9ea655f517c2d5c25437090466df3988658c0 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.10 (GNU/Linux) -iD8DBQFJfMDDomPajV0RnrERAvJrAJ9ufYNiB6Y7jg5jRhzTUsLmOxCfPwCePI8X -Iu41qnP1ZZcy3p/PiLUSxRA= -=E01Q +iD8DBQFJtcogomPajV0RnrERAiLpAJ95B2g2jXnu7cNUy4KBDeHeIM88sACfZS/N +ei2kaMbPAQJBBi6LXPNuvAs= +=i0G/ -----END PGP SIGNATURE----- diff --git a/app-admin/logrotate/logrotate-3.7.8.ebuild b/app-admin/logrotate/logrotate-3.7.8.ebuild new file mode 100644 index 000000000000..f12f5806800b --- /dev/null +++ b/app-admin/logrotate/logrotate-3.7.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.8.ebuild,v 1.1 2009/03/10 02:01:55 dang Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Rotates, compresses, and mails system logs" +HOMEPAGE="https://fedorahosted.org/logrotate/" +SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="selinux" + +RDEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux )" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + selinux? ( sec-policy/selinux-logrotate )" + +src_prepare() { + strip-flags + + epatch ${FILESDIR}/${PN}-3.7.7-datehack.patch + epatch ${FILESDIR}/${PN}-3.7.7-ignore-hidden.patch + epatch ${FILESDIR}/${PN}-3.7.7-weekly.patch + epatch ${FILESDIR}/${PN}-3.7.7-fbsd.patch +} + +src_configure() { + return +} + +src_compile() { + local myconf + myconf="CC=$(tc-getCC)" + useq selinux && myconf="${myconf} WITH_SELINUX=yes" + use elibc_FreeBSD && append-flags -DNO_ALLOCA_H + emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" || 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() { + elog "If you wish to have logrotate e-mail you updates, please" + elog "emerge virtual/mailx and configure logrotate in" + elog "/etc/logrotate.conf appropriately" + elog + elog "Additionally, /etc/logrotate.conf may need to be modified" + elog "for your particular needs. See man logrotate for details." +} |