svn commit: r363226 - in head: finance/libstocks/files finance/wmstock/files ftp/frox/files ftp/ftpcopy/files ftp/hsftp/files ftp/llnlxdir/files ftp/llnlxftp/files ftp/mirror/files ftp/ncftp1/files...
Adam Weinberger
adamw at FreeBSD.org
Mon Jul 28 18:44:47 UTC 2014
Author: adamw
Date: Mon Jul 28 18:44:42 2014
New Revision: 363226
URL: http://svnweb.freebsd.org/changeset/ports/363226
QAT: https://qat.redports.org/buildarchive/r363226/
Log:
Rename finance/ and ftp/ patch-xy patches to reflext the files they modify.
Added:
head/finance/libstocks/files/patch-lib_http.c
- copied unchanged from r363209, head/finance/libstocks/files/patch-aa
head/finance/wmstock/files/patch-Makefile
- copied unchanged from r363209, head/finance/wmstock/files/patch-ab
head/finance/wmstock/files/patch-getquote
- copied unchanged from r363209, head/finance/wmstock/files/patch-aa
head/ftp/frox/files/patch-src_frox.conf
- copied unchanged from r363209, head/ftp/frox/files/patch-aa
head/ftp/ftpcopy/files/patch-src_typesize.sh
- copied unchanged from r363209, head/ftp/ftpcopy/files/patch-aa
head/ftp/hsftp/files/patch-hsftp.c
- copied unchanged from r363209, head/ftp/hsftp/files/patch-aa
head/ftp/llnlxdir/files/patch-Imakefile
- copied unchanged from r363209, head/ftp/llnlxdir/files/patch-aa
head/ftp/llnlxdir/files/patch-diag.c
- copied unchanged from r363209, head/ftp/llnlxdir/files/patch-ab
head/ftp/llnlxftp/files/patch-Imakefile
- copied unchanged from r363209, head/ftp/llnlxftp/files/patch-aa
head/ftp/llnlxftp/files/patch-log.c
- copied unchanged from r363209, head/ftp/llnlxftp/files/patch-ab
head/ftp/mirror/files/patch-ftp.pl
- copied unchanged from r363209, head/ftp/mirror/files/patch-ae
head/ftp/mirror/files/patch-makefile
- copied unchanged from r363209, head/ftp/mirror/files/patch-aa
head/ftp/mirror/files/patch-mirror.defaults
- copied unchanged from r363209, head/ftp/mirror/files/patch-ab
head/ftp/mirror/files/patch-mirror.pl
- copied unchanged from r363209, head/ftp/mirror/files/patch-ac
head/ftp/ncftp1/files/patch-Makefile
- copied unchanged from r363209, head/ftp/ncftp1/files/patch-aa
head/ftp/ncftp1/files/patch-main.c
- copied unchanged from r363209, head/ftp/ncftp1/files/patch-ab
head/ftp/quftp/files/patch-ftp.c
- copied unchanged from r363209, head/ftp/quftp/files/patch-aa
head/ftp/quftp/files/patch-quftp.c
- copied unchanged from r363209, head/ftp/quftp/files/patch-ab
head/ftp/quftp/files/patch-rc.c
- copied unchanged from r363209, head/ftp/quftp/files/patch-ad
head/ftp/quftp/files/patch-text.c
- copied unchanged from r363209, head/ftp/quftp/files/patch-ac
Deleted:
head/finance/libstocks/files/patch-aa
head/finance/wmstock/files/patch-aa
head/finance/wmstock/files/patch-ab
head/ftp/frox/files/patch-aa
head/ftp/ftpcopy/files/patch-aa
head/ftp/hsftp/files/patch-aa
head/ftp/llnlxdir/files/patch-aa
head/ftp/llnlxdir/files/patch-ab
head/ftp/llnlxftp/files/patch-aa
head/ftp/llnlxftp/files/patch-ab
head/ftp/mirror/files/patch-aa
head/ftp/mirror/files/patch-ab
head/ftp/mirror/files/patch-ac
head/ftp/mirror/files/patch-ae
head/ftp/ncftp1/files/patch-aa
head/ftp/ncftp1/files/patch-ab
head/ftp/quftp/files/patch-aa
head/ftp/quftp/files/patch-ab
head/ftp/quftp/files/patch-ac
head/ftp/quftp/files/patch-ad
Copied: head/finance/libstocks/files/patch-lib_http.c (from r363209, head/finance/libstocks/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/libstocks/files/patch-lib_http.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/finance/libstocks/files/patch-aa)
@@ -0,0 +1,16 @@
+--- lib/http.c Tue Sep 5 10:42:34 2000
++++ lib/http.c Tue Jan 8 00:09:06 2002
+@@ -21,5 +21,7 @@
+ #define __HTTP_C__
+
+ #ifdef __UNIX__
++#include <sys/types.h>
++
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+@@ -32,5 +34,4 @@
+ #endif
+
+-#include <sys/types.h>
+ #include <ctype.h>
+ #include <string.h>
Copied: head/finance/wmstock/files/patch-Makefile (from r363209, head/finance/wmstock/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/wmstock/files/patch-Makefile Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/finance/wmstock/files/patch-ab)
@@ -0,0 +1,22 @@
+--- Makefile Wed Apr 19 11:17:30 2000
++++ Makefile.new Sat May 20 01:34:48 2000
+@@ -2,14 +2,15 @@
+ # <mfischer at umr.edu>
+ # based on wmWeather - see ../Credits for more information
+
+-CC = gcc
++CC ?= gcc
+ DEBUG = -DMLF_DEBUG -DTIME_DEBUG
+ GCOV = -fprofile-arcs -ftest-coverage
+
+ #standard, should work for most Linux/Solaris (may need to be changed for HP)
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++X11BASE ?= ${LOCALBASE}
++INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${LOCALBASE}/lib
+
+ # for linux
+ LIBS = -lXpm -lX11 -lXext
Copied: head/finance/wmstock/files/patch-getquote (from r363209, head/finance/wmstock/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/wmstock/files/patch-getquote Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/finance/wmstock/files/patch-aa)
@@ -0,0 +1,28 @@
+--- getquote Sun May 14 13:28:49 2000
++++ getquote.new Sat May 20 01:37:30 2000
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl
+
+- $wget_loc = "wget";
++ $wget_loc = "fetch";
+
+ # used to have some "which" here, replaced it..
+
+@@ -77,7 +77,7 @@
+ #
+
+ $tempfile = "stock.tmp.$$";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$tempfile \"$URL\"";
++ $wget_args = " -p -o $home/.wmstock/$tempfile \"$URL\"";
+ $command = $wget_loc.$wget_args;
+ $result = system ("$wget_loc$wget_args");
+ if ($result != 0) {
+@@ -118,7 +118,7 @@
+ $version = $_[0];
+ $vtempfile = "newest";
+ $vers_url="http://www.mattfischer.com/wmstock/src/$vtempfile";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$vtempfile \"$vers_url\"";
++ $wget_args = " -p -o $home/.wmstock/$vtempfile \"$vers_url\"";
+
+ $command = $wget_loc.$wget_args;
+
Copied: head/ftp/frox/files/patch-src_frox.conf (from r363209, head/ftp/frox/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/frox/files/patch-src_frox.conf Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/frox/files/patch-aa)
@@ -0,0 +1,51 @@
+--- src/frox.conf.orig Sat Apr 5 17:30:35 2003
++++ src/frox.conf Mon Apr 7 15:05:51 2003
+@@ -18,16 +18,13 @@
+ # commented out to listen on all local IPs.
+ #
+ # Listen firewall.localnet
++# Change it with your ip!
+ Listen 192.168.2.1
+
+ # Port to listen on. Must be supplied.
+ #
+ Port 2121
+
+-# If specified then bind to this device
+-#
+-BindToDevice eth0
+-
+ # Whether to run from inetd. You should still define Port above, but
+ # it isn't used for much.
+ #
+@@ -44,7 +41,7 @@
+ # comment this out and copy resolver libraries into the chroot jail instead.
+ # See FAQ section 3.2 for details.
+ #
+-ResolvLoadHack wontresolve.doesntexist.abc
++#ResolvLoadHack wontresolve.doesntexist.abc
+
+ # Another ftp proxy to forward on to. Frox will contact this ftp
+ # proxy, and send it a login name of the form "user at host:port" where
+@@ -64,8 +61,8 @@
+ # you really want to run as root (not a good idea) you must say so
+ # specifically, and have compiled with --enable-run-as-root.
+ #
+-# User nobody
+-# Group nogroup
++User nobody
++Group nogroup
+
+ # This is frox's working directory - it must be specified. Temporary
+ # files and sockets will be created here. If you are using local
+@@ -74,8 +71,8 @@
+ # also chroot to this dir on startup. To avoid this you must specifically
+ # set DontChroot to Yes.
+ #
+-# WorkingDir /usr/local/lib/frox
+-# DontChroot Yes
++WorkingDir /tmp
++DontChroot Yes
+
+ # Logging level. 0=No logging. 5=Critical errors only. 10= All errors.
+ # 15=Errors, other important stuf. 20= Errors, connections, cache
Copied: head/ftp/ftpcopy/files/patch-src_typesize.sh (from r363209, head/ftp/ftpcopy/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/ftpcopy/files/patch-src_typesize.sh Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/ftpcopy/files/patch-aa)
@@ -0,0 +1,11 @@
+--- src/typesize.sh.orig Tue Jul 27 13:24:17 2004
++++ src/typesize.sh Thu Aug 19 18:30:43 2004
+@@ -21,7 +21,7 @@
+ :
+ else
+ x=$?
+- p=`echo $i | sed 's/ /_/g' | tr "[a-z]]" "[A-Z]"`
++ p=`echo $i | sed 's/ /_/g' | env LC_COLLATE=C tr "[:lower:]" "[:upper:]"`
+ echo "#define SIZEOF_$p $x /* systype-info */"
+ fi
+ fi
Copied: head/ftp/hsftp/files/patch-hsftp.c (from r363209, head/ftp/hsftp/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/hsftp/files/patch-hsftp.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/hsftp/files/patch-aa)
@@ -0,0 +1,10 @@
+--- hsftp.c.orig Sun Aug 27 13:06:30 2000
++++ hsftp.c Sun Aug 27 13:06:42 2000
+@@ -58,6 +58,7 @@
+ #include <signal.h>
+ #include <sys/types.h>
+ #include <sys/mman.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+
+ #include "config.h"
Copied: head/ftp/llnlxdir/files/patch-Imakefile (from r363209, head/ftp/llnlxdir/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/llnlxdir/files/patch-Imakefile Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/llnlxdir/files/patch-aa)
@@ -0,0 +1,20 @@
+--- Imakefile.orig Mon Feb 9 14:23:35 1998
++++ Imakefile Sat Aug 28 11:33:56 1999
+@@ -120,7 +120,7 @@
+ OS_LIBRARIES = -lgen
+ #endif
+
+-#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(NetBSDArchitecture)
++#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture)
+ EXTRA_LIBRARIES = -lcompat
+ #endif
+
+@@ -139,7 +139,7 @@
+ #ifdef XmClientLibs
+ LOCAL_LIBRARIES = XmClientLibs $(SOCKS_LIBS)
+ #else
+-LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS) $(SYSLIB)
++LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS) $(SYSLIB) ${MOTIFLIB}
+ #endif
+ #endif
+
Copied: head/ftp/llnlxdir/files/patch-diag.c (from r363209, head/ftp/llnlxdir/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/llnlxdir/files/patch-diag.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/llnlxdir/files/patch-ab)
@@ -0,0 +1,12 @@
+--- diag.c.orig Sun Dec 1 16:11:28 2002
++++ diag.c Sun Dec 1 16:11:33 2002
+@@ -125,8 +125,8 @@
+ extern struct st_host_info hinfo[];
+ extern int initial_diagnostics;
+ extern int screen;
+-extern int sys_nerr;
+ #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GNU_LIBRARY__) && !defined(__GLIBC__) && !defined(__EMX__)
++extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
+
Copied: head/ftp/llnlxftp/files/patch-Imakefile (from r363209, head/ftp/llnlxftp/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/llnlxftp/files/patch-Imakefile Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/llnlxftp/files/patch-aa)
@@ -0,0 +1,20 @@
+--- Imakefile.orig Thu Oct 19 10:20:26 1995
++++ Imakefile Sat Aug 28 11:36:12 1999
+@@ -79,7 +79,7 @@
+ OS_LIBRARIES = -lgen
+ #endif
+
+-#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(TENONArchitecture)
++#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(TENONArchitecture) || defined(FreeBSDArchitecture)
+ EXTRA_LIBRARIES = -lcompat
+ #endif
+
+@@ -98,7 +98,7 @@
+ #ifdef XmClientLibs
+ LOCAL_LIBRARIES = XmClientLibs $(SOCKS_LIBS)
+ #else
+-LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS)
++LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS) ${MOTIFLIB}
+ #endif
+ #endif
+
Copied: head/ftp/llnlxftp/files/patch-log.c (from r363209, head/ftp/llnlxftp/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/llnlxftp/files/patch-log.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/llnlxftp/files/patch-ab)
@@ -0,0 +1,12 @@
+--- log.c.orig Mon Nov 18 01:25:37 2002
++++ log.c Mon Nov 18 01:25:43 2002
+@@ -81,8 +81,8 @@
+ extern char *initial_logfile_name;
+ extern Display *display;
+ extern int print_password_in_debug;
+-extern int sys_nerr;
+ #if !defined(__FreeBSD__) && !defined(__MACHTEN_PPC__)
++extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
+
Copied: head/ftp/mirror/files/patch-ftp.pl (from r363209, head/ftp/mirror/files/patch-ae)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/mirror/files/patch-ftp.pl Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/mirror/files/patch-ae)
@@ -0,0 +1,36 @@
+*** ftp.pl.orig Fri Jun 5 11:10:27 1998
+--- ftp.pl Fri Sep 10 10:40:50 1999
+***************
+*** 150,156 ****
+ # (Normally set elsewhere - this is just a sensible default.)
+ # Is expected to take count and code as arguments and prompt
+ # for the secret key with 'password:' on stdout and then print the password.
+! $ftp'keygen_prog = '/usr/local/bin/key';
+
+ # Uncomment to turn on lots of debugging.
+ # &debug( 10 );
+--- 150,156 ----
+ # (Normally set elsewhere - this is just a sensible default.)
+ # Is expected to take count and code as arguments and prompt
+ # for the secret key with 'password:' on stdout and then print the password.
+! $ftp'keygen_prog = '/usr/bin/key';
+
+ # Uncomment to turn on lots of debugging.
+ # &debug( 10 );
+***************
+*** 486,492 ****
+ return 0;
+ }
+ if( $ret == 1 ) {
+! if( $response =~ m/^227 Entering Passive Mode \((\d+),(\d+),(\d+),(\d+),(\d+),(\d+)\)/ ){
+ $newhost = sprintf( "%d.%d.%d.%d", $1, $2, $3, $4 );
+ $newport = $5 * 256 + $6;
+ }
+--- 486,492 ----
+ return 0;
+ }
+ if( $ret == 1 ) {
+! if( $response =~ m/^227 .* \((\d+),(\d+),(\d+),(\d+),(\d+),(\d+)\)/ ){
+ $newhost = sprintf( "%d.%d.%d.%d", $1, $2, $3, $4 );
+ $newport = $5 * 256 + $6;
+ }
Copied: head/ftp/mirror/files/patch-makefile (from r363209, head/ftp/mirror/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/mirror/files/patch-makefile Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/mirror/files/patch-aa)
@@ -0,0 +1,73 @@
+*** makefile.orig Mon Jun 1 20:28:47 1998
+--- makefile Mon Jun 8 13:59:10 1998
+***************
+*** 41,47 ****
+ $(WEBFILES)
+
+ all:
+! echo try make mirror.tar
+
+ mirror.tar: $(FILES)
+ rev=`./mirror.pl -v | perl -ane 'print "$$F[2]\n";'`; echo $rev; \
+--- 41,47 ----
+ $(WEBFILES)
+
+ all:
+! # echo try make mirror.tar
+
+ mirror.tar: $(FILES)
+ rev=`./mirror.pl -v | perl -ane 'print "$$F[2]\n";'`; echo $rev; \
+***************
+*** 65,89 ****
+ # mode to install executables
+ EXMODE = 755
+ # group to own all the files
+! GRP = gnu
+ # directory to install .pl (perl library) files
+! PLDIR = /usr/local/perl5/lib/perl5
+ # directory to install public executables
+! BINDIR = /usr/local/sbin
+ # directory to install man pages
+! MANDIR = /usr/local/man/man1
+
+ install:
+! install -m $(PLMODE) -g $(GRP) lchat.pl $(PLDIR)
+! install -m $(PLMODE) -g $(GRP) dateconv.pl $(PLDIR)
+! install -m $(PLMODE) -g $(GRP) ftp.pl $(PLDIR)
+! install -m $(PLMODE) -g $(GRP) lsparse.pl $(PLDIR)
+! install -m $(EXMODE) -g $(GRP) mirror.pl $(BINDIR)/mirror
+! install -m $(EXMODE) -g $(GRP) do_unlinks.pl $(BINDIR)/do_unlinks
+! install -m $(EXMODE) -g $(GRP) pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
+! install -m $(EXMODE) -g $(GRP) mm.pl $(BINDIR)/mirror-master
+! install -m $(PLMODE) -g $(GRP) mirror.man $(MANDIR)/mirror.1
+! install -m $(PLMODE) -g $(GRP) mm.man $(MANDIR)/mirror-master.1
+
+ # directory to install .pl (perl library) files for rperl
+ RPLDIR = /usr/local/rperl5/lib/perl5
+--- 65,89 ----
+ # mode to install executables
+ EXMODE = 755
+ # group to own all the files
+! GRP = bin
+ # directory to install .pl (perl library) files
+! PLDIR = ${PREFIX}/lib/mirror
+ # directory to install public executables
+! BINDIR = ${PREFIX}/bin
+ # directory to install man pages
+! MANDIR = ${PREFIX}/man/man1
+
+ install:
+! install -c lchat.pl $(PLDIR)
+! install -c dateconv.pl $(PLDIR)
+! install -c ftp.pl $(PLDIR)
+! install -c lsparse.pl $(PLDIR)
+! install -c mirror.pl $(BINDIR)/mirror
+! install -c do_unlinks.pl $(BINDIR)/do_unlinks
+! install -c pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
+! install -c mm.pl $(BINDIR)/mirror-master
+! install -c mirror.man $(MANDIR)/mirror.1
+! install -c mm.man $(MANDIR)/mirror-master.1
+! install -c mirror.defaults $(PLDIR)/mirror.defaults.sample
+
+ # directory to install .pl (perl library) files for rperl
+ RPLDIR = /usr/local/rperl5/lib/perl5
Copied: head/ftp/mirror/files/patch-mirror.defaults (from r363209, head/ftp/mirror/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/mirror/files/patch-mirror.defaults Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/mirror/files/patch-ab)
@@ -0,0 +1,80 @@
+*** mirror.defaults.orig Fri May 29 20:57:46 1998
+--- mirror.defaults Mon Jun 8 14:01:11 1998
+***************
+*** 11,39 ****
+ # 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.)
+! hostname=sunsite.org.uk
+ # Keep all local_dirs relative to here
+! local_dir=/public/
+ # The local_dir must exist FIRST
+ #local_dir_check=true
+! remote_password=wizards at sunsite.org.uk
+ mail_to=
+ # Don't mirror file modes. Set all dirs/files to these
+ dir_mode=0755
+ file_mode=0444
+ # By defaults files are owned by root.zero
+! user=0
+! group=0
+ # # Keep a log file in each updated directory
+ # update_log=.mirror
+! update_log=
+ # Don't overwrite my mirror log with the remote one.
+ # Don't pull back any of their mirror temporary files.
+ # nor any FSP or gopher files...
+ exclude_patt=(^|/)(\.mirror$|\.mirror\.log|core$|\.cap|\.in\..*\.$|MIRROR\.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost\+found/|Network Trash Folder)|suky.mpe?g
+ # Do not to compress anything
+ compress_patt=
+! compress_prog=compress
+ # 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...
+--- 11,39 ----
+ # 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.)
+! # hostname=sunsite.org.uk
+ # Keep all local_dirs relative to here
+! local_dir=/home/ftp/pub
+ # The local_dir must exist FIRST
+ #local_dir_check=true
+! # remote_password=wizards at sunsite.org.uk
+ mail_to=
+ # Don't mirror file modes. Set all dirs/files to these
+ dir_mode=0755
+ file_mode=0444
+ # By defaults files are owned by root.zero
+! # user=0
+! # group=0
+ # # Keep a log file in each updated directory
+ # update_log=.mirror
+! # update_log=
+ # Don't overwrite my mirror log with the remote one.
+ # Don't pull back any of their mirror temporary files.
+ # nor any FSP or gopher files...
+ exclude_patt=(^|/)(\.mirror$|\.mirror\.log|core$|\.cap|\.in\..*\.$|MIRROR\.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost\+found/|Network Trash Folder)|suky.mpe?g
+ # Do not to compress anything
+ compress_patt=
+! compress_prog=gzip
+ # 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,53 ****
+ # 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)
+! # delete_excl=(^|/)\.(mirror|notar|cache)$
+ # Ignore any local readme and .mirror files
+ local_ignore=README.doc.ic|(^|/)\.(mirror|notar)$
+ # Automatically delete local copies of files that the
+--- 47,53 ----
+ # 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)
+! delete_excl=(^|/)\.(mirror|notar|cache)$
+ # Ignore any local readme and .mirror files
+ local_ignore=README.doc.ic|(^|/)\.(mirror|notar)$
+ # Automatically delete local copies of files that the
Copied: head/ftp/mirror/files/patch-mirror.pl (from r363209, head/ftp/mirror/files/patch-ac)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/mirror/files/patch-mirror.pl Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/mirror/files/patch-ac)
@@ -0,0 +1,50 @@
+--- mirror.pl.orig Mon Jun 8 12:55:27 1998
++++ mirror.pl Tue Jun 1 16:24:17 2004
+@@ -104,7 +104,7 @@
+ # Try to find the default location of various programs via
+ # the users PATH then using $extra_path
+ if( ! $on_win ){
+- $extra_path = '/usr/local/bin:/usr/new/bin:/usr/public/bin:/usr/ucb:/usr/bin:/bin:/etc:/usr/etc:/usr/local/etc';
++ $extra_path = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin';
+ }
+ if( $extra_path ne '' ){
+ $ENV{ 'PATH' } .= $path_sep . $extra_path;
+@@ -159,19 +159,20 @@
+ $rm_prog = &find_prog( 'rm' );
+
+ # Generate checksums
+-$sum_prog = &find_prog( 'sum' );
++$sum_prog = &find_prog( 'md5' );
+
+ # SPECIAL NOTE: This is eval'd, so DONT put double-quotes (") in it.
+ # You can get local variables to appear as in the second example:
+-$mail_subject = '-s \'mirror update\'';
+-# $mail_subject = ' -s \'mirror update of $package\'';
++# $mail_subject = '-s \'mirror update\'';
++$mail_subject = ' -s \'mirror update of $package\'';
+
+ # When scanning the local directory, how often to prod the remote
+ # system to keep the connection alive
+ $prod_interval = 60;
+
+ # Put the directory that mirror is actually in at the start of PERLLIB.
+-$dir = &real_dir_from_path( $0 );
++# $dir = &real_dir_from_path( $0 );
++$dir = "/usr/local/lib/mirror";
+ unshift( @INC, $dir );
+
+ # Debian GNU/Linux stores mirror.defaults in /etc/mirror
+@@ -1322,8 +1323,11 @@
+
+ # Create a get_patt from the contents of the local directory
+ if( $update_local && $#get_top >= 0 ){
+- $get_patt = '^' . join( '|^', @get_top );
+- $get_patt =~ s/$squished//g;
++ my ($path,$re, at re_patt);
++ #$get_patt = '^' . join( '|^', @get_top );
++ #$get_patt =~ s/$squished//g;
++ foreach $path ( @get_top ) { push @re_patt, "\^\Q$path\E\$"; }
++ $get_patt= join( '|', @re_patt );
+ &msg( "get_patt = $get_patt\n" ) if $debug;
+ }
+
Copied: head/ftp/ncftp1/files/patch-Makefile (from r363209, head/ftp/ncftp1/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/ncftp1/files/patch-Makefile Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/ncftp1/files/patch-aa)
@@ -0,0 +1,35 @@
+--- Makefile.orig Sun Oct 1 17:50:58 1995
++++ Makefile Sun Oct 19 02:18:45 2003
+@@ -13,7 +13,7 @@
+
+ # Program definitions. See the README, part C.
+ #--------------------------------------------------------------------------
+-PDEFS =
++PDEFS = -DREADLINE
+ #PDEFS = -DGETLINE
+ #PDEFS = -DREADLINE -DCURSES
+ #PDEFS = -DSOCKS
+@@ -24,11 +24,12 @@
+ # Choose your compiler and flags below. Make sure you use an ANSI compiler
+ # that handles new style function declarations and prototypes (gcc should).
+ #--------------------------------------------------------------------------
+-CC = cc
++CC ?= cc
+ #CC = gcc
+
++CFLAGS ?= -O -pipe
+ #CFLAGS = $(TERM_INC) -O
+-CFLAGS = $(TERM_INC) -O2
++CFLAGS += $(TERM_INC)
+ #CFLAGS = $(TERM_INC) -g
+
+ LFLAGS = -s
+@@ -53,7 +54,7 @@
+ # You'll need to know where the Rconnect.o object file is if you want
+ # to use Socks.
+ #--------------------------------------------------------------------------
+-LIBS =
++LIBS = -lreadline
+ #LIBS = -ldbmalloc
+ #LIBS = -lgetline
+ #LIBS = -lreadline -lcurses
Copied: head/ftp/ncftp1/files/patch-main.c (from r363209, head/ftp/ncftp1/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/ncftp1/files/patch-main.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/ncftp1/files/patch-ab)
@@ -0,0 +1,11 @@
+--- main.c.orig Sun Oct 29 19:17:55 1995
++++ main.c Tue Feb 18 19:11:56 1997
+@@ -200,7 +200,7 @@
+ ansi_escapes = 0;
+ if ((cp = getenv("TERM")) != NULL) {
+ if ((*cp == 'v' && cp[1] == 't') /* vt100, vt102, ... */
+- || (strcmp(cp, "xterm") == 0))
++ || (strncmp(cp, "xterm", 5) == 0))
+ ansi_escapes = 1;
+ }
+ #endif
Copied: head/ftp/quftp/files/patch-ftp.c (from r363209, head/ftp/quftp/files/patch-aa)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/quftp/files/patch-ftp.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/quftp/files/patch-aa)
@@ -0,0 +1,15 @@
+--- ftp.c.orig Mon Mar 10 19:28:11 2003
++++ ftp.c Wed Dec 10 20:33:55 2003
+@@ -7,12 +7,10 @@
+ #define _XOPEN_SOURCE 500
+
+ #include <stdlib.h>
+-#include <features.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <ctype.h>
+-#include <malloc.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
Copied: head/ftp/quftp/files/patch-quftp.c (from r363209, head/ftp/quftp/files/patch-ab)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/quftp/files/patch-quftp.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/quftp/files/patch-ab)
@@ -0,0 +1,10 @@
+--- quftp.c.orig Wed Dec 10 20:37:19 2003
++++ quftp.c Wed Dec 10 20:37:27 2003
+@@ -8,7 +8,6 @@
+ */
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <errno.h>
+ #include <unistd.h>
Copied: head/ftp/quftp/files/patch-rc.c (from r363209, head/ftp/quftp/files/patch-ad)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/quftp/files/patch-rc.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/quftp/files/patch-ad)
@@ -0,0 +1,10 @@
+--- rc.c.orig Wed Dec 10 20:36:15 2003
++++ rc.c Wed Dec 10 20:36:32 2003
+@@ -5,7 +5,6 @@
+ * $Date: 2002/06/13 07:00:33 $
+ */
+
+-#include <malloc.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
Copied: head/ftp/quftp/files/patch-text.c (from r363209, head/ftp/quftp/files/patch-ac)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/quftp/files/patch-text.c Mon Jul 28 18:44:42 2014 (r363226, copy of r363209, head/ftp/quftp/files/patch-ac)
@@ -0,0 +1,10 @@
+--- text.c.orig Wed Dec 10 20:36:09 2003
++++ text.c Wed Dec 10 20:36:57 2003
+@@ -3,7 +3,6 @@
+ $Date: 2002/06/24 04:04:32 $
+ */
+
+-#include <malloc.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>
More information about the svn-ports-all
mailing list