diff options
author | sf <sf@FreeBSD.org> | 2004-04-07 23:15:59 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2004-04-07 23:15:59 +0800 |
commit | d1373280ee721e2966fb7b93b763c955c087f363 (patch) | |
tree | 5074577127efb4d89ff4a7cf71a3b226f4a0df89 /ftp | |
parent | a49f7d6ccb634f03fe6b45568a0b316579bc152e (diff) | |
download | freebsd-ports-graphics-d1373280ee721e2966fb7b93b763c955c087f363.tar.gz freebsd-ports-graphics-d1373280ee721e2966fb7b93b763c955c087f363.tar.zst freebsd-ports-graphics-d1373280ee721e2966fb7b93b763c955c087f363.zip |
remove wget+ipv6, ftp/wget has its function.
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/wget+ipv6/Makefile | 64 | ||||
-rw-r--r-- | ftp/wget+ipv6/distinfo | 4 | ||||
-rw-r--r-- | ftp/wget+ipv6/files/patch-ac | 11 | ||||
-rw-r--r-- | ftp/wget+ipv6/files/patch-host.c | 11 | ||||
-rw-r--r-- | ftp/wget+ipv6/files/patch-retr.c | 21 | ||||
-rw-r--r-- | ftp/wget+ipv6/files/patch-src_fnmatch_c | 21 | ||||
-rw-r--r-- | ftp/wget+ipv6/files/patch-src_ftp_c | 40 | ||||
-rw-r--r-- | ftp/wget+ipv6/pkg-descr | 3 | ||||
-rw-r--r-- | ftp/wget+ipv6/pkg-plist | 26 |
10 files changed, 0 insertions, 202 deletions
diff --git a/ftp/Makefile b/ftp/Makefile index a3e5c1a0084..41c4f675b78 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -82,7 +82,6 @@ SUBDIR += vcheck SUBDIR += vsftpd SUBDIR += wget - SUBDIR += wget+ipv6 SUBDIR += wget-devel SUBDIR += wmget SUBDIR += wput diff --git a/ftp/wget+ipv6/Makefile b/ftp/wget+ipv6/Makefile deleted file mode 100644 index ac0bc7da601..00000000000 --- a/ftp/wget+ipv6/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# Ports collection makefile for: wget+ipv6 -# Date created: 17 Dec 2001 -# Whom: FUJISHIMA Satsuki <sf@FreeBSD.org> -# -# $FreeBSD$ -# - -# ftp/wget has now IPv6 capability. This port will be retired in near future. - -PORTNAME= wget -PORTVERSION= 1.7 -PORTREVISION= 5 -CATEGORIES= ftp www ipv6 -MASTER_SITES= ${MASTER_SITE_GNU} \ - ftp://ftp.dl.ac.uk/ccp14/ftp-mirror/wget/pub/unix/util/wget/ \ - ftp://ftp.informatik.hu-berlin.de/gnu/wget/ \ - ftp://ftp.uni-mainz.de/pub/gnu/wget/ \ - ftp://ftp.max.irk.ru/unix/net/www/wget/ -MASTER_SITE_SUBDIR= wget -PKGNAMESUFFIX= +ipv6 - -PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \ - ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/kame/misc/&,} -PATCHFILES= wget-17-v6-20010716a.diff.gz -PATCH_DIST_STRIP= -p1 - -MAINTAINER= sf@FreeBSD.org -COMMENT= Retrieve files from the Net via HTTP and FTP with IPv6 capability - -.if !defined(WITHOUT_SSL) -USE_OPENSSL= yes -CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} -.endif -USE_PERL5_BUILD= yes -USE_GETTEXT= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" -MAKE_ENV= OLD_PO_FILE_INPUT=1 - -MAN1= wget.1 - -post-patch: -# made by broken KAME patch. Already contacted. - @${RM} -f ${WRKSRC}/po/zh.po* -# we don't need to run autoconf. - ${TOUCH} ${WRKSRC}/configure -# convert utf-8 to Big5 for FreeBSD's default old fashioned gettext. - (cd ${WRKSRC}; \ - ${MV} po/zh_TW.po po/zh_TW.po.utf-8; \ - ${LOCALBASE}/bin/iconv -f UTF-8 -t BIG5 po/zh_TW.po.utf-8 |\ - ${SED} -e 's,utf-8,big5,' |\ - ${ENV} LANG=C ${SED} -Ee 's,([^[:print:]])\\,\1\\\\,g' |\ - ${SED} -Ee 's,\\\\([nt"]),\\\1,g' \ - > po/zh_TW.po) - -pre-build: - @${RM} -f ${WRKSRC}/doc/wget.info* - -post-install: - install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir - -.include <bsd.port.mk> diff --git a/ftp/wget+ipv6/distinfo b/ftp/wget+ipv6/distinfo deleted file mode 100644 index 1d526b046c4..00000000000 --- a/ftp/wget+ipv6/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -MD5 (wget-1.7.tar.gz) = c911a6b937c0a18757d3211fb62831de -SIZE (wget-1.7.tar.gz) = 945138 -MD5 (wget-17-v6-20010716a.diff.gz) = 95664b130be966834f7770d66d03654b -SIZE (wget-17-v6-20010716a.diff.gz) = 49827 diff --git a/ftp/wget+ipv6/files/patch-ac b/ftp/wget+ipv6/files/patch-ac deleted file mode 100644 index 5fba79b376b..00000000000 --- a/ftp/wget+ipv6/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/Makefile.in.orig Sun Dec 31 14:07:09 2000 -+++ doc/Makefile.in Mon Jan 15 04:52:47 2001 -@@ -22,7 +22,7 @@ - SHELL = /bin/sh - - # Program to format Texinfo source into Info files. --MAKEINFO = @MAKEINFO@ -+MAKEINFO = @MAKEINFO@ --no-split - # Program to format Texinfo source into DVI files. - TEXI2DVI = texi2dvi - # Program to convert DVI files to PostScript diff --git a/ftp/wget+ipv6/files/patch-host.c b/ftp/wget+ipv6/files/patch-host.c deleted file mode 100644 index 9495ff9ec25..00000000000 --- a/ftp/wget+ipv6/files/patch-host.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/host.c.orig Thu Aug 9 10:11:56 2001 -+++ src/host.c Thu Aug 9 10:12:27 2001 -@@ -106,7 +106,7 @@ - - hp = gethostbyname2(name, af); - if (!hp) { -- if (inet_pton(af, name, addr) != -1) { -+ if (inet_pton(af, name, addr) == 1) { - switch (af) { - case AF_INET: - socksize = sizeof (struct sockaddr_in); diff --git a/ftp/wget+ipv6/files/patch-retr.c b/ftp/wget+ipv6/files/patch-retr.c deleted file mode 100644 index dac6d57d659..00000000000 --- a/ftp/wget+ipv6/files/patch-retr.c +++ /dev/null @@ -1,21 +0,0 @@ ---- src/retr.c.orig Wed Feb 9 00:18:45 2000 -+++ src/retr.c Wed Feb 9 00:18:51 2000 -@@ -445,7 +445,7 @@ - recursive_reset (); - for (cur_url = url_list; cur_url; cur_url = cur_url->next, ++*count) - { -- char *filename, *new_file; -+ char *filename, *new_file, *referer; - int dt; - - if (opt.quota && opt.downloaded > opt.quota) -@@ -453,7 +453,8 @@ - status = QUOTEXC; - break; - } -- status = retrieve_url (cur_url->url, &filename, &new_file, NULL, &dt); -+ referer = getenv("referer"); -+ status = retrieve_url (cur_url->url, &filename, &new_file, referer, &dt); - if (opt.recursive && status == RETROK && (dt & TEXTHTML)) - status = recursive_retrieve (filename, new_file ? new_file : cur_url->url); - diff --git a/ftp/wget+ipv6/files/patch-src_fnmatch_c b/ftp/wget+ipv6/files/patch-src_fnmatch_c deleted file mode 100644 index 5da55bc4f56..00000000000 --- a/ftp/wget+ipv6/files/patch-src_fnmatch_c +++ /dev/null @@ -1,21 +0,0 @@ -$OpenBSD: patch-src_fnmatch_c,v 1.1 2002/12/10 18:37:24 brad Exp $ ---- src/fnmatch.c.orig Tue Dec 10 13:06:09 2002 -+++ src/fnmatch.c Tue Dec 10 13:07:23 2002 -@@ -188,6 +188,17 @@ fnmatch (const char *pattern, const char - return (FNM_NOMATCH); - } - -+/* Return non-zero if S has a leading '/' or contains '../' */ -+int -+has_invalid_name (const char *s) -+{ -+ if (*s == '/') -+ return 1; -+ if (strstr(s, "../") != 0) -+ return 1; -+ return 0; -+} -+ - /* Return non-zero if S contains globbing wildcards (`*', `?', `[' or - `]'). */ - int diff --git a/ftp/wget+ipv6/files/patch-src_ftp_c b/ftp/wget+ipv6/files/patch-src_ftp_c deleted file mode 100644 index 3da2f4186d7..00000000000 --- a/ftp/wget+ipv6/files/patch-src_ftp_c +++ /dev/null @@ -1,40 +0,0 @@ -$OpenBSD: patch-src_ftp_c,v 1.1 2002/12/10 18:37:24 brad Exp $ ---- src/ftp.c.orig Tue Dec 10 13:08:00 2002 -+++ src/ftp.c Tue Dec 10 13:16:22 2002 -@@ -1637,6 +1637,7 @@ ftp_retrieve_glob (struct urlinfo *u, cc - { - struct fileinfo *orig, *start; - uerr_t res; -+ struct fileinfo *f; - - con->cmd |= LEAVE_PENDING; - -@@ -1648,8 +1649,7 @@ ftp_retrieve_glob (struct urlinfo *u, cc - opt.accepts and opt.rejects. */ - if (opt.accepts || opt.rejects) - { -- struct fileinfo *f = orig; -- -+ f = orig; - while (f) - { - if (f->type != FT_DIRECTORY && !acceptable (f->name)) -@@ -1661,6 +1661,18 @@ ftp_retrieve_glob (struct urlinfo *u, cc - f = f->next; - } - } -+ /* Remove all files with possible harmful names */ -+ f = orig; -+ while (f) -+ { -+ if (has_invalid_name(f->name)) -+ { -+ logprintf (LOG_VERBOSE, _("Rejecting `%s'.\n"), f->name); -+ f = delelement (f, &start); -+ } -+ else -+ f = f->next; -+ } - /* Now weed out the files that do not match our globbing pattern. - If we are dealing with a globbing pattern, that is. */ - if (*u->file && (action == GLOBALL || action == GETONE)) diff --git a/ftp/wget+ipv6/pkg-descr b/ftp/wget+ipv6/pkg-descr deleted file mode 100644 index a2979b22d24..00000000000 --- a/ftp/wget+ipv6/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -wget+ipv6 is wget with IPv6 capability by KAME patch. - -WWW: http://sunsite.auc.dk/wget/ diff --git a/ftp/wget+ipv6/pkg-plist b/ftp/wget+ipv6/pkg-plist deleted file mode 100644 index 96543579d40..00000000000 --- a/ftp/wget+ipv6/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -bin/wget -etc/wgetrc -@unexec install-info --delete %D/info/wget.info %D/info/dir -info/wget.info -@exec install-info %D/info/wget.info %D/info/dir -share/locale/cs/LC_MESSAGES/wget.mo -share/locale/da/LC_MESSAGES/wget.mo -share/locale/de/LC_MESSAGES/wget.mo -share/locale/el/LC_MESSAGES/wget.mo -share/locale/es/LC_MESSAGES/wget.mo -share/locale/et/LC_MESSAGES/wget.mo -share/locale/fr/LC_MESSAGES/wget.mo -share/locale/gl/LC_MESSAGES/wget.mo -share/locale/hr/LC_MESSAGES/wget.mo -share/locale/it/LC_MESSAGES/wget.mo -share/locale/ja/LC_MESSAGES/wget.mo -share/locale/nl/LC_MESSAGES/wget.mo -share/locale/no/LC_MESSAGES/wget.mo -share/locale/pl/LC_MESSAGES/wget.mo -share/locale/pt_BR/LC_MESSAGES/wget.mo -share/locale/ru/LC_MESSAGES/wget.mo -share/locale/sk/LC_MESSAGES/wget.mo -share/locale/sl/LC_MESSAGES/wget.mo -share/locale/sv/LC_MESSAGES/wget.mo -share/locale/tr/LC_MESSAGES/wget.mo -share/locale/zh_TW/LC_MESSAGES/wget.mo |