summaryrefslogtreecommitdiff
path: root/net-misc/wput
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/wput
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/wput')
-rw-r--r--net-misc/wput/Manifest8
-rw-r--r--net-misc/wput/files/wput-0.6-gentoo.diff18
-rw-r--r--net-misc/wput/files/wput-0.6-respectldflags.patch13
-rw-r--r--net-misc/wput/metadata.xml7
-rw-r--r--net-misc/wput/wput-0.6.1-r1.ebuild39
-rw-r--r--net-misc/wput/wput-0.6.1.ebuild39
6 files changed, 124 insertions, 0 deletions
diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest
new file mode 100644
index 000000000000..5404de7ef323
--- /dev/null
+++ b/net-misc/wput/Manifest
@@ -0,0 +1,8 @@
+AUX wput-0.6-gentoo.diff 641 SHA256 e72d178f76b6f877ae4379f6c729fdb95267f28e9efd887c29abe862957c9c40 SHA512 7fdf3cd385753dac4fa219aaebde585427f9b4b208252f36f48132b850f28cf58934d4972cefcaf4a1f8b97eb02f32ca1b60eec2ca68f2fc3f1a623f6bf4817a WHIRLPOOL a3114f8d6b5af69e5f4024041b7e4f753655557e584c931728f67898a68c1db8e0ffae5d82e092ef541da90be10229e550d6c38a261d10c59cade2ada54a06f9
+AUX wput-0.6-respectldflags.patch 391 SHA256 27ca4093b3abeb4ba4bf9c201f5a0588bab5af991d1dc7146b0431fb8fb43b59 SHA512 3ae0d882e94b23a84b40b3c79a793dd21c7a070019fe3003f6aa213e269eef455826830e316483328507c359b0c27e5723f919d383af0a73eb0d8559954db146 WHIRLPOOL 13aebcb28c3d0d97a49deaab7d7aa60b7555c8f022ce14bab2650c3025a6cd5c0f16d06513aa74cc1f3f5fb4a5bb7f23934616b94b8d057d9a065a6df087d71e
+DIST wput-0.6.1.tgz 312342 SHA256 67125acab1d520e5d2a0429cd9cf7fc379987f30d5bbed0b0e97b92b554fcc13 SHA512 f5eb5e343c77cec0f3370e8d73679e3c720a848a963c2cdc64e6c52f30b47d76e0de9ccde965da9af97d2e5f23f45dd894f26371f56ead498d28fadffe65fc4b WHIRLPOOL 54434fdc5bdf0975e01f47550eb2c3422f892dfb80d5ed49cc7479dbee9b9b6f332654f00cff2b62423d08c2656d532872140801b5c1d85b09c7452eae987f1e
+EBUILD wput-0.6.1-r1.ebuild 774 SHA256 a72066f85b35973bad0d98b994ecb542717cf8da3fcbbd3f21972846c9eca645 SHA512 9cd3e7ee0a20dcef19a2e8296688b6aca9f2521816560f2d10eec3ccca4010450d56b8d387ef2c2f05d299eba64a8f90c326fb2ae5f97554cb542bd1b73ea9d8 WHIRLPOOL abcecd8f785c392ff9cf30668b20b54f31b4a13bd648b7bbda3c357b27019d61c85745114376b70d0fe551ce822d31ffb64980fa0ed961699455d5c2a7c5941f
+EBUILD wput-0.6.1.ebuild 937 SHA256 9cdd3eeec33a4a4c1b4a96c843969c1c46879cfaffcf416c8469969401602277 SHA512 09ff86266767d47be0269d2d35d0d6e5d79669a7e587075622f5248cb1be597234e84314080fe01117ad58e1858841ec0adf5009df336488571897fafffcec68 WHIRLPOOL e6619a661212f9618470da17e8f6542f40e2db74ee5b7df4cfea1c6714634f81a377edbee3aa3fa309f168416ecdb42f78f2612264f713074901e595e7c873c3
+MISC ChangeLog 2357 SHA256 471478f8ddea805ebd740c9758dc965667602e8e57dfc51f3c8c68c7bcdb7904 SHA512 efd584c6af433f9bb3828cef5e72bfdc4a81e839792109ca6a695b2b75ab60f2cd27c1d924ed2971188e708ade6620f28b2bc74e9387d443882e51024dd6b3ee WHIRLPOOL 38949b3ac0357bffa9d06142518b815c91cfcf97faf50ab0ee4c05e8aa34ee49c39df4a4c12c005c8a9b194e2ec7a94453d261771cbf585323e5aa77612d6475
+MISC ChangeLog-2015 3101 SHA256 d6256dadbae1e382f1b750b16d616db139351d55d2675988351c2376cc3b385a SHA512 a58822aa1fdab542d4c3115bfe4f86845f3b5ae3233e5bbb79b615581506c1022b4bb2a9a5bbe99c4a5c74d7e837aa2582d95eeabbe29f24c2064ad0332e1eb4 WHIRLPOOL b85073996491b418250555955ddfbcecfb3611294cfa1f41d420721e81f8b274426106e757528387bd3fe07d21dee3394e5ea2c77230bb5e194a71301635fa68
+MISC metadata.xml 213 SHA256 5f35a9ab0bd5cb34de281cd7235e414075f945813049dcb95ebdd22985db348a SHA512 6aa0dd15c8b17b8007764f93049ca69537377c25282ff538d14b792fda16dd1eb4d847b2354d140e1ff68c2df28b4280d6e93b2ca0c90f862c4a6748d916ae4c WHIRLPOOL c885bfb10c30762c0eaae23af9dbc609fe16bc4abbcf4ba158e5a18fee2a3ba000bc50ea6a4c874429ad0b53b1787ea1a0de7e79cfdcd404b355f1a6a3617f8d
diff --git a/net-misc/wput/files/wput-0.6-gentoo.diff b/net-misc/wput/files/wput-0.6-gentoo.diff
new file mode 100644
index 000000000000..312172348d02
--- /dev/null
+++ b/net-misc/wput/files/wput-0.6-gentoo.diff
@@ -0,0 +1,18 @@
+diff -urN wput/Makefile.in wput/Makefile.in
+--- wput/Makefile.in 2006-04-04 18:16:52.000000000 +0100
++++ wput/Makefile.in 2006-11-07 17:31:10.000000000 +0000
+@@ -15,8 +15,12 @@
+
+ install: all
+ cd po && $(MAKE) $(MAKEDEFS) $@
+- install -m0755 wput $(bindir)
+- 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."
diff --git a/net-misc/wput/files/wput-0.6-respectldflags.patch b/net-misc/wput/files/wput-0.6-respectldflags.patch
new file mode 100644
index 000000000000..d2b460b339b3
--- /dev/null
+++ b/net-misc/wput/files/wput-0.6-respectldflags.patch
@@ -0,0 +1,13 @@
+Index: wput/src/Makefile.in
+===================================================================
+--- wput.orig/src/Makefile.in
++++ wput/src/Makefile.in
+@@ -23,7 +23,7 @@ ftplib.o: socketlib.h ftplib.h
+ ftp-ls.o: ftp.h wget.h url.h
+
+ wput: $(OBJ)
+- $(CC) -o $(EXE) $(OBJ) $(LIBS)
++ $(CC) $(LDFLAGS) -o $(EXE) $(OBJ) $(LIBS)
+ clean:
+ rm -f *.o *~ *.bak ../wput getopt/*.o
+ win-clean: clean
diff --git a/net-misc/wput/metadata.xml b/net-misc/wput/metadata.xml
new file mode 100644
index 000000000000..2d3a29a13dc8
--- /dev/null
+++ b/net-misc/wput/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="sourceforge">wput</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/wput/wput-0.6.1-r1.ebuild b/net-misc/wput/wput-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..354b883b95e3
--- /dev/null
+++ b/net-misc/wput/wput-0.6.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Tiny program like wget, to upload files/whole directories via FTP"
+HOMEPAGE="http://wput.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug nls ssl"
+
+RDEPEND="ssl? ( net-libs/gnutls )"
+
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.6-gentoo.diff"
+ "${FILESDIR}/${PN}-0.6-respectldflags.patch"
+)
+
+DOCS=( ChangeLog INSTALL TODO )
+
+src_configure() {
+ local myconf="--enable-g-switch=no"
+ use debug && myconf="--enable-memdbg=yes"
+ econf \
+ $(use_enable nls) \
+ $(use_with ssl) \
+ "${myconf}"
+}
+
+src_install() {
+ default
+}
diff --git a/net-misc/wput/wput-0.6.1.ebuild b/net-misc/wput/wput-0.6.1.ebuild
new file mode 100644
index 000000000000..1d495ab77a2c
--- /dev/null
+++ b/net-misc/wput/wput-0.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="Tiny program like wget, to upload files/whole directories via FTP"
+HOMEPAGE="http://wput.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE="debug nls ssl"
+
+RDEPEND="ssl? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-0.6-gentoo.diff"
+ # Fix bug 126828
+ epatch "${FILESDIR}/wput-0.6-respectldflags.patch"
+}
+
+src_compile() {
+ local myconf
+ use debug && myconf="--enable-memdbg=yes" || myconf="--enable-g-switch=no"
+ econf ${myconf} \
+ $(use_enable nls) \
+ $(use_with ssl) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog INSTALL TODO
+}