diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2009-03-04 15:34:11 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2009-03-04 15:34:11 +0000 |
commit | fa8cd3a15da70af452308e534c4ed8e0c916b342 (patch) | |
tree | 9ac16a7f1072c9ff340744d142a05eb478fec0f3 /dev-libs/gnulib | |
parent | * bump (diff) | |
download | historical-fa8cd3a15da70af452308e534c4ed8e0c916b342.tar.gz historical-fa8cd3a15da70af452308e534c4ed8e0c916b342.tar.bz2 historical-fa8cd3a15da70af452308e534c4ed8e0c916b342.zip |
Add a snapshot of gnulib
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/gnulib')
-rw-r--r-- | dev-libs/gnulib/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/gnulib/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch | 12 | ||||
-rw-r--r-- | dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch | 15 | ||||
-rw-r--r-- | dev-libs/gnulib/gnulib-2009.03.03.14.07.45.ebuild | 72 |
5 files changed, 117 insertions, 6 deletions
diff --git a/dev-libs/gnulib/ChangeLog b/dev-libs/gnulib/ChangeLog index 99245aa147d2..0f0b6d3806e0 100644 --- a/dev-libs/gnulib/ChangeLog +++ b/dev-libs/gnulib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/gnulib # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gnulib/ChangeLog,v 1.6 2009/02/02 18:57:54 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gnulib/ChangeLog,v 1.7 2009/03/04 15:34:11 drizzt Exp $ + +*gnulib-2009.03.03.14.07.45 (04 Mar 2009) + + 04 Mar 2009; Timothy Redaelli <drizzt@gentoo.org> + +files/gnulib-2008.07.23-rpl_getopt.patch, + +files/gnulib-2009.03.03.14.07.45-scandir.patch, + +gnulib-2009.03.03.14.07.45.ebuild: + Add a snapshot of gnulib 02 Feb 2009; <drizzt@gentoo.org> -gnulib-9999.ebuild, +gnulib-9999-r1.ebuild: diff --git a/dev-libs/gnulib/Manifest b/dev-libs/gnulib/Manifest index 399bd084224f..169c60cd76cd 100644 --- a/dev-libs/gnulib/Manifest +++ b/dev-libs/gnulib/Manifest @@ -1,13 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX gnulib-2008.07.23-rpl_getopt.patch 304 RMD160 a20477e8587f910c13c3995d75649a868b96b79a SHA1 66a4e1826ff8f8458f1d0c4ff4b4786a7060f968 SHA256 b3d1aaad2310fc793763839bae0e0ab67ff7882731f03a943461db95da3c2443 +AUX gnulib-2009.03.03.14.07.45-scandir.patch 316 RMD160 a60a8c569fd73e83a0a038a57ff430da84c54810 SHA1 1e194b4ca8f45a1c050ef595d74393febb2accca SHA256 e390b51d3cc1534d225cbdee27ffbf1ffd6967d0571c1f4435b4aa928eea9203 +DIST gnulib-8d2524ce78ca107074727cbd8780c26a203a107c.tar.gz 3687831 RMD160 a25bd3c079464f531d4dc76cb9362e412ab7a56e SHA1 f80c9d309d8b58c00fd9b212e32289742030f45e SHA256 a220080dda77159b2d30bbed93437b97efeef20c417e255296924d580ce6d309 +EBUILD gnulib-2009.03.03.14.07.45.ebuild 2013 RMD160 c0df0e32d919e14b8d2414851d00d08a69fe3956 SHA1 7f097c4042f00f24db3df4fcf0c58159126d0aeb SHA256 1ba7d2b53e26baef7134516aaa6d19693eceaea5fb5fdd0a5acbc9c051e5b9c8 EBUILD gnulib-9999-r1.ebuild 1039 RMD160 baa13eaf235b6ba9a0773084c98a3ae5a4484249 SHA1 b0a75a5ec0027d1028fc49d365a886dc45d9b108 SHA256 896c441aec1219df353b799c740116b1b54b57061e7a952bd09e4515cb219021 -MISC ChangeLog 777 RMD160 6e2f72e3d20c4215aea32ef308f1e64464143e8a SHA1 6d8dfffb2541b80e8f30ad157b62240774dc3077 SHA256 49a3f8f8efa9f5faacd42be44abcf4d8b5baa22ab973d7cbad538b1d07ce89a5 +MISC ChangeLog 1034 RMD160 7f11fbcfd7a1b104ad86e5a7712ba8b9bfeef683 SHA1 31d129c69c53b6e35d3c78a3f7d29331131381ea SHA256 158fb1135a7a468171a48e0a9ccc43519357cedbeb287f1bd7dce372c291927e MISC metadata.xml 220 RMD160 308345912146c5e9bd3f1d2ee119e04cede580a3 SHA1 2869d94e798df613f6a03d471ca672fce92af74e SHA256 f887a8f740f065e7b83ebcb94494ab388927dca6b0d57e6f8b1b7acc9822af66 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.10 (GNU/Linux) -iEYEARECAAYFAkmHlNcACgkQ/ejvha5XGaOzYACgz4c9IOpGlzdTaOiH54ZEAH0G -6xMAn17mXSdwaHgjA4STwvla1liFLjAh -=SfkT +iEYEARECAAYFAkmun3oACgkQl4DfQEcjpw2tbQCeORVc03KOdTZAyh42wbCBRo0w +5/UAn1WJnEAi8oh4c4yt+Sit1UIFhWV7 +=Uonj -----END PGP SIGNATURE----- diff --git a/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch b/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch new file mode 100644 index 000000000000..2ef427a84c3b --- /dev/null +++ b/dev-libs/gnulib/files/gnulib-2008.07.23-rpl_getopt.patch @@ -0,0 +1,12 @@ +--- lib/getopt.in.h.orig 2008-07-25 13:40:38 +0200 ++++ lib/getopt.in.h 2008-07-25 13:41:25 +0200 +@@ -20,6 +20,9 @@ + + #ifndef __need_getopt + # define _GETOPT_H 1 ++# ifndef __GETOPT_PREFIX ++# define __GETOPT_PREFIX rpl_ ++# endif + #endif + + /* Standalone applications should #define __GETOPT_PREFIX to an diff --git a/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch b/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch new file mode 100644 index 000000000000..67b1274c8020 --- /dev/null +++ b/dev-libs/gnulib/files/gnulib-2009.03.03.14.07.45-scandir.patch @@ -0,0 +1,15 @@ +--- a/lib/scandir.c ++++ b/lib/scandir.c +@@ -18,6 +18,12 @@ + #include <config.h> + + #include <dirent.h> ++#ifndef _D_EXACT_NAMLEN ++# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name) ++#endif ++#ifndef _D_ALLOC_NAMLEN ++# define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1) ++#endif + + #include <stdlib.h> + #include <string.h> diff --git a/dev-libs/gnulib/gnulib-2009.03.03.14.07.45.ebuild b/dev-libs/gnulib/gnulib-2009.03.03.14.07.45.ebuild new file mode 100644 index 000000000000..8c1d20ccfdd8 --- /dev/null +++ b/dev-libs/gnulib/gnulib-2009.03.03.14.07.45.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gnulib/gnulib-2009.03.03.14.07.45.ebuild,v 1.1 2009/03/04 15:34:11 drizzt Exp $ + +inherit eutils + +DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level." +HOMEPAGE="http://www.gnu.org/software/gnulib" + +# This tar.gz is created on-the-fly when downloaded from +# http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=${GNULIB_COMMIT_GITID};sf=tgz +# So to have persistent checksums, we need to download once and cache it. +# +# To get a new version, download a "snapshot" from +# http://git.savannah.gnu.org/gitweb/?p=gnulib.git +# take the commit-id as GNULIB_COMMIT_GITID +# and the committer's timestamp (not the author's one), year to second, UTC +# as the ebuild version. +# +# To see what the last commit message for the current version was, use +# http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=${GNULIB_COMMIT_GITID} +# +GNULIB_COMMIT_GITID=8d2524ce78ca107074727cbd8780c26a203a107c +SRC_URI="http://dev.gentoo.org/~drizzt/distfiles/${PN}-${GNULIB_COMMIT_GITID}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86-fbsd" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}"/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" || die + epatch "${FILESDIR}"/${PN}-2008.07.23-rpl_getopt.patch + epatch "${FILESDIR}"/${P}-scandir.patch + + # Remove the broken pxref + sed -i '$d' doc/ld-version-script.texi || die "cannot fix ld-version-script.texi" +} + +src_compile() { + if use doc; then + emake -C doc info html || die "emake failed" + fi +} + +src_install() { + dodoc README COPYING ChangeLog + if use doc; then + dohtml doc/gnulib.html + doinfo doc/gnulib.info + fi + + insinto /usr/share/${PN} + doins -r lib + doins -r m4 + doins -r modules + doins -r build-aux + doins -r top + + # install the real script + exeinto /usr/share/${PN} + doexe gnulib-tool + + # create and install the wrapper + dosym /usr/share/${PN}/gnulib-tool /usr/bin/gnulib-tool +} |