diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2004-12-12 19:08:58 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2004-12-12 19:08:58 +0000 |
commit | 980b86b478af16338a81ce728cdf1c559ec0e987 (patch) | |
tree | bbdbc676d426dfd83b48eb965e38b8dba49bfdc3 /net-misc/wput | |
parent | Corrected warning message and dep. The ebuild is still masked and nonfunction... (diff) | |
download | gentoo-2-980b86b478af16338a81ce728cdf1c559ec0e987.tar.gz gentoo-2-980b86b478af16338a81ce728cdf1c559ec0e987.tar.bz2 gentoo-2-980b86b478af16338a81ce728cdf1c559ec0e987.zip |
Version bump; updated metadata.xml.
Diffstat (limited to 'net-misc/wput')
-rw-r--r-- | net-misc/wput/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/wput/Manifest | 7 | ||||
-rw-r--r-- | net-misc/wput/files/digest-wput-0.5 | 1 | ||||
-rw-r--r-- | net-misc/wput/files/wput-0.5-gentoo.diff | 37 | ||||
-rw-r--r-- | net-misc/wput/metadata.xml | 4 | ||||
-rw-r--r-- | net-misc/wput/wput-0.5.ebuild | 36 |
6 files changed, 88 insertions, 5 deletions
diff --git a/net-misc/wput/ChangeLog b/net-misc/wput/ChangeLog index 60fa89b567b7..e4fd9704aafc 100644 --- a/net-misc/wput/ChangeLog +++ b/net-misc/wput/ChangeLog @@ -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 diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest index bb242829ebe0..3200dad422a0 100644 --- a/net-misc/wput/Manifest +++ b/net-misc/wput/Manifest @@ -1,4 +1,7 @@ -MD5 269182ba4de045629404de803f49fde7 ChangeLog 806 -MD5 b415c417776251837c2e358bfcfd8376 metadata.xml 247 +MD5 5776da38de4c98b3c04215a10f0422fb wput-0.5.ebuild 943 MD5 99ee84722a32630b8271c4932a346e42 wput-0.4.ebuild 825 +MD5 046d44b8012207ab56c405e40f255fcc ChangeLog 982 +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 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 000000000000..34f75972f753 --- /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/wput-0.5-gentoo.diff b/net-misc/wput/files/wput-0.5-gentoo.diff new file mode 100644 index 000000000000..f362ab45aa52 --- /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/metadata.xml b/net-misc/wput/metadata.xml index 8da84bba30bb..6ba82d66be8b 100644 --- a/net-misc/wput/metadata.xml +++ b/net-misc/wput/metadata.xml @@ -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 index 000000000000..106106635a7f --- /dev/null +++ b/net-misc/wput/wput-0.5.ebuild @@ -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 +} |