summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-04-18 17:25:10 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-04-18 17:25:10 +0000
commitcc3a87583790081593b1917af5af0fde31a6a166 (patch)
tree029383ac68757fdaa7193480ed398396541f50d3 /net-misc/wput
parentbump (diff)
downloadgentoo-2-cc3a87583790081593b1917af5af0fde31a6a166.tar.gz
gentoo-2-cc3a87583790081593b1917af5af0fde31a6a166.tar.bz2
gentoo-2-cc3a87583790081593b1917af5af0fde31a6a166.zip
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/wput')
-rw-r--r--net-misc/wput/ChangeLog8
-rw-r--r--net-misc/wput/Manifest15
-rw-r--r--net-misc/wput/files/digest-wput-0.6_pre1
-rw-r--r--net-misc/wput/files/wput-0.6_pre-gentoo.diff57
-rw-r--r--net-misc/wput/wput-0.6_pre.ebuild37
5 files changed, 106 insertions, 12 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..32385c95d602 100644
--- a/net-misc/wput/Manifest
+++ b/net-misc/wput/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 b565e76bf336a1cfa9ee427f45311ba8 wput-0.5.ebuild 943
MD5 99ee84722a32630b8271c4932a346e42 wput-0.4.ebuild 825
-MD5 4a2521e0856622fc489d2f403f4e9601 ChangeLog 1183
+MD5 c2ea21bed9040dd1b5625801886eb4c7 ChangeLog 1335
MD5 0ea3ffdc7ca29f08414d91f62d259c31 metadata.xml 249
+MD5 9e8438d58458240c16651a73d4c4581d wput-0.6_pre.ebuild 974
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB5RDcEZCkKN40op4RAiFLAJsFphUFBqmfXPCQsRjzQzyjarN1YwCgi0T6
-Xairo2Wu9uSIpj49dHM2/6Y=
-=Japx
------END PGP SIGNATURE-----
+MD5 dca13fc1fa17e657e296a43d7a76ce77 files/digest-wput-0.6_pre 60
+MD5 85947ddfe7018ac0babd3ea2a7263672 files/wput-0.6_pre-gentoo.diff 1906
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
+}