summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/log4shib/ChangeLog11
-rw-r--r--dev-libs/log4shib/files/log4shib-doc.patch11
-rw-r--r--dev-libs/log4shib/log4shib-1.0.1.ebuild36
-rw-r--r--dev-libs/log4shib/metadata.xml13
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/log4shib/ChangeLog b/dev-libs/log4shib/ChangeLog
new file mode 100644
index 000000000000..e970fcf59b6f
--- /dev/null
+++ b/dev-libs/log4shib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/log4shib
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/ChangeLog,v 1.1 2011/01/21 19:02:31 hwoarang Exp $
+
+*log4shib-1.0.1 (21 Jan 2011)
+
+ 21 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +files/log4shib-doc.patch,
+ +log4shib-1.0.1.ebuild, +metadata.xml:
+ Moved from sunrise overlay. THa. Thanks to Thomas Beierlein
+ <tomjbe@gentoo.org>. Bug #334313
+
diff --git a/dev-libs/log4shib/files/log4shib-doc.patch b/dev-libs/log4shib/files/log4shib-doc.patch
new file mode 100644
index 000000000000..c7c58f0781a9
--- /dev/null
+++ b/dev-libs/log4shib/files/log4shib-doc.patch
@@ -0,0 +1,11 @@
+--- doc/Makefile.am.orig 2008-10-18 09:03:48.000000000 +0200
++++ doc/Makefile.am 2008-10-18 09:05:16.000000000 +0200
+@@ -1,7 +1,7 @@
+ SUBDIRS = html
+
+ man3dir = $(DESTDIR)$(mandir)/man3
+-docdir = $(prefix)/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@
++docdir = $(DESTDIR)/$(datarootdir)/doc/@PACKAGE_TARNAME@-@PACKAGE_VERSION@
+
+ EXTRA_DIST = \
+ mainPage.txt
diff --git a/dev-libs/log4shib/log4shib-1.0.1.ebuild b/dev-libs/log4shib/log4shib-1.0.1.ebuild
new file mode 100644
index 000000000000..d13f8ca366b4
--- /dev/null
+++ b/dev-libs/log4shib/log4shib-1.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.1.ebuild,v 1.1 2011/01/21 19:02:31 hwoarang Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Internet2 version for OpenSAML of log4cpp logging framework"
+HOMEPAGE="http://spaces.internet2.edu/display/OpenSAML/log4shib"
+SRC_URI="http://shibboleth.internet2.edu/downloads/${PN}/${PV}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix sandbox violation by doc installation
+ epatch "${FILESDIR}/${PN}-doc.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ econf --without-idsa \
+ $(use_enable doc doxygen)
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
+}
diff --git a/dev-libs/log4shib/metadata.xml b/dev-libs/log4shib/metadata.xml
new file mode 100644
index 000000000000..7032bab4cdb6
--- /dev/null
+++ b/dev-libs/log4shib/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <longdescription>log4shib is a library of C++ classes for flexible logging
+ to files, syslog, IDSA and other destinations. It is a forked version
+ of log4cpp especially adapted for the shibboleth framework
+ </longdescription>
+</pkgmetadata>