summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-11-20 01:02:23 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-11-20 01:02:23 +0000
commit26481980b8c9b0b70a71365bd4efcb4faeebb0a6 (patch)
treefe1ee1e0e3709254e7d0bb9700c739249e48ef41 /dev-libs/log4c
parentppc stable (diff)
downloadhistorical-26481980b8c9b0b70a71365bd4efcb4faeebb0a6.tar.gz
historical-26481980b8c9b0b70a71365bd4efcb4faeebb0a6.tar.bz2
historical-26481980b8c9b0b70a71365bd4efcb4faeebb0a6.zip
log4c-1.0.10-r1 added per bug #70529.
Diffstat (limited to 'dev-libs/log4c')
-rw-r--r--dev-libs/log4c/ChangeLog8
-rw-r--r--dev-libs/log4c/Manifest15
-rw-r--r--dev-libs/log4c/files/digest-log4c-1.0.10-r11
-rw-r--r--dev-libs/log4c/files/log4c-1.0.10-nodocs.patch38
-rw-r--r--dev-libs/log4c/log4c-1.0.10-r1.ebuild51
5 files changed, 111 insertions, 2 deletions
diff --git a/dev-libs/log4c/ChangeLog b/dev-libs/log4c/ChangeLog
index 3c39e1f0f6cb..adf22fbedde0 100644
--- a/dev-libs/log4c/ChangeLog
+++ b/dev-libs/log4c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/log4c
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/ChangeLog,v 1.18 2004/10/28 12:34:42 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/ChangeLog,v 1.19 2004/11/20 01:02:23 dragonheart Exp $
+
+*log4c-1.0.10-r1 (20 Nov 2004)
+
+ 20 Nov 2004; Daniel Black <dragonheart@gentoo.org>
+ +files/log4c-1.0.10-nodocs.patch, +log4c-1.0.10-r1.ebuild:
+ log4c-1.0.10-r1 added per bug #70529. Thanks to Lee Thompson <bm55b@yahoo.com>
28 Oct 2004; Simon Stelling <blubb@gentoo.org> log4c-1.0.12.ebuild:
added ~amd64
diff --git a/dev-libs/log4c/Manifest b/dev-libs/log4c/Manifest
index a59ae5d75bff..b62296312dc1 100644
--- a/dev-libs/log4c/Manifest
+++ b/dev-libs/log4c/Manifest
@@ -1,8 +1,12 @@
-MD5 f5dbf72fcd32b6397ea11941060e878d ChangeLog 2735
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 eeacf5e9f6f1bb828e3617023fbf0e07 ChangeLog 2969
MD5 8d663d0569f3454097441e6c317672e9 log4c-1.0.11.ebuild 1471
MD5 854c35a79482f7e1508a4ba70a5fab24 log4c-1.0.12.ebuild 1141
MD5 b18c56863e452cbe463de8ee6b53dcc5 log4c-1.0.6-r1.ebuild 1011
MD5 4eafc1e08f52712fd036e73730b0a172 metadata.xml 435
+MD5 4725eb269c4c84a0c4e0c3aed0782f03 log4c-1.0.10-r1.ebuild 1698
MD5 37d8d5f4cc1cf6074bcd576c3c294b99 files/configure.in.patch 854
MD5 1f0fac7267c1cff0be0ee973376e272e files/digest-log4c-1.0.11 64
MD5 fef7d3e32cce5efd15a56a6dcff9c4d1 files/digest-log4c-1.0.12 64
@@ -10,3 +14,12 @@ MD5 fcc031971422d4234f3de52e34fcf256 files/digest-log4c-1.0.6-r1 63
MD5 81e6117c525d7118531b1868a13738fc files/log4c_1.0.11_test.patch 464
MD5 1902a2badd2a965f9e4072f4b6e7adfe files/makefile.doc.am.patch 350
MD5 028648da7dc4850b5dbc3ec0469eba94 files/makefile.doc.in.patch 352
+MD5 a9fba68dfd5dea143cfe49ccb0662fc1 files/digest-log4c-1.0.10-r1 64
+MD5 29ae48e8f7698e738fd6e7c18a17b5c7 files/log4c-1.0.10-nodocs.patch 1425
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBnpelmdTrptrqvGERAvs/AKCJ53QhSVHwiqFabvYWgTGbEAfnCwCffvZt
+7Z6S52QgMzeIXZ+i4g0fGxA=
+=EjtP
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/log4c/files/digest-log4c-1.0.10-r1 b/dev-libs/log4c/files/digest-log4c-1.0.10-r1
new file mode 100644
index 000000000000..9d6da5d875b7
--- /dev/null
+++ b/dev-libs/log4c/files/digest-log4c-1.0.10-r1
@@ -0,0 +1 @@
+MD5 db901a69a6da4f1974bf47105a9aac8a log4c-1.0.10.tar.gz 242286
diff --git a/dev-libs/log4c/files/log4c-1.0.10-nodocs.patch b/dev-libs/log4c/files/log4c-1.0.10-nodocs.patch
new file mode 100644
index 000000000000..0759afbf99b5
--- /dev/null
+++ b/dev-libs/log4c/files/log4c-1.0.10-nodocs.patch
@@ -0,0 +1,38 @@
+diff -Nru log4c-1.0.10.orig/configure log4c-1.0.10/configure
+--- log4c-1.0.10.orig/configure 2002-11-22 08:44:32.000000000 -0600
++++ log4c-1.0.10/configure 2004-11-16 10:32:32.303881856 -0600
+@@ -9522,6 +9522,7 @@
+ else
+ enable_doc=yes
+ fi
++enable_doc=no
+
+
+ if test x$enable_doc = xyes; then
+@@ -9532,7 +9533,7 @@
+ DOC_FALSE=
+ fi
+
+-ac_config_files="$ac_config_files Makefile log4c-config log4crc.sample log4c.spec config/Makefile doc/Makefile doc/Doxyfile doc/main.doc src/Makefile src/log4c/Makefile src/log4c/version.h src/sd/Makefile tests/Makefile tests/log4c/Makefile"
++ac_config_files="$ac_config_files Makefile log4c-config log4crc.sample log4c.spec config/Makefile src/Makefile src/log4c/Makefile src/log4c/version.h src/sd/Makefile tests/Makefile tests/log4c/Makefile"
+
+ ac_config_commands="$ac_config_commands default"
+
+diff -Nru log4c-1.0.10.orig/tests/log4c/test_category.c log4c-1.0.10/tests/log4c/test_category.c
+--- log4c-1.0.10.orig/tests/log4c/test_category.c 2002-11-20 09:38:34.000000000 -0600
++++ log4c-1.0.10/tests/log4c/test_category.c 2004-11-16 11:53:53.436836856 -0600
+@@ -111,11 +111,11 @@
+ {
+ log4c_category_set_priority(root, LOG4C_PRIORITY_TRACE);
+
+- foo(root, trace);
++ foo(root, info);
+ foo(root, warn);
+- foo(sub1, trace);
++ foo(sub1, info);
+ foo(sub1, warn);
+- foo(sun1sub2, trace);
++ foo(sun1sub2, info);
+ foo(sun1sub2, warn);
+ return 1;
+ }
diff --git a/dev-libs/log4c/log4c-1.0.10-r1.ebuild b/dev-libs/log4c/log4c-1.0.10-r1.ebuild
new file mode 100644
index 000000000000..c2ba70bde47e
--- /dev/null
+++ b/dev-libs/log4c/log4c-1.0.10-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4c/log4c-1.0.10-r1.ebuild,v 1.1 2004/11/20 01:02:23 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="Log4c is a library of C for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (http://jakarta.apache.org/log4j/), staying as close to their API as is reasonable."
+SRC_URI="mirror://sourceforge/log4c/${P}.tar.gz"
+HOMEPAGE="http://log4c.sourceforge.net"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86 ~sparc ~ppc ~amd64"
+IUSE="doc"
+
+# This is the last version of log4c that uses 'expat' and the last one I could
+# get working with a gcc 3.3.4 gentoo box. Later version work okay on
+# redhat boxes, but the ones I had around we're gcc 3.2. The virtual/logger
+# could probably be deleted, but it just doesn't seem right to have log4c
+# without a logger underneath it.
+
+DEPEND=">=dev-libs/expat-1.95.2
+ >=media-gfx/graphviz-1.7.15-r2"
+
+RDEPEND="virtual/logger
+ >=dev-libs/expat-1.95.2
+ >=media-gfx/graphviz-1.7.15-r2"
+
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ ### comment out the docs with this patch to minimize depenencies
+ useq doc || epatch ${FILESDIR}/${P}-nodocs.patch
+}
+
+src_compile() {
+
+ econf --enable-test || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog INSTALL README
+ # Currently with this ebuild you have to have a /etc/log4crc file and
+ # have LOG4C_RCPATH defined or log4c quitely does nothing
+ cp ${D}/etc/log4crc.sample ${D}/etc/log4crc
+ dodir /etc/env.d
+ echo "LOG4C_RCPATH=/etc" > ${D}/etc/env.d/42${PN} || die
+}