diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-04-18 17:25:10 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-04-18 17:25:10 +0000 |
commit | 6d91086645309732ce5f3a6deced86c929cc5fbc (patch) | |
tree | 7adb7f8aee54d2da892f63e3bd0a0b0b1d8d4497 /net-misc/wput | |
parent | bump (diff) | |
download | historical-6d91086645309732ce5f3a6deced86c929cc5fbc.tar.gz historical-6d91086645309732ce5f3a6deced86c929cc5fbc.tar.bz2 historical-6d91086645309732ce5f3a6deced86c929cc5fbc.zip |
Version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc/wput')
-rw-r--r-- | net-misc/wput/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/wput/Manifest | 13 | ||||
-rw-r--r-- | net-misc/wput/files/digest-wput-0.6_pre | 1 | ||||
-rw-r--r-- | net-misc/wput/files/wput-0.6_pre-gentoo.diff | 57 | ||||
-rw-r--r-- | net-misc/wput/wput-0.6_pre.ebuild | 37 |
5 files changed, 110 insertions, 6 deletions
diff --git a/net-misc/wput/ChangeLog b/net-misc/wput/ChangeLog index 2053e686bd73..bc68059b4715 100644 --- a/net-misc/wput/ChangeLog +++ b/net-misc/wput/ChangeLog @@ -1,6 +1,12 @@ # 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.10 2005/01/12 11:56:21 ka0ttic Exp $ +# $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. diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest index 1e30ef29a943..749129c0a867 100644 --- a/net-misc/wput/Manifest +++ b/net-misc/wput/Manifest @@ -3,15 +3,18 @@ Hash: SHA1 MD5 b565e76bf336a1cfa9ee427f45311ba8 wput-0.5.ebuild 943 MD5 99ee84722a32630b8271c4932a346e42 wput-0.4.ebuild 825 -MD5 4a2521e0856622fc489d2f403f4e9601 ChangeLog 1183 +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.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFB5RDcEZCkKN40op4RAiFLAJsFphUFBqmfXPCQsRjzQzyjarN1YwCgi0T6 -Xairo2Wu9uSIpj49dHM2/6Y= -=Japx +iD8DBQFCY+2QEZCkKN40op4RAgCuAJ9pqY9ux86DJcy1LauxVjjf88qAHACgs/nd +wrWaVCNjJa5nBGNbK/oLEYE= +=TXXq -----END PGP SIGNATURE----- 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 000000000000..fb2581653864 --- /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.6_pre-gentoo.diff b/net-misc/wput/files/wput-0.6_pre-gentoo.diff new file mode 100644 index 000000000000..4ca604602c13 --- /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/wput-0.6_pre.ebuild b/net-misc/wput/wput-0.6_pre.ebuild new file mode 100644 index 000000000000..412136ba127c --- /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 +} |