Version bump; updated metadata.xml.
authorAaron Walker <ka0ttic@gentoo.org>
Sun, 12 Dec 2004 19:08:58 +0000 (19:08 +0000)
committerAaron Walker <ka0ttic@gentoo.org>
Sun, 12 Dec 2004 19:08:58 +0000 (19:08 +0000)
net-misc/wput/ChangeLog
net-misc/wput/Manifest
net-misc/wput/files/digest-wput-0.5 [new file with mode: 0644]
net-misc/wput/files/wput-0.5-gentoo.diff [new file with mode: 0644]
net-misc/wput/metadata.xml
net-misc/wput/wput-0.5.ebuild [new file with mode: 0644]

index 60fa89b567b76c0c31b25298f20cc8818a7fbd5d..e4fd9704aafc4da93d045fb36140b906fd7d9c36 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/wput
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/ChangeLog,v 1.7 2004/07/25 14:39:45 jmglov Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wput/ChangeLog,v 1.8 2004/12/12 19:08:58 ka0ttic Exp $
+
+*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
index bb242829ebe0322d76a0a2bea0a94e2cc59e28f8..bf7edeeaff1d680948a0e015a12d6b5a62c21906 100644 (file)
@@ -1,4 +1,17 @@
-MD5 269182ba4de045629404de803f49fde7 ChangeLog 806
-MD5 b415c417776251837c2e358bfcfd8376 metadata.xml 247
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 5ac29f1880ddce9ec87abfa791aeb4a8 wput-0.5.ebuild 944
 MD5 99ee84722a32630b8271c4932a346e42 wput-0.4.ebuild 825
+MD5 a311659367f3e5bed6c4f23b56ab6739 ChangeLog 983
+MD5 0ea3ffdc7ca29f08414d91f62d259c31 metadata.xml 249
 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.2.6 (GNU/Linux)
+
+iD8DBQFBvJdTEZCkKN40op4RAk+wAKCrS6GZQAeIkVRFYPQnP0fEaZ1fQQCglHe0
+NswBnY7iek/t2z22HMOcr5o=
+=Edj1
+-----END PGP SIGNATURE-----
diff --git a/net-misc/wput/files/digest-wput-0.5 b/net-misc/wput/files/digest-wput-0.5
new file mode 100644 (file)
index 0000000..34f7597
--- /dev/null
@@ -0,0 +1 @@
+MD5 441b2e07219f78167b29a7ac33488fff wput-0.5.tgz 121543
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 (file)
index 0000000..f362ab4
--- /dev/null
@@ -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;
index 8da84bba30bba6c4fee4ef164e075768b48ef81b..6ba82d66be8b0cbc08c6f4b5701c3988bc67d4d6 100644 (file)
@@ -3,7 +3,7 @@
 <pkgmetadata>
 <herd>no-herd</herd>
 <maintainer>
-       <email>jmglov@gentoo.org</email>
-       <name>Josh Glover</name>
+       <email>ka0ttic@gentoo.org</email>
+       <name>Aaron Walker</name>
 </maintainer>
 </pkgmetadata>
diff --git a/net-misc/wput/wput-0.5.ebuild b/net-misc/wput/wput-0.5.ebuild
new file mode 100644 (file)
index 0000000..1061066
--- /dev/null
@@ -0,0 +1,36 @@
+# 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.5.ebuild,v 1.1 2004/12/12 19:08:58 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
+}