Changeset - 6cb31802ff55
[Not reviewed]
default
0 0 5
Nathan Brink (binki) - 16 years ago 2009-02-28 22:38:35
ohnobinki@ohnopublishing.net
imported dev-libs/confuse from Portage, disabled building of examples to support crosscompiling to mingw32
5 files changed with 234 insertions and 0 deletions:
0 comments (0 inline, 0 general)
dev-libs/confuse/ChangeLog
Show inline comments
 
new file 100644
 
# 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 <ohnobinki@ohnopublishing.net> -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 <maekke@gentoo.org> confuse-2.6-r3.ebuild:
 
  amd64 stable, bug #246143
 

	
 
  10 Dec 2008; Jeroen Roovers <jer@gentoo.org> confuse-2.6-r3.ebuild:
 
  Stable for HPPA (bug #246143).
 

	
 
  09 Dec 2008; Raúl Porcel <armin76@gentoo.org> confuse-2.6-r3.ebuild:
 
  alpha/ia64/sparc/x86 stable wrt #246143
 

	
 
  08 Dec 2008; Brent Baude <ranger@gentoo.org> confuse-2.6-r3.ebuild:
 
  stable ppc64, bug 246143
 

	
 
  06 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  confuse-2.6-r3.ebuild:
 
  ppc stable, bug #246143
 

	
 
*confuse-2.6-r3 (30 Sep 2008)
 

	
 
  30 Sep 2008; MATSUU Takuto <matsuu@gentoo.org>
 
  +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 <matsuu@gentoo.org>
 
  +files/confuse-2.6-O0.patch, +confuse-2.6-r2.ebuild:
 
  Fixed optimization issue, bug #236347.
 

	
 
  17 May 2008; MATSUU Takuto <matsuu@gentoo.org>
 
  -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 <maekke@gentoo.org> confuse-2.6.ebuild:
 
  amd64 stable, bug #217815
 

	
 
  17 Apr 2008; nixnut <nixnut@gentoo.org> confuse-2.6.ebuild:
 
  Stable on ppc wrt bug 217815
 

	
 
  17 Apr 2008; Raúl Porcel <armin76@gentoo.org> confuse-2.6.ebuild:
 
  ia64/x86 stable wrt #217815
 

	
 
  16 Apr 2008; Tobias Klausmann <klausman@gentoo.org> confuse-2.6.ebuild:
 
  Stable on alpha, bug #217815
 

	
 
  16 Apr 2008; Markus Rothe <corsair@gentoo.org> confuse-2.6.ebuild:
 
  Stable on ppc64; bug #217815
 

	
 
  15 Apr 2008; Ferris McCormick <fmccor@gentoo.org> confuse-2.6.ebuild:
 
  Sparc stable --- Bug #217815 --- all tests pass.
 

	
 
  15 Apr 2008; Jeroen Roovers <jer@gentoo.org> confuse-2.6.ebuild:
 
  Stable for HPPA (bug #217815).
 

	
 
*confuse-2.6-r1 (15 Apr 2008)
 

	
 
  15 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> +confuse-2.6-r1.ebuild:
 
  Removed -Werror for gcc-4.3, bug #208095.
 

	
 
*confuse-2.6 (21 Jan 2008)
 

	
 
  21 Jan 2008; MATSUU Takuto <matsuu@gentoo.org> metadata.xml,
 
  +confuse-2.6.ebuild:
 
  Version bumped.
 
  maintainership takeover. bug #203832.
 

	
 
  13 Sep 2007; Roy Marples <uberlord@gentoo.org>
 
  +files/confuse-2.5-libintl.patch, confuse-2.5.ebuild:
 
  Link to libintl correctly on non glibc systems
 

	
 
  08 May 2007; Fabian Groffen <grobian@gentoo.org> confuse-2.5.ebuild:
 
  Dropped ppc-macos keyword, see you in prefix
 

	
 
  09 Apr 2007; Peter Weller <welp@gentoo.org> confuse-2.5.ebuild:
 
  Stable on amd64 wrt bug 172329
 

	
 
  17 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> confuse-2.5.ebuild:
 
  Add ~sparc-fbsd keyword.
 

	
 
  12 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> confuse-2.5.ebuild:
 
  Stable on hppa
 

	
 
  30 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> confuse-2.5.ebuild:
 
  Keyworded ~hppa
 

	
 
  16 May 2006; Emanuele Giaquinta <exg@gentoo.org> confuse-2.5.ebuild:
 
  Stable on ppc.
 

	
 
  30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> confuse-2.5.ebuild:
 
  Add ~x86-fbsd keyword.
 

	
 
  28 Feb 2006; Sandro Bonazzola <sanchan@gentoo.org> 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ò <flameeyes@gentoo.org> confuse-2.5.ebuild:
 
  Remove conditional libtoolize (without re-autoconf) and just call
 
  elibtoolize for sanity checks.
 

	
 
  28 Nov 2005; Tom Gall <tgall@gentoo.org> confuse-2.5.ebuild:
 
  stable on ppc64
 

	
 
  02 Oct 2005; Aron Griffis <agriffis@gentoo.org> confuse-2.5.ebuild:
 
  Mark 2.5 stable on alpha
 

	
 
  02 Oct 2005; Aron Griffis <agriffis@gentoo.org> confuse-2.5.ebuild:
 
  Mark 2.5 stable on ia64
 

	
 
  19 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> confuse-2.5.ebuild:
 
  Stable on sparc
 

	
 
  25 Aug 2005; Aron Griffis <agriffis@gentoo.org> confuse-2.5.ebuild:
 
  add ~alpha ~ia64
 

	
 
  01 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> confuse-2.5.ebuild:
 
  ~sparc wrt #100058
 

	
 
  31 Jul 2005; Markus Rothe <corsair@gentoo.org> confuse-2.5.ebuild:
 
  added ~ppc64 (bug #100058)
 

	
 
  30 Jul 2005; Kito <kito@gentoo.org> confuse-2.5.ebuild:
 
  make libtoolize conditional for Darwin and add ~ppc-macos keyword
 

	
 
  26 Jun 2005; David Holm <dholm@gentoo.org> confuse-2.5.ebuild:
 
  Added to ~ppc.
 

	
 
  12 Jun 2005; Danny van Dyk <kugelfang@gentoo.org> confuse-2.5.ebuild:
 
  Marked ~amd64.
 

	
 
*confuse-2.5 (05 Dec 2004)
 

	
 
  05 Dec 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
 
  +files/confuse-2.5-maketest.patch, +confuse-2.5.ebuild:
 
  initial import bug #47812. Thanks to maj <maj@jamers.net>
 

	
dev-libs/confuse/confuse-2.6-r3.ebuild
Show inline comments
 
new file 100644
 
# 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
 
}
dev-libs/confuse/files/confuse-2.6-O0.patch
Show inline comments
 
new file 100644
 
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 <locale.h>
 
 # include <libintl.h>
 
 # define _(str) dgettext(PACKAGE, str)
 
 #else
dev-libs/confuse/files/confuse-2.6-solaris.patch
Show inline comments
 
new file 100644
 
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 \
dev-libs/confuse/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>no-herd</herd>
 
<maintainer>
 
  <email>matsuu@gentoo.org</email>
 
</maintainer>
 
</pkgmetadata>
0 comments (0 inline, 0 general)