diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 13:39:07 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 13:39:07 +0000 |
commit | 022bd8a70b38852bb6d515f263dd28bb3f1ffe8e (patch) | |
tree | bd459a14987d950eb554828d216747fe02e93bdb /www-servers/thttpd | |
parent | ppc stable #278527 (diff) | |
download | historical-022bd8a70b38852bb6d515f263dd28bb3f1ffe8e.tar.gz historical-022bd8a70b38852bb6d515f263dd28bb3f1ffe8e.tar.bz2 historical-022bd8a70b38852bb6d515f263dd28bb3f1ffe8e.zip |
Fix building with GLIBC 2.10+ wrt #274049.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'www-servers/thttpd')
-rw-r--r-- | www-servers/thttpd/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/thttpd/Manifest | 5 | ||||
-rw-r--r-- | www-servers/thttpd/files/thttpd-2.25b-glibc-2.10.patch | 21 | ||||
-rw-r--r-- | www-servers/thttpd/thttpd-2.25b-r7.ebuild | 5 |
4 files changed, 33 insertions, 6 deletions
diff --git a/www-servers/thttpd/ChangeLog b/www-servers/thttpd/ChangeLog index e2c79a010ea3..8ab6e339b4f1 100644 --- a/www-servers/thttpd/ChangeLog +++ b/www-servers/thttpd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-servers/thttpd -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/ChangeLog,v 1.29 2008/06/26 08:39:18 bangert Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/ChangeLog,v 1.30 2009/08/09 13:39:07 ssuominen Exp $ + + 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + thttpd-2.25b-r7.ebuild, +files/thttpd-2.25b-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #274049. 26 Jun 2008; Thilo Bangert <bangert@gentoo.org> -thttpd-2.25b-r6.ebuild, thttpd-2.25b-r7.ebuild: diff --git a/www-servers/thttpd/Manifest b/www-servers/thttpd/Manifest index 59d4982d3e60..c3fa6157cdc0 100644 --- a/www-servers/thttpd/Manifest +++ b/www-servers/thttpd/Manifest @@ -4,8 +4,9 @@ AUX thttpd-2.25/fix-insecure-tmp-creation-CVE-2005-3124.diff 724 RMD160 45ebedb4 AUX thttpd-2.25/thttpd.conf.sample 672 RMD160 fd44c3f0c094b06aa6a18ff2b360e4cf9174ffc5 SHA1 2bd69756e0c17fe5e79a4eb76486d300defbd671 SHA256 36c778f749a1277569c72b23f9c4e25b80e10c7c74a43f493c99648ec8e5b787 AUX thttpd-2.25/thttpd.confd 1152 RMD160 78503da6afa0bae20ecace503a3f5f8b7532c4ee SHA1 8599769e121d620eea18b27d51ce3d85414ee75d SHA256 cb723bdc62b339a20c238989d45d26bfcd79fa3a8d31e9bd666fdef979c31c54 AUX thttpd-2.25/thttpd.init 745 RMD160 cb2eda2714728f8cee568b83013f3b5bb70974e7 SHA1 83fdd54a3ac959dc5c6a066a181a41c1d898ed9c SHA256 5e4512079ef620a442833a3ff05c0c4ac2856c6c65cc13da8191bd67d0b1b5da +AUX thttpd-2.25b-glibc-2.10.patch 691 RMD160 0fa29c1e864e75fd4a0e0dd097a304435379f63d SHA1 f7a7d121bbfcbfc87d3c500743484db9b415094c SHA256 30ad7d07c03b45497e8067dd9d5ef2abe2a8fc86de7ce40184c178144b3f03b3 AUX thttpd.logrotate 197 RMD160 28c782571b226e49680a80bcbe5313ccc2a92d5c SHA1 384127ca1725a08fcfcd08de46a200c53966c24e SHA256 0399d9fdc31a5555307d33c4744b21271e9d7d4d6ded78573fb9b2210f593bc6 DIST thttpd-2.25b.tar.gz 132363 RMD160 15020e8d04d27b30c4da3104387a281e35d58025 SHA1 51bc25ef035d7557c869a02ce353580a1cadfa2c SHA256 4ceaa30ef55702d5cfdffdccd3a2dee8d3090e852c18c7ce8d17d692ad0bf024 -EBUILD thttpd-2.25b-r7.ebuild 1532 RMD160 216255d159dc0c6de55ec0ee5aa96ca87030e649 SHA1 796cc29696ed7dca741e1c2a5357da76d960d5a9 SHA256 f20d9abe06a69763978388843959eeef9f2f05445ad179c6adffe7989f31f039 -MISC ChangeLog 5598 RMD160 9c34621911649df75059c7ab94dee80fd646b4bc SHA1 1b3c34573899134a9de5b61e4f009146152eb199 SHA256 008e23f6c1379f98b050a78374511b99fa093816a607cba61a7cfac375d7477a +EBUILD thttpd-2.25b-r7.ebuild 1578 RMD160 b8cdcfc2fc24fdcd8c0ccef8999ac633bd3e32d8 SHA1 18e4c99ec97d51731563105c29b5b443c29e0072 SHA256 df2f96c1da3633d0799fb250544bde270d936ebf0fea4f414f09569457fe1d3d +MISC ChangeLog 5764 RMD160 aba7df6b008be39d79b86a5ebc3b5659bb6483fc SHA1 eb9e61461e363c9e36d5bce749377b998ae3c819 SHA256 0bdda5ff984bd3fa07e3b128a7077d69826b7909a94ee5546db7e7b445d52a40 MISC metadata.xml 165 RMD160 121ee15955e06988e10dbe52ca5abd31d2529ce9 SHA1 f13cc4199505863990c257fe060882a5f9a32aab SHA256 f8fe79331ed918344f1ff85578f9a39c0c0925017f3f7de12619e4917acf577c diff --git a/www-servers/thttpd/files/thttpd-2.25b-glibc-2.10.patch b/www-servers/thttpd/files/thttpd-2.25b-glibc-2.10.patch new file mode 100644 index 000000000000..c97227827e4b --- /dev/null +++ b/www-servers/thttpd/files/thttpd-2.25b-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -ur thttpd-2.25b.orig/extras/htpasswd.c thttpd-2.25b/extras/htpasswd.c +--- thttpd-2.25b.orig/extras/htpasswd.c 2001-12-19 02:08:08.000000000 +0200 ++++ thttpd-2.25b/extras/htpasswd.c 2009-08-09 16:40:06.000000000 +0300 +@@ -49,7 +49,7 @@ + while((line[y++] = line[x++])); + } + +-static int getline(char *s, int n, FILE *f) { ++static int get_line(char *s, int n, FILE *f) { + register int i=0; + + while(1) { +@@ -189,7 +189,7 @@ + strcpy(user,argv[2]); + + found = 0; +- while(!(getline(line,MAX_STRING_LEN,f))) { ++ while(!(get_line(line,MAX_STRING_LEN,f))) { + if(found || (line[0] == '#') || (!line[0])) { + putline(tfp,line); + continue; diff --git a/www-servers/thttpd/thttpd-2.25b-r7.ebuild b/www-servers/thttpd/thttpd-2.25b-r7.ebuild index 9dbf6f7721a1..1cb059d5d3a6 100644 --- a/www-servers/thttpd/thttpd-2.25b-r7.ebuild +++ b/www-servers/thttpd/thttpd-2.25b-r7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/thttpd-2.25b-r7.ebuild,v 1.6 2008/06/26 08:39:18 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/thttpd-2.25b-r7.ebuild,v 1.7 2009/08/09 13:39:07 ssuominen Exp $ inherit eutils flag-o-matic @@ -22,6 +22,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${MY_P}/*.diff + epatch "${FILESDIR}"/${P}-glibc-2.10.patch } pkg_setup() { |