summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-27 08:47:18 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-27 08:47:18 +0000
commitaa266f4d3283187c788b4aecc634c43ad9adf43e (patch)
tree8784cfd2a9d19846aa2ca53504a88a5fbfdc0032 /dev-libs
parentRequire gtk when building with telepathy. Wrt bug#451658. (diff)
downloadgentoo-2-aa266f4d3283187c788b4aecc634c43ad9adf43e.tar.gz
gentoo-2-aa266f4d3283187c788b4aecc634c43ad9adf43e.tar.bz2
gentoo-2-aa266f4d3283187c788b4aecc634c43ad9adf43e.zip
Version bump: EAPI 5, add ~amd64 keyword, install examples optionally, improve postinstall message. Assign myself as maintainer
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/log4sh/ChangeLog52
-rw-r--r--dev-libs/log4sh/log4sh-1.4.2.ebuild48
-rw-r--r--dev-libs/log4sh/metadata.xml3
3 files changed, 57 insertions, 46 deletions
diff --git a/dev-libs/log4sh/ChangeLog b/dev-libs/log4sh/ChangeLog
index 227892a41cc5..49e69335e9d7 100644
--- a/dev-libs/log4sh/ChangeLog
+++ b/dev-libs/log4sh/ChangeLog
@@ -1,49 +1,11 @@
# ChangeLog for dev-libs/log4sh
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/ChangeLog,v 1.10 2007/03/19 01:05:10 kloeri Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/ChangeLog,v 1.11 2013/01/27 08:47:18 pinkbyte Exp $
- 19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
- Remove ka0ttic from metadata.xml due to retirement.
+*log4sh-1.4.2 (27 Jan 2013)
- 03 Mar 2007; Marius Mauch <genone@gentoo.org> log4sh-1.2.5-r1.ebuild:
- Replacing einfo with elog
-
- 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
- Regenerate digest in Manifest2 format.
-
- 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
- Regenerate digest in Manifest2 format.
-
- 05 Jul 2005; David Holm <dholm@gentoo.org> log4sh-1.2.5-r1.ebuild:
- Added to ~ppc.
-
-*log4sh-1.2.5-r1 (04 Jul 2005)
-
- 04 Jul 2005; Aaron Walker <ka0ttic@gentoo.org>
- +files/log4sh-1.2.5-fix-insecure-tmp-creation.diff, -log4sh-1.2.5.ebuild,
- +log4sh-1.2.5-r1.ebuild:
- Revision bump for security bug 94069; thanks to taviso for the patch.
-
- 06 May 2005; Aaron Walker <ka0ttic@gentoo.org> -log4sh-1.2.3.ebuild,
- -log4sh-1.2.4.ebuild, log4sh-1.2.5.ebuild:
- Stable on x86; tidy old ebuilds.
-
-*log4sh-1.2.5 (02 Feb 2005)
-
- 02 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +log4sh-1.2.5.ebuild:
- Version bump.
-
- 25 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> log4sh-1.2.3.ebuild:
- Marked stable on x86.
-
-*log4sh-1.2.4 (31 Dec 2004)
-
- 31 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> +log4sh-1.2.4.ebuild:
- Version bump.
-
-*log4sh-1.2.3 (24 Dec 2004)
-
- 24 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml,
- +log4sh-1.2.3.ebuild:
- Initial commit.
+ 27 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> +log4sh-1.4.2.ebuild,
+ metadata.xml:
+ Version bump: EAPI 5, add ~amd64 keyword, install examples optionally,
+ improve postinstall message. Assign myself as maintainer
diff --git a/dev-libs/log4sh/log4sh-1.4.2.ebuild b/dev-libs/log4sh/log4sh-1.4.2.ebuild
new file mode 100644
index 000000000000..ce3ed81e02ec
--- /dev/null
+++ b/dev-libs/log4sh/log4sh-1.4.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/log4sh-1.4.2.ebuild,v 1.1 2013/01/27 08:47:18 pinkbyte Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A flexible logging framework for shell scripts"
+HOMEPAGE="http://sourceforge.net/projects/log4sh"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+RDEPEND="app-shells/bash"
+
+src_compile() {
+ emake build
+}
+
+src_test() {
+ # testsuite needs USER variable
+ export USER="$(whoami)"
+ make test || die "make test failed"
+}
+
+src_install() {
+ insinto /usr/lib/log4sh
+ doins build/log4sh
+
+ dodoc doc/*.txt
+ dohtml doc/*.{html,css}
+
+ if use examples; then
+ docinto examples
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc src/examples/*
+ fi
+}
+
+pkg_postinst() {
+ elog "To use log4sh, have your script source /usr/lib/log4sh/log4sh"
+ elog "If you want to use remote logging, you should install package,"
+ elog "that provides netcat binary (for example - net-analyzer/netcat)"
+}
diff --git a/dev-libs/log4sh/metadata.xml b/dev-libs/log4sh/metadata.xml
index 91f4e72fb544..b6b8956cde34 100644
--- a/dev-libs/log4sh/metadata.xml
+++ b/dev-libs/log4sh/metadata.xml
@@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
</maintainer>
</pkgmetadata>