Took over as placeholder maintainer. Bumped to 3.7 while I was there
authorChris White <chriswhite@gentoo.org>
Fri, 31 Dec 2004 04:26:24 +0000 (04:26 +0000)
committerChris White <chriswhite@gentoo.org>
Fri, 31 Dec 2004 04:26:24 +0000 (04:26 +0000)
app-admin/logrotate/ChangeLog
app-admin/logrotate/Manifest
app-admin/logrotate/files/digest-logrotate-3.7 [new file with mode: 0644]
app-admin/logrotate/logrotate-3.7.ebuild [new file with mode: 0644]
app-admin/logrotate/metadata.xml [new file with mode: 0644]

index 7afc78f0710b30716faad0c7433e24e681eaa865..2d4dc41468f004ee1bfc5d92ff775d34f5e8ad16 100644 (file)
@@ -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:
index fa7031cea3c78e51365d27e85779bb89ce82bab5..7895cc8b33660e65a2e548b88bc9a3f1ff88efe2 100644 (file)
@@ -1,6 +1,19 @@
-MD5 e523270c2397a886203c15a82c8e589d ChangeLog 4203
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 36517c864ac63b9b4eb866cba22968d2 ChangeLog 4402
 MD5 ebe9c449e0b10374ad4f7f5b35c23c93 logrotate-3.6.5-r1.ebuild 1726
+MD5 a5cf26b4d6f05053c7e97575088c9013 logrotate-3.7.ebuild 1733
+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
 MD5 5692e613153f372df5b7510b39ba9c5c files/logrotate.conf 731
 MD5 cf1ca2cfa810abaefc504a76ca38b52a files/logrotate.cron 52
+MD5 4942e4ea3f05b91d9d24504c4ddbc776 files/digest-logrotate-3.7 69
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB1NQ9FdQwWVoAgN4RAiFhAKCzRblRvrRtvUy9GKZa1KWH+/YcMgCfWCym
+NIl22MP/xE0w/q624eFXUG8=
+=RIA5
+-----END PGP SIGNATURE-----
diff --git a/app-admin/logrotate/files/digest-logrotate-3.7 b/app-admin/logrotate/files/digest-logrotate-3.7
new file mode 100644 (file)
index 0000000..7206c34
--- /dev/null
@@ -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 (file)
index 0000000..29c19a8
--- /dev/null
@@ -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 (file)
index 0000000..2158d61
--- /dev/null
@@ -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>