From 153ba8b8b077e455409472c85677e47c3a3b666e Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Mon, 4 Jul 2005 11:14:58 +0000 Subject: Revision bump for security bug 94069; thanks to taviso for the patch. (Portage version: 2.0.51.22-r1) --- dev-libs/log4sh/log4sh-1.2.5-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dev-libs/log4sh/log4sh-1.2.5-r1.ebuild (limited to 'dev-libs/log4sh/log4sh-1.2.5-r1.ebuild') diff --git a/dev-libs/log4sh/log4sh-1.2.5-r1.ebuild b/dev-libs/log4sh/log4sh-1.2.5-r1.ebuild new file mode 100644 index 000000000000..166cd82fe0b0 --- /dev/null +++ b/dev-libs/log4sh/log4sh-1.2.5-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/log4sh-1.2.5-r1.ebuild,v 1.1 2005/07/04 11:14:58 ka0ttic Exp $ + +inherit eutils + +DESCRIPTION="A flexible logging framework for shell scripts" +HOMEPAGE="http://forestent.com/products/log4sh/" +SRC_URI="http://forestent.com/dist/${PN}/${P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="app-shells/bash" + +src_unpack() { + unpack ${A} && cd ${S} + # bug 94069 + epatch ${FILESDIR}/${P}-fix-insecure-tmp-creation.diff +} + +src_test() { + make test || die "make test failed" +} + +src_install() { + insinto /usr/lib/log4sh + doins build/log4sh || die "Failed to install log4sh" + + dodoc doc/CHANGES doc/TODO + dohtml doc/*.{html,css} + docinto examples + dodoc src/examples/* +} + +pkg_postinst() { + echo + einfo "To use log4sh, have your script source /usr/lib/log4sh/log4sh." + echo +} -- cgit v1.2.3-65-gdbad