summaryrefslogtreecommitdiff
path: root/net-misc/wput
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-26 15:08:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-26 15:08:09 +0100
commit2ad011cd42b40aebf90105be4521fb1727266d1d (patch)
treed9dc4f7c1665a6ba336ba8a9fa773f1292895b76 /net-misc/wput
parente0dcb1c4ea48292b379fadd53f55f1df42cf7eab (diff)
gentoo auto-resync : 26:09:2022 - 15:08:08
Diffstat (limited to 'net-misc/wput')
-rw-r--r--net-misc/wput/Manifest5
-rw-r--r--net-misc/wput/files/wput-0.6.2_p20130413_p11-no-compress-manpages.patch39
-rw-r--r--net-misc/wput/files/wput-0.6.2_p20130413_p11-xopen_source-strdup.patch14
-rw-r--r--net-misc/wput/wput-0.6.2_p20130413_p11.ebuild54
4 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest
index a9cab06adc83..63c43ac51083 100644
--- a/net-misc/wput/Manifest
+++ b/net-misc/wput/Manifest
@@ -1,7 +1,12 @@
AUX wput-0.6-respectldflags.patch 290 BLAKE2B e2880dc839b0eb2052f6f71e32bcb7f37e7ea57b162b661e0a0da216f35cc878f564d05bac1e209a9e0d0851d81f53781002a6237ae8ca2fcf133edd5d79d017 SHA512 48d7f547b5d386f0d80cc3dd96293f112144416b3c59f69ce7827c6f96b303a26cbcd17094b8988ed816113a70e3181846c415de6939034ed5c5c69baab91113
AUX wput-0.6.2-fno-common.patch 559 BLAKE2B 47937469ca44f74bdbfede40b43fe2900153747ba3fc3735e70b4f6949cb80adb4cb878a7cd9c046d19e05f68921f125b8dd1fdc41459227b5fdd30062e92536 SHA512 4c48dd943e9551d54a70b5c0e289f85af5f4b1518c238a2184e75e62f2fcc1869f681edc48dc40a1249acf98c228c7e79595bc70930b22c1720d82b3e39dc123
AUX wput-0.6.2-respect-destdir.patch 694 BLAKE2B 4c4466c56b8ecd1e36036c3d33901b76dfe53f918f40f7b3bb34f5e58dc02b701ea7a1969b71d2fdf788b9478d4c5fcaecc7136848fcf2f9e06da09761e58b88 SHA512 a92ef8c35a94b4ff624cb9f1b548cba656151ae88708ed6da889c297e6d09cf161282de9f5324f41ac3d02f2aa0817e86b663637577ff519d780d587cb214c15
+AUX wput-0.6.2_p20130413_p11-no-compress-manpages.patch 1166 BLAKE2B 47443b5de554c9e90dc248168a633c04b39cc06a1b732e57fb7aed20b00541896eeab65068a5397fc883151f4f4e955972e695b88ecb20cdc506e798712c8bf1 SHA512 1337a86ad4dc749bcd774e6cd17db70fb4624166e003c7ca28265b256b39e88f863db3b0e9ccf2e963bbc451fd0dc7a45f155b6f92ba2c81221264d5ba4c1f6f
+AUX wput-0.6.2_p20130413_p11-xopen_source-strdup.patch 607 BLAKE2B 22d150b7ed3d880eb73427fa5847b4892cd772b9de6569d0727afa472043d6d4b6f6795d1ad16964a4a7742cbab0f9f52a158c616893c0efc164b566851cee45 SHA512 06c460f4ec14ba8844330d33c51d75e23f4e023cf468226b23f51b5456bb3bc84940c1baf038f9f1003a0a27a8742b9afab43c5bc04653bcc422a35be0facff7
AUX wput-fix-crash.patch 1974 BLAKE2B 229d5afe628682831d28ce1ccad0856883061749d863073dbcf58bd0a0cc435d84434d26068309154154e3c15922a0432ecc3fe01127d18767aea5b8d01a83b2 SHA512 2fa1e6793b9cda2695255196f30a5e615a013883efa5b10983c5bd38debf616bfb36ad2e61675700b32f32c0b4057ef7ec0c33c502fc3ead37e1547ecd944783
DIST wput-0.6.2.tgz 368510 BLAKE2B bf59720e220d837354aff7d90bf06dcf54df4adf10c53ca844cb18dc6f327793ebd5dce7beecc76b43ddccfe273435a1eca918ab2272145dc8bf47293f601004 SHA512 e1d0fb8570cbda44c97215ee1a021a9867f2e91323b3d7f7df1d7fd68a1b2aba40a7f3068e5e85e8c736b1dba1fba62df375af99e3fb96cd0fd414b139c641bd
+DIST wput_0.6.2+git20130413-11.debian.tar.xz 15976 BLAKE2B 4f1facab61d22544855ce49875357c8d67d6eab013cf73cb8507a334c07b1f9e9391e342347eeafdb26b62a4156d4a0a4e2967198662ad66ef8ebb35ed2c9bf8 SHA512 d80e727edee34bd0f9b40b14c0ed1bfd2ec456542445fd38c487f06d47ca210d785e911a71d455d335b9e3940a5cfc19cc7202d93501b0b0f4f3a1e6f6a5fc0a
+DIST wput_0.6.2+git20130413.orig.tar.bz2 257503 BLAKE2B a5386f5de3e8df23d814b3a7ebba1725bcb75f0a61bd26ea402053bd11d717ae5bdd1c1bc9e43d4f4a61f55a91d9222fffe62988b869b68c206c46bfd89cf28b SHA512 f8bb23f60ae008ecd18ec7f891fc17fe8d2b3550d7788c591067e48af00c934f2c3b2e5d07234fc25bcf6cb94464710ff0309151e9ad6dd734f5a30c3fdab06f
EBUILD wput-0.6.2.ebuild 839 BLAKE2B 117175f94dbde239cfaa0917a02194437e147f5b623204b124bd5e58b51b8dd02539aeb23e4b54bd38e9e3abf6157077bec49b8f477ec13ed7aa943966effcd2 SHA512 b230a872dd44ffc0da8af27fbbfacfe5a946bba1ae60c9acbeaec2f5d6a31233c08d6cf807114da3fe6cd12359615baa703b04f60e5eb389c5385193a02a9514
+EBUILD wput-0.6.2_p20130413_p11.ebuild 1376 BLAKE2B b7392d14e0b234fb4083439c9c44ace049a00dcc180086c3a34d8ca047902d9147c0a70fe25d54cc27f0b462712b77e36e48dd57ae983cbc60715f849e91b910 SHA512 07a448c2a790a97e0be199ad5fddd749e8b8ee0a518d07321f2c54e943099e0a869d2355455ad3b21b7245f959d8ad9c0deebe08f23338c11e95857c0b35d816
MISC metadata.xml 240 BLAKE2B cc04007e3c26bf6c24277f885ef462ee5ee707f8e9d71d897736c9e82cd8ca5f1429139335c3f11c77006d8e087d5e5cf33adcc6737ce0c83811814dbc78847d SHA512 135b84e7440cd922b51279e0b3f661c881c49437ba05e185b9f003dbb2b7a5160e9dd0599d2af40ae3149f057d4f8e18a36092ed0d490219199fc0df344042e3
diff --git a/net-misc/wput/files/wput-0.6.2_p20130413_p11-no-compress-manpages.patch b/net-misc/wput/files/wput-0.6.2_p20130413_p11-no-compress-manpages.patch
new file mode 100644
index 000000000000..cc0c6e8e1b8b
--- /dev/null
+++ b/net-misc/wput/files/wput-0.6.2_p20130413_p11-no-compress-manpages.patch
@@ -0,0 +1,39 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -10,7 +10,6 @@ bindir=@bindir@
+ all clean:
+ cd po && $(MAKE) $(MAKEDEFS) $@
+ cd src && $(MAKE) $(MAKEDEFS) $@
+- cd doc && $(MAKE) $(MAKEDEFS) $@
+
+ win-clean:
+ cd src && $(MAKE) $(MAKEDEFS) $@
+@@ -20,9 +20,9 @@ install: all
+ install -m0755 -d $(destdir)$(bindir)
+ install -m0755 -d $(destdir)$(mandir)
+ install -m0755 wput $(destdir)$(bindir)
+- install -m0644 doc/wput.1.gz $(destdir)$(mandir)
++ install -m0644 doc/wput.1 $(destdir)$(mandir)
+ cd $(destdir)$(bindir) && ln -s wput wdel
+- install -m0644 doc/wdel.1.gz $(destdir)$(mandir)
++ install -m0644 doc/wdel.1 $(destdir)$(mandir)
+ @echo "----------------"
+ @echo "Wput and Wdel installed. See 'wput/wdel -h' or 'man wput/wdel' for"
+ @echo "usage information."
+@@ -34,6 +34,6 @@ install: all
+ uninstall:
+ rm -f $(destdir)$(bindir)/wput
+ rm -f $(destdir)$(bindir)/wdel
+- rm -f $(destdir)$(mandir)/wput.1.gz
+- rm -f $(destdir)$(mandir)/wdel.1.gz
++ rm -f $(destdir)$(mandir)/wput.1
++ rm -f $(destdir)$(mandir)/wdel.1
+
+--- a/doc/Makefile
++++ /dev/null
+@@ -1,5 +0,0 @@
+-all:
+- gzip < wput.1 > wput.1.gz
+- gzip < wdel.1 > wdel.1.gz
+-clean:
+- rm -f wput.1.gz wdel.1.gz
diff --git a/net-misc/wput/files/wput-0.6.2_p20130413_p11-xopen_source-strdup.patch b/net-misc/wput/files/wput-0.6.2_p20130413_p11-xopen_source-strdup.patch
new file mode 100644
index 000000000000..e2426d3fc25f
--- /dev/null
+++ b/net-misc/wput/files/wput-0.6.2_p20130413_p11-xopen_source-strdup.patch
@@ -0,0 +1,14 @@
+ftp-ls.c:319:22: error: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+ cur.linkto = xstrdup (p + 4);
+ ^
+--- a/src/ftp-ls.c
++++ b/src/ftp-ls.c
+@@ -29,7 +29,7 @@ file, but you are not obligated to do so. If you do not wish to do
+ so, delete this exception statement from your version. */
+
+ #include "config.h"
+-#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE 600
+ #include <time.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild b/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild
new file mode 100644
index 000000000000..5934fa45be29
--- /dev/null
+++ b/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Tiny program like wget, to upload files/whole directories via FTP"
+HOMEPAGE="http://wput.sourceforge.net/"
+
+if [[ ${PV} == *_p* ]] ; then
+ MY_PV=$(ver_cut 1-3)
+ SRC_URI=" mirror://debian/pool/main/w/wput/wput_${MY_PV}+git$(ver_cut 5).orig.tar.bz2"
+ SRC_URI+=" mirror://debian/pool/main/w/wput/wput_${MY_PV}+git$(ver_cut 5)-$(ver_cut 7).debian.tar.xz"
+ S="${WORKDIR}"/${PN}-${MY_PV}+git$(ver_cut 5)
+else
+ SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tgz"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug ssl"
+
+RDEPEND="ssl? ( net-libs/gnutls:= )"
+DEPEND="${RDEPEND}"
+# Debian's patches to fix spelling means need gettext to regenerate
+# It's so common that it's not really worth the 'touch' dance to avoid it
+# or conditional patching.
+BDEPEND="sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.6.2_p20130413_p11-xopen_source-strdup.patch
+ "${FILESDIR}"/${PN}-0.6.2_p20130413_p11-no-compress-manpages.patch
+)
+
+src_prepare() {
+ eapply $(sed -e "s:^:${WORKDIR}/debian/patches/:" "${WORKDIR}"/debian/patches/series)
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --enable-g-switch=no
+ --enable-nls
+
+ $(usev debug '--enable-memdbg=yes')
+ $(use_with ssl)
+ )
+
+ econf "${myconf[@]}"
+}