regenerate patches
This commit is contained in:
parent
82d1afdc0f
commit
d667c5a8b3
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-ae,v 1.6 2000/04/20 03:22:50 kim Exp $
|
||||
# $OpenBSD: patch-ftp-pl,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-ftp-pl,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- ftp.pl.orig Fri Jun 5 05:10:27 1998
|
||||
+++ ftp.pl Wed Apr 19 23:14:00 2000
|
||||
@@ -233,7 +233,7 @@
|
||||
--- ftp.pl.orig Fri Jun 5 03:10:27 1998
|
||||
+++ ftp.pl Mon Mar 19 18:31:12 2007
|
||||
@@ -233,7 +233,7 @@ sub timed_open
|
||||
}
|
||||
else {
|
||||
print $showfd "proxy connection failed " if $proxy;
|
||||
@ -12,7 +12,7 @@
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -270,6 +270,14 @@
|
||||
@@ -270,6 +270,14 @@ sub ftp'set_signals
|
||||
$SIG{ 'PIPE' } = "ftp'ftp__sighandler";
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
# &ftp'set_namemap( function to map outgoing name, function to map incoming )
|
||||
sub ftp'set_namemap
|
||||
{
|
||||
@@ -486,7 +494,7 @@
|
||||
@@ -486,7 +494,7 @@ sub pasv
|
||||
return 0;
|
||||
}
|
||||
if( $ret == 1 ) {
|
||||
@ -36,7 +36,7 @@
|
||||
$newhost = sprintf( "%d.%d.%d.%d", $1, $2, $3, $4 );
|
||||
$newport = $5 * 256 + $6;
|
||||
}
|
||||
@@ -581,6 +589,9 @@
|
||||
@@ -581,6 +589,9 @@ sub ftp'dir_close
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
# read the close
|
||||
#
|
||||
$ret = &expect($timeout,
|
||||
@@ -590,8 +601,6 @@
|
||||
@@ -590,8 +601,6 @@ sub ftp'dir_close
|
||||
$ret = 0;
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
|
||||
if( ! $ret ){
|
||||
return 0;
|
||||
@@ -708,6 +717,7 @@
|
||||
@@ -708,6 +717,7 @@ sub ftp'get
|
||||
if( ! $service_open ){
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-ad,v 1.5 1999/12/28 18:15:43 itojun Exp $
|
||||
# $OpenBSD: patch-lchat-pl,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-lchat-pl,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- lchat.pl.orig Wed Jun 7 22:19:22 1995
|
||||
+++ lchat.pl Wed May 12 18:10:54 1999
|
||||
@@ -79,7 +79,7 @@
|
||||
--- lchat.pl.orig Fri May 29 13:05:46 1998
|
||||
+++ lchat.pl Mon Mar 19 18:31:12 2007
|
||||
@@ -117,7 +117,7 @@ sub open_port { ## public
|
||||
|
||||
# We may be multi-homed, start with 0, fixup once connexion is made
|
||||
$thisaddr = "\0\0\0\0" ;
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
if ($server =~ /^(\d+)+\.(\d+)\.(\d+)\.(\d+)$/) {
|
||||
$serveraddr = pack('C4', $1, $2, $3, $4);
|
||||
@@ -90,7 +90,7 @@
|
||||
@@ -128,7 +128,7 @@ sub open_port { ## public
|
||||
}
|
||||
$serveraddr = $x[4];
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
unless (socket(S, $main'pf_inet, $main'sock_stream, $main'tcp_proto)) {
|
||||
($!) = ($!, close(S)); # close S while saving $!
|
||||
return undef;
|
||||
@@ -99,12 +99,12 @@
|
||||
@@ -137,12 +137,12 @@ sub open_port { ## public
|
||||
# The SOCKS documentation claims that this bind before the connet
|
||||
# is unnecessary. Not just, that, but when used with SOCKS,
|
||||
# a connect() must not follow a bind(). -Erez Zadok.
|
||||
@ -40,7 +40,7 @@
|
||||
unless (connect(S, $serverproc)) {
|
||||
($!) = ($!, close(S)); # close S while saving $!
|
||||
return undef;
|
||||
@@ -114,7 +114,7 @@
|
||||
@@ -152,7 +152,7 @@ sub open_port { ## public
|
||||
# multi-homed, with IP forwarding off, so fix-up.
|
||||
local($fam,$lport);
|
||||
($fam,$lport,$thisaddr) = unpack($sockaddr, getsockname(S));
|
||||
@ -49,7 +49,7 @@
|
||||
# end of post-connect fixup
|
||||
select((select(S), $| = 1)[0]);
|
||||
return 1;
|
||||
@@ -129,7 +129,7 @@
|
||||
@@ -167,7 +167,7 @@ sub open_newport { ## public
|
||||
|
||||
# We may be multi-homed, start with 0, fixup once connexion is made
|
||||
$thisaddr = "\0\0\0\0" ;
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
if ($server =~ /^(\d+)+\.(\d+)\.(\d+)\.(\d+)$/) {
|
||||
$serveraddr = pack('C4', $1, $2, $3, $4);
|
||||
@@ -151,7 +151,7 @@
|
||||
@@ -189,7 +189,7 @@ sub open_newport { ## public
|
||||
# multi-homed, with IP forwarding off, so fix-up.
|
||||
local($fam,$lport);
|
||||
($fam,$lport,$thisaddr) = unpack($sockaddr, getsockname($newsock));
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-aa,v 1.5 2000/04/19 16:16:52 kim Exp $
|
||||
# $OpenBSD: patch-makefile,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-makefile,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- makefile.orig Mon Jun 1 21:28:47 1998
|
||||
+++ makefile Wed Apr 19 19:06:30 2000
|
||||
@@ -41,7 +41,7 @@
|
||||
--- makefile.orig Mon Jun 1 12:28:47 1998
|
||||
+++ makefile Mon Mar 19 18:31:12 2007
|
||||
@@ -41,7 +41,7 @@ FILES= README.txt \
|
||||
$(WEBFILES)
|
||||
|
||||
all:
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
mirror.tar: $(FILES)
|
||||
rev=`./mirror.pl -v | perl -ane 'print "$$F[2]\n";'`; echo $rev; \
|
||||
@@ -65,25 +65,26 @@
|
||||
@@ -65,25 +65,26 @@ PLMODE = 644
|
||||
# mode to install executables
|
||||
EXMODE = 755
|
||||
# group to own all the files
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-ab,v 1.6 2000/03/26 22:33:18 kim Exp $
|
||||
# $OpenBSD: patch-mirror-defaults,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-mirror-defaults,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- mirror.defaults.orig Fri May 29 14:57:46 1998
|
||||
+++ mirror.defaults Sat Mar 25 02:49:44 2000
|
||||
@@ -11,29 +11,29 @@
|
||||
--- mirror.defaults.orig Fri May 29 12:57:46 1998
|
||||
+++ mirror.defaults Mon Mar 19 18:31:12 2007
|
||||
@@ -11,29 +11,29 @@ package=defaults
|
||||
# The LOCAL hostname - if not the same as `hostname`
|
||||
# (I advertise the name sunsite.org.uk but the machine is
|
||||
# really swallow.sunsite.org.uk.)
|
||||
@ -42,7 +42,7 @@
|
||||
# Don't compress information files, files that don't benifit from
|
||||
# being compressed, files that tell ftpd, gopher, wais... to do things,
|
||||
# the sources for compression programs...
|
||||
@@ -47,9 +47,9 @@
|
||||
@@ -47,9 +47,9 @@ package=defaults
|
||||
# rpm and deb are package formats used on RedHat and Debian Linux
|
||||
compress_excl+|-z(\d+)?$|\.tgz|_tgz|\.tar\.Z|\.tar\.gz|\.taz$|\.arc$|\.zip$|\.lzh$|\.zoo$|\.exe$|\.lha$|\.zom$|\.gif$|\.jpeg$|\.jpg$|\.mpeg$|\.au$|\.shk$|rpm$|deb$|read.*me|index|info|faq|gzip|compress|(^|/)\.\.?$
|
||||
# Don't delete own mirror log, .notar or .cache files (incl in subdirs)
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-ac,v 1.4 2000/03/26 22:33:18 kim Exp $
|
||||
# $OpenBSD: patch-mirror-pl,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-mirror-pl,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- mirror.pl.orig Mon Jun 8 06:55:27 1998
|
||||
+++ mirror.pl Sat Mar 25 02:55:39 2000
|
||||
@@ -104,7 +104,7 @@
|
||||
--- mirror.pl.orig Mon Jun 8 04:55:27 1998
|
||||
+++ mirror.pl Mon Mar 19 18:31:12 2007
|
||||
@@ -104,7 +104,7 @@ $load_defaults = 1;
|
||||
# Try to find the default location of various programs via
|
||||
# the users PATH then using $extra_path
|
||||
if( ! $on_win ){
|
||||
@ -12,7 +12,7 @@
|
||||
}
|
||||
if( $extra_path ne '' ){
|
||||
$ENV{ 'PATH' } .= $path_sep . $extra_path;
|
||||
@@ -159,19 +159,20 @@
|
||||
@@ -159,19 +159,20 @@ if( ! $mail_prog ){
|
||||
$rm_prog = &find_prog( 'rm' );
|
||||
|
||||
# Generate checksums
|
||||
@ -37,7 +37,7 @@
|
||||
unshift( @INC, $dir );
|
||||
|
||||
# Debian GNU/Linux stores mirror.defaults in /etc/mirror
|
||||
@@ -1807,7 +1808,7 @@
|
||||
@@ -1807,7 +1808,7 @@ sub get_remote_directory_details
|
||||
local( $f );
|
||||
$f = $dirtmp;
|
||||
$f =~ s/($shell_metachars)/\\$1/g;
|
||||
@ -46,7 +46,7 @@
|
||||
}
|
||||
if( ! open( DIRTMP, $dirtmp ) ){
|
||||
&msg( "Cannot open $dirtmp\n" );
|
||||
@@ -1845,7 +1846,7 @@
|
||||
@@ -1845,7 +1846,7 @@ sub get_remote_directory_details
|
||||
$f = $dirtmp;
|
||||
$dirtmp =~ s/\.($sys_compress_suffix|$gzip_suffix|$old_gzip_suffix)$//;
|
||||
$udirtmp =~ s/\.($sys_compress_suffix|$gzip_suffix|$ol_gzip_suffix)$//;
|
||||
@ -55,7 +55,7 @@
|
||||
&msg( "Cannot uncompress directory listing\n" );
|
||||
return 0;
|
||||
}
|
||||
@@ -2760,7 +2761,7 @@
|
||||
@@ -2760,7 +2761,7 @@ sub transfer_file
|
||||
local( $f ) = $src_file;
|
||||
$f =~ s/($shell_metachars)/\\$1/g;
|
||||
$comptemp = "$big_temp/.out$$";
|
||||
@ -64,7 +64,7 @@
|
||||
$src_file = $comptemp;
|
||||
}
|
||||
|
||||
@@ -2840,10 +2841,10 @@
|
||||
@@ -2840,10 +2841,10 @@ sub transfer_file
|
||||
# Am I doing compress to gzip conversion?
|
||||
if( $compress_conv_patt && $src_path =~ /$compress_conv_patt/ &&
|
||||
$compress_suffix eq $gzip_suffix ){
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $NetBSD: patch-af,v 1.1 2000/03/26 22:33:18 kim Exp $
|
||||
# $OpenBSD: patch-mm-pl,v 1.1 2000/05/19 04:56:48 form Exp $
|
||||
# $OpenBSD: patch-mm-pl,v 1.2 2007/03/20 00:35:52 pvalchev Exp $
|
||||
|
||||
--- mm.pl.orig Fri May 29 15:09:54 1998
|
||||
+++ mm.pl Sat Mar 25 03:09:36 2000
|
||||
@@ -63,7 +63,7 @@
|
||||
--- mm.pl.orig Fri May 29 13:09:54 1998
|
||||
+++ mm.pl Mon Mar 19 18:31:12 2007
|
||||
@@ -63,7 +63,7 @@ $max = 6;
|
||||
# $pkg is the package number fixed up to replace characters likely to give
|
||||
# grief under unix.
|
||||
# This expects the directory logs to already exist.
|
||||
|
Loading…
Reference in New Issue
Block a user