summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-09-15 16:41:39 +0000
committerache <ache@FreeBSD.org>1996-09-15 16:41:39 +0000
commite680b1ee96a85cf4e89aaa9921ce9ce1fb2c35bf (patch)
tree514bc3c950cfc25b5b621718d7ee60360b157406 /www
parent2156a600e28e67a3ec18f1a1a868cbab3dbedd04 (diff)
downloadFreeBSD-ports-e680b1ee96a85cf4e89aaa9921ce9ce1fb2c35bf.zip
FreeBSD-ports-e680b1ee96a85cf4e89aaa9921ce9ce1fb2c35bf.tar.gz
Return NO_PACKAGE back - don't distribute modified copies
Pass If-Modified-Since for user password case Fix fetching for missing space cases Submitted by: gibbs
Diffstat (limited to 'www')
-rw-r--r--www/webcopy/Makefile5
-rw-r--r--www/webcopy/files/patch-ab40
2 files changed, 41 insertions, 4 deletions
diff --git a/www/webcopy/Makefile b/www/webcopy/Makefile
index f178ab2..c7b3c2f 100644
--- a/www/webcopy/Makefile
+++ b/www/webcopy/Makefile
@@ -3,7 +3,7 @@
# Date created: 14 Sep 1996
# Whom: ache
#
-# $Id: Makefile,v 1.1.1.1 1996/09/14 00:59:32 ache Exp $
+# $Id: Makefile,v 1.2 1996/09/14 01:54:48 asami Exp $
#
# WWW site: http://www.inf.utfsm.cl/~vparada/webcopy.html
@@ -16,7 +16,8 @@ DISTFILES= webcopy.tgz
MAINTAINER= ache@FreeBSD.ORG
ALL_TARGET=
-NO_CDROM= yes # Don't sell for profit without written permission
+NO_PACKAGE= yes # This program cannot be distributed if modified in any way
+ # Don't sell for profit without written permission
do-install:
cd ${WRKSRC}; ${INSTALL_SCRIPT} webcopy ${PREFIX}/bin
diff --git a/www/webcopy/files/patch-ab b/www/webcopy/files/patch-ab
index 02d3a11..81a2175 100644
--- a/www/webcopy/files/patch-ab
+++ b/www/webcopy/files/patch-ab
@@ -1,5 +1,5 @@
-*** webcopy.src.orig Sat Jun 8 20:42:14 1996
---- webcopy.src Sat Sep 14 04:30:41 1996
+*** webcopy.src.old Sat Jun 8 20:42:14 1996
+--- webcopy.src Sun Sep 15 20:14:20 1996
***************
*** 1,4 ****
! #!%PERL% -- # -*- perl -*-
@@ -21,3 +21,39 @@
&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))) &&
OpenPOWER on IntegriCloud