diff options
author | Chris White <chriswhite@gentoo.org> | 2004-12-31 04:26:24 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-12-31 04:26:24 +0000 |
commit | e91ca08197505606e560d6fa18cab8d4ace78470 (patch) | |
tree | 0b7c6fb06cf78a0c217ae66d2c4fde8e0126341b /app-admin/logrotate | |
parent | Adding myself as placehold maintainer. Bump to .12 while I was at it. (Manif... (diff) | |
download | gentoo-2-e91ca08197505606e560d6fa18cab8d4ace78470.tar.gz gentoo-2-e91ca08197505606e560d6fa18cab8d4ace78470.tar.bz2 gentoo-2-e91ca08197505606e560d6fa18cab8d4ace78470.zip |
Took over as placeholder maintainer. Bumped to 3.7 while I was there
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/logrotate/Manifest | 2 | ||||
-rw-r--r-- | app-admin/logrotate/files/digest-logrotate-3.7 | 1 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.7.ebuild | 67 | ||||
-rw-r--r-- | app-admin/logrotate/metadata.xml | 10 |
5 files changed, 87 insertions, 1 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog index 7afc78f0710b..2d4dc41468f0 100644 --- a/app-admin/logrotate/ChangeLog +++ b/app-admin/logrotate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/logrotate # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.30 2004/12/09 17:32:38 sergey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.31 2004/12/31 04:26:24 chriswhite Exp $ + +*logrotate-3.7 (31 Dec 2004) + + 31 Dec 2004; Chris White <chriswhite@gentoo.org> +metadata.xml, + +logrotate-3.7.ebuild: + Took over as placeholder maintainer. Bumped to 3.7 while I was there. 09 Dec 2004; Sergey Kuleshov <svyatogor@gentoo.org> logrotate-3.6.5-r1.ebuild: diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index fa7031cea3c7..babf8ae6c78d 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,6 +1,8 @@ MD5 e523270c2397a886203c15a82c8e589d ChangeLog 4203 MD5 ebe9c449e0b10374ad4f7f5b35c23c93 logrotate-3.6.5-r1.ebuild 1726 +MD5 ebe9c449e0b10374ad4f7f5b35c23c93 logrotate-3.7.ebuild 1726 MD5 bdf48119e016d4ee8b829da9e83959bf files/digest-logrotate-3.6.5-r1 71 MD5 ef1405c48d23249f97330709d1d2a093 files/logrotate-3.6.5-selinux.diff.bz2 1440 MD5 5692e613153f372df5b7510b39ba9c5c files/logrotate.conf 731 MD5 cf1ca2cfa810abaefc504a76ca38b52a files/logrotate.cron 52 +MD5 4942e4ea3f05b91d9d24504c4ddbc776 files/digest-logrotate-3.7 69 diff --git a/app-admin/logrotate/files/digest-logrotate-3.7 b/app-admin/logrotate/files/digest-logrotate-3.7 new file mode 100644 index 000000000000..7206c3407532 --- /dev/null +++ b/app-admin/logrotate/files/digest-logrotate-3.7 @@ -0,0 +1 @@ +MD5 bf0de3a495294300f32e71f136119c41 logrotate_3.7.orig.tar.gz 35737 diff --git a/app-admin/logrotate/logrotate-3.7.ebuild b/app-admin/logrotate/logrotate-3.7.ebuild new file mode 100644 index 000000000000..29c19a8e14ab --- /dev/null +++ b/app-admin/logrotate/logrotate-3.7.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2004 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.1 2004/12/31 04:26:24 chriswhite Exp $ + +inherit eutils + +SELINUX_PATCH="logrotate-3.6.5-selinux.diff.bz2" + +DESCRIPTION="Rotates, compresses, and mails system logs" +HOMEPAGE="http://packages.debian.org/unstable/admin/logrotate.html" +SRC_URI="mirror://debian/pool/main/l/logrotate/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64 ~ppc64 ~s390 ~hppa" +IUSE="selinux" + +DEPEND=">=sys-apps/portage-2.0.47-r10 + >=dev-libs/popt-1.5 + >=sys-apps/sed-4 + selinux? ( sys-libs/libselinux )" + +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-logrotate )" + +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" \ + ${S}/Makefile || die "sed failed" + + #small fix for a tipo in man page + sed -i -e "s:logrotate/status:logrotate.status:" ${S}/logrotate.8 || die \ + "sed failed!" +} + +src_compile() { + emake || 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." +} diff --git a/app-admin/logrotate/metadata.xml b/app-admin/logrotate/metadata.xml new file mode 100644 index 000000000000..2158d617deb4 --- /dev/null +++ b/app-admin/logrotate/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> + <name>Chris White</name> + <description>Maintainer Placeholder</description> +</maintainer> +</pkgmetadata> |