From 08e318096831eb3aae369910ba75e27f59367e2f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Sep 2024 12:11:39 +0100 Subject: gentoo auto-resync : 15:09:2024 - 12:11:38 --- net-misc/wput/Manifest | 7 --- net-misc/wput/files/wput-0.6-respectldflags.patch | 11 ----- net-misc/wput/files/wput-0.6.2-fno-common.patch | 25 ---------- .../wput/files/wput-0.6.2-respect-destdir.patch | 21 --------- net-misc/wput/files/wput-fix-crash.patch | 46 ------------------ net-misc/wput/wput-0.6.2.ebuild | 35 -------------- net-misc/wput/wput-0.6.2_p20130413_p11.ebuild | 54 ---------------------- 7 files changed, 199 deletions(-) delete mode 100644 net-misc/wput/files/wput-0.6-respectldflags.patch delete mode 100644 net-misc/wput/files/wput-0.6.2-fno-common.patch delete mode 100644 net-misc/wput/files/wput-0.6.2-respect-destdir.patch delete mode 100644 net-misc/wput/files/wput-fix-crash.patch delete mode 100644 net-misc/wput/wput-0.6.2.ebuild delete mode 100644 net-misc/wput/wput-0.6.2_p20130413_p11.ebuild (limited to 'net-misc/wput') diff --git a/net-misc/wput/Manifest b/net-misc/wput/Manifest index b24c47c6ec3f..561310c61ffb 100644 --- a/net-misc/wput/Manifest +++ b/net-misc/wput/Manifest @@ -1,14 +1,7 @@ -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-exit-not-found-musl.patch 187 BLAKE2B c82a7a26714e725b126dd44ecd8552c3ed4d7741231ff0e916b6b52efbd6753c1a1a95cab654bba16f5674d09166a0a86641b3fd2535ec5969671c0d3b8522b0 SHA512 ea1a376af8dabec687ae55cdb1ed4885df145596ab86aeed71bb109afe1e83661e5f33f2830b26cde9e0a3b369ef827bf5c4b7de8457f46482a192f261221574 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 854 BLAKE2B 70a81f3e2a7c1f6a52f2683d28196866045de2824ab24fdee12d098e879d9824a81e05b147de4bab2a155ec6206389ab81ccdd563f190e4bf70fc8d392fce17c SHA512 3ed6b3251e1b2528b4064a4955c64f631cac382b9a16ba2d7e48b74e6a9f969478b9e9e034d31d2201e54bc693db2142734d17fc49654e72c93cb2be70c601a0 EBUILD wput-0.6.2_p20130413_p11-r1.ebuild 1455 BLAKE2B 7674c453b541b2dbcf5b6438c0398e920e549541cd7d729632b2492c1aae9db1c781962a71da2bdb8115557a1e0b2d0d523e3e10b135fa62da700d502e184ace SHA512 4868861b57a5ac2e8804bba9b80b588bc959f3e9259d31fae179e9f4e8312e823641c9d06a8603d4e7a1356d32c0cc958b198549c54c9d7febac4da7f38d2654 -EBUILD wput-0.6.2_p20130413_p11.ebuild 1388 BLAKE2B 613e496f6ab833f507f9d636684d31912aeebe06aa4c5531feca705241f5bf0090a0588a0d9f2c349a8dc14e0904e30e2af1ad0c4bcbac15f0e6f2c6b718ae90 SHA512 240d337044a757d32dbc66346c038092da126c73dd5fbabbeb09e35a2768515cc273996d1f83d9d7ca0cee525455cbfc62c3ce6bd31c5830850591e9f4124633 MISC metadata.xml 240 BLAKE2B cc04007e3c26bf6c24277f885ef462ee5ee707f8e9d71d897736c9e82cd8ca5f1429139335c3f11c77006d8e087d5e5cf33adcc6737ce0c83811814dbc78847d SHA512 135b84e7440cd922b51279e0b3f661c881c49437ba05e185b9f003dbb2b7a5160e9dd0599d2af40ae3149f057d4f8e18a36092ed0d490219199fc0df344042e3 diff --git a/net-misc/wput/files/wput-0.6-respectldflags.patch b/net-misc/wput/files/wput-0.6-respectldflags.patch deleted file mode 100644 index 9f0e09c4a78d..000000000000 --- a/net-misc/wput/files/wput-0.6-respectldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- wput/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/files/wput-0.6.2-fno-common.patch b/net-misc/wput/files/wput-0.6.2-fno-common.patch deleted file mode 100644 index f188141aa87b..000000000000 --- a/net-misc/wput/files/wput-0.6.2-fno-common.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://sources.debian.org/patches/wput/0.6.2+git20130413-9/single-declaration.patch/ -https://bugs.gentoo.org/706954 ---- a/src/wput.h -+++ b/src/wput.h -@@ -140,7 +140,9 @@ - - unsigned short int retry_interval; - unsigned int speed_limit; --} opt; -+}; -+ -+extern struct global_options opt; - - extern _fsession * fsession_queue_entry_point; - extern char * email_address; ---- a/src/wput.c -+++ b/src/wput.c -@@ -55,6 +55,7 @@ - #include "utils.h" - - extern char *optarg; -+struct global_options opt; - - #ifdef WIN32 - const static char * version = "0.6.2-w32"; diff --git a/net-misc/wput/files/wput-0.6.2-respect-destdir.patch b/net-misc/wput/files/wput-0.6.2-respect-destdir.patch deleted file mode 100644 index 9cece1f388f8..000000000000 --- a/net-misc/wput/files/wput-0.6.2-respect-destdir.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -16,12 +16,12 @@ win-clean: - - install: all - cd po && $(MAKE) $(MAKEDEFS) $@ -- mkdir -p $(bindir) -- mkdir -p $(mandir) -- install -m0755 wput $(bindir) -- install -m0644 doc/wput.1.gz $(mandir) -- ln -s $(bindir)/wput $(bindir)/wdel -- install -m0644 doc/wdel.1.gz $(mandir) -+ install -d $(DESTDIR)/$(bindir) -+ install -d $(DESTDIR)/$(mandir) -+ install -m0755 wput $(DESTDIR)/$(bindir) -+ install -m0644 doc/wput.1 $(DESTDIR)/$(mandir) -+ ln -s wput $(DESTDIR)/$(bindir)/wdel -+ 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." diff --git a/net-misc/wput/files/wput-fix-crash.patch b/net-misc/wput/files/wput-fix-crash.patch deleted file mode 100644 index 3d0efc9fd37f..000000000000 --- a/net-misc/wput/files/wput-fix-crash.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/src/progress.c -+++ b/src/progress.c -@@ -181,7 +181,7 @@ - static char output[15]; - time_t secs = time (NULL); - struct tm *ptm = localtime (&secs); -- sprintf (output, "%02d:%02d:%02d", ptm->tm_hour, ptm->tm_min, ptm->tm_sec); -+ snprintf (output, sizeof(output), "%02d:%02d:%02d", ptm->tm_hour, ptm->tm_min, ptm->tm_sec); - return output; - } - -@@ -261,11 +261,11 @@ - unit = 3, trate = trate / (1024 * 1024 * 1024); - - if(trate < 100) -- sprintf(buf, "%s%.2f%s", (trate < 10) ? " " : "", trate, units[sp][unit]); -+ snprintf(buf, sizeof(buf), "%s%.2f%s", (trate < 10) ? " " : "", trate, units[sp][unit]); - else if(trate < 1000) -- sprintf(buf, "%.1f%s", trate, units[sp][unit]); -+ snprintf(buf, sizeof(buf), "%.1f%s", trate, units[sp][unit]); - else -- sprintf(buf, " %d%s", (int) trate, units[sp][unit]); -+ snprintf(buf, sizeof(buf), " %d%s", (int) trate, units[sp][unit]); - return buf; - } - /* wrapper for our progress_bar */ -@@ -303,13 +303,15 @@ - remain = (int) (WINCONV (fsession->local_fsize - transfered) * ((double) time_diff * 1000) - / (double) WINCONV tbytes / 1000); - if(remain < 60) -- sprintf(buf, "ETA %02ds", remain); -+ snprintf(buf, sizeof(buf), "ETA %02ds", remain); - else if(remain < 3600) -- sprintf(buf, "ETA %2d:%02dm", remain / 60, remain % 60); -+ snprintf(buf, sizeof(buf), "ETA %2d:%02dm", remain / 60, remain % 60); - else if(remain < 3600 * 24) -- sprintf(buf, "ETA %2d:%02dh", remain / 3600, (remain % 3600) / 60); -+ snprintf(buf, sizeof(buf), "ETA %2d:%02dh", remain / 3600, (remain % 3600) / 60); -+ else if(remain < 3600 * 24 * 100) -+ snprintf(buf, sizeof(buf), "ETA %2d:%02dd", remain / (3600 * 24), (remain % (24 * 3600)) / 3600); - else -- sprintf(buf, "ETA %2d:%02dd", remain / (3600 * 24), (remain % (24 * 3600)) / 3600); -+ snprintf(buf, sizeof(buf), "ETA **:** "); - /* NO, there won't be an eta of weeks or years! 14.4modem times are gone ;). god bless all gprs-users */ - - return buf; diff --git a/net-misc/wput/wput-0.6.2.ebuild b/net-misc/wput/wput-0.6.2.ebuild deleted file mode 100644 index b721e93da415..000000000000 --- a/net-misc/wput/wput-0.6.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Tiny program like wget, to upload files/whole directories via FTP" -HOMEPAGE="https://wput.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ppc ~sparc x86" -IUSE="debug nls ssl" - -BDEPEND="nls? ( sys-devel/gettext )" -RDEPEND="ssl? ( net-libs/gnutls )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-0.6.2-respect-destdir.patch" - "${FILESDIR}/${PN}-0.6-respectldflags.patch" - "${FILESDIR}/${PN}-fix-crash.patch" - "${FILESDIR}/${PN}-0.6.2-fno-common.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}" -} diff --git a/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild b/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild deleted file mode 100644 index 44e3ab8667a5..000000000000 --- a/net-misc/wput/wput-0.6.2_p20130413_p11.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 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="https://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="https://downloads.sourceforge.net/${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[@]}" -} -- cgit v1.2.3