diff options
author | 2006-11-05 16:04:11 +0000 | |
---|---|---|
committer | 2006-11-05 16:04:11 +0000 | |
commit | c6281e92d086e7c5493e8527750ded8cbde12575 (patch) | |
tree | 74a353b5da9e34aa4d18debed29662f33bfd200c | |
parent | Adding new category net-misc (diff) | |
download | genstef-c6281e92d086e7c5493e8527750ded8cbde12575.tar.gz genstef-c6281e92d086e7c5493e8527750ded8cbde12575.tar.bz2 genstef-c6281e92d086e7c5493e8527750ded8cbde12575.zip |
Update
svn path=/; revision=63
-rw-r--r-- | net-misc/wput/ChangeLog | 43 | ||||
-rw-r--r-- | net-misc/wput/Manifest | 20 | ||||
-rw-r--r-- | net-misc/wput/files/digest-wput-0.4 | 1 | ||||
-rw-r--r-- | net-misc/wput/files/digest-wput-0.5 | 1 | ||||
-rw-r--r-- | net-misc/wput/files/digest-wput-0.6_pre | 1 | ||||
-rw-r--r-- | net-misc/wput/files/wput-0.5-gentoo.diff | 37 | ||||
-rw-r--r-- | net-misc/wput/files/wput-0.6_pre-gentoo.diff | 57 | ||||
-rw-r--r-- | net-misc/wput/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/wput/wput-0.4.ebuild | 30 | ||||
-rw-r--r-- | net-misc/wput/wput-0.5.ebuild | 36 | ||||
-rw-r--r-- | net-misc/wput/wput-0.6_pre.ebuild | 37 |
11 files changed, 272 insertions, 0 deletions
diff --git a/net-misc/wput/ChangeLog b/net-misc/wput/ChangeLog new file mode 100644 index 0000000..bc68059 --- /dev/null +++ b/net-misc/wput/ChangeLog @@ -0,0 +1,43 @@ +# ChangeLog for net-misc/wput +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/ChangeLog,v 1.11 2005/04/18 17:25:10 ka0ttic Exp $ + +*wput-0.6_pre (18 Apr 2005) + + 18 Apr 2005; Aaron Walker <ka0ttic@gentoo.org> + +files/wput-0.6_pre-gentoo.diff, +wput-0.6_pre.ebuild: + Version bump. + + 12 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> wput-0.5.ebuild: + Marked stable on x86. + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + +*wput-0.5 (12 Dec 2004) + + 12 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml, + +files/wput-0.5-gentoo.diff, +wput-0.5.ebuild: + Version bump; updated metadata.xml. + + 25 Jul 2004; Josh Glover <jmglov@gentoo.org> metadata.xml: + Taking over maintainership of this ebuild + + 12 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> wput-0.4.ebuild: + Stable on x86. + + 07 May 2004; Ciaran McCreesh <ciaranm@gentoo.org> wput-0.4.ebuild: + Added ~sparc, #50377 + + 07 May 2004; Bryan Østergaard <kloeri@gentoo.org> wput-0.4.ebuild: + Fix manpage installation. + + 03 May 2004; David Holm <dholm@gentoo.org> wput-0.4.ebuild: + Added to ~ppc. + +*wput-0.4 (02 May 2004) + + 02 May 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml, + +wput-0.4.ebuild: + Initial import, bug #48790. + diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest new file mode 100644 index 0000000..749129c --- /dev/null +++ b/net-misc/wput/Manifest @@ -0,0 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 b565e76bf336a1cfa9ee427f45311ba8 wput-0.5.ebuild 943 +MD5 99ee84722a32630b8271c4932a346e42 wput-0.4.ebuild 825 +MD5 c0c615f8bdf4187e33907c487c9d7845 ChangeLog 1335 +MD5 0ea3ffdc7ca29f08414d91f62d259c31 metadata.xml 249 +MD5 d67f907f4b0e4e2d56c0e2a9a7aefecc wput-0.6_pre.ebuild 978 +MD5 c4f33a3f597e892402d506bb45c85e71 files/digest-wput-0.4 57 +MD5 5658b10fdaa5e2c2663e63aa8d58db37 files/digest-wput-0.5 57 +MD5 25eb8a44df9c58935f1fa03421d2a493 files/wput-0.5-gentoo.diff 1164 +MD5 dca13fc1fa17e657e296a43d7a76ce77 files/digest-wput-0.6_pre 60 +MD5 85947ddfe7018ac0babd3ea2a7263672 files/wput-0.6_pre-gentoo.diff 1906 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCY+2QEZCkKN40op4RAgCuAJ9pqY9ux86DJcy1LauxVjjf88qAHACgs/nd +wrWaVCNjJa5nBGNbK/oLEYE= +=TXXq +-----END PGP SIGNATURE----- diff --git a/net-misc/wput/files/digest-wput-0.4 b/net-misc/wput/files/digest-wput-0.4 new file mode 100644 index 0000000..43c0688 --- /dev/null +++ b/net-misc/wput/files/digest-wput-0.4 @@ -0,0 +1 @@ +MD5 13db5b6b9ff0c4ce3cc2647a70185808 wput-0.4.tgz 151360 diff --git a/net-misc/wput/files/digest-wput-0.5 b/net-misc/wput/files/digest-wput-0.5 new file mode 100644 index 0000000..34f7597 --- /dev/null +++ b/net-misc/wput/files/digest-wput-0.5 @@ -0,0 +1 @@ +MD5 441b2e07219f78167b29a7ac33488fff wput-0.5.tgz 121543 diff --git a/net-misc/wput/files/digest-wput-0.6_pre b/net-misc/wput/files/digest-wput-0.6_pre new file mode 100644 index 0000000..fb25816 --- /dev/null +++ b/net-misc/wput/files/digest-wput-0.6_pre @@ -0,0 +1 @@ +MD5 63b99c1b02db81d8dbb89f2caf0fe00a wput-pre0.6.tgz 240481 diff --git a/net-misc/wput/files/wput-0.5-gentoo.diff b/net-misc/wput/files/wput-0.5-gentoo.diff new file mode 100644 index 0000000..f362ab4 --- /dev/null +++ b/net-misc/wput/files/wput-0.5-gentoo.diff @@ -0,0 +1,37 @@ +diff -urN wput.orig/Makefile.in wput/Makefile.in +--- wput.orig/Makefile.in 2004-12-12 13:40:04.146801506 -0500 ++++ wput/Makefile.in 2004-12-12 13:48:08.352295485 -0500 +@@ -1,14 +1,18 @@ + #wput makefile ++ + prefix = @prefix@ +-mandir = $(prefix)/man/man1 ++datadir = $(prefix)/share ++mandir = $(datadir)/man/man1 + exec_prefix = @exec_prefix@ + bindir=@bindir@ + + all clean win-clean: + cd src && $(MAKE) $@ + install: all +- cp wput $(bindir) +- cp doc/wput.1.gz $(mandir) ++ install -d $(DESTDIR)$(bindir) ++ install -m0755 wput $(DESTDIR)$(bindir) ++ install -d $(DESTDIR)$(mandir) ++ install -m0644 doc/wput.1.gz $(DESTDIR)$(mandir) + @echo "----------------" + @echo "Wput installed. See 'wput -h' or 'man wput' for usage information." + @echo "Further documentation is located in the doc/USAGE.* files." +diff -urN wput.orig/src/ftp.c wput/src/ftp.c +--- wput.orig/src/ftp.c 2004-12-12 13:40:04.085811666 -0500 ++++ wput/src/ftp.c 2004-12-12 13:42:26.493103988 -0500 +@@ -531,7 +531,7 @@ + + #define DBUFSIZE 1024 + +- int fd; ++ int fd = -1; + FILE * pipe = NULL; + char databuf[DBUFSIZE]; + int readbytes = 0; diff --git a/net-misc/wput/files/wput-0.6_pre-gentoo.diff b/net-misc/wput/files/wput-0.6_pre-gentoo.diff new file mode 100644 index 0000000..4ca6046 --- /dev/null +++ b/net-misc/wput/files/wput-0.6_pre-gentoo.diff @@ -0,0 +1,57 @@ +diff --exclude='*~' -urN wput.orig/Makefile.in wput/Makefile.in +--- wput.orig/Makefile.in 2005-04-18 13:14:14.000000000 -0400 ++++ wput/Makefile.in 2005-04-18 13:17:46.000000000 -0400 +@@ -15,10 +15,10 @@ + + install: all + cd po && $(MAKE) $(MAKEDEFS) $@ +- install -d $(bindir) wput +- install -m0755 wput $(bindir) +- install -d $(mandir) doc/wput.1.gz +- install -m0644 doc/wput.1.gz $(mandir) ++ install -d $(DESTDIR)$(bindir) ++ install -m0755 wput $(DESTDIR)$(bindir) ++ install -d $(DESTDIR)$(mandir) ++ install -m0644 doc/wput.1.gz $(DESTDIR)$(mandir) + @echo "----------------" + @echo "Wput installed. See 'wput -h' or 'man wput' for usage information." + @echo "Further documentation is located in the doc/USAGE.* files." +Files wput.orig/.Makefile.in.swo and wput/.Makefile.in.swo differ +diff --exclude='*~' -urN wput.orig/src/ftp.c wput/src/ftp.c +--- wput.orig/src/ftp.c 2005-04-18 13:14:14.000000000 -0400 ++++ wput/src/ftp.c 2005-04-18 13:19:01.000000000 -0400 +@@ -88,7 +88,7 @@ + * path and change there again */ + /* error-levels: ERR_RECONNECT, ERR_FAILED, ERR_SKIP (failed for '/'), 1 */ + int try_do_cwd(ftp_con * ftp, char * path, int mkd) { +- int res; ++ int res = -1; + if(!strcmp(path, ".")) + return mkd; + if(!strcmp(path, "..")) +@@ -201,7 +201,7 @@ + } + + int open_input_file(_fsession * fsession) { +- int fd; ++ int fd = -1; + int oflags = O_RDONLY; + char * cmd; + FILE * pipe; +Files wput.orig/src/.ftp.c.swp and wput/src/.ftp.c.swp differ +diff --exclude='*~' -urN wput.orig/src/ftp-ls.c wput/src/ftp-ls.c +--- wput.orig/src/ftp-ls.c 2005-04-18 13:14:14.000000000 -0400 ++++ wput/src/ftp-ls.c 2005-04-18 13:20:30.000000000 -0400 +@@ -42,6 +42,11 @@ + #include <sys/types.h> + #include <errno.h> + ++#ifndef _XOPEN_SOURCE ++# define _XOPEN_SOURCE ++#endif ++#include <time.h> ++ + #include "wget.h" + #include "utils.h" + #include "ftp.h" +Files wput.orig/src/.ftp-ls.c.swp and wput/src/.ftp-ls.c.swp differ diff --git a/net-misc/wput/metadata.xml b/net-misc/wput/metadata.xml new file mode 100644 index 0000000..6ba82d6 --- /dev/null +++ b/net-misc/wput/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>no-herd</herd> +<maintainer> + <email>ka0ttic@gentoo.org</email> + <name>Aaron Walker</name> +</maintainer> +</pkgmetadata> diff --git a/net-misc/wput/wput-0.4.ebuild b/net-misc/wput/wput-0.4.ebuild new file mode 100644 index 0000000..f6cc3d5 --- /dev/null +++ b/net-misc/wput/wput-0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/wput-0.4.ebuild,v 1.7 2004/12/07 21:58:01 config Exp $ + +S="${WORKDIR}/${PN}" + +DESCRIPTION="a tiny program that looks like wget and is designed to upload files or whole directories to remote ftp-servers" +HOMEPAGE="http://itooktheredpill.dyndns.org/wput/" +SRC_URI="http://itooktheredpill.dyndns.org/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc ~amd64" +IUSE="" + +DEPEND="" + +src_compile() { + econf --prefix=/usr || die "configure failed" + emake || die "make failed" +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/man1 + einstall mandir=${D}/usr/share/man/man1 || die "install failed" + + # Documentation + dodoc COPYING ChangeLog INSTALL TODO +} diff --git a/net-misc/wput/wput-0.5.ebuild b/net-misc/wput/wput-0.5.ebuild new file mode 100644 index 0000000..fedb567 --- /dev/null +++ b/net-misc/wput/wput-0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/wput-0.5.ebuild,v 1.2 2005/01/12 11:56:21 ka0ttic Exp $ + +inherit eutils + +DESCRIPTION="a tiny program that looks like wget and is designed to upload files or whole directories to remote ftp-servers" +HOMEPAGE="http://itooktheredpill.dyndns.org/wput/" +SRC_URI="http://itooktheredpill.dyndns.org/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc ~amd64" +IUSE="debug" + +DEPEND="virtual/libc" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + local myconf + use debug && myconf="--enable-memdbg=yes" || myconf="--enable-g-switch=no" + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog INSTALL TODO +} diff --git a/net-misc/wput/wput-0.6_pre.ebuild b/net-misc/wput/wput-0.6_pre.ebuild new file mode 100644 index 0000000..412136b --- /dev/null +++ b/net-misc/wput/wput-0.6_pre.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/wput-0.6_pre.ebuild,v 1.1 2005/04/18 17:25:10 ka0ttic Exp $ + +inherit eutils + +MY_P="${PN}-pre${PV%_pre}" +DESCRIPTION="a tiny program that looks like wget and is designed to upload files or whole directories to remote ftp-servers" +HOMEPAGE="http://itooktheredpill.dyndns.org/wput/" +SRC_URI="http://itooktheredpill.dyndns.org/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" +IUSE="debug" + +DEPEND="virtual/libc" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + local myconf + use debug && myconf="--enable-memdbg=yes" || myconf="--enable-g-switch=no" + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog INSTALL TODO +} |