summaryrefslogtreecommitdiff
path: root/www/webcopy
diff options
context:
space:
mode:
Diffstat (limited to 'www/webcopy')
-rw-r--r--www/webcopy/Makefile28
-rw-r--r--www/webcopy/distinfo2
-rw-r--r--www/webcopy/files/patch-Makefile19
-rw-r--r--www/webcopy/files/patch-webcopy.src_159
-rw-r--r--www/webcopy/files/patch-webcopy.src_234
-rw-r--r--www/webcopy/files/patch-webcopy.src_319
-rw-r--r--www/webcopy/files/patch-webcopy.src_412
-rw-r--r--www/webcopy/files/patch-webcopy.src_520
-rw-r--r--www/webcopy/pkg-descr6
-rw-r--r--www/webcopy/pkg-plist2
10 files changed, 0 insertions, 201 deletions
diff --git a/www/webcopy/Makefile b/www/webcopy/Makefile
deleted file mode 100644
index 8ba778a30750..000000000000
--- a/www/webcopy/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME= webcopy
-PORTVERSION= 0.98b7
-CATEGORIES= www
-MASTER_SITES= LOCAL/cy
-
-MAINTAINER= cy@FreeBSD.org
-COMMENT= Web Mirroring Program
-WWW= http://www.alumnos.inf.utfsm.cl/~vparada/webcopy.html
-
-DEPRECATED= Upstream is long gone and project not touched in decades, consider using ftp/wget
-EXPIRATION_DATE=2025-07-31
-
-# Converted from RESTRICTED
-LICENSE= webcopy
-LICENSE_NAME= webcopy
-LICENSE_TEXT= This program cannot be distributed if modified in any way. Don't sell for profit without written permission
-LICENSE_PERMS= auto-accept
-
-ALL_TARGET=
-
-USES= perl5
-
-do-install:
- cd ${WRKSRC}; ${INSTALL_SCRIPT} webcopy ${STAGEDIR}${PREFIX}/bin
- ${INSTALL} -d -m 755 ${STAGEDIR}${PREFIX}/share/doc/webcopy
- cd ${WRKSRC}; ${INSTALL_DATA} webcopy.html ${STAGEDIR}${PREFIX}/share/doc/webcopy
-
-.include <bsd.port.mk>
diff --git a/www/webcopy/distinfo b/www/webcopy/distinfo
deleted file mode 100644
index 53efcdd50839..000000000000
--- a/www/webcopy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (webcopy-0.98b7.tar.gz) = 42eda3d34bd73784271d17fec243f9a7a177ce9d001636f04dfc4eb6194d3dad
-SIZE (webcopy-0.98b7.tar.gz) = 14495
diff --git a/www/webcopy/files/patch-Makefile b/www/webcopy/files/patch-Makefile
deleted file mode 100644
index 54cf144cdd11..000000000000
--- a/www/webcopy/files/patch-Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig 1996-06-08 09:42:14.000000000 -0700
-+++ Makefile 2014-06-03 17:06:14.896004168 -0700
-@@ -43,14 +43,14 @@
-
- # Select or change one of the following WebCopy destination:
-
--DESTINATION=webcopy.test
-+#DESTINATION=webcopy.test
- #DESTINATION=/usr/local/bin/webcopy
- #DESTINATION=/usr/local/ucb/webcopy
- #DESTINATION=/usr/bin/webcopy
- #DESTINATION=/usr/ucb/webcopy
- #DESTINATION=/bin/webcopy
- #DESTINATION=$(HOME)/bin/webcopy
--#DESTINATION=
-+DESTINATION=$(PREFIX)/bin/webcopy
-
- # Select default perl interpreter version:
-
diff --git a/www/webcopy/files/patch-webcopy.src_1 b/www/webcopy/files/patch-webcopy.src_1
deleted file mode 100644
index 81a2175b40d0..000000000000
--- a/www/webcopy/files/patch-webcopy.src_1
+++ /dev/null
@@ -1,59 +0,0 @@
-*** webcopy.src.old Sat Jun 8 20:42:14 1996
---- webcopy.src Sun Sep 15 20:14:20 1996
-***************
-*** 1,4 ****
-! #!%PERL% -- # -*- perl -*-
- eval 'exec %PERL% -S $0 "$*"'
- if undef;
- #
---- 1,4 ----
-! #!%PERL% --
- eval 'exec %PERL% -S $0 "$*"'
- if undef;
- #
-***************
-*** 275,280 ****
---- 275,281 ----
- &check_tag("OVERLAY", "SRC", $image) ||
- &check_tag("BODY", "BACKGROUND", $image) ||
- &check_tag("TABLE", "BACKGROUND", $image) ||
-+ &check_tag("EMBED", "SRC", $image) ||
- &check_tag("BGSOUND", "SRC", $image) ||
- &check_tag("FRAME", "SRC", $link) ||
- &check_tag("AREA", "HREF", $link) ||
-***************
-*** 316,323 ****
- ($quote)=$value=~/^([\"\'])/;
- if ($quote) {
- if ($value!~/.$quote$/) {
-! ($_,$etc)=$etc=~/^([^$quote]*)$quote?(.*)$/;
-! $value.=$_.$quote;
- }
- $value=~s/$quote\s*(.*)\s*$quote$/$1/;
- $value=~s/\s*$//;
---- 317,324 ----
- ($quote)=$value=~/^([\"\'])/;
- if ($quote) {
- if ($value!~/.$quote$/) {
-! ($_,$etc)=$value=~/^($quote[^$quote]*)$quote?(.*)$/;
-! $value=$_.$quote;
- }
- $value=~s/$quote\s*(.*)\s*$quote$/$1/;
- $value=~s/\s*$//;
-***************
-*** 460,466 ****
- local($url,$file)=@_;
- local($status,$code,$info,$line,$length,$html,$redirect,$update,$data,
- $bytes,$step,$slice);
-! if ($useremote || $userpass) {
- $update="Pragma: no-cache${rn}";
- } else {
- (($update=(($_=&get_date($file))) &&
---- 461,467 ----
- local($url,$file)=@_;
- local($status,$code,$info,$line,$length,$html,$redirect,$update,$data,
- $bytes,$step,$slice);
-! if ($useremote) {
- $update="Pragma: no-cache${rn}";
- } else {
- (($update=(($_=&get_date($file))) &&
diff --git a/www/webcopy/files/patch-webcopy.src_2 b/www/webcopy/files/patch-webcopy.src_2
deleted file mode 100644
index 67e807ea2143..000000000000
--- a/www/webcopy/files/patch-webcopy.src_2
+++ /dev/null
@@ -1,34 +0,0 @@
-*** webcopy.src Sat Nov 1 11:00:23 1997
---- webcopy.src.neu Sat Nov 1 13:48:20 1997
-***************
-*** 384,389 ****
---- 384,390 ----
- return;
- }
- }
-+ $ref =~ s/&amp;/&/;
- $ref="$path$ref" unless $ref=~m!^/!;
- ($ref,$qs)=$ref=~m!^([^?]*)(.*)$!;
- $isdir=$ref=~m!/$!;
-***************
-*** 454,459 ****
---- 455,461 ----
-
- sub transfer {
- local($url,$file)=@_;
-+ $file=&unescape($file);
- local($status,$code,$info,$line,$length,$html,$redirect,$update,$data,
- $bytes,$step,$slice);
- if ($useremote) {
-***************
-*** 560,565 ****
---- 562,568 ----
- local(@subdirs)=split('/',$path);
- local($sub);
- $name=pop(@subdirs); # get name of file from path
-+ $name=&unescape($name);
- for $sub (@subdirs) {
- $dir.= "/".&unescape($sub);
- stat(&real($dir));
-
-
diff --git a/www/webcopy/files/patch-webcopy.src_3 b/www/webcopy/files/patch-webcopy.src_3
deleted file mode 100644
index 37ef6472b50d..000000000000
--- a/www/webcopy/files/patch-webcopy.src_3
+++ /dev/null
@@ -1,19 +0,0 @@
-*** webcopy.src.orig Tue Nov 25 20:46:36 1997
---- webcopy.src Tue Nov 25 20:48:57 1997
-***************
-*** 675,681 ****
- Usage: $0 [options] http://host:port/path/file [http://proxy:port]
-
- Options (can be combined):
-! -o output to stdout -tdelay set delay seconds
- -v verbose mode -wpath set working directory
- -q query transfer -xfile set default index.html
- -s suppress log -zfile post 'file' or query string
---- 678,684 ----
- Usage: $0 [options] http://host:port/path/file [http://proxy:port]
-
- Options (can be combined):
-! -o output to stdout -tdelay set delay seconds ($delay by default)
- -v verbose mode -wpath set working directory
- -q query transfer -xfile set default index.html
- -s suppress log -zfile post 'file' or query string
diff --git a/www/webcopy/files/patch-webcopy.src_4 b/www/webcopy/files/patch-webcopy.src_4
deleted file mode 100644
index 1166e1915329..000000000000
--- a/www/webcopy/files/patch-webcopy.src_4
+++ /dev/null
@@ -1,12 +0,0 @@
-*** webcopy.src.bak Sat Jun 8 20:42:14 1996
---- webcopy.src Sun Jan 25 01:04:21 1998
-***************
-*** 474,480 ****
- }
- socket(S,&PF_INET,&SOCK_STREAM,$local_prot) || die "$0: socket: $!\n"; #P4
- socket(S,PF_INET,SOCK_STREAM,$local_prot) || die "$0: socket: $!\n"; #P5
-- bind(S,$local_sock) || die "$0: bind: $!\n";
- connect(S,$remote_sock) || return(901,"$!",0);
- $_=select(S); $|=1; select($_);
- if ($verbose>3) {
---- 474,479 ----
diff --git a/www/webcopy/files/patch-webcopy.src_5 b/www/webcopy/files/patch-webcopy.src_5
deleted file mode 100644
index 008c84356d2a..000000000000
--- a/www/webcopy/files/patch-webcopy.src_5
+++ /dev/null
@@ -1,20 +0,0 @@
---- webcopy.src.orig Sun May 21 20:24:21 2000
-+++ webcopy.src Sun May 21 20:25:51 2000
-@@ -481,7 +481,7 @@
- $_=select(S); $|=1; select($_);
- if ($verbose>3) {
- print(($post?"POST":"GET") . " $proxy$url HTTP/1.0${rn}" .
-- "User-Agent: $agent${rn}Accept: */*${rn}$update");
-+ "User-Agent: $agent${rn}Accept: */*${rn}Host: ${host}${rn}$update");
- print "Authorization: $userpass${rn}" if $userpass;
- if ($post) {
- print "Content-Length: " . length($post_data) .
-@@ -492,7 +492,7 @@
- }
- }
- print S ($post?"POST":"GET") . " $proxy$url HTTP/1.0${rn}" .
-- "User-Agent: $agent${rn}Accept: */*${rn}$update";
-+ "User-Agent: $agent${rn}Accept: */*${rn}Host: ${host}${rn}$update";
- print S "Authorization: $userpass${rn}" if $userpass;
- if ($post) {
- print S "Content-Length: " . length($post_data) .
diff --git a/www/webcopy/pkg-descr b/www/webcopy/pkg-descr
deleted file mode 100644
index 45f2cc5019ca..000000000000
--- a/www/webcopy/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-WebCopy is a perl program that retrieves the URL specified in a Unix-like
-command line. It can also retrieve recursively any file that a HTML file
-references, i.e. inlined images and/or anchors, if specified with an option.
-
-It can be used as a "mirror" program to retrieve a tree of documents from a
-remote site, and put them on-line immediately through the local server.
diff --git a/www/webcopy/pkg-plist b/www/webcopy/pkg-plist
deleted file mode 100644
index 5a082bbed695..000000000000
--- a/www/webcopy/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/webcopy
-share/doc/webcopy/webcopy.html