diff options
Diffstat (limited to 'dev-libs/http-fetcher')
-rw-r--r-- | dev-libs/http-fetcher/ChangeLog | 13 | ||||
-rw-r--r-- | dev-libs/http-fetcher/Manifest | 27 | ||||
-rw-r--r-- | dev-libs/http-fetcher/files/buffer-overflow-gentoo.patch | 35 | ||||
-rw-r--r-- | dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1 | 1 | ||||
-rw-r--r-- | dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1-r1 | 1 | ||||
-rw-r--r-- | dev-libs/http-fetcher/files/digest-http-fetcher-1.1.0 | 1 | ||||
-rw-r--r-- | dev-libs/http-fetcher/files/errno-link-gentoo.patch | 20 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.0.1-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.0.1.ebuild | 30 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild | 20 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild | 22 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild | 28 | ||||
-rw-r--r-- | dev-libs/http-fetcher/metadata.xml | 10 |
13 files changed, 84 insertions, 162 deletions
diff --git a/dev-libs/http-fetcher/ChangeLog b/dev-libs/http-fetcher/ChangeLog index e657117319ac..cbd1659f48ff 100644 --- a/dev-libs/http-fetcher/ChangeLog +++ b/dev-libs/http-fetcher/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-libs/http-fetcher -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/ChangeLog,v 1.10 2004/12/29 22:18:45 ciaranm Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/ChangeLog,v 1.11 2005/02/11 11:39:29 ka0ttic Exp $ + +*http-fetcher-1.1.0 (11 Feb 2005) + + 11 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml, + -files/buffer-overflow-gentoo.patch, -files/errno-link-gentoo.patch, + -http-fetcher-1.0.1-r1.ebuild, -http-fetcher-1.0.1.ebuild, + http-fetcher-1.0.2.ebuild, http-fetcher-1.0.3.ebuild, + +http-fetcher-1.1.0.ebuild: + Version bump; 1.0.3 stable on x86. Tidy old ebuilds. 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : Change encoding to UTF-8 for GLEP 31 compliance diff --git a/dev-libs/http-fetcher/Manifest b/dev-libs/http-fetcher/Manifest index 2946acbbf71b..416c7ab4e09c 100644 --- a/dev-libs/http-fetcher/Manifest +++ b/dev-libs/http-fetcher/Manifest @@ -1,11 +1,18 @@ -MD5 f9e95ec09eeed47e2695009df1db63c2 http-fetcher-1.0.1-r1.ebuild 1136 -MD5 fe0b2860eadd02e64831b933f038573a http-fetcher-1.0.2.ebuild 767 -MD5 487ec283ce779f55c781fb3d23a4168c ChangeLog 1935 -MD5 95c77f24e9555beddab6a9b833c9f04b http-fetcher-1.0.1.ebuild 870 -MD5 3139a4ce7c5ce95e44f8021df50e888b http-fetcher-1.0.3.ebuild 772 -MD5 986a8927fbf78398c94af18534ae8786 files/digest-http-fetcher-1.0.1-r1 70 -MD5 66353698efa4a7df0b6f6834299152aa files/digest-http-fetcher-1.0.3 70 -MD5 5bed14995f10b0fafebd610a6b74deaf files/buffer-overflow-gentoo.patch 1173 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 a8e4bcfc756caaf4270525763c11cfba http-fetcher-1.0.3.ebuild 762 +MD5 4f2dfbbbe171fcdf14add4de3d19932d http-fetcher-1.0.2.ebuild 743 +MD5 8fccd30ee6f6d27098f2501efa9e6d0f http-fetcher-1.1.0.ebuild 882 +MD5 b8ee8f282b742fcc5675a665ea7ef133 ChangeLog 2308 +MD5 d4c8b46f106b5227d676a585a0f84063 metadata.xml 255 MD5 eac0ac4773ed1cbe44374680c329353f files/digest-http-fetcher-1.0.2 70 -MD5 81ec499439ffb3a7dd72c50fa3285a26 files/errno-link-gentoo.patch 584 -MD5 986a8927fbf78398c94af18534ae8786 files/digest-http-fetcher-1.0.1 70 +MD5 66353698efa4a7df0b6f6834299152aa files/digest-http-fetcher-1.0.3 70 +MD5 d180063664e90028ec3453192662c0fb files/digest-http-fetcher-1.1.0 70 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCDJnrEZCkKN40op4RAj/2AJ9DYzia66FIWExudXGy/knuXNgjcQCfXVIB +1o3ypz8fb16OwFfjNl15APw= +=dSPR +-----END PGP SIGNATURE----- diff --git a/dev-libs/http-fetcher/files/buffer-overflow-gentoo.patch b/dev-libs/http-fetcher/files/buffer-overflow-gentoo.patch deleted file mode 100644 index ac54815a0758..000000000000 --- a/dev-libs/http-fetcher/files/buffer-overflow-gentoo.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- http_fetcher.c Tue Jul 31 03:47:15 2001 -+++ http_fetcher.patch.c Thu Jan 2 22:24:48 2003 -@@ -94,7 +94,7 @@ - * request */ - sprintf(requestBuf, "GET / %s\n", HTTP_VERSION); - else -- sprintf(requestBuf, "GET %s %s\n", charIndex, HTTP_VERSION); -+ snprintf(requestBuf, sizeof(requestBuf)/4-1,"GET %s %s\n", charIndex, HTTP_VERSION); - - /* Null out the end of the hostname if need be */ - if(charIndex != NULL) -@@ -102,13 +102,13 @@ - /* Use Host: even though 1.0 doesn't specify it. Some servers - * won't play nice if we don't send Host, and it shouldn't hurt anything */ - strcat(requestBuf, "Host: "); -- strcat(requestBuf, host); -+ strncat(requestBuf, host, sizeof(requestBuf)/4-1); - strcat(requestBuf, "\n"); - - if(!hideReferer && referer != NULL) /* NO default referer */ - { - strcat(requestBuf, "Referer: "); -- strcat(requestBuf, referer); -+ strncat(requestBuf, referer, sizeof(requestBuf)/4-1); - strcat(requestBuf, "\n"); - } - -@@ -123,7 +123,7 @@ - else if(!hideUserAgent) - { - strcat(requestBuf, "User-Agent: "); -- strcat(requestBuf, userAgent); -+ strncat(requestBuf, userAgent, sizeof(requestBuf)/4-1); - strcat(requestBuf, "\n"); - } diff --git a/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1 b/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1 deleted file mode 100644 index 49a19aef6bdb..000000000000 --- a/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3fd1b6c1cada35279f08bf6874dab98e http_fetcher-1.0.1.tar.gz 173544 diff --git a/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1-r1 b/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1-r1 deleted file mode 100644 index 49a19aef6bdb..000000000000 --- a/dev-libs/http-fetcher/files/digest-http-fetcher-1.0.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3fd1b6c1cada35279f08bf6874dab98e http_fetcher-1.0.1.tar.gz 173544 diff --git a/dev-libs/http-fetcher/files/digest-http-fetcher-1.1.0 b/dev-libs/http-fetcher/files/digest-http-fetcher-1.1.0 new file mode 100644 index 000000000000..be8d77f0ff82 --- /dev/null +++ b/dev-libs/http-fetcher/files/digest-http-fetcher-1.1.0 @@ -0,0 +1 @@ +MD5 7c4ff599b1024554e548e4bf85eee43e http_fetcher-1.1.0.tar.gz 382470 diff --git a/dev-libs/http-fetcher/files/errno-link-gentoo.patch b/dev-libs/http-fetcher/files/errno-link-gentoo.patch deleted file mode 100644 index 4ba2771291fa..000000000000 --- a/dev-libs/http-fetcher/files/errno-link-gentoo.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -ur http_fetcher-1.0.1/src/http_fetcher.c http_fetcher-1.0.1~/src/http_fetcher.c ---- http_fetcher-1.0.1/src/http_fetcher.c 2001-07-30 13:47:15.000000000 -0500 -+++ http_fetcher-1.0.1~/src/http_fetcher.c 2003-03-24 11:38:19.000000000 -0600 -@@ -24,6 +24,7 @@ - #include <netinet/in.h> - #include <sys/types.h> - #include <sys/time.h> -+#include <errno.h> - #include "http_fetcher.h" - - /* Globals */ -@@ -457,7 +458,6 @@ - */ - const char *http_strerror() - { -- extern int errno; - extern int *sys_errlist[]; - - if(errorSource == ERRNO) -Only in http_fetcher-1.0.1~/src: http_fetcher.c~ diff --git a/dev-libs/http-fetcher/http-fetcher-1.0.1-r1.ebuild b/dev-libs/http-fetcher/http-fetcher-1.0.1-r1.ebuild deleted file mode 100644 index 167db9e038b6..000000000000 --- a/dev-libs/http-fetcher/http-fetcher-1.0.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.1-r1.ebuild,v 1.4 2004/07/02 04:42:46 eradicator Exp $ - -DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." -HOMEPAGE="http://cs.nmu.edu/~lhanson/http_fetcher/" -SRC_URI="http://cs.nmu.edu/~lhanson/http_fetcher/dls/${P/-/_}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -DEPEND="virtual/libc" - -S=${WORKDIR}/${P/-/_} - -src_unpack () { - unpack ${A} - # source: InetCop Security Advisory, Bugtraq, 06 Jan 2003 - cd ${S}/src && patch -p0 <${FILESDIR}/buffer-overflow-gentoo.patch || die - # glibc2.3.2 linking problems - cd ${S} && patch -p1 <${FILESDIR}/errno-link-gentoo.patch || die -} - -src_compile() { - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man || die "./configure failed" - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - dohtml -r docs/index.html docs/html - dodoc README ChangeLog INSTALL LICENSE -} diff --git a/dev-libs/http-fetcher/http-fetcher-1.0.1.ebuild b/dev-libs/http-fetcher/http-fetcher-1.0.1.ebuild deleted file mode 100644 index 3ae9ff7a39b6..000000000000 --- a/dev-libs/http-fetcher/http-fetcher-1.0.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.1.ebuild,v 1.4 2004/07/02 04:42:46 eradicator Exp $ - -DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." -HOMEPAGE="http://cs.nmu.edu/~lhanson/http_fetcher/" -SRC_URI="http://cs.nmu.edu/~lhanson/http_fetcher/dls/${P/-/_}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -DEPEND="virtual/libc" - -S=${WORKDIR}/${P/-/_} - -src_compile() { - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man || die "./configure failed" - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - dohtml -r docs/index.html docs/html - dodoc README ChangeLog INSTALL LICENSE -} diff --git a/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild b/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild index 6728da4a5313..4ec2b48dc972 100644 --- a/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild +++ b/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild @@ -1,27 +1,23 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild,v 1.7 2004/07/02 04:42:46 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.2.ebuild,v 1.8 2005/02/11 11:39:29 ka0ttic Exp $ +MY_P="${P/-/_}" +S="${WORKDIR}/${MY_P}" DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." HOMEPAGE="http://http-fetcher.sourceforge.net" -SRC_URI="mirror://sourceforge/http-fetcher/${P/-/_}.tar.gz" +SRC_URI="mirror://sourceforge/http-fetcher/${MY_P}.tar.gz" + RESTRICT="nomirror" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="x86" IUSE="" -DEPEND="virtual/libc" - -S=${WORKDIR}/${P/-/_} - -src_compile() { - econf || die "econf failed" - emake || die -} +RDEPEND="virtual/libc" src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "make install failed" dohtml -r docs/index.html docs/html dodoc README ChangeLog INSTALL LICENSE } diff --git a/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild b/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild index 78a3fbe6cc5a..708690b4935b 100644 --- a/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild +++ b/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild @@ -1,27 +1,23 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild,v 1.5 2004/07/02 04:42:46 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.0.3.ebuild,v 1.6 2005/02/11 11:39:29 ka0ttic Exp $ +MY_P="${P/-/_}" +S="${WORKDIR}/${MY_P}" DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." HOMEPAGE="http://http-fetcher.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.gz" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + RESTRICT="nomirror" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~x86 ~amd64 alpha ~ppc" +KEYWORDS="x86 ~amd64 alpha ~ppc" IUSE="" -DEPEND="virtual/libc" - -S=${WORKDIR}/${P/-/_} - -src_compile() { - econf || die - emake || die -} +RDEPEND="virtual/libc" src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "make install failed" dohtml -r docs/index.html docs/html dodoc README ChangeLog CREDITS INSTALL LICENSE } diff --git a/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild new file mode 100644 index 000000000000..81253f7e347e --- /dev/null +++ b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild,v 1.1 2005/02/11 11:39:29 ka0ttic Exp $ + +MY_P="${P/-/_}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="HTTP Fetcher is a small, robust, flexible library for downloading files via HTTP using the GET method." +HOMEPAGE="http://http-fetcher.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +RESTRICT="nomirror" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~alpha ~ppc" +IUSE="debug" + +RDEPEND="virtual/libc" + +src_compile() { + econf --enable-strict $(use_enable debug) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dohtml -r docs/index.html docs/html + dodoc README ChangeLog CREDITS INSTALL LICENSE +} diff --git a/dev-libs/http-fetcher/metadata.xml b/dev-libs/http-fetcher/metadata.xml new file mode 100644 index 000000000000..45254caaf26a --- /dev/null +++ b/dev-libs/http-fetcher/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>ka0ttic@gentoo.org</email> + <name>Aaron Walker</name> + </maintainer> +</pkgmetadata> + |