diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-10-29 20:47:22 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-10-29 20:47:22 +0000 |
commit | 641ce0612b084519a0d28dcbd8c0cea249d30cb0 (patch) | |
tree | 39b75ea887db258a55b033d76ea1b1f48ecabdbe /app-admin/logrotate | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-641ce0612b084519a0d28dcbd8c0cea249d30cb0.tar.gz gentoo-2-641ce0612b084519a0d28dcbd8c0cea249d30cb0.tar.bz2 gentoo-2-641ce0612b084519a0d28dcbd8c0cea249d30cb0.zip |
*** empty log message ***
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/files/digest-logrotate-3.3-r1 | 1 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.3-r1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/logrotate/files/digest-logrotate-3.3-r1 b/app-admin/logrotate/files/digest-logrotate-3.3-r1 new file mode 100644 index 000000000000..5e5e175b53d5 --- /dev/null +++ b/app-admin/logrotate/files/digest-logrotate-3.3-r1 @@ -0,0 +1 @@ +MD5 c82d40b1ca05d6f1fc98bcfbeda4c2d8 logrotate-3.3.tar.gz diff --git a/app-admin/logrotate/logrotate-3.3-r1.ebuild b/app-admin/logrotate/logrotate-3.3-r1.ebuild new file mode 100644 index 000000000000..c840fbd8d8ba --- /dev/null +++ b/app-admin/logrotate/logrotate-3.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.3-r1.ebuild,v 1.1 2000/10/29 20:47:22 achim Exp $ + +P=logrotate-3.3 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Rotates, compresses, and mails system logs" +SRC_URI="ftp://ftp.redhat.com/redhat/code/logrotate/${A} + ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/code/logrotate/${A}" + +src_unpack() { + unpack ${A} +} + +src_compile() { + cd ${S} + cp Makefile Makefile.orig + sed -e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" Makefile.orig > Makefile + try make +} + +src_install() { + cd ${S} + insinto /usr + dosbin logrotate + doman logrotate.8 + dodoc examples/logrotate* +} + + + + + + |