# HG changeset patch # User Binki # Date 2009-02-28 22:38:35 # Node ID 6cb31802ff552fbc54365266aedcc964b7047fb4 # Parent 8c25765b86a26dbe4b86e454fb1e07a47cfa7587 imported dev-libs/confuse from Portage, disabled building of examples to support crosscompiling to mingw32 diff --git a/dev-libs/confuse/ChangeLog b/dev-libs/confuse/ChangeLog new file mode 100644 --- /dev/null +++ b/dev-libs/confuse/ChangeLog @@ -0,0 +1,145 @@ +# ChangeLog for dev-libs/confuse +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/ChangeLog,v 1.39 2008/12/17 22:09:10 maekke Exp $ + + 28 Feb 2009; Nathan Phillip Brink -confuse-2.6.ebuild, -confuse-2.6-r2.ebuild, + Initial import into ohnobinki_overlay from Gentoo Portage, disabled building of non-installed/unused examples to support crosscompiling to mingw32 + + 17 Dec 2008; Markus Meier confuse-2.6-r3.ebuild: + amd64 stable, bug #246143 + + 10 Dec 2008; Jeroen Roovers confuse-2.6-r3.ebuild: + Stable for HPPA (bug #246143). + + 09 Dec 2008; Raúl Porcel confuse-2.6-r3.ebuild: + alpha/ia64/sparc/x86 stable wrt #246143 + + 08 Dec 2008; Brent Baude confuse-2.6-r3.ebuild: + stable ppc64, bug 246143 + + 06 Dec 2008; Tobias Scherbaum + confuse-2.6-r3.ebuild: + ppc stable, bug #246143 + +*confuse-2.6-r3 (30 Sep 2008) + + 30 Sep 2008; MATSUU Takuto + +files/confuse-2.6-solaris.patch, -confuse-2.6-r1.ebuild, + +confuse-2.6-r3.ebuild: + Fixed test building on OpenSolaris issue, bug #239020. + +*confuse-2.6-r2 (15 Sep 2008) + + 15 Sep 2008; MATSUU Takuto + +files/confuse-2.6-O0.patch, +confuse-2.6-r2.ebuild: + Fixed optimization issue, bug #236347. + + 17 May 2008; MATSUU Takuto + -files/confuse-2.5-libintl.patch, -files/confuse-2.5-maketest.patch, + -confuse-2.5.ebuild, confuse-2.6.ebuild, confuse-2.6-r1.ebuild: + Added sys-devel/flex to DEPEND, bug #221379. + Removed old version. + + 12 May 2008; Markus Meier confuse-2.6.ebuild: + amd64 stable, bug #217815 + + 17 Apr 2008; nixnut confuse-2.6.ebuild: + Stable on ppc wrt bug 217815 + + 17 Apr 2008; Raúl Porcel confuse-2.6.ebuild: + ia64/x86 stable wrt #217815 + + 16 Apr 2008; Tobias Klausmann confuse-2.6.ebuild: + Stable on alpha, bug #217815 + + 16 Apr 2008; Markus Rothe confuse-2.6.ebuild: + Stable on ppc64; bug #217815 + + 15 Apr 2008; Ferris McCormick confuse-2.6.ebuild: + Sparc stable --- Bug #217815 --- all tests pass. + + 15 Apr 2008; Jeroen Roovers confuse-2.6.ebuild: + Stable for HPPA (bug #217815). + +*confuse-2.6-r1 (15 Apr 2008) + + 15 Apr 2008; MATSUU Takuto +confuse-2.6-r1.ebuild: + Removed -Werror for gcc-4.3, bug #208095. + +*confuse-2.6 (21 Jan 2008) + + 21 Jan 2008; MATSUU Takuto metadata.xml, + +confuse-2.6.ebuild: + Version bumped. + maintainership takeover. bug #203832. + + 13 Sep 2007; Roy Marples + +files/confuse-2.5-libintl.patch, confuse-2.5.ebuild: + Link to libintl correctly on non glibc systems + + 08 May 2007; Fabian Groffen confuse-2.5.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 09 Apr 2007; Peter Weller confuse-2.5.ebuild: + Stable on amd64 wrt bug 172329 + + 17 Nov 2006; Diego Pettenò confuse-2.5.ebuild: + Add ~sparc-fbsd keyword. + + 12 Sep 2006; Gustavo Zacarias confuse-2.5.ebuild: + Stable on hppa + + 30 Jun 2006; Gustavo Zacarias confuse-2.5.ebuild: + Keyworded ~hppa + + 16 May 2006; Emanuele Giaquinta confuse-2.5.ebuild: + Stable on ppc. + + 30 Mar 2006; Diego Pettenò confuse-2.5.ebuild: + Add ~x86-fbsd keyword. + + 28 Feb 2006; Sandro Bonazzola confuse-2.5.ebuild: + Adding dependency on pkgconfig, adding doins confuse-config for + compatibility with other packages that still depends on it. Updating ebuild + header. Fix bug# 124329, thanks to Diego Pettenò. + + 31 Dec 2005; Diego Pettenò confuse-2.5.ebuild: + Remove conditional libtoolize (without re-autoconf) and just call + elibtoolize for sanity checks. + + 28 Nov 2005; Tom Gall confuse-2.5.ebuild: + stable on ppc64 + + 02 Oct 2005; Aron Griffis confuse-2.5.ebuild: + Mark 2.5 stable on alpha + + 02 Oct 2005; Aron Griffis confuse-2.5.ebuild: + Mark 2.5 stable on ia64 + + 19 Sep 2005; Gustavo Zacarias confuse-2.5.ebuild: + Stable on sparc + + 25 Aug 2005; Aron Griffis confuse-2.5.ebuild: + add ~alpha ~ia64 + + 01 Aug 2005; Gustavo Zacarias confuse-2.5.ebuild: + ~sparc wrt #100058 + + 31 Jul 2005; Markus Rothe confuse-2.5.ebuild: + added ~ppc64 (bug #100058) + + 30 Jul 2005; Kito confuse-2.5.ebuild: + make libtoolize conditional for Darwin and add ~ppc-macos keyword + + 26 Jun 2005; David Holm confuse-2.5.ebuild: + Added to ~ppc. + + 12 Jun 2005; Danny van Dyk confuse-2.5.ebuild: + Marked ~amd64. + +*confuse-2.5 (05 Dec 2004) + + 05 Dec 2004; Daniel Black +metadata.xml, + +files/confuse-2.5-maketest.patch, +confuse-2.5.ebuild: + initial import bug #47812. Thanks to maj + diff --git a/dev-libs/confuse/confuse-2.6-r3.ebuild b/dev-libs/confuse/confuse-2.6-r3.ebuild new file mode 100644 --- /dev/null +++ b/dev-libs/confuse/confuse-2.6-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/confuse-2.6-r3.ebuild,v 1.6 2008/12/17 22:09:10 maekke Exp $ + +inherit eutils autotools + +DESCRIPTION="a configuration file parser library" +HOMEPAGE="http://www.nongnu.org/confuse/" +SRC_URI="http://bzero.se/confuse/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="nls" + +DEPEND="sys-devel/flex + sys-devel/libtool + dev-util/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl )" + +src_unpack() { + unpack ${A} + cd "${S}" + # bug #236347 + epatch "${FILESDIR}"/${P}-O0.patch + # bug 239020 + epatch "${FILESDIR}"/${P}-solaris.patch + # don't compile examples: + epatch "${FILESDIR}"/${P}-noexamples.patch + # drop -Werror, bug #208095 + sed -i -e 's/-Werror//' */Makefile.* || die + + eautoreconf +} + +src_compile() { + econf --enable-shared --disable-examples || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + doman doc/man/man3/*.3 + dodoc AUTHORS NEWS README + dodoc examples/*.c examples/*.conf + dohtml doc/html/* || die +} diff --git a/dev-libs/confuse/files/confuse-2.6-O0.patch b/dev-libs/confuse/files/confuse-2.6-O0.patch new file mode 100644 --- /dev/null +++ b/dev-libs/confuse/files/confuse-2.6-O0.patch @@ -0,0 +1,15 @@ +Index: src/confuse.c +=================================================================== +RCS file: /sources/confuse/confuse/src/confuse.c,v +retrieving revision 1.36 +diff -u -B -r1.36 confuse.c +--- src/confuse.c 13 Oct 2007 20:01:45 -0000 1.36 ++++ src/confuse.c 1 Sep 2008 11:57:30 -0000 +@@ -41,6 +41,7 @@ + #define is_set(f, x) (((f) & (x)) == (f)) + + #if defined(ENABLE_NLS) && defined(HAVE_GETTEXT) ++# include + # include + # define _(str) dgettext(PACKAGE, str) + #else diff --git a/dev-libs/confuse/files/confuse-2.6-solaris.patch b/dev-libs/confuse/files/confuse-2.6-solaris.patch new file mode 100644 --- /dev/null +++ b/dev-libs/confuse/files/confuse-2.6-solaris.patch @@ -0,0 +1,17 @@ +Index: configure.ac +=================================================================== +RCS file: /sources/confuse/confuse/configure.ac,v +retrieving revision 1.18 +diff -u -B -r1.18 configure.ac +--- configure.ac 13 Oct 2007 15:02:52 -0000 1.18 ++++ configure.ac 29 Sep 2008 10:13:10 -0000 +@@ -39,6 +39,9 @@ + # Checks for library functions. + AC_CHECK_FUNCS([strcasecmp strdup strndup]) + ++dnl Check for the library containing inet_aton/inet_ntoa (for tests) ++AC_SEARCH_LIBS([inet_ntoa], [socket nsl]) ++ + AC_CONFIG_FILES([Makefile \ + src/Makefile \ + examples/Makefile \ diff --git a/dev-libs/confuse/metadata.xml b/dev-libs/confuse/metadata.xml new file mode 100644 --- /dev/null +++ b/dev-libs/confuse/metadata.xml @@ -0,0 +1,8 @@ + + + +no-herd + + matsuu@gentoo.org + +