diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2013-10-11 17:58:25 -0700 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2013-10-11 19:11:19 -0700 |
commit | af4e83264d849a2fb07cb924085d1012d3cc6f91 (patch) | |
tree | c703c11c9470e7e635cd66ad3d362c39a4f6dc9c /dev-libs/iniparser | |
parent | media-libs/sbc: A nice easy one with no nonstandard eclass deps (diff) | |
download | gmt-af4e83264d849a2fb07cb924085d1012d3cc6f91.tar.gz gmt-af4e83264d849a2fb07cb924085d1012d3cc6f91.tar.bz2 gmt-af4e83264d849a2fb07cb924085d1012d3cc6f91.zip |
dev-libs/iniparser: clone upstream
Signed-off-by: Gregory M. Turner <gmt@be-evil.net>
Diffstat (limited to 'dev-libs/iniparser')
-rw-r--r-- | dev-libs/iniparser/ChangeLog | 125 | ||||
-rw-r--r-- | dev-libs/iniparser/Manifest | 16 | ||||
-rw-r--r-- | dev-libs/iniparser/files/iniparser-3.0-autotools.patch | 46 | ||||
-rw-r--r-- | dev-libs/iniparser/files/iniparser-3.0b-cpp.patch | 47 | ||||
-rw-r--r-- | dev-libs/iniparser/iniparser-3.1.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/iniparser/metadata.xml | 9 |
6 files changed, 290 insertions, 0 deletions
diff --git a/dev-libs/iniparser/ChangeLog b/dev-libs/iniparser/ChangeLog new file mode 100644 index 0000000..19d6df4 --- /dev/null +++ b/dev-libs/iniparser/ChangeLog @@ -0,0 +1,125 @@ +# ChangeLog for dev-libs/iniparser +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/ChangeLog,v 1.31 2013/02/25 08:28:24 zmedico Exp $ + + 25 Feb 2013; Zac Medico <zmedico@gentoo.org> iniparser-3.1.ebuild: + Add ~arm-linux and ~x86-linux keywords. + + 13 Sep 2012; Tomáš Chvátal <scarabeus@gentoo.org> + -files/iniparser-3.0b-fix-set-functions.patch, + -files/iniparser-3.0b-makefile.patch, -iniparser-3.0.0.ebuild, + -iniparser-3.0b-r1.ebuild: + Remove older stuff. + + 26 Aug 2012; Raúl Porcel <armin76@gentoo.org> iniparser-3.1.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #428152 + + 04 Aug 2012; Markos Chandras <hwoarang@gentoo.org> iniparser-3.1.ebuild: + Stable on amd64 wrt bug #428152 + + 30 Jul 2012; Anthony G. Basile <blueness@gentoo.org> iniparser-3.1.ebuild: + Stable arm, bug #428152 + + 28 Jul 2012; Anthony G. Basile <blueness@gentoo.org> iniparser-3.1.ebuild: + Stable ppc/ppc64, bug #428152 + + 27 Jul 2012; Jeff Horelick <jdhore@gentoo.org> iniparser-3.1.ebuild: + marked x86 per bug 428152 + + 26 Jul 2012; Jeroen Roovers <jer@gentoo.org> iniparser-3.1.ebuild: + Stable for HPPA (bug #428152). + +*iniparser-3.1 (25 May 2012) + + 25 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +iniparser-3.1.ebuild, + -iniparser-3.0b-r2.ebuild, -iniparser-3.0b.ebuild: + Version bump to 3.1 wrt bug#417467. + + 16 May 2012; Alexis Ballier <aballier@gentoo.org> iniparser-3.0.0.ebuild: + keyword ~amd64-fbsd + + 30 Mar 2012; Víctor Ostorga <vostorga@gentoo.org> iniparser-3.0.0.ebuild: + Adding sys-devel/libtool as a DEPEND, bug 401527 + +*iniparser-3.0.0 (11 Jan 2012) + + 11 Jan 2012; Christoph Junghans <ottxor@gentoo.org> +iniparser-3.0.0.ebuild, + +files/iniparser-3.0-autotools.patch: + version bump + + 26 Sep 2010; Mart Raudsepp <leio@gentoo.org> iniparser-3.0b-r2.ebuild: + Add ~mips + + 11 Apr 2010; Tiziano Müller <dev-zero@gentoo.org> + iniparser-3.0b-r2.ebuild: + ... and install the *.ini example files as well. + + 11 Apr 2010; Tiziano Müller <dev-zero@gentoo.org> + iniparser-3.0b-r2.ebuild: + ... and disable tests since they are useless. + +*iniparser-3.0b-r2 (11 Apr 2010) + + 11 Apr 2010; Tiziano Müller <dev-zero@gentoo.org> + iniparser-3.0b-r1.ebuild, +iniparser-3.0b-r2.ebuild, + +files/iniparser-3.0b-cpp.patch, +files/iniparser-3.0b-makefile.patch: + Respect CC properly (bug #296050, thanks to Jeroen Roovers). Make headers + C++ compatible (bug #264508, thanks to Lei Qing). + + 27 Dec 2009; Joseph Jezak <josejx@gentoo.org> iniparser-3.0b-r1.ebuild: + Marked ppc/ppc64 stable for bug #291428. + + 15 Dec 2009; Raúl Porcel <armin76@gentoo.org> iniparser-3.0b-r1.ebuild: + ia64/sparc stable wrt #291428 + + 07 Dec 2009; Jeroen Roovers <jer@gentoo.org> iniparser-3.0b-r1.ebuild: + Stable for HPPA (bug #291428). + + 06 Dec 2009; Tobias Klausmann <klausman@gentoo.org> + iniparser-3.0b-r1.ebuild: + Stable on alpha, bug #291428 + + 26 Nov 2009; Víctor Ostorga <vostorga@gentoo.org> iniparser-3.0b.ebuild, + iniparser-3.0b-r1.ebuild: + Fixing typo in ebuild DESCRIPTION, bug #294755 + + 26 Nov 2009; Markus Meier <maekke@gentoo.org> iniparser-3.0b-r1.ebuild: + amd64/arm/x86 stable, bug #291428 + + 22 Jul 2009; Joseph Jezak <josejx@gentoo.org> iniparser-3.0b-r1.ebuild: + Marked ~ppc/~ppc64 for bug #275429. + + 05 Jul 2009; Javier Villavicencio <the_paya@gentoo.org> + iniparser-3.0b-r1.ebuild: + Add ~x86-fbsd. + + 01 Jul 2009; Raúl Porcel <armin76@gentoo.org> iniparser-3.0b-r1.ebuild: + Add ~arm/~s390/~sh + + 30 Jun 2009; Raúl Porcel <armin76@gentoo.org> iniparser-3.0b-r1.ebuild: + Add ~ia64/~sparc wrt #275429 + + 28 Jun 2009; Tobias Klausmann <klausman@gentoo.org> + iniparser-3.0b-r1.ebuild: + Keyworded on alpha, bug #275429 + + 26 Jun 2009; Jeroen Roovers <jer@gentoo.org> iniparser-3.0b-r1.ebuild: + Marked ~hppa (bug #275429). + +*iniparser-3.0b-r1 (04 May 2009) + + 04 May 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +iniparser-3.0b-r1.ebuild, +files/iniparser-3.0b-fix-set-functions.patch: + Applied patch to sync headers and source of iniparser. Thanks to John + Keeping <john.keeping@lineone.net> - fixes bug 267753. Applied with + dev-zero's agreement. + + 15 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> iniparser-3.0b.ebuild: + Added creation of symlink libiniparser.so->libiniparser.so.0 (bug + #231352). + +*iniparser-3.0b (08 Mar 2008) + + 08 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml, + +iniparser-3.0b.ebuild: + Initial commit for samba-3.2_pre2 diff --git a/dev-libs/iniparser/Manifest b/dev-libs/iniparser/Manifest new file mode 100644 index 0000000..4e8bf66 --- /dev/null +++ b/dev-libs/iniparser/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX iniparser-3.0-autotools.patch 978 SHA256 0f415fcf919f94489b5447af32d118a470b1b79862775eee4fd90ee786cd7cd7 SHA512 b03cc1dbd6dc108a9122a58146a28995f46a7626874970991731d9c7afbfdb709f46a0f948101490615054849c35865a58416d7659b870a8fb07b65be7acb03a WHIRLPOOL 398993be7b0cc6f4f6b2466261ecce9921b034e5cc83ca951df9447fd2edd5f16135253f7c9dc476d00d03a7612b4c17eb91469f1a975ec5189adea7eec5ee5e +AUX iniparser-3.0b-cpp.patch 1446 SHA256 219c40b19e61191ef64de77d02351326f058f5eaf3447a7f5b5594c58fa3b378 SHA512 8eb2058e332783ae11ef5cbebec153ee1938352f111e3efe332035aa013cf6d01a917aef9a7b8f46f7bd070986e5e686e584d46dedf30276baeb8da0954631a9 WHIRLPOOL d8a31bf5459174af39c49fe83577910a61250f1b2982dc96ab6644375d7f4b3044bb5fab51e6d5f9e3df0092a51ad5adfd361c5f6188e7d773318f7e70de69d8 +DIST iniparser-3.1.tar.gz 39097 SHA256 aedf23881b834519aea5e861b2400606d211da049cd59d3cfb4568e0d9eff5c5 SHA512 8fd8324c5629fdc3e3eff00afb5f0832402ccc760c5b92db82aa29b340ec891419ca2c4fee3a4d4d67cf9bc51c76b095bc0c458e087c2b8e72ac36867c47ae86 WHIRLPOOL 1b8e6d5c34918cf51db605a7bc81eed75b521a57b403bbf26b572506735d78f58bad250512d53cfc08959c827713c8477a877b66b900a553a9c8099757df6d89 +EBUILD iniparser-3.1.ebuild 1124 SHA256 3255c3b7f045a25a1a8c324feef4612ee8f3a76dedc6d5cde1d84cee527e4fe3 SHA512 03f2f55427ce5506a652acf75ced37a9e39c8692589a2dfa3a4863696160756822298b31cf545a04887dd2390dd3e11abc2ed31f31c37bbfa895b5c6fcb45238 WHIRLPOOL 0c8b198f1c931a88ad6d805f7461f0763d04418aecd75227a8fdd87a4ecdc12c02d0521c1bbe67e27f242c52ce8cb88fd9bd2b98dacc9efa714a5776a3e8ac13 +MISC ChangeLog 4493 SHA256 c5adc0443d527df83b9e3a73351bfea7e760c174ee2fafb869becf71cd17d8da SHA512 a3b5fa90369ec2feafcc82cea6b82ba3c172fb23ff1c9ce72381aa181db10751fca524eafc480e630da32fac76c96127aa40ae824c7d00bc13d3ac33e96f9712 WHIRLPOOL f4b2b94fa4e04e0b99b251247ab458c86f7df92bdbc59bcdb40fb45b2aef26adffa3b9964038f2f0420a0e4cbc652be3e6e0e72109efdcd689baff5874474448 +MISC metadata.xml 243 SHA256 710a08f21d0ea625d85ffae3040a4f64777b318263dd5323d9b695ea9ded3b02 SHA512 558e567645cc5b407bc47e36eadb9f629581d613044b1cce1b11736d92438e5eca3ac75e5007d54a7231072ac7625d509cad239b87e51498c6e50acfb9537b5e WHIRLPOOL 0fc1cb21cc9efa3ec3912fa4d7c40e36c6a53bf13cd32015380715771db82c6cb7d6293cdf6151f9de061a4860317467ce7e840b79cb497e4560fd37b020b66e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlErIKoACgkQ/ejvha5XGaOSPgCfRFXh7qWx698sN3/iSpwvweEQ +nSQAniR9W3vngaHqGrWP78ZuONAF/5TD +=zEzd +-----END PGP SIGNATURE----- diff --git a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch new file mode 100644 index 0000000..68eca7e --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch @@ -0,0 +1,46 @@ +diff --git Makefile.am Makefile.am +new file mode 100644 +index 0000000..63ca53b +--- /dev/null ++++ Makefile.am +@@ -0,0 +1,10 @@ ++ACLOCAL_AMFLAGS = -I config ++ ++lib_LTLIBRARIES = libiniparser.la ++ ++libiniparser_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ ++libiniparser_la_SOURCES = src/dictionary.c src/iniparser.c ++ ++include_HEADERS = src/dictionary.h src/iniparser.h ++ ++ +diff --git configure.ac configure.ac +new file mode 100644 +index 0000000..1eac717 +--- /dev/null ++++ configure.ac +@@ -0,0 +1,24 @@ ++AC_PREREQ([2.65]) ++AC_INIT([iniparser], [3.0], [ndevilla@free.fr]) ++ ++AC_CONFIG_AUX_DIR(config) ++AC_CONFIG_MACRO_DIR(config) ++ ++AM_INIT_AUTOMAKE([1.8 foreign]) ++ ++SHARED_VERSION_INFO="0" ++AC_SUBST(SHARED_VERSION_INFO) ++ ++ ++# Checks for programs. ++AC_PROG_CC ++ ++LT_INIT ++# Checks for header files. ++AC_CHECK_HEADERS([ ctype.h stdio.h stdlib.h string.h ]) ++ ++# Checks for library functions. ++AC_CHECK_FUNCS([strcmp]) ++ ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT diff --git a/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch b/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch new file mode 100644 index 0000000..cb331b8 --- /dev/null +++ b/dev-libs/iniparser/files/iniparser-3.0b-cpp.patch @@ -0,0 +1,47 @@ +diff -ur iniparser3.0b/src/dictionary.c iniparser3.0b-patched/src/dictionary.c +--- iniparser3.0b/src/dictionary.c 2007-11-24 05:39:18.000000000 +0800 ++++ iniparser3.0b-patched/src/dictionary.c 2009-04-01 21:38:09.000000000 +0800 +@@ -38,6 +38,9 @@ + /*--------------------------------------------------------------------------- + Private functions + ---------------------------------------------------------------------------*/ ++#ifdef __cplusplus ++extern "C" { ++#endif + + /* Doubles the allocated size associated to a pointer */ + /* 'size' is the current allocated size. */ +@@ -401,5 +404,10 @@ + dictionary_del(d); + return 0 ; + } ++ ++#ifdef __cplusplus ++} ++#endif ++ + #endif + /* vim: set ts=4 et sw=4 tw=75 */ +diff -ur iniparser3.0b/src/iniparser.h iniparser3.0b-patched/src/iniparser.h +--- iniparser3.0b/src/iniparser.h 2007-11-24 05:38:19.000000000 +0800 ++++ iniparser3.0b-patched/src/iniparser.h 2009-04-01 21:38:02.000000000 +0800 +@@ -41,6 +41,10 @@ + #define iniparser_getstr(d, k) iniparser_getstring(d, k, NULL) + #define iniparser_setstr iniparser_setstring + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + /*-------------------------------------------------------------------------*/ + /** + @brief Get number of sections in a dictionary +@@ -277,4 +281,8 @@ + /*--------------------------------------------------------------------------*/ + void iniparser_freedict(dictionary * d); + ++#ifdef __cplusplus ++} ++#endif ++ + #endif diff --git a/dev-libs/iniparser/iniparser-3.1.ebuild b/dev-libs/iniparser/iniparser-3.1.ebuild new file mode 100644 index 0000000..4172750 --- /dev/null +++ b/dev-libs/iniparser/iniparser-3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.1.ebuild,v 1.8 2013/02/25 08:28:24 zmedico Exp $ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A free stand-alone ini file parsing library." +HOMEPAGE="http://ndevilla.free.fr/iniparser/" + +SRC_URI="http://ndevilla.free.fr/iniparser/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-macos" +IUSE="doc examples static-libs" + +DEPEND="doc? ( app-doc/doxygen ) + sys-devel/libtool" +RDEPEND="" + +# the tests are rather examples than tests, no point in running them +RESTRICT="test" + +S="${WORKDIR}/${PN}" + +DOCS=( AUTHORS README ) + +PATCHES=( + "${FILESDIR}/${PN}-3.0b-cpp.patch" + "${FILESDIR}/${PN}-3.0-autotools.patch" +) + +src_install() { + autotools-utils_src_install + + if use doc; then + emake -C doc + dohtml -r html/* + fi + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins test/*.{c,ini,py} + fi +} diff --git a/dev-libs/iniparser/metadata.xml b/dev-libs/iniparser/metadata.xml new file mode 100644 index 0000000..714b385 --- /dev/null +++ b/dev-libs/iniparser/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>samba</herd> +<maintainer> + <email>samba@gentoo.org</email> + <name>Samba Team</name> +</maintainer> +</pkgmetadata> |