This commit was manufactured by cvs2svn to create tag 'Avant-cvs-rm'.
Sprout from master 2002-02-13 16:36:24 UTC Olivier Sirol <alliance-cvs@asim.lip6.fr> '4.9' Delete: CVSROOT/checkoutlist CVSROOT/commitinfo CVSROOT/cvsignore CVSROOT/cvswrappers CVSROOT/editinfo CVSROOT/fastinstool CVSROOT/instool CVSROOT/loginfo CVSROOT/modules CVSROOT/notify CVSROOT/postconfig CVSROOT/rcsinfo CVSROOT/setperms CVSROOT/taginfo CVSROOT/updatelibmk dev/cvslargo/listes-rules/alliance/archive.txt dev/cvslargo/listes-rules/alliance/help.txt dev/cvslargo/listes-rules/alliance/rc.custom dev/cvslargo/listes-rules/alliance/rc.init dev/cvslargo/listes-rules/alliance/rc.request dev/cvslargo/listes-rules/alliance/rc.submit dev/cvslargo/listes-rules/alliance/subscribe.txt dev/cvslargo/listes-rules/alliance/unsubscribe.txt dev/cvslargo/listes-rules/archi/rc.custom dev/cvslargo/listes-rules/defaults/.procmailrc dev/cvslargo/listes-rules/defaults/rc.archive dev/cvslargo/listes-rules/defaults/rc.custom dev/cvslargo/listes-rules/defaults/rc.init dev/cvslargo/listes-rules/defaults/rc.main dev/cvslargo/listes-rules/defaults/rc.post dev/cvslargo/listes-rules/defaults/rc.request dev/cvslargo/listes-rules/defaults/rc.submit dev/cvslargo/listes-rules/help/rc.custom dev/cvslargo/listes-rules/hyp dev/cvslargo/listes-rules/hypermail/.hmrc dev/cvslargo/listes-rules/hypermail/hypermail-footer.hyp dev/cvslargo/listes-rules/hypermail/hypermail-index.hyp dev/cvslargo/listes-rules/hypermail/hypermail-msg.hyp dev/cvslargo/listes-rules/hypreset dev/cvslargo/listes-rules/splitmailbyyear dev/cvslargo/www/cgi-bin/czo/.swisherc.alliance dev/cvslargo/www/cgi-bin/czo/.swisherc.allsite dev/cvslargo/www/cgi-bin/czo/.swisherc.alml dev/cvslargo/www/cgi-bin/czo/.swisherc.education dev/cvslargo/www/cgi-bin/czo/.swisherc.intranet dev/cvslargo/www/cgi-bin/czo/.swisherc.mpc dev/cvslargo/www/cgi-bin/czo/.swisherc.multimedia dev/cvslargo/www/cgi-bin/czo/.swisherc.publications dev/cvslargo/www/cgi-bin/czo/.swisherc.users dev/cvslargo/www/cgi-bin/czo/alliance.dat dev/cvslargo/www/cgi-bin/czo/allsite.dat dev/cvslargo/www/cgi-bin/czo/alml.dat dev/cvslargo/www/cgi-bin/czo/counter.cgi dev/cvslargo/www/cgi-bin/czo/education.dat dev/cvslargo/www/cgi-bin/czo/execasimut.cgi dev/cvslargo/www/cgi-bin/czo/flag.cgi dev/cvslargo/www/cgi-bin/czo/hit/doit dev/cvslargo/www/cgi-bin/czo/hit/hit.cfg dev/cvslargo/www/cgi-bin/czo/hit/hit.cnt dev/cvslargo/www/cgi-bin/czo/hit/hit.flk dev/cvslargo/www/cgi-bin/czo/hit/hit.xbm dev/cvslargo/www/cgi-bin/czo/hit/hit1.dat dev/cvslargo/www/cgi-bin/czo/hit/hit1.log dev/cvslargo/www/cgi-bin/czo/hit/hit10.dat dev/cvslargo/www/cgi-bin/czo/hit/hit11.dat dev/cvslargo/www/cgi-bin/czo/hit/hit12.dat dev/cvslargo/www/cgi-bin/czo/hit/hit2.dat dev/cvslargo/www/cgi-bin/czo/hit/hit2.log dev/cvslargo/www/cgi-bin/czo/hit/hit3.dat dev/cvslargo/www/cgi-bin/czo/hit/hit4.dat dev/cvslargo/www/cgi-bin/czo/hit/hit5.dat dev/cvslargo/www/cgi-bin/czo/hit/hit6.dat dev/cvslargo/www/cgi-bin/czo/hit/hit7.dat dev/cvslargo/www/cgi-bin/czo/hit/hit8.dat dev/cvslargo/www/cgi-bin/czo/hit/hit9.dat dev/cvslargo/www/cgi-bin/czo/hit/hitcfg.pl dev/cvslargo/www/cgi-bin/czo/hit/hitman.pl dev/cvslargo/www/cgi-bin/czo/hit/hitmat.cgi dev/cvslargo/www/cgi-bin/czo/hit/hitmat.pwd dev/cvslargo/www/cgi-bin/czo/hit/hitxbm.pl dev/cvslargo/www/cgi-bin/czo/hit/how2hit.txt dev/cvslargo/www/cgi-bin/czo/hit/since.xbm dev/cvslargo/www/cgi-bin/czo/index.html dev/cvslargo/www/cgi-bin/czo/intranet.dat dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/a_dolink.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/a_errlog.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/cntcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/gmtset.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/hitbadlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/hitcount.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/hitlnk.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/hitlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/look.pwd dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/lookcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/armandino/trans.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/a_dolink.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/a_errlog.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/cntcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/gmtset.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/hitbadlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/hitcount.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/hitlnk.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/hitlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/look.pwd dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/lookcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/asim/trans.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/a_dolink.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/a_errlog.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/cntcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/gmtset.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/hitbadlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/hitcount.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/hitlnk.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/hitlog.t dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/look.pwd dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/lookcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/edite/trans.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/counters/new.tgz dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/logcnt.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/loglook.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/linkcount.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/linkname.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/makedir.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics1/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/pics2/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/sets/cntcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/sets/gmtset.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/sets/lookcnfg.pl dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/-.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/2.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/3.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/4.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/5.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/6.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/7.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/8.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/9.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/a.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/grf0.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/grf1.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/p.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/ssi_img/trans.gif dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/testbin.cgi dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/utility.txt dev/cvslargo/www/cgi-bin/czo/lc/cgi-bin/private/webmster.shtml dev/cvslargo/www/cgi-bin/czo/lc/readme.htm dev/cvslargo/www/cgi-bin/czo/lc/webmster.html dev/cvslargo/www/cgi-bin/czo/linux.gif.cgi dev/cvslargo/www/cgi-bin/czo/lock.cgi dev/cvslargo/www/cgi-bin/czo/maintenedby.cgi dev/cvslargo/www/cgi-bin/czo/mpc.dat dev/cvslargo/www/cgi-bin/czo/multimedia.dat dev/cvslargo/www/cgi-bin/czo/my.cgi dev/cvslargo/www/cgi-bin/czo/printenv.cgi dev/cvslargo/www/cgi-bin/czo/private/.htaccess dev/cvslargo/www/cgi-bin/czo/private/search-intranet.cgi dev/cvslargo/www/cgi-bin/czo/private/search.log dev/cvslargo/www/cgi-bin/czo/publications.dat dev/cvslargo/www/cgi-bin/czo/search.cgi dev/cvslargo/www/cgi-bin/czo/searchres.cgi dev/cvslargo/www/cgi-bin/czo/searchwais.cgi dev/cvslargo/www/cgi-bin/czo/startform.cgi dev/cvslargo/www/cgi-bin/czo/test.cgi dev/cvslargo/www/cgi-bin/czo/testtime.cgi dev/cvslargo/www/cgi-bin/czo/users.dat dev/cvslargo/www/cgi-bin/czo/wwwlog.cgi dev/scripts/.header.gpl.c dev/scripts/.header.gpl.mk dev/scripts/.header.lgpl.c dev/scripts/.header.lgpl.mk dev/scripts/alc_update_bin dev/scripts/install/rpm/alliance.spec dev/scripts/install/windows/alliance-readme-after.txt dev/scripts/install/windows/alliance-readme-before.txt dev/scripts/install/windows/alliance.iss dev/scripts/marker dev/scripts/misc/PRINT_CELLS_DOC dev/scripts/misc/PRINT_TOOLS_DOC dev/scripts/misc/Responsables.byname dev/scripts/misc/alc_bug_rprt.1 dev/scripts/misc/alc_create_bande_32a dev/scripts/misc/alc_create_rep dev/scripts/misc/alc_env.csh dev/scripts/misc/alc_env.sh dev/scripts/misc/alc_flock dev/scripts/misc/alc_install_account dev/scripts/misc/alc_link_labo_sce dev/scripts/misc/alc_man_test dev/scripts/misc/alc_man_up dev/scripts/misc/alc_news dev/scripts/misc/alc_origin.1 dev/scripts/misc/alc_update_binaries dev/scripts/misc/alc_update_libraries.mk dev/scripts/misc/alc_update_spool dev/scripts/misc/alcteam dev/scripts/misc/alcteam.txt dev/scripts/misc/alliance.README dev/scripts/misc/alliance.lsm dev/scripts/misc/ccvinst dev/scripts/misc/changes dev/scripts/misc/copytool dev/scripts/misc/copytoolok dev/scripts/misc/critique.c dev/scripts/misc/distrib3.2 dev/scripts/misc/dri dev/scripts/misc/gendeclib dev/scripts/misc/generic dev/scripts/misc/genlnxlib dev/scripts/misc/genspabin dev/scripts/misc/genspaetc dev/scripts/misc/genspalib dev/scripts/misc/inslib.c dev/scripts/misc/mail dev/scripts/misc/mail_bug_rprt.tmpl dev/scripts/misc/mailrhost dev/scripts/misc/motd dev/scripts/misc/mydiff dev/scripts/misc/responsable.c dev/scripts/misc/sedgpl dev/scripts/misc/shlock.1 dev/scripts/misc/shlock.c dev/scripts/misc/wrhost dev/scripts/mkdistrib
|
@ -1,19 +0,0 @@
|
|||
# The "checkoutlist" file is used to support additional version controlled
|
||||
# administrative files in $CVSROOT/CVSROOT, such as template files.
|
||||
#
|
||||
# The first entry on a line is a filename which will be checked out from
|
||||
# the corresponding RCS file in the $CVSROOT/CVSROOT directory.
|
||||
# The remainder of the line is an error message to use if the file cannot
|
||||
# be checked out.
|
||||
#
|
||||
# File format:
|
||||
#
|
||||
# [<whitespace>]<filename><whitespace><error message><end-of-line>
|
||||
#
|
||||
# comment lines begin with '#'
|
||||
|
||||
postconfig "ERRRROR : a 'checkoutlist' was not found"
|
||||
fastinstool "ERRRROR : a 'checkoutlist' was not found"
|
||||
instool "ERRRROR : a 'checkoutlist' was not found"
|
||||
updatelibmk "ERRRROR : a 'checkoutlist' was not found"
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# The "commitinfo" file is used to control pre-commit checks.
|
||||
# The filter on the right is invoked with the repository and a list
|
||||
# of files to check. A non-zero exit of the filter program will
|
||||
# cause the commit to be aborted.
|
||||
#
|
||||
# The first entry on a line is a regular expression which is tested
|
||||
# against the directory that the change is being committed to, relative
|
||||
# to the $CVSROOT. For the first match that is found, then the remainder
|
||||
# of the line is the name of the filter to run.
|
||||
#
|
||||
# If the repository name does not match any of the regular expressions in this
|
||||
# file, the "DEFAULT" line is used, if it is specified.
|
||||
#
|
||||
# If the name "ALL" appears as a regular expression it is always used
|
||||
# in addition to the first matching regex or "DEFAULT".
|
|
@ -1,73 +0,0 @@
|
|||
# Ignoring files via cvsignore
|
||||
#
|
||||
# There are certain file names that frequently occur inside your working copy, but that you don't want to put under CVS control.
|
||||
# Examples are all the object files that you get while you compile your sources. Normally, when you run `cvs update', it prints a
|
||||
# line for each file it encounters that it doesn't know about (see section update output).
|
||||
#
|
||||
# CVS has a list of files (or sh(1) file name patterns) that it should ignore while running update, import and release. This list is
|
||||
# constructed in the following way.
|
||||
#
|
||||
# The list is initialized to include certain file name patterns: names associated with CVS administration, or with other common
|
||||
# source control systems; common names for patch files, object files, archive files, and editor backup files; and other names
|
||||
# that are usually artifacts of assorted utilities. Currently, the default list of ignored file name patterns is:
|
||||
#
|
||||
# RCS SCCS CVS CVS.adm
|
||||
# RCSLOG cvslog.*
|
||||
# tags TAGS
|
||||
# .make.state .nse_depinfo
|
||||
# *~ #* .#* ,* _$* *$
|
||||
# *.old *.bak *.BAK *.orig *.rej .del-*
|
||||
# *.a *.olb *.o *.obj *.so *.exe
|
||||
# *.Z *.elc *.ln
|
||||
# core
|
||||
#
|
||||
# Pas chez moi :
|
||||
#
|
||||
# #*
|
||||
# *$
|
||||
# *.Z
|
||||
# *.elc
|
||||
# *.exe
|
||||
# *.ln
|
||||
# *.obj
|
||||
# *.olb
|
||||
# *.old
|
||||
# *.orig
|
||||
# *.rej
|
||||
# ,*
|
||||
# .#*
|
||||
# _$*
|
||||
#
|
||||
# The per-repository list in `$CVSROOT/CVSROOT/cvsignore' is appended to the list, if that file exists.
|
||||
# The per-user list in `.cvsignore' in your home directory is appended to the list, if it exists.
|
||||
# Any entries in the environment variable $CVSIGNORE is appended to the list.
|
||||
# Any `-I' options given to CVS is appended.
|
||||
# As CVS traverses through your directories, the contents of any `.cvsignore' will be appended to the list. The patterns
|
||||
# found in `.cvsignore' are only valid for the directory that contains them, not for any sub-directories.
|
||||
#
|
||||
# In any of the 5 places listed above, a single exclamation mark (`!') clears the ignore list. This can be used if you want to store
|
||||
# any file which normally is ignored by CVS.
|
||||
#
|
||||
|
||||
!
|
||||
CVS
|
||||
CVS.adm
|
||||
RCS
|
||||
RCSLOG
|
||||
SCCS
|
||||
TAGS
|
||||
tags
|
||||
*.bak
|
||||
*.BAK
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
*~
|
||||
cvslog.*
|
||||
core
|
||||
.del-*
|
||||
.make.state
|
||||
.nse_depinfo
|
||||
.*.swp
|
||||
|
||||
# --- EOF ---
|
|
@ -1,127 +0,0 @@
|
|||
# This file describes wrappers and other binary files to CVS.
|
||||
#
|
||||
# Wrappers are the concept where directories of files are to be
|
||||
# treated as a single file. The intended use is to wrap up a wrapper
|
||||
# into a single tar such that the tar archive can be treated as a
|
||||
# single binary file in CVS.
|
||||
#
|
||||
# To solve the problem effectively, it was also necessary to be able to
|
||||
# prevent rcsmerge from merging these files.
|
||||
#
|
||||
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
|
||||
#
|
||||
# wildcard [option value][option value]...
|
||||
#
|
||||
# where option is one of
|
||||
# -f from cvs filter value: path to filter
|
||||
# -t to cvs filter value: path to filter
|
||||
# -m update methodology value: MERGE or COPY
|
||||
#
|
||||
# and value is a single-quote delimited value.
|
||||
#
|
||||
# For example:
|
||||
|
||||
# #---------- bin extensions
|
||||
# a
|
||||
# arj
|
||||
# bin
|
||||
# bmp
|
||||
# box
|
||||
# cal
|
||||
# cdr
|
||||
# dat
|
||||
# db
|
||||
# dbf
|
||||
# der
|
||||
# dic
|
||||
# dll
|
||||
# doc
|
||||
# dvi
|
||||
# elc
|
||||
# exe
|
||||
# fmt
|
||||
# gif
|
||||
# gz
|
||||
# jbf
|
||||
# jpeg
|
||||
# jpg
|
||||
# lbm
|
||||
# lib
|
||||
# o
|
||||
# pdf
|
||||
# pgp
|
||||
# pict
|
||||
# png
|
||||
# ppt
|
||||
# ps
|
||||
# psp
|
||||
# qx31
|
||||
# rpm
|
||||
# sbl
|
||||
# so
|
||||
# tar
|
||||
# tgz
|
||||
# tif
|
||||
# tiff
|
||||
# wav
|
||||
# xls
|
||||
# xpm
|
||||
# zip
|
||||
# vor
|
||||
# sdw
|
||||
# sdb
|
||||
# sym
|
||||
# sld
|
||||
|
||||
|
||||
*.[Aa] -k b -m COPY
|
||||
*.[Aa][Rr][Jj] -k b -m COPY
|
||||
*.[Bb][Ii][Nn] -k b -m COPY
|
||||
*.[Bb][Mm][Pp] -k b -m COPY
|
||||
*.[Bb][Oo][Xx] -k b -m COPY
|
||||
*.[Cc][Aa][Ll] -k b -m COPY
|
||||
*.[Cc][Dd][Rr] -k b -m COPY
|
||||
*.[Dd][Aa][Tt] -k b -m COPY
|
||||
*.[Dd][Bb] -k b -m COPY
|
||||
*.[Dd][Bb][Ff] -k b -m COPY
|
||||
*.[Dd][Ee][Rr] -k b -m COPY
|
||||
*.[Dd][Ii][Cc] -k b -m COPY
|
||||
*.[Dd][Ll][Ll] -k b -m COPY
|
||||
*.[Dd][Oo][Cc] -k b -m COPY
|
||||
*.[Dd][Vv][Ii] -k b -m COPY
|
||||
*.[Ee][Ll][Cc] -k b -m COPY
|
||||
*.[Ee][Xx][Ee] -k b -m COPY
|
||||
*.[Ff][Mm][Tt] -k b -m COPY
|
||||
*.[Gg][Ii][Ff] -k b -m COPY
|
||||
*.[Gg][Zz] -k b -m COPY
|
||||
*.[Jj][Bb][Ff] -k b -m COPY
|
||||
*.[Jj][Pp][Ee][Gg] -k b -m COPY
|
||||
*.[Jj][Pp][Gg] -k b -m COPY
|
||||
*.[Ll][Bb][Mm] -k b -m COPY
|
||||
*.[Ll][Ii][Bb] -k b -m COPY
|
||||
*.[Oo] -k b -m COPY
|
||||
*.[Pp][Dd][Ff] -k b -m COPY
|
||||
*.[Pp][Gg][Pp] -k b -m COPY
|
||||
*.[Pp][Ii][Cc][Tt] -k b -m COPY
|
||||
*.[Pp][Nn][Gg] -k b -m COPY
|
||||
*.[Pp][Pp][Tt] -k b -m COPY
|
||||
*.[Pp][Ss] -k b -m COPY
|
||||
*.[Pp][Ss][Pp] -k b -m COPY
|
||||
*.[Qq][Xx][33][11] -k b -m COPY
|
||||
*.[Rr][Pp][Mm] -k b -m COPY
|
||||
*.[Ss][Bb][Ll] -k b -m COPY
|
||||
*.[Ss][Oo] -k b -m COPY
|
||||
*.[Tt][Aa][Rr] -k b -m COPY
|
||||
*.[Tt][Gg][Zz] -k b -m COPY
|
||||
*.[Tt][Ii][Ff] -k b -m COPY
|
||||
*.[Tt][Ii][Ff][Ff] -k b -m COPY
|
||||
*.[Ww][Aa][Vv] -k b -m COPY
|
||||
*.[Xx][Ll][Ss] -k b -m COPY
|
||||
*.[Xx][Pp][Mm] -k b -m COPY
|
||||
*.[Zz][Ii][Pp] -k b -m COPY
|
||||
*.[Vv][Oo][Rr] -k b -m COPY
|
||||
*.[Ss][Dd][Ww] -k b -m COPY
|
||||
*.[Ss][Dd][Bb] -k b -m COPY
|
||||
*.[Ss][Yy][Mm] -k b -m COPY
|
||||
*.[Ss][Ll][Dd] -k b -m COPY
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
# The "editinfo" file is used to allow verification of logging
|
||||
# information. It works best when a template (as specified in the
|
||||
# rcsinfo file) is provided for the logging procedure. Given a
|
||||
# template with locations for, a bug-id number, a list of people who
|
||||
# reviewed the code before it can be checked in, and an external
|
||||
# process to catalog the differences that were code reviewed, the
|
||||
# following test can be applied to the code:
|
||||
#
|
||||
# Making sure that the entered bug-id number is correct.
|
||||
# Validating that the code that was reviewed is indeed the code being
|
||||
# checked in (using the bug-id number or a seperate review
|
||||
# number to identify this particular code set.).
|
||||
#
|
||||
# If any of the above test failed, then the commit would be aborted.
|
||||
#
|
||||
# Actions such as mailing a copy of the report to each reviewer are
|
||||
# better handled by an entry in the loginfo file.
|
||||
#
|
||||
# One thing that should be noted is the the ALL keyword is not
|
||||
# supported. There can be only one entry that matches a given
|
||||
# repository.
|
|
@ -1,47 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
#DATE=`date +"%Y.%m.%d_%H.%M.%S"`
|
||||
DATE=`date +"%Y.%m.%d"`
|
||||
|
||||
INSTALL_FROM=/users/soft5/newlabo/test/alliance
|
||||
|
||||
INSTALL_TO=/users/soft5/newlabo/alliance
|
||||
|
||||
COPYTHIS=\*
|
||||
#COPYTHIS=asimut
|
||||
|
||||
cd $INSTALL_FROM/archi
|
||||
|
||||
for ARCHI in Linux SunOS Solaris
|
||||
do
|
||||
for FILE in $INSTALL_FROM/archi/$ARCHI/bin/$COPYTHIS
|
||||
do
|
||||
# echo %%%%%% $FILE
|
||||
cp -f $FILE $INSTALL_TO/archi/$ARCHI/bin/`basename $FILE`.$DATE
|
||||
chmod ug+rw $INSTALL_TO/archi/$ARCHI/bin/`basename $FILE`.$DATE
|
||||
ln -f -s $INSTALL_TO/archi/$ARCHI/bin/`basename $FILE`.$DATE $INSTALL_TO/archi/$ARCHI/bin/`basename $FILE`
|
||||
chmod ug+rw $INSTALL_TO/archi/$ARCHI/bin/`basename $FILE`
|
||||
done
|
||||
|
||||
for TRUC in $INSTALL_FROM/archi/$ARCHI/lib/$COPYTHIS
|
||||
do
|
||||
# echo %%%%%% $TRUC
|
||||
cp -f $TRUC $INSTALL_TO/archi/$ARCHI/lib/`basename $TRUC`
|
||||
chmod ug+rw $INSTALL_TO/archi/$ARCHI/lib/`basename $TRUC`
|
||||
done
|
||||
|
||||
for TRUC in $INSTALL_FROM/archi/$ARCHI/include/$COPYTHIS
|
||||
do
|
||||
# echo %%%%%% $TRUC
|
||||
cp -f $TRUC $INSTALL_TO/archi/$ARCHI/include/`basename $TRUC`
|
||||
chmod ug+rw $INSTALL_TO/archi/$ARCHI/include/`basename $TRUC`
|
||||
done
|
||||
|
||||
done
|
||||
|
||||
# Sanity checks
|
||||
echo "Launching chgrp and chmod ..."
|
||||
chmod -R ug+w /users/soft5/newlabo/alliance
|
||||
chgrp -R alliance /users/soft5/newlabo/alliance
|
||||
|
||||
echo "Il faut faire ranlib..."
|
370
CVSROOT/instool
|
@ -1,370 +0,0 @@
|
|||
#!/bin/sh
|
||||
# set -v
|
||||
# set -x
|
||||
#
|
||||
# Installation script for the tools of the lab that plug on Alliance
|
||||
#
|
||||
# Author: Frédéric Pétrot (fred@pasta.fr.ea)
|
||||
# for version 0
|
||||
#
|
||||
# $Id: instool,v 1.28 2001/10/19 14:32:01 jpc Exp $
|
||||
#
|
||||
|
||||
|
||||
#rsh ssh et .profile ...
|
||||
#DATE=`date +"%Y.%m.%d_%H.%M.%S"`
|
||||
|
||||
DATE=`date +"%Y.%m.%d"`
|
||||
mkdir -p $HOME/tmp
|
||||
TMPDIR=$HOME/tmp
|
||||
LOG=$TMPDIR/`basename $0`.$$
|
||||
BUG=$TMPDIR/`basename $0`_bug.$$
|
||||
|
||||
BUGTEAM="fred ludo czo"
|
||||
|
||||
# rep par defaut : alliance/archi/$MACHINE
|
||||
# alliance/share/...
|
||||
TARGET="Solaris Linux"
|
||||
NUM_TARGET=`echo $TARGET | wc -w`
|
||||
|
||||
LABO=/users/soft5/newlabo/alliance
|
||||
CELL_EXTENSIONS="al ap vst vbe cp hns edi spi db dat IDX"
|
||||
CELLS=$LABO/share/cells
|
||||
ETC=$LABO/share/etc
|
||||
MANS=$LABO/share/man
|
||||
|
||||
umask 002
|
||||
alcbanner "Instool" "0.0 alpha" "Alliance Tools Installation Script" "1999"
|
||||
echo ""
|
||||
echo ""
|
||||
echo "News: "
|
||||
echo " the include are shared"
|
||||
echo " a log of all installations is available in $HOME/tmp"
|
||||
echo " a message MUST be given for each installation"
|
||||
|
||||
if [ $# -lt 2 -o $# -gt 4 ] ; then
|
||||
echo "Syntax: `basename $0` [-v] tool-home-directory message"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $1 = "-v" ]; then
|
||||
verbose=1
|
||||
shift
|
||||
else
|
||||
verbose=0
|
||||
fi
|
||||
|
||||
if [ -z $1 -o -z "${2:-''}" ] ; then
|
||||
echo "Syntax: `basename $0` [-v] tool-home-directory message"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $verbose -ne 0 ] ; then
|
||||
echo "`basename $0` : Checking directories"
|
||||
fi
|
||||
|
||||
if [ ! -d $1 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Directory $1 doesn't exist!"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if [ ! -d $1/labo ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Directory $1/labo doesn't exist!"
|
||||
exit 3
|
||||
fi
|
||||
|
||||
for i in $TARGET ; do
|
||||
if [ ! -d $1/labo/$i ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Directory $1/labo/$i doesn't exist!"
|
||||
exit 4
|
||||
fi
|
||||
done
|
||||
|
||||
bin=0; lib=0; inc=0
|
||||
for i in $TARGET ; do
|
||||
if [ -d $1/labo/$i/bin ] ; then
|
||||
bin=`expr $bin + 1`
|
||||
fi
|
||||
if [ -d $1/labo/$i/lib ] ; then
|
||||
lib=`expr $lib + 1`
|
||||
fi
|
||||
if [ -d $1/labo/$i/include ] ; then
|
||||
inc=`expr $inc + 1`
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $bin -eq 0 ]; then
|
||||
echo "No binaries to install, ..."
|
||||
unset bin
|
||||
elif [ ! $bin -eq $NUM_TARGET ]; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Directory $1/labo/archi/bin doesn't exist on all architectures"
|
||||
exit 5
|
||||
fi
|
||||
|
||||
if [ $lib -eq 0 -a $inc -eq 0 ]; then
|
||||
echo "No libraries to install, ..."
|
||||
unset lib inc
|
||||
elif [ ! \( $lib -eq $NUM_TARGET -a $inc -eq $NUM_TARGET \) ]; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Directory $1/labo/archi/lib or/and $1/labo/archi/include "
|
||||
echo "doesn't exist on all architectures"
|
||||
exit 6
|
||||
fi
|
||||
|
||||
if [ ${bin:-0} -eq 0 -a ${lib:-0} -eq 0 -a ${inc:-0} -eq 0 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Nothing to be installed"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
trap "rm -f $TMPDIR/*.$$ $LOG; exit 0" 0 1 2 15
|
||||
#trap "exit 12" 0 1 2 15
|
||||
|
||||
if [ $verbose -ne 0 ] ; then
|
||||
echo "`basename $0` : Checking directories contents for consistency"
|
||||
fi
|
||||
|
||||
b=0
|
||||
if [ ! ${bin:-0} -eq 0 ]; then
|
||||
for i in $TARGET ; do
|
||||
ls -1 $1/labo/$i/bin > $TMPDIR/$i.bin.$$ 2> /dev/null
|
||||
if [ ! -s $TMPDIR/$i.bin.$$ ] ; then
|
||||
b=`expr $b + 1`
|
||||
fi
|
||||
done
|
||||
if [ $b -eq $NUM_TARGET ] ; then
|
||||
for i in $TARGET ; do
|
||||
echo "Please remove $1/labo/$i/bin since it is empty"
|
||||
done
|
||||
unset bin
|
||||
fi
|
||||
fi
|
||||
l=0
|
||||
h=0
|
||||
if [ ! ${lib:-0} -eq 0 ]; then
|
||||
for i in $TARGET ; do
|
||||
ls -1 $1/labo/$i/lib > $TMPDIR/$i.lib.$$ 2> /dev/null
|
||||
ls -1 $1/labo/$i/lib/*.a | awk -F/ '{print $NF}' > $TMPDIR/$i.lib.a.$$ 2> /dev/null
|
||||
diff $TMPDIR/$i.lib.$$ $TMPDIR/$i.lib.a.$$ > /dev/null 2>&1
|
||||
if [ ! $? -eq 0 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "directory $1/labo/$i/lib contains files "
|
||||
echo "that do not end with .a"
|
||||
exit 7
|
||||
fi
|
||||
ls -1 $1/labo/$i/include > $TMPDIR/$i.inc.$$ 2> /dev/null
|
||||
ls -1 $1/labo/$i/include/*.h | awk -F/ '{print $NF}' > $TMPDIR/$i.inc.h.$$ 2> /dev/null
|
||||
diff $TMPDIR/$i.inc.$$ $TMPDIR/$i.inc.h.$$ > /dev/null 2>&1
|
||||
if [ ! $? -eq 0 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "directory $1/labo/$i/include contains files "
|
||||
echo "that do not end with .h"
|
||||
exit 7
|
||||
fi
|
||||
if [ ! -s $TMPDIR/$i.lib.$$ ] ; then
|
||||
l=`expr $l + 1`
|
||||
fi
|
||||
if [ ! -s $TMPDIR/$i.inc.$$ ] ; then
|
||||
h=`expr $h + 1`
|
||||
fi
|
||||
if [ \( ! -s $TMPDIR/$i.lib.$$ -a -s $TMPDIR/$i.inc.$$ \) -o \
|
||||
\( -s $TMPDIR/$i.lib.$$ -a ! -s $TMPDIR/$i.inc.$$ \) ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Libraries requires includes and vice-versa"
|
||||
exit 7
|
||||
fi
|
||||
done
|
||||
if [ $l -eq $NUM_TARGET ] ; then
|
||||
echo "Please remove $1/labo/archi/lib since it is empty "
|
||||
unset lib
|
||||
fi
|
||||
if [ $h -eq $NUM_TARGET ] ; then
|
||||
echo "Please remove $1/labo/archi/include since it is empty "
|
||||
unset inc
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${bin:-0} -eq 0 -a ${lib:-0} -eq 0 -a ${inc:-0} -eq 0 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "Nothing to install"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DIR=`echo ${bin:+bin} ${lib:+lib} ${inc:+include}`
|
||||
|
||||
bins=0; libs=0; incs=0
|
||||
for i in $TARGET ; do
|
||||
for j in $TARGET ; do
|
||||
if [ ! ${bin:-0} -eq 0 ]; then
|
||||
diff $TMPDIR/$j.bin.$$ $TMPDIR/$i.bin.$$ > /dev/null 2>&1
|
||||
bins=`expr $bins + $?`
|
||||
fi
|
||||
if [ ! ${lib:-0} -eq 0 ]; then
|
||||
diff $TMPDIR/$j.lib.$$ $TMPDIR/$i.lib.$$ > /dev/null 2>&1
|
||||
libs=`expr $libs + $?`
|
||||
diff $TMPDIR/$j.inc.$$ $TMPDIR/$i.inc.$$ > /dev/null 2>&1
|
||||
incs=`expr $incs + $?`
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
if [ $bins -gt 0 -o $libs -gt 0 -o $incs -gt 0 ] ; then
|
||||
echo "`basename $0` cannot install tool $1"
|
||||
echo "all bin/lib/include directories do not contain the same files"
|
||||
echo "for all target architectures"
|
||||
exit 8
|
||||
fi
|
||||
|
||||
echo "`basename $0`: Checking for space on disk :"
|
||||
s=1
|
||||
for i in $TARGET; do
|
||||
for j in $DIR; do
|
||||
d=`du -s $1/labo/$i/$j 2>/dev/null | tail -1 | cut -f 1`
|
||||
s=`expr $s + $d`
|
||||
done
|
||||
done
|
||||
a=`df $LABO | sed -e 's/ */ /g' | tail -1 | cut -f 4`
|
||||
|
||||
if [ $verbose -ne 0 ] ; then
|
||||
echo "Available disk space $a"
|
||||
echo "Required disk space $s"
|
||||
fi
|
||||
|
||||
if [ $s -gt $a ] ; then
|
||||
echo "`basename $0`: cannot install tool $1"
|
||||
echo "Not enough space on device for the installation"
|
||||
echo "Ring me again in a few days, ..."
|
||||
exit 23
|
||||
fi
|
||||
|
||||
if [ $verbose -ne 0 ] ; then
|
||||
echo "The real stuff right now, ..."
|
||||
fi
|
||||
|
||||
for i in $TARGET ; do
|
||||
echo "+---------------------------------------------------" >> $LOG
|
||||
echo "Target $i " >> $LOG
|
||||
for j in $DIR ; do
|
||||
echo "+---------------------" >> $LOG
|
||||
echo "directory $j " >> $LOG
|
||||
if [ $j = "bin" ] ; then
|
||||
for k in $1/labo/$i/$j/*; do
|
||||
cp $k $LABO/archi/$i/$j/`basename $k`.$DATE
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: cp returned a non-zero exit status"
|
||||
echo cp $k $LABO/archi/$i/$j/`basename $k`.$DATE
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
chmod 775 $LABO/archi/$i/$j/`basename $k`.$DATE
|
||||
rm -f $LABO/archi/$i/$j/`basename $k` > /dev/null 2>&1
|
||||
ln -s $LABO/archi/$i/$j/`basename $k`.$DATE $LABO/archi/$i/$j/`basename $k`
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: ln returned a non-zero exit status"
|
||||
echo ln -s $LABO/archi/$i/$j/`basename $k`.$DATE $LABO/archi/$i/$j/`basename $k`
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
done
|
||||
elif [ $j = "lib" ] ; then
|
||||
for k in $1/labo/$i/$j/*; do
|
||||
cp $k $LABO/archi/$i/$j >> $BUG 2>&1
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: cp returned a non-zero exit status"
|
||||
echo cp $k $LABO/archi/$i/$j
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
if [ $i = "SunOS" ] ; then
|
||||
ssh heavy ranlib $LABO/archi/$i/$j/`basename $k`
|
||||
fi
|
||||
done
|
||||
else
|
||||
cp $1/labo/$i/$j/* $LABO/archi/$i/$j >> $BUG 2>&1
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: cp returned a non-zero exit status"
|
||||
echo cp $1/labo/$i/$j/* $LABO/archi/$i/$j
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
chmod 664 $LABO/archi/$i/$j/* >> $BUG 2>&1
|
||||
fi
|
||||
ls -1 $1/labo/$i/$j | fmt -70 >> $LOG
|
||||
done
|
||||
done
|
||||
for i in $DIR; do
|
||||
if [ $i = "lib" ] ; then
|
||||
if [ -f $TMPDIR/libraries.mk.* ] ; then
|
||||
echo "`basename $0`: Sorry, somebody is updating libraries.mk"
|
||||
echo "waiting until the update is done to finish"
|
||||
fi
|
||||
while [ -f $TMPDIR/libraries.mk.$$ ]; do
|
||||
sleep 2
|
||||
echo "Still waiting, ..."
|
||||
done
|
||||
/users/outil/alliance/cvsroot/CVSROOT/updatelibmk $LABO/archi/Linux > $TMPDIR/libraries.mk.$$
|
||||
mv -f $ETC/libraries.mk $ETC/libraries.mk.$DATE
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: mv returned a non-zero exit status"
|
||||
echo "while copying libraries.mk to libraries.mk.$$"
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
mv -f $TMPDIR/libraries.mk.$$ $ETC/libraries.mk
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "`basename $0`: mv returned a non-zero exit status"
|
||||
echo "while copying libraries.mk to libraries.mk.$$"
|
||||
echo "that sucks pretty much so I quit leaving things as is"
|
||||
exit 17
|
||||
fi
|
||||
fi
|
||||
done
|
||||
echo >> $LOG
|
||||
if [ -s $BUG ] ; then
|
||||
mail -s "ALC : Problem while installing `basename $1`" $BUGTEAM < $BUG
|
||||
fi
|
||||
|
||||
cat $LOG >> $TMPDIR/`basename $1`.log
|
||||
|
||||
|
||||
# mail alcteam
|
||||
#echo $* | mail -s "ALC : Install of `basename $1`" alliance-programmers@asim.lip6.fr
|
||||
|
||||
TMPFILE=/tmp/instool.$$
|
||||
FINGER=`who am i | awk '{gsub(/^[^\!]*\!/,""); print $1}'`
|
||||
SUJ="Instool de `basename $1`"
|
||||
|
||||
(
|
||||
echo "===================================================================="
|
||||
echo "$SUJ"
|
||||
echo "le : `date`"
|
||||
echo "par : $FINGER"
|
||||
echo "===================================================================="
|
||||
echo ""
|
||||
echo $*
|
||||
echo ""
|
||||
echo "===================================================================="
|
||||
echo "Ce message est envoyé au personnes abonnées à alliance-programmers"
|
||||
echo "Pour plus d'information sur cette mailling-list, visitez :"
|
||||
echo "http://www-asim.lip6.fr/alliance/mailing-lists/"
|
||||
|
||||
) > "$TMPFILE"
|
||||
|
||||
cat "$TMPFILE" | mail -s "ALC : $SUJ" alliance-programmers@asim.lip6.fr
|
||||
|
||||
rm -f "$TMPFILE" dummy
|
||||
|
||||
# echo "Launching chgrp and chmod ..."
|
||||
# chgrp -R 30101 /users/soft5/newlabo/alliance-4.5.0
|
||||
# chmod -R ug+rw /users/soft5/newlabo/alliance-4.5.0
|
||||
# find /users/soft5/newlabo/alliance-4.5.0 -type d | xargs chmod 2775
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
# The "loginfo" file is used to control where "cvs commit" log information is
|
||||
# sent. The first entry on a line is a regular expression which is tested
|
||||
# against the directory that the change is being made to, relative to the
|
||||
# $CVSROOT. For the first match that is found, the remainder of the line is a
|
||||
# filter program that should expect log information on its standard input
|
||||
#
|
||||
# If the repository name does not match any of the regular expressions in the
|
||||
# first field of this file, the "DEFAULT" line is used, if it is specified.
|
||||
#
|
||||
# If the name "ALL" appears as a regular expression it is always used
|
||||
# in addition to the first matching regex or "DEFAULT".
|
||||
#
|
||||
# The filter program may use one and only one "%s" modifier (ala printf). If
|
||||
# such a "%s" is specified in the filter program, a brief title is included
|
||||
# (as one argument, enclosed in single quotes) showing the relative directory
|
||||
# name and listing the modified file names.
|
||||
#
|
||||
# For example:
|
||||
#DEFAULT (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
|
||||
#ALL (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/log-commit
|
||||
#^CVSROOT (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/log-cvsroot
|
||||
#ALL (date ; cat ; (sleep 2 ; cd /users/outil/alliance/latest ; cvs -q update -d ) &) >> $CVSROOT/CVSROOT/log-latest 2>&1
|
||||
|
||||
ALL ( cat > /dev/null 2>&1 ; echo "Taper Ctrl-C peut avoir des consequences facheuses :-)" )
|
||||
ALL /users/outil/alliance/cvsroot/CVSROOT/postconfig
|
|
@ -1,26 +0,0 @@
|
|||
# Three different line formats are valid:
|
||||
# key -a aliases...
|
||||
# key [options] directory
|
||||
# key [options] directory files...
|
||||
#
|
||||
# Where "options" are composed of:
|
||||
# -i prog Run "prog" on "cvs commit" from top-level of module.
|
||||
# -o prog Run "prog" on "cvs checkout" of module.
|
||||
# -e prog Run "prog" on "cvs export" of module.
|
||||
# -t prog Run "prog" on "cvs rtag" of module.
|
||||
# -u prog Run "prog" on "cvs update" of module.
|
||||
# -d dir Place module in directory "dir" instead of module name.
|
||||
# -l Top-level directory only -- do not recurse.
|
||||
#
|
||||
# NOTE: If you change any of the "Run" options above, you'll have to
|
||||
# release and re-checkout any working directories of these modules.
|
||||
#
|
||||
# And "directory" is a path to a directory relative to $CVSROOT.
|
||||
#
|
||||
# The "-a" option specifies an alias. An alias is interpreted as if
|
||||
# everything on the right of the "-a" had been typed on the command line.
|
||||
#
|
||||
# You can encode a module within a module by using the special '&'
|
||||
# character to interpose another module into the current module. This
|
||||
# can be useful for creating a module that consists of many directories
|
||||
# spread out over the entire source repository.
|
|
@ -1,16 +0,0 @@
|
|||
# The "notify" file controls where notifications from watches set by
|
||||
# "cvs watch add" or "cvs edit" are sent. The first entry on a line is
|
||||
# a regular expression which is tested against the directory that the
|
||||
# change is being made to, relative to the $CVSROOT. If it matches,
|
||||
# then the remainder of the line is a filter program that should contain
|
||||
# one occurrence of %s for the user to notify, and information on its
|
||||
# standard input.
|
||||
#
|
||||
# "ALL" or "DEFAULT" can be used in place of the regular expression.
|
||||
#
|
||||
# For example:
|
||||
#ALL mail %s -s "CVS notification"
|
||||
|
||||
|
||||
ALL mail %s -s "ALC : CVS notify"
|
||||
|
|
@ -1,89 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Filename: postconfig
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: Sept 1999
|
||||
# Last Change: Tuesday 12 February 2002, 16:29
|
||||
# Edit Time: 1:34:49
|
||||
# Description:
|
||||
#
|
||||
# $Id: postconfig,v 1.55 2002/02/12 15:34:22 czo Exp $
|
||||
#
|
||||
|
||||
TMPFILE=cvslog.$$
|
||||
FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'`
|
||||
|
||||
(
|
||||
echo "==================================================================="
|
||||
echo "Modification le : `date`"
|
||||
echo "Par : $USER"
|
||||
echo "==================================================================="
|
||||
echo ""
|
||||
cat
|
||||
) > "$TMPFILE"
|
||||
|
||||
cat "$TMPFILE" >> $CVSROOT/CVSROOT/log-commit
|
||||
|
||||
UPDATE_DIR=`cat "$TMPFILE" | gawk '
|
||||
/^Update of .*\/cvsroot\// {
|
||||
gsub(/^Update of .*\/cvsroot\//, "");
|
||||
SUJ=$0
|
||||
}
|
||||
END {
|
||||
printf("%s", SUJ)
|
||||
}'`
|
||||
|
||||
UPDATE_IN=`cat "$TMPFILE" | gawk '
|
||||
/^In directory / {
|
||||
gsub(/^In directory [^:]*:/, "");
|
||||
SUJ=$0
|
||||
}
|
||||
END {
|
||||
printf("%s", SUJ)
|
||||
}'`
|
||||
|
||||
MODIFIED_FILES=`cat "$TMPFILE" | gawk '
|
||||
/^Modified Files:/ { start=1; next}
|
||||
/^Log Message:/ { start=0; }
|
||||
{if (start) MFILES=MFILES " " $0 ;}
|
||||
END {
|
||||
printf("%s", MFILES)
|
||||
}'`
|
||||
|
||||
MAIL_SUBJECT=`echo "CVS loginfo, $UPDATE_DIR" | sed 's§alliance/§§' | sed 's§share/§§' | sed 's§sources/§§'`
|
||||
|
||||
(
|
||||
# echo $UPDATE_DIR >> "$TMPFILE"
|
||||
# echo $UPDATE_IN >> "$TMPFILE"
|
||||
# echo $MAIL_SUBJECT >> "$TMPFILE"
|
||||
# echo $MODIFIED_FILES >> "$TMPFILE"
|
||||
|
||||
|
||||
# pwd
|
||||
(
|
||||
echo ""
|
||||
echo "==================================================================="
|
||||
echo ""
|
||||
|
||||
cd $UPDATE_IN
|
||||
sleep 15
|
||||
cvs diff -kk -l -D "5 min ago" $MODIFIED_FILES | head -50
|
||||
) >> "$TMPFILE"
|
||||
# pwd
|
||||
|
||||
# cat $TMPFILE
|
||||
|
||||
cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.fr
|
||||
|
||||
# find cvsroot -type d | xargs chmod g+s
|
||||
# devrait marcher...
|
||||
# chgrp -R alliance /users/outil/alliance/cvsroot
|
||||
# cvs -q update -d -P & en crontab ....
|
||||
|
||||
rm -f "$TMPFILE" dummy
|
||||
) > /dev/null 2>&1 &
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
# The "rcsinfo" file is used to control templates with which the editor
|
||||
# is invoked on commit and import.
|
||||
#
|
||||
# The first entry on a line is a regular expression which is tested
|
||||
# against the directory that the change is being made to, relative to the
|
||||
# $CVSROOT. For the first match that is found, then the remainder of the
|
||||
# line is the name of the file that contains the template.
|
||||
#
|
||||
# If the repository name does not match any of the regular expressions in this
|
||||
# file, the "DEFAULT" line is used, if it is specified.
|
||||
#
|
||||
# If the name "ALL" appears as a regular expression it is always used
|
||||
# in addition to the first matching regex or "DEFAULT".
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Filename: setperms
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Tuesday 03 July 2001, 16:06
|
||||
# Edit Time: 0:13:29
|
||||
# Description:
|
||||
#
|
||||
# $Id: setperms,v 1.1 2001/07/03 14:07:44 czo Exp $
|
||||
#
|
||||
|
||||
echo %%%%%%% Hello
|
||||
|
||||
echo "Launching chgrp and chmod ..."
|
||||
find /users/soft5/newlabo/alliance-4.5.0 -type d | xargs chmod 2775
|
||||
chgrp -R 30101 /users/soft5/newlabo/alliance-4.5.0
|
||||
chmod -R ug+rw /users/soft5/newlabo/alliance-4.5.0
|
||||
|
||||
exit 0
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
# The "taginfo" file is used to control pre-tag checks.
|
||||
# The filter on the right is invoked with the following arguments:
|
||||
#
|
||||
# $1 -- tagname
|
||||
# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
|
||||
# $3 -- repository
|
||||
# $4-> file revision [file revision ...]
|
||||
#
|
||||
# A non-zero exit of the filter program will cause the tag to be aborted.
|
||||
#
|
||||
# The first entry on a line is a regular expression which is tested
|
||||
# against the directory that the change is being committed to, relative
|
||||
# to the $CVSROOT. For the first match that is found, then the remainder
|
||||
# of the line is the name of the filter to run.
|
||||
#
|
||||
# If the repository name does not match any of the regular expressions in this
|
||||
# file, the "DEFAULT" line is used, if it is specified.
|
||||
#
|
||||
# If the name "ALL" appears as a regular expression it is always used
|
||||
# in addition to the first matching regex or "DEFAULT".
|
|
@ -1,321 +0,0 @@
|
|||
#!/bin/sh
|
||||
# -*- Mode: shell-script -*-
|
||||
#
|
||||
# Script to update Alliance XXX/etc/libraries.mk whith
|
||||
# the newest libs found in XXX/lib/
|
||||
# and the newest includes found in XXX/include/.
|
||||
#
|
||||
# Creates XXX/etc/libraries.mk.update and gives warnings to stderr
|
||||
# then copy old libraries.mk to libraries.mk.`date`
|
||||
# then copy new libraries.mk.update to libraries.mk
|
||||
#
|
||||
# Usage :
|
||||
# Requires 1 arg : XXX which is the path to
|
||||
# etc/libraries.mk, lib/ and include/
|
||||
# Eg : update_libraries.mk.sh /users/soft5/labo_pc
|
||||
#
|
||||
# Author : Olivier SIROL
|
||||
# Date : April 1997
|
||||
# $Id: updatelibmk,v 1.5 2001/05/22 14:19:46 czo Exp $
|
||||
|
||||
# DO_UPDATE: 0 chk only, 1 write file, 2 print stdout
|
||||
|
||||
DO_UPDATE=2
|
||||
|
||||
if [ $# -ge 1 ] ; then
|
||||
if [ $1 = "-u" ] ; then
|
||||
DO_UPDATE=1
|
||||
shift
|
||||
fi
|
||||
if [ $1 = "-c" ] ; then
|
||||
DO_UPDATE=0
|
||||
shift
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $# -lt 1 ] ; then
|
||||
echo "Usage : `basename $0` [-c|-u] XXX"
|
||||
echo "where XXX is the path to :"
|
||||
echo " lib : XXX/lib/lib*.a"
|
||||
echo " header : XXX/include/*.h"
|
||||
echo " makefile : XXX/etc/libraries.mk"
|
||||
echo "if -c is specified as first arg, only check (no files are written)"
|
||||
echo "if -u is specified as first arg, write libraries.mk"
|
||||
echo "whithout first arg, print to stdout"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d $1/lib ] && [ -d $1/include ] && [ -f $1/etc/libraries.mk ] ; then
|
||||
|
||||
ROOT_DIR=$1;
|
||||
LIBMK=$1/etc/libraries.mk;
|
||||
|
||||
|
||||
#if [ $DO_UPDATE -eq 1 ] ; then
|
||||
# LIBMK_UPD=$LIBMK.update
|
||||
# LIBMK_OLD=$LIBMK.`date +%Y_%m_%d`
|
||||
#else
|
||||
# if [ $DO_UPDATE -eq 2 ] ; then
|
||||
# LIBMK_UPD=
|
||||
# else
|
||||
# LIBMK_UPD=> /dev/null
|
||||
# fi
|
||||
#fi
|
||||
|
||||
|
||||
(cat $LIBMK) | gawk -v ROOT_DIR=$ROOT_DIR '
|
||||
BEGIN {
|
||||
# On cree un tableau contennant
|
||||
# - le nom des librairies installees
|
||||
# - le numero de version
|
||||
# - un flag pour verifier par la suite quelles sont dans libraries.mk
|
||||
#
|
||||
FIRSTPASS=0;
|
||||
OLD_PREFIX="";
|
||||
OLD_NUMBER="0";
|
||||
i=1;
|
||||
MAFONC = "(cd "ROOT_DIR"/lib ; ls -1 lib*.a | sort)";
|
||||
while (MAFONC | getline)
|
||||
{
|
||||
LIB_NAME=$0;
|
||||
sub ( /.a$/ , "", LIB_NAME);
|
||||
sub ( /^lib/ , "", LIB_NAME);
|
||||
LIB_PREFIX=LIB_NAME;
|
||||
LIB_NUMBER=LIB_NAME;
|
||||
sub ( /[0-9]*$/ , "", LIB_PREFIX);
|
||||
sub ( LIB_PREFIX , "", LIB_NUMBER);
|
||||
if (OLD_PREFIX==LIB_PREFIX && FIRSTPASS)
|
||||
{
|
||||
if ((LIB_NUMBER+0) > (OLD_NUMBER+0))
|
||||
OLD_NUMBER=LIB_NUMBER;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!FIRSTPASS)
|
||||
FIRSTPASS=1;
|
||||
else
|
||||
{
|
||||
HL[1,i]=OLD_PREFIX;
|
||||
HL[2,i]=OLD_NUMBER;
|
||||
HL[3,i]=0;
|
||||
i++;
|
||||
}
|
||||
OLD_PREFIX=LIB_PREFIX;
|
||||
OLD_NUMBER=LIB_NUMBER;
|
||||
}
|
||||
}
|
||||
HL[1,i]=OLD_PREFIX;
|
||||
HL[2,i]=OLD_NUMBER;
|
||||
HL[3,i]=0;
|
||||
MAX_HL=i;
|
||||
close (MAFONC);
|
||||
|
||||
# On cree un autre tableau pour les headers
|
||||
|
||||
FIRSTPASS=0;
|
||||
OLD_PREFIX="";
|
||||
OLD_NUMBER="0";
|
||||
i=1;
|
||||
MAFONC = "(cd "ROOT_DIR"/include ; ls -1 *.h | sort)";
|
||||
while (MAFONC | getline)
|
||||
{
|
||||
LIB_NAME=$0;
|
||||
sub ( /.h$/ , "", LIB_NAME);
|
||||
LIB_PREFIX=LIB_NAME;
|
||||
LIB_NUMBER=LIB_NAME;
|
||||
sub ( /[0-9]*$/ , "", LIB_PREFIX);
|
||||
sub ( LIB_PREFIX , "", LIB_NUMBER);
|
||||
if (OLD_PREFIX==LIB_PREFIX && FIRSTPASS)
|
||||
{
|
||||
if ((LIB_NUMBER+0) > (OLD_NUMBER+0))
|
||||
OLD_NUMBER=LIB_NUMBER;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!FIRSTPASS)
|
||||
FIRSTPASS=1;
|
||||
else
|
||||
{
|
||||
HH[1,i]=OLD_PREFIX;
|
||||
HH[2,i]=OLD_NUMBER;
|
||||
HH[3,i]=0;
|
||||
i++;
|
||||
}
|
||||
OLD_PREFIX=LIB_PREFIX;
|
||||
OLD_NUMBER=LIB_NUMBER;
|
||||
}
|
||||
}
|
||||
HH[1,i]=OLD_PREFIX;
|
||||
HH[2,i]=OLD_NUMBER;
|
||||
HH[3,i]=0;
|
||||
MAX_HH=i;
|
||||
close (MAFONC);
|
||||
|
||||
}
|
||||
|
||||
#
|
||||
# process du libraries.mk
|
||||
# on remplace les numeros inc/lib par les derniers numeros de version
|
||||
# si inc/lib introuvable, on ne modifie pas la ligne
|
||||
# Il doit y avoir une seul maro par ligne du type
|
||||
# xxxx_L ou
|
||||
# xxxx_LIB ou
|
||||
# xxxx_H
|
||||
#
|
||||
# warnings sur stderr
|
||||
#
|
||||
|
||||
|
||||
# si commentaire, on laisse tomber sauf Last updated
|
||||
/# Last updated on/ {
|
||||
printf("# Last updated on %s\n", strftime("on %A %d %B %Y at %H:%M %Z"));
|
||||
next;
|
||||
}
|
||||
|
||||
/^[ \t]*#/ {
|
||||
print;
|
||||
next;
|
||||
}
|
||||
|
||||
# si ALLIANCE ou TARGET print, on laisse tomber
|
||||
|
||||
/^[ \t]*ALLIANCE_/ {print ; next}
|
||||
|
||||
/^[ \t]*TARGET_/ {print ; next}
|
||||
|
||||
# si macro, ca nous interresse
|
||||
/=/ {
|
||||
MACRO = $0;
|
||||
NAME = $0;
|
||||
sub(/[ \t]*=.*$/, "", MACRO);
|
||||
sub(/^.*=[ \t]*/, "", NAME);
|
||||
|
||||
LIB_NAME = NAME;
|
||||
|
||||
if ( MACRO ~ /_L/)
|
||||
{
|
||||
if (MACRO ~ /_LIB/)
|
||||
{
|
||||
sub ( /.a$/ , "", LIB_NAME);
|
||||
sub ( /^lib/ , "", LIB_NAME);
|
||||
}
|
||||
else
|
||||
sub ( /^-l/ , "", LIB_NAME);
|
||||
|
||||
LIB_PREFIX=LIB_NAME;
|
||||
LIB_NUMBER=LIB_NAME;
|
||||
sub ( /[0-9]*$/ , "", LIB_PREFIX);
|
||||
sub ( LIB_PREFIX , "", LIB_NUMBER);
|
||||
|
||||
for (i=1; i<=MAX_HL; i++)
|
||||
{
|
||||
if (i==MAX_HL || HL[1,i]==LIB_PREFIX)
|
||||
break;
|
||||
}
|
||||
if (HL[1,i]==LIB_PREFIX)
|
||||
{
|
||||
if (MACRO ~ /_LIB/)
|
||||
{
|
||||
if ((HL[2,i]+0) > (LIB_NUMBER+0))
|
||||
printf ("## CHANGED : lib%s%s.a is older than existing, changed\n",
|
||||
LIB_PREFIX, LIB_NUMBER) > "/dev/stderr";
|
||||
if ((HL[2,i]+0) < (LIB_NUMBER+0))
|
||||
printf ("## CHANGED : lib%s%s.a is newer than existing, changed\n",
|
||||
LIB_PREFIX, LIB_NUMBER) > "/dev/stderr";
|
||||
|
||||
printf ("%-10s = lib%s%s.a\n", MACRO,LIB_PREFIX, HL[2,i]);
|
||||
}
|
||||
else
|
||||
printf ("%-10s = -l%s%s\n", MACRO,LIB_PREFIX, HL[2,i]);
|
||||
HL[3,i]=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf ("%s\n", $0);
|
||||
printf ("%%% Warning lib %s not found, left as is\n",
|
||||
LIB_PREFIX) > "/dev/stderr";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
else
|
||||
if ( MACRO ~ /_H/)
|
||||
|
||||
{
|
||||
sub ( /.h$/ , "", LIB_NAME);
|
||||
|
||||
LIB_PREFIX=LIB_NAME;
|
||||
LIB_NUMBER=LIB_NAME;
|
||||
sub ( /[0-9]*$/ , "", LIB_PREFIX);
|
||||
sub ( LIB_PREFIX , "", LIB_NUMBER);
|
||||
|
||||
for (i=1; i<=MAX_HH; i++)
|
||||
{
|
||||
if (i==MAX_HH || HH[1,i]==LIB_PREFIX)
|
||||
break;
|
||||
}
|
||||
if (HH[1,i]==LIB_PREFIX)
|
||||
{
|
||||
if ((HH[2,i]+0) > (LIB_NUMBER+0))
|
||||
printf ("## CHANGED : %s%s.h is older than existing, changed\n",
|
||||
LIB_PREFIX, LIB_NUMBER) > "/dev/stderr";
|
||||
if ((HH[2,i]+0) < (LIB_NUMBER+0))
|
||||
printf ("## CHANGED : %s%s.h is newer than existing, changed\n",
|
||||
LIB_PREFIX, LIB_NUMBER) > "/dev/stderr";
|
||||
printf ("%-10s = %s%s.h\n", MACRO,LIB_PREFIX, HH[2,i]);
|
||||
HH[3,i]=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf ("%s\n", $0);
|
||||
printf ("%%% Warning header %s not found, left as is\n",
|
||||
LIB_PREFIX) > "/dev/stderr";
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
printf ("%%% Warning : unrecognized line, left as is\n") > "/dev/stderr";
|
||||
printf ("%s\n", $0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
next;
|
||||
}
|
||||
|
||||
|
||||
# sinon cest une ligne normale
|
||||
{print;}
|
||||
|
||||
|
||||
END {
|
||||
for (i=1; i<=MAX_HL; i++)
|
||||
if (HL[3,i]==0)
|
||||
printf ("%%% WARNING no macro in libraries.mk for lib%s%s.a\n",
|
||||
HL[1,i] , HL[2,i]) > "/dev/stderr";
|
||||
for (i=1; i<=MAX_HH; i++)
|
||||
if (HH[3,i]==0)
|
||||
printf ("%%% WARNING no macro in libraries.mk for %s%s.h\n",
|
||||
HH[1,i] , HH[2,i]) > "/dev/stderr";
|
||||
|
||||
}'
|
||||
# $LIBMK_UPD
|
||||
|
||||
|
||||
|
||||
#if [ $DO_UPDATE -eq 1 ] ; then
|
||||
# cp -f $LIBMK $LIBMK_OLD
|
||||
# cp -f $LIBMK_UPD $LIBMK
|
||||
# rm -f $LIBMK_UPD
|
||||
# echo $LIBMK updated!
|
||||
# exit 0
|
||||
#fi
|
||||
|
||||
else
|
||||
echo "`basename $0` : error, can't find file or dir"
|
||||
echo "lib : $1/lib/lib*.a"
|
||||
echo "header : $1/include/*.h"
|
||||
echo "makefile : $1/etc/libraries.mk"
|
||||
exit 1
|
||||
fi
|
|
@ -1,26 +0,0 @@
|
|||
This archive server knows the following commands:
|
||||
|
||||
get filename ...
|
||||
ls directory ...
|
||||
egrep case_insensitive_regular_expression filename ...
|
||||
maxfiles nnn
|
||||
version
|
||||
quit
|
||||
|
||||
Aliases for 'get': send, sendme, getme, gimme, retrieve, mail
|
||||
Aliases for 'ls': dir, directory, list, show
|
||||
Aliases for 'egrep': search, grep, fgrep, find
|
||||
Aliases for 'quit': exit
|
||||
|
||||
Lines starting with a '#' are ignored.
|
||||
Multiple commands per mail are allowed.
|
||||
Setting maxfiles to zero will remove the limit (to protect you against
|
||||
yourself no more than maxfiles files will be returned per request).
|
||||
Egrep supports most common flags.
|
||||
If you append a non-standard signature, you should use the quit command
|
||||
to prevent the archive server from interpreting the signature.
|
||||
|
||||
Examples:
|
||||
ls latest
|
||||
get latest/12
|
||||
egrep some.word latest/*
|
|
@ -1,57 +0,0 @@
|
|||
General info
|
||||
------------
|
||||
Subcription/unsubscription/info requests should always be sent to the -request
|
||||
address of a mailinglist.
|
||||
If a mailinglist for example is called "thelist@some.domain", then the -request
|
||||
address can be inferred from this to be: "thelist-request@some.domain".
|
||||
|
||||
To subscribe to a mailinglist, simply send a message with the word "subscribe"
|
||||
in the Subject: field to the -request address of that list.
|
||||
|
||||
As in: To: thelist-request@some.domain
|
||||
Subject: subscribe
|
||||
|
||||
To unsubscribe from a mailinglist, simply send a message with the word (you
|
||||
guessed it :-) "unsubscribe" in the Subject: field to the -request address of
|
||||
that list.
|
||||
|
||||
As in: To: thelist-request@some.domain
|
||||
Subject: unsubscribe
|
||||
|
||||
In the event of an address change, it would probably be the wisest to first
|
||||
send an unsubscribe for the old address (this can be done from the new
|
||||
address), and then a new subscribe for the new address (the order is
|
||||
important).
|
||||
|
||||
Most (un)subscription requests are processed automatically without human
|
||||
intervention.
|
||||
|
||||
Do not send multiple (un)subscription or info requests in one mail. Only one
|
||||
will be processed per mail.
|
||||
|
||||
NOTE: The -request server usually does quite a good job in discriminating
|
||||
between (un)subscribe requests and messages intended for the maintainer.
|
||||
If you'd like to make sure a human reads your message, make it look
|
||||
like a reply (i.e. the first word in the Subject: field should be "Re:",
|
||||
without the quotes of course); the -request server does not react to
|
||||
replies.
|
||||
|
||||
|
||||
The archive server
|
||||
------------------
|
||||
Every submission sent to this list is archived. The size of the archive
|
||||
depends on the limits set by the list maintainer (it is very well possible
|
||||
that only, say, the last two mails sent to the list are still archived, the
|
||||
rest might have expired).
|
||||
|
||||
You can look at the header of every mail coming from this list to see
|
||||
under what name it has been archived. The X-Mailing-List: field contains
|
||||
the mailaddress of the list and the file in which this submission was
|
||||
archived.
|
||||
|
||||
If you want to access this archive, you have to send mails to the -request
|
||||
address with the word "archive" as the first word of your Subject:.
|
||||
To get you started try sending a mail to the -request address with
|
||||
the following:
|
||||
Subject: archive help
|
||||
--
|
|
@ -1,119 +0,0 @@
|
|||
#
|
||||
# Assign the fully qualified mail address of the maintainer of this list
|
||||
# to "maintainer". If empty, request-mail will not be mailed to any
|
||||
# maintainer and will be stored in the "request" file for this list.
|
||||
#
|
||||
|
||||
maintainer = Olivier.Sirol@lip6.fr
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
|
||||
size_limit = 1524288 # sanity cutoff value for submissions
|
||||
|
||||
idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
archive_hist = 20 # number of messages left archived
|
||||
#archive_log = $LOGFILE # log file for archive retrievals
|
||||
#subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
maxhist = 32 # bounce history limit
|
||||
minbounce = 4 # no. of bounces before removal
|
||||
cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
#match_threshold= 30730 # for close matches to the list
|
||||
#medium_threshold= 28672 # for not so close matches to the list
|
||||
#loose_threshold= 24476 # for loosely finding your name
|
||||
|
||||
#auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
#off_threshold = $loose_threshold # for unsubscribing
|
||||
#reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
#submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
#unsub_assist
|
||||
##unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
#foreign_submit = yes
|
||||
##foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
#restrict_archive
|
||||
##restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
#force_subscribe
|
||||
##force_subscribe= yes # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
#auto_unsubscribe= yes
|
||||
##auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
#auto_subscribe = yes
|
||||
##auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
#auto_help
|
||||
##auto_help = yes # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
#moderated_flag
|
||||
##moderated_flag= yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
# set moderator_PASSWORD to get
|
||||
# stricter checking
|
||||
#cc_requests
|
||||
##cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
#cc_unsubrequests
|
||||
##cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
#divertcheck = yes
|
||||
##divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
#pass_diverts
|
||||
##pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
#reply_to
|
||||
##reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
# why discouraged? see:
|
||||
# http://garcon.unicom.com/FAQ/reply-to-harmful.html
|
||||
#digest_flag
|
||||
##digest_flag = yes # uncomment this if you want digests
|
||||
#digest_age = 262144 # maximum age of a digest in seconds
|
||||
#digest_size = 32768 # maximum size of a digest in bytes
|
||||
#undigested_list = $list@$domain # Reply-To: address for digests
|
||||
|
||||
#moderator_PASSWORD = # put the optional password for
|
||||
# moderators here, this definition
|
||||
# can contain regular expression magic
|
||||
# characters (to support multiple
|
||||
# passwords)
|
||||
|
||||
#X_COMMAND = X-Command
|
||||
#X_COMMAND_PASSWORD = alcpass # put the literal password for
|
||||
# X-Command mails here
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
|
@ -1,255 +0,0 @@
|
|||
#
|
||||
# IMPORTANT variables to check/change: PATH domain listmaster
|
||||
#
|
||||
|
||||
# BEFORE editing this file or any rc.* file in the .etc directory
|
||||
# you should create the .etc/rc.lock file. As long as this file
|
||||
# exists, mail delivery to any list will stall (flist checks this file).
|
||||
#
|
||||
# Delivery can be temporarily stalled on a per list basis by creating
|
||||
# the file rc.lock in the respective list's subdirectory.
|
||||
|
||||
# ENVIRONMENT:
|
||||
# list contains the submitting address of the list (sans domain)
|
||||
# domain should contain the domain for the list, so that $list@$domain
|
||||
# can be used to submit to the list
|
||||
# maintainer should contain the fully qualified address of the maintainer
|
||||
# of $list; maintainter can be left empty
|
||||
# listmaster should contain the fully qualified address of the supervising
|
||||
# list maintainer; listmaster can be left empty
|
||||
# X_ENVELOPE_TO contains the address that the incoming mail was addressed to
|
||||
|
||||
# FILES:
|
||||
# log optional logfile (uncomment the LOGFILE assignment to enable
|
||||
# it)
|
||||
# dist the subscriber list, one address per line
|
||||
# accept the list of people allowed to submit messages (usually a
|
||||
# link to dist, only checked if $foreign_submit != yes)
|
||||
# accept2 an optional second accept file
|
||||
# reject list of people you definitely do not want to subscribe
|
||||
# subscreen program (e.g. shell script) to screen prospective subscribers
|
||||
# (see in the examples directory for a sample script)
|
||||
# request all the messages to request that could not be handled
|
||||
# automatically (only if maintainer is empty)
|
||||
# help.txt file sent to help & info requests
|
||||
# info.txt optional file sent to help & info requests as well,
|
||||
# it should contain a concise description of what the
|
||||
# list is all about
|
||||
# the various info.txt files are optionally gathered in
|
||||
# order to advertise the availability of the mailinglists
|
||||
# subscribe.txt file sent to new subscribers
|
||||
# subscribe.files file containing an arbitrary number of archive server
|
||||
# commands to be executed on behalf of new subscribers
|
||||
# unsubscribe.txt file sent to unsubscribers
|
||||
# accept.txt file sent to people not on the accept list
|
||||
# archive.txt file sent to people requesting help from the archive server
|
||||
# archive (link to a) directory below which files can be accessed through
|
||||
# the archive server
|
||||
# bounces directory containing the bounce history files
|
||||
# rc.submit rcfile used when distributing submissions
|
||||
# rc.request rcfile used when processing requests
|
||||
# rc.custom rcfile that contains all the customisations per list
|
||||
# rc.local.* optional rcfiles for any local extensions (to be used in
|
||||
# conjunction with the RC_LOCAL_* variables which can be set
|
||||
# in rc.init or rc.custom files)
|
||||
|
||||
#$Id: rc.init,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
DELIVERED=yes # we're in control of the mail now, tell sendmail to go away
|
||||
|
||||
PATH=.:$PATH:../.bin:/bin:/usr/bin:/usr/local/bin # setup a decent path
|
||||
SHELL=/bin/sh # to prevent surprises
|
||||
|
||||
defaults=.etc
|
||||
|
||||
LOCKTIMEOUT=3660 # set these values this high (1 hour)
|
||||
TIMEOUT=3600 # to give sendmail the time to
|
||||
# resolve big aliases
|
||||
|
||||
###############################################################################
|
||||
# You have to setup the following two assignments, make sure that the address
|
||||
# mentioned in listmaster is *not* the address this script runs under; if
|
||||
# you would end up doing that, then assign listmaster to ""
|
||||
# The same applies to the maintainer addresses used for every list, if you
|
||||
# would like to alias them back to this script or to the respective -request
|
||||
# addresses, then assign maintainer to "" instead.
|
||||
#
|
||||
# The mail-domain you have to insert below, must be the fully qualified
|
||||
# mail-domain for this list; e.g. if the preferred mail address for this
|
||||
# account would be: list@somemachine.somewhere.universe
|
||||
# Then you should assign the following:
|
||||
# domain=somemachine.somewhere.universe
|
||||
###############################################################################
|
||||
|
||||
domain=asim.lip6.fr # the common domain for all the lists
|
||||
listmaster=Olivier.Sirol@lip6.fr
|
||||
|
||||
#UMASK=077 # group can not touch the files
|
||||
#UMASK=027 # group can read
|
||||
UMASK=007 # group can write as well
|
||||
|
||||
defaults=.etc # the name of the defaults directory
|
||||
LOGFILE=log
|
||||
LOGABSTRACT=no
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
#LOGFILE=../$defaults/log # uncomment if you want centralised
|
||||
# logging
|
||||
|
||||
RC_INIT # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
||||
|
||||
listaddr=$list@$domain
|
||||
listreq=$list-request@$domain
|
||||
listdist=$list-dist@$domain
|
||||
|
||||
# the following constants determine the
|
||||
# behaviour of choplist, the dist-file
|
||||
# expander (zero means: no limit) which
|
||||
# calls sendmail
|
||||
minnames = 32 # minimum number of names per call
|
||||
mindiffnames = 8 # minimum for maxnames-minnames
|
||||
maxnames = 64 # maximum number of names per call
|
||||
maxsplits = 0 # maximum number of parts to split dist in
|
||||
maxsize = 200000 # maximal disk space to be taken up per mail
|
||||
maxconcur = 4 # maximum number of concurrent sendmail calls
|
||||
|
||||
alt_sendmail="\
|
||||
choplist $minnames $mindiffnames $maxnames $maxsplits $maxsize $maxconcur dist"
|
||||
minnames mindiffnames maxnames maxsplits maxsize maxconcur
|
||||
#alt_sendmail # uncomment if you'd prefer sendmail
|
||||
# to handle the $listdist expansion
|
||||
|
||||
sendmailOPT="-oem -odb -oi -om -f$listreq"
|
||||
sendmailOPTp=-oep
|
||||
sendmailOPTq=-odq
|
||||
sendmailOPTi=-odi
|
||||
sendmailQflush="$SENDMAIL -q"
|
||||
#sendmailQflush # uncomment if you don't want the
|
||||
# queue to be flushed after all archive
|
||||
# retrieval files have been queued
|
||||
########################
|
||||
# sendmail options used:
|
||||
#
|
||||
# -t scan the header of the mail for recipients
|
||||
# -f specify the sender envelope address (requires T entry in sendmail.cf)
|
||||
# -oi do not regard a single dot on an otherwise empty line as EOF
|
||||
# -om include myself in any alias expansions
|
||||
# -odb background deliverymode command returns immediately
|
||||
# -odq queued deliverymode (put messages in the queue only)
|
||||
# -odi interactive deliverymode command, wait until most delivered
|
||||
# -q flush the queue
|
||||
# -oem mail back error messages
|
||||
# -oep print error messages
|
||||
# -onF do not check aliases while expanding them (use it, if available)
|
||||
########################
|
||||
#
|
||||
# If you only have /bin/mail and not some sendmail compatible mailer that
|
||||
# understands the -t option of sendmail, then you have to uncomment the
|
||||
# following two lines:
|
||||
#
|
||||
#sendmailOPT sendmailOPTp sendmailOPTq sendmailOPTi sendmailQflush
|
||||
#SENDMAIL=../.bin/sendmails
|
||||
#
|
||||
########################
|
||||
|
||||
size_limit = 524288 # sanity cutoff value for submissions
|
||||
|
||||
idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
archive_hist = 2 # number of messages left archived
|
||||
archive_log = $LOGFILE # log file for archive retrievals
|
||||
subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
maxhist = 32 # bounce history limit
|
||||
minbounce = 4 # no. of bounces before removal
|
||||
cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
match_threshold = 30730 # for close matches to the list
|
||||
medium_threshold= 28672 # for not so close matches to the list
|
||||
loose_threshold = 24476 # for loosely finding your name
|
||||
|
||||
auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
off_threshold = $loose_threshold # for unsubscribing
|
||||
reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
unsub_assist
|
||||
#unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
foreign_submit = yes
|
||||
#foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
restrict_archive
|
||||
#restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
force_subscribe
|
||||
#force_subscribe= yes # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
auto_unsubscribe= yes
|
||||
#auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
auto_subscribe = yes
|
||||
#auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
auto_help
|
||||
#auto_help = yes # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
moderated_flag
|
||||
#moderated_flag = yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
cc_requests
|
||||
#cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
cc_unsubrequests
|
||||
#cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
divertcheck = yes
|
||||
#divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
pass_diverts
|
||||
#pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
reply_to
|
||||
#reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
digest_flag
|
||||
#digest_flag = yes # uncomment this if you want digests
|
||||
digest_age = 262144 # maximum age of a digest in seconds
|
||||
digest_size = 32768 # maximum size of a digest in bytes
|
||||
|
||||
|
||||
X_COMMAND = X-Command
|
||||
X_COMMAND_PASSWORD = password # put the global password for
|
||||
# X-Command mails here
|
||||
# this password can of course be changed/
|
||||
# customised in the per list rc.custom file
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM=rc.custom
|
|
@ -1,348 +0,0 @@
|
|||
# BEFORE editing this file, you should make sure that it is not linked to
|
||||
# the master version (../.etc/rc.request) anymore (i.e. "delink rc.request"
|
||||
# if you do not want your changes to affect all lists).
|
||||
#
|
||||
# New mails can be temporarily stalled by creating the file rc.lock (either in
|
||||
# ../.etc for all lists or in the current directory for this list only).
|
||||
|
||||
#$Id: rc.request,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
INCLUDERC=$RC_INIT
|
||||
INCLUDERC=$RC_CUSTOM
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_00
|
||||
|
||||
LOCKFILE=tmp.lock # for reusing tmp.(request|from)
|
||||
# also makes sure that the load doesn't go sky-high
|
||||
# when a lot of mail arrives concurrently
|
||||
|
||||
:0 Bfw # concatenate header and body
|
||||
* $^^$X_COMMAND:
|
||||
| sed -e '1,/^$/{' -e '/^$/d' -e '}'
|
||||
|
||||
#
|
||||
# We now check:
|
||||
# If the length is roughly within bounds.
|
||||
# That it is not a reply or something.
|
||||
# That we didn't send it ourselves.
|
||||
# That it wasn't sent by a daemon of some kind.
|
||||
#
|
||||
# If everything matches, we extract the sender address into tmp.from
|
||||
#
|
||||
|
||||
:0
|
||||
* B ?? < 4096
|
||||
* $$daemon_bias
|
||||
* $!^(X-(Loop: $\listaddr|Diagnostic:)|$X_COMMAND:)
|
||||
* -100^0 ^FROM_DAEMON
|
||||
* 1^0
|
||||
{
|
||||
|
||||
:0
|
||||
* -100^0 ^Subject:(.*[^a-z])?(Re:|erro|change|problem|((can)?not|.*n't)\>)
|
||||
* 100^0 B ?? ^^([ ]|$)*\
|
||||
((archives?:?($|[ ]+)|\
|
||||
((un)subscribe|(send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^
|
||||
* 100^0 ^Subject:[ ]*archive
|
||||
* 1^0
|
||||
{
|
||||
:0 whc
|
||||
| formail -rtzc -xTo: >tmp.from
|
||||
|
||||
#
|
||||
# Store the whole mail in tmp.request, for later reference.
|
||||
#
|
||||
|
||||
:0 wc
|
||||
| formail -IIn-Reply-To: -ICc: >tmp.request
|
||||
|
||||
#
|
||||
# Check for a missing Subject: line.
|
||||
#
|
||||
|
||||
:0 wfh
|
||||
* !^Subject:
|
||||
| formail -a "Subject: "
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_10
|
||||
|
||||
###############################################################################
|
||||
# Reader beware, the following four regular expressions are not for the faint #
|
||||
# of heart. It'll suffice to say that they accomplish their intended job 98% #
|
||||
# of the time. #
|
||||
###############################################################################
|
||||
|
||||
#
|
||||
# Is it an archive retrieval command?
|
||||
#
|
||||
|
||||
:0 HB w
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*(([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?\
|
||||
$(.+$)*(^[ ]*)+)?(archives?:?([ ]|$)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|list|show|\
|
||||
search|[fe]?grep|find|maxfiles|version)([ ]+[^ ]*)?$)
|
||||
* 1^0 B ?? ^^([ ]|$)*\
|
||||
((archives?:?($|[ ]+)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^
|
||||
{
|
||||
:0 W
|
||||
* 9876543210^0 !restrict_archive ?? y
|
||||
* 2^0 ? formail -rt -R To: "From " -X "From " | \
|
||||
multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq accept accept2
|
||||
| arch_retrieve
|
||||
|
||||
:0 E fhw
|
||||
| formail -A "X-Diagnostic: Not on the accept list"
|
||||
}
|
||||
|
||||
#
|
||||
# Is it an unsubscription request?
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?(\
|
||||
($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([ ]+|$)+)?)?\
|
||||
(Could you )?(please )?\
|
||||
(sign( [^ ]+ |-)?off|cancel|leave|delete|remove|(un|de)-?sub)\>|\
|
||||
($(.+$)*$(.*$)*)?(.*[^a-z])?\
|
||||
((un-?|(un|de)-?sub?)s(cr|c|r)i|\
|
||||
(leave|(delete|remove) .* from|(sign|take|get) .* off) .* [a-z-]*list\>))
|
||||
* 1^0 B ?? ^^([ ]|$)*unsub(scribe)?([ ].*)?([ ]|$)*\
|
||||
[^ a-z]?^^
|
||||
{
|
||||
:0 fw:dist.lock
|
||||
* auto_unsubscribe ?? y
|
||||
| unsubscribe
|
||||
|
||||
:0 Aw ${cc_unsubrequests:+c}
|
||||
| $SENDMAIL $sendmailOPT `cat tmp.from` ;
|
||||
|
||||
:0 Afhw
|
||||
| formail -A "X-Diagnostic: Processed"
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Is it a subscription request?
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?(\
|
||||
($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([ ]+|$)+)?)?\
|
||||
(Could you )?(please )?\
|
||||
(sign( [^ ]+ |-)?on|add|join|sub)\>|\
|
||||
($(.+$)*$(.*$)*)?(.*[^a-z])?\
|
||||
(sub?s(cr|c|r)i.*|(join|add .* to|(sign|put) .* on) .* [a-z-]*list\>))
|
||||
* 1^0 B ?? ^^([ ]|$)*sub(scribe)?([ ].*)?([ ]|$)*\
|
||||
[^ a-z]?^^
|
||||
{
|
||||
#
|
||||
# Yes, well, then check if the person subscribing isn't on the reject
|
||||
# list.
|
||||
#
|
||||
|
||||
:0 HB wfh
|
||||
* ? multigram -b1 -l$reject_threshold reject
|
||||
| formail -A "X-Diagnostic: Found on the reject list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject`"
|
||||
|
||||
#
|
||||
# If not, then let's see if he might already be on the
|
||||
# mailinglist.
|
||||
#
|
||||
|
||||
:0 E HB wfh
|
||||
* ? formail -IReceived: -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
|
||||
multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist
|
||||
| formail -A "X-Diagnostic: Already on the subscriber list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -x$listreq -x$listaddr \
|
||||
-l$reject_threshold dist`"
|
||||
|
||||
#
|
||||
# If not, add him(/her/it?).
|
||||
#
|
||||
|
||||
:0 E
|
||||
* auto_subscribe ?? y
|
||||
{
|
||||
:0 W ${cc_requests:+c}:dist.lock
|
||||
| subscribe
|
||||
|
||||
:0 awfh
|
||||
| formail -A "X-Diagnostic: Added to the subscriber list"
|
||||
|
||||
:0 Ewfh
|
||||
| formail -A "X-Diagnostic: Tried to subscribe"
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Is it an info or help request? Send back the help.txt and the
|
||||
# optional info.txt file.
|
||||
# We do the same on a complete empty mail (except for perhaps a signature).
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 3^0 ^^(.+$)*Subject:[ ]*\
|
||||
(([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$\
|
||||
(.+$)*(^[ ]*)+)?[a-z,. ]*(help|info(rmation)?)\>
|
||||
* 1^0 ^^(.+$)*Subject:[ ]*\
|
||||
([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$
|
||||
* -2^0 ^^(.+$)*(^[ ]*)+[a-z]
|
||||
* 3^0 ^^(.+$)*^([ ]*$)*--
|
||||
{
|
||||
:0 hw ${cc_requests:+c}
|
||||
| (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; \
|
||||
cat help.txt info.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: help sent"
|
||||
}
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_20
|
||||
|
||||
LOGABSTRACT=yes
|
||||
|
||||
#
|
||||
# If auto_help is set, anything undecipherable gets back the help.txt and the
|
||||
# optional info.txt file.
|
||||
#
|
||||
|
||||
:0 EB
|
||||
* auto_help ?? y
|
||||
* $!X-Loop: $\listaddr
|
||||
{
|
||||
:0 hw ${cc_requests:+c}
|
||||
| (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; \
|
||||
cat help.txt info.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: undecipherable, help sent"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
LOGABSTRACT=yes
|
||||
|
||||
#
|
||||
# Could it be a bounce message from a daemon? Hand it down to procbounce
|
||||
# which will evaluate it.
|
||||
#
|
||||
|
||||
:0 wic
|
||||
* $!^(Subject:(.*[^a-z])?Re:|\
|
||||
X-(Loop: $\listaddr|Diagnostic:)|$X_COMMAND:)
|
||||
* ^FROM_DAEMON
|
||||
| sed -e $cutoff_bounce' q' >tmp.request
|
||||
|
||||
#
|
||||
# Sink all messages we can recognise to be queue warnings
|
||||
#
|
||||
|
||||
:0 Ah
|
||||
* ^Subject: \
|
||||
(WARNING: message delayed|\
|
||||
(Returned mail: )?warning: c(an|ould )not send m(essage fo|ail afte)r|\
|
||||
Undeliverable (RFC822 )?mail: temporarily unable to deliver|\
|
||||
\*\*\* WARNING - Undelivered mail in mailqueue)
|
||||
/dev/null
|
||||
|
||||
:0 Ah
|
||||
* ^Subject: (Warning from|mail warning| ?Waiting mail)
|
||||
* ^(From|Sender):.*(uucp|mmdf)
|
||||
/dev/null
|
||||
|
||||
:0 AhBD
|
||||
* $^(..?)?X-Loop: $\listaddr \(bounce\)
|
||||
* ^(..?)?Subject: You have been removed from
|
||||
/dev/null
|
||||
|
||||
#
|
||||
# Anything that still survived is most likely to be a bounce message.
|
||||
#
|
||||
|
||||
:0 Ahfw
|
||||
| procbounce
|
||||
|
||||
#
|
||||
# Or is it a remote X-Command from our maintainer?
|
||||
#
|
||||
|
||||
:0 wf:dist.lock
|
||||
* $^$X_COMMAND:.*$\maintainer[ ]*$\X_COMMAND_PASSWORD
|
||||
* $!^X-Loop: $\listaddr
|
||||
| x_command
|
||||
|
||||
LOCKFILE # we don't need the lockfile anymore
|
||||
|
||||
#
|
||||
# Anything not taken care of yet will be served to the maintainer of the list.
|
||||
#
|
||||
# To make it easier on him, we include a small hint about what might be the
|
||||
# problem (by adding X-Diagnostic: fields to the header).
|
||||
#
|
||||
|
||||
:0 wfh
|
||||
* !< $size_limit
|
||||
| formail -A "X-Diagnostic: Submission size exceeds $size_limit bytes"
|
||||
|
||||
:0 wfh
|
||||
* ^FROM_DAEMON
|
||||
| formail -A "X-Diagnostic: Mail coming from a daemon, ignored"
|
||||
|
||||
:0 HB wfh
|
||||
* $^X-Loop: $\listaddr
|
||||
| formail -A "X-Diagnostic: Possible loopback problem"
|
||||
|
||||
:0
|
||||
* !^X-(Diagnostic|Processed):
|
||||
{
|
||||
:0 wfh
|
||||
* $^$X_COMMAND:
|
||||
| formail -A "X-Diagnostic: Suspicious $X_COMMAND format"
|
||||
|
||||
:0 HB wfh
|
||||
* ? formail -IReceived: -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
|
||||
multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist
|
||||
| formail -A "X-Diagnostic: Already on the subscriber list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -x$listreq -x$listaddr \
|
||||
-l$reject_threshold dist`"
|
||||
}
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_30
|
||||
|
||||
:0 wfh
|
||||
* !^X-(Diagnostic|Processed):
|
||||
| formail -A"X-Diagnostic: Unprocessed"
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Envelope-To: $X_ENVELOPE_TO"
|
||||
|
||||
#
|
||||
# If this list does not have a maintainer e-mail address, drop things in
|
||||
# the file request.
|
||||
#
|
||||
|
||||
:0:
|
||||
* !maintainer ?? .
|
||||
request
|
||||
|
||||
:0 w
|
||||
| formail -R"From X-From_:" -iDate: -iReturn-Receipt-To: -iRead-Receipt-To: \
|
||||
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $maintainer
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Diagnostic: Maintainer $maintainer could not be reached"
|
||||
|
||||
HOST=continue_with_../.etc/rc.post
|
|
@ -1,303 +0,0 @@
|
|||
# BEFORE editing this file, you should make sure that it is not linked to
|
||||
# the master version (../.etc/rc.submit) anymore (i.e. "delink rc.submit"
|
||||
# if you do not want your changes to affect all archive servers).
|
||||
#
|
||||
# New mails can be temporarily stalled by creating the file rc.lock (either in
|
||||
# ../.etc for all lists or in the current directory for this list only).
|
||||
|
||||
#$Id: rc.submit,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
INCLUDERC=$RC_INIT
|
||||
INCLUDERC=$RC_CUSTOM
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_00
|
||||
|
||||
#
|
||||
# The following recipe makes sure that:
|
||||
# The mail has a sane size (i.e. it is not inordinately big)
|
||||
# It does not look like an administrative request.
|
||||
# It wasn't sent by this list itself.
|
||||
# It wasn't sent by a daemon (misdirected bounce message perhaps).
|
||||
#
|
||||
|
||||
:0
|
||||
* < $size_limit
|
||||
* !$^($X_COMMAND:|X-Loop: $\listaddr)
|
||||
* ! B ?? $^^$X_COMMAND:
|
||||
* $$daemon_bias
|
||||
* -100^0 ^FROM_MAILER|\
|
||||
^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )\
|
||||
([^>]*[^(.%@a-z0-9])?(\
|
||||
LIST(SERV|proc)|NETSERV|bounce|autoanswer|echo|mirror\
|
||||
)(([^).!:a-z0-9][-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$)
|
||||
* 1^0
|
||||
{
|
||||
|
||||
:0
|
||||
* B ?? >640
|
||||
* 9876543210^0
|
||||
{ }
|
||||
|
||||
#
|
||||
# Does it look like a regular submission?
|
||||
# Or perhaps more like an administrative request?
|
||||
# Look at the start of the body, and see if this could be an administrative
|
||||
# request, pass it on to rc.request in that case.
|
||||
#
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* 9876543210^0 !divertcheck ?? y
|
||||
{ }
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* !B ?? ^^(.*$(.*$(.*$(.*$(.*$(.*$(.*$(.*$)?)?)?)?)?)?)?)?[^]>} a-z0-9]
|
||||
* 9876543210^0 B ?? ^^.*$.*$.*$.*$.*$.*$.*$.*$.*$
|
||||
{ }
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* $${maintainer:+9876543210^0 ^From[: ](.*\<)?$\maintainer\>}
|
||||
* 9876543210^0 ^(Subject:(.*\<)?(Re:|magazine)\>)|X-(Diagnostic|Mailing-List):
|
||||
* -25^0 ^\
|
||||
Subject:([ ]*(archives?:?([ ]+(\
|
||||
(send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ]|$)|[ ]*$)|\
|
||||
help|info|join|leave|\
|
||||
(Could you )?(please )?\
|
||||
(cancel(( my)? subscription)?|add|\
|
||||
sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)[ ]*$)|\
|
||||
.*( (join|leave|add .* to|(delete|remove) .* from|\
|
||||
(take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\
|
||||
(un-?|sub?)s(cr|c|r)i(be|ption))\>)
|
||||
* -50^0 ^Subject:[ ]*[(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)]$
|
||||
* 50^0 ^Subject:.*[a-z]
|
||||
* -100^0 B ?? ^^([ ]|$)*\
|
||||
((((archives?:?($|[ ]+)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\
|
||||
(help|info)[ ]*$|\
|
||||
(add|join|leave|sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)\>)|\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\
|
||||
.*( (join|leave|add .* to|(delete|remove) .* from|\
|
||||
(take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\
|
||||
(un-?|sub?)scri(be|ption))\>|\
|
||||
^^)
|
||||
{
|
||||
#
|
||||
# Then check to see if the sender is on the accept list (if foreign_submit
|
||||
# is not set).
|
||||
#
|
||||
|
||||
:0
|
||||
* 9876543210^0 foreign_submit ?? y
|
||||
* 2^0 ? formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \
|
||||
-xResent-Reply-To: -xResent-Sender: -xReturn-Path: | \
|
||||
multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq accept accept2
|
||||
{
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_10
|
||||
|
||||
:0
|
||||
* moderated_flag ?? y
|
||||
{
|
||||
:0 Bfw # contract header and body
|
||||
* ^^Approved:.*$^
|
||||
| sed -e '1,/^$/{' -e '/^$/d' -e '}'
|
||||
|
||||
:0
|
||||
* !$^Approved:.*$moderator_PASSWORD
|
||||
| formail -R"From X-Envelope-From:" -uDate: -iReturn-Receipt-To: \
|
||||
-iRead-Receipt-To: -iAcknowledge-To: | \
|
||||
$SENDMAIL $sendmailOPT `cat moderators`
|
||||
|
||||
:0 fhw
|
||||
| formail -IApproved:
|
||||
}
|
||||
|
||||
#
|
||||
# Eliminate duplicate submissions by checking the Message-ID: field.
|
||||
#
|
||||
|
||||
:0 Wh :msgid.lock
|
||||
| formail -q- -D $idcache_size msgid.cache
|
||||
|
||||
#
|
||||
# Check if we need to autosubscribe anyone not on the dist list.
|
||||
#
|
||||
|
||||
:0
|
||||
* force_subscribe ?? y
|
||||
* !? if test y = "$moderated_flag" ;\
|
||||
then formail -xFrom: -xSender: -xReply-To: ;\
|
||||
else formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \
|
||||
-xResent-Reply-To: -xResent-Sender: -xReturn-Path: ;\
|
||||
fi | multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq dist
|
||||
{
|
||||
|
||||
#
|
||||
# Yes, well, then check if the person isn't on the reject list.
|
||||
#
|
||||
|
||||
:0
|
||||
* ? multigram -b1 -l$reject_threshold reject
|
||||
{
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: Found on the reject list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject`"
|
||||
|
||||
HOST=continue_with_rc.request
|
||||
}
|
||||
|
||||
LOCKFILE=tmp.lock
|
||||
|
||||
:0 whc
|
||||
| formail -rtzc -xTo: >tmp.from
|
||||
|
||||
:0 Wc :dist.lock
|
||||
| sed -e '/^$/,/^-- $/ d' | formail -I "Subject: auto subscribe" \
|
||||
>tmp.request; subscribe <tmp.request && test ! -z "$subscribe_log" \
|
||||
&& echo "rc.submit: auto subscribed" >>$subscribe_log
|
||||
|
||||
LOCKFILE
|
||||
}
|
||||
|
||||
#
|
||||
# Check if this is a digested mailinglist. If yes, processing stops
|
||||
# here and the mail will be added to the digest.
|
||||
#
|
||||
|
||||
:0
|
||||
* digest_flag ?? y
|
||||
{
|
||||
#
|
||||
# Forward the article back to the undigested list, if it hasn't
|
||||
# come from there.
|
||||
#
|
||||
|
||||
:0 c
|
||||
* undigested_list ?? y
|
||||
* $!^X-Loop: $\undigested_list
|
||||
! $sendmailOPT $undigested_list
|
||||
|
||||
#
|
||||
# Finally digest the mail.
|
||||
#
|
||||
|
||||
:0 w :tmp.lock
|
||||
| digest
|
||||
}
|
||||
|
||||
ARCHIVE # Wipe ARCHIVE from the environment
|
||||
|
||||
#
|
||||
# Check if we are the first mailinglist to distribute this message, if so
|
||||
# archive the message.
|
||||
#
|
||||
|
||||
:0
|
||||
* archive_hist ?? [1-9]
|
||||
* !^X-Mailing-List:
|
||||
{
|
||||
|
||||
|
||||
# Czo 98/11/25
|
||||
# archive dans mbox
|
||||
CZOBOX=`echo $listaddr | sed "s/@asim.lip6.fr//"`
|
||||
|
||||
:0 c
|
||||
archive/$CZOBOX.mbox
|
||||
|
||||
:0 c : $CZOBOX.mbox.hyp-lock
|
||||
| /users/largo1/czo/cvslargo/listes-rules/hyp $CZOBOX
|
||||
|
||||
# End Czo
|
||||
|
||||
:0 c
|
||||
archive/latest/.
|
||||
|
||||
ARCHIVE=$LASTFOLDER # Remember where it was archived
|
||||
|
||||
#
|
||||
# Truncate the archive to the correct number of files (and
|
||||
# possibly other housekeeping chores to keep the archive
|
||||
# current).
|
||||
#
|
||||
|
||||
:0 c hi
|
||||
| arch_trunc
|
||||
}
|
||||
|
||||
#
|
||||
# Main header munger for submissions passing through this list.
|
||||
#
|
||||
|
||||
oldshellmetas="$SHELLMETAS" SHELLMETAS # Save a shell, procmail can
|
||||
# do this one by itself.
|
||||
:0 wfh
|
||||
| formail -b -IFrom\ -IReceived: -IReturn-Receipt-To: -IErrors-To: \
|
||||
-IX-Pmrqc: -IX-Confirm-Reading-To: -IX-Ack: -IAcknowledge-To: \
|
||||
-IRead-Receipt-To: -IReturn-Receipt-Requested: -IX-Diagnostic: \
|
||||
-iStatus: -iReturn-Path: -iX-Envelope-To: -iX-Envelope-From: \
|
||||
-I"Precedence: list" -I"Resent-Sender: $listreq" \
|
||||
-uDate: -aMessage-ID: -aResent-Message-ID: \
|
||||
-a"To: $listaddr" -a"Resent-From: $listaddr" -A"X-Loop: $listaddr" \
|
||||
-a"Subject: Unidentified subject!" ${reply_to:+"-a$reply_to"} \
|
||||
-a"X-Mailing-List: <$listaddr> $ARCHIVE"
|
||||
|
||||
SHELLMETAS="$oldshellmetas" oldshellmetas
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_20
|
||||
|
||||
#
|
||||
# The following recipe will distribute the message to the subscribers
|
||||
# using the native $SENDMAIL, but only if you disabled the alternative
|
||||
# sendmail (choplist).
|
||||
#
|
||||
|
||||
:0 w: dist.lock
|
||||
* !alt_sendmail ?? .
|
||||
! $sendmailOPT $listdist
|
||||
|
||||
#
|
||||
# Alternate sendmail call (used by default), does not use the file-
|
||||
# including -dist alias.
|
||||
#
|
||||
|
||||
:0 Ew: dist.lock
|
||||
| $alt_sendmail $SENDMAIL $sendmailOPT $sendmailOPTi
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: $SENDMAIL $listdist failed"
|
||||
|
||||
HOST=continue_with_rc.request
|
||||
}
|
||||
|
||||
:0 E wfh
|
||||
| formail -A "X-Diagnostic: Not on the accept list"
|
||||
|
||||
:0 A c
|
||||
* ? test -f accept.txt
|
||||
{
|
||||
:0 fh
|
||||
| formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat accept.txt
|
||||
|
||||
:0
|
||||
! $sendmailOPT -t
|
||||
}
|
||||
|
||||
} }
|
||||
|
||||
:0 fhw
|
||||
* pass_diverts ?? y
|
||||
* !^X-Diagnostic:
|
||||
| formail -A "X-Diagnostic: Diverted & unprocessed"
|
||||
|
||||
HOST=continue_with_rc.request
|
|
@ -1,7 +0,0 @@
|
|||
This is an automated subscription mechanism. For your verification, a
|
||||
transcript of the original subscription request is included below.
|
||||
|
||||
If the wrong address has been subscribed and you seem to be unable to fix it
|
||||
yourself, reply to this message now (quoting it entirely (for diagnostic
|
||||
purposes), and of course adding any comments you see fit).
|
||||
--
|
|
@ -1,6 +0,0 @@
|
|||
If this wasn't your intention or you are having problems getting yourself
|
||||
unsubscribed, reply to this mail now (quoting it entirely (for diagnostic
|
||||
purposes), and of course adding any comments you see fit).
|
||||
|
||||
Transcript of unsubscription request follows:
|
||||
--
|
|
@ -1,119 +0,0 @@
|
|||
#
|
||||
# Assign the fully qualified mail address of the maintainer of this list
|
||||
# to "maintainer". If empty, request-mail will not be mailed to any
|
||||
# maintainer and will be stored in the "request" file for this list.
|
||||
#
|
||||
|
||||
maintainer = Olivier.Sirol@lip6.fr
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
|
||||
size_limit = 1524288 # sanity cutoff value for submissions
|
||||
|
||||
idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
archive_hist = 20 # number of messages left archived
|
||||
#archive_log = $LOGFILE # log file for archive retrievals
|
||||
#subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
#maxhist = 32 # bounce history limit
|
||||
#minbounce = 4 # no. of bounces before removal
|
||||
#cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
#match_threshold= 30730 # for close matches to the list
|
||||
#medium_threshold= 28672 # for not so close matches to the list
|
||||
#loose_threshold= 24476 # for loosely finding your name
|
||||
|
||||
#auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
#off_threshold = $loose_threshold # for unsubscribing
|
||||
#reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
#submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
#unsub_assist
|
||||
unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
#foreign_submit = yes
|
||||
##foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
#restrict_archive
|
||||
restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
#force_subscribe
|
||||
force_subscribe= no # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
auto_unsubscribe= no
|
||||
##auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
auto_subscribe = no
|
||||
##auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
#auto_help
|
||||
auto_help = no # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
#moderated_flag
|
||||
##moderated_flag= yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
# set moderator_PASSWORD to get
|
||||
# stricter checking
|
||||
#cc_requests
|
||||
##cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
#cc_unsubrequests
|
||||
##cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
#divertcheck = yes
|
||||
##divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
#pass_diverts
|
||||
##pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
#reply_to
|
||||
##reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
# why discouraged? see:
|
||||
# http://garcon.unicom.com/FAQ/reply-to-harmful.html
|
||||
#digest_flag
|
||||
##digest_flag = yes # uncomment this if you want digests
|
||||
#digest_age = 262144 # maximum age of a digest in seconds
|
||||
#digest_size = 32768 # maximum size of a digest in bytes
|
||||
#undigested_list = $list@$domain # Reply-To: address for digests
|
||||
|
||||
#moderator_PASSWORD = # put the optional password for
|
||||
# moderators here, this definition
|
||||
# can contain regular expression magic
|
||||
# characters (to support multiple
|
||||
# passwords)
|
||||
|
||||
X_COMMAND = X-Command
|
||||
X_COMMAND_PASSWORD = alcpass # put the literal password for
|
||||
# X-Command mails here
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
|
@ -1,11 +0,0 @@
|
|||
#$Id: .procmailrc,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
LOGFILE=/dev/null
|
||||
MAILDIR=.etc # chdir to the defaults directory
|
||||
|
||||
INCLUDERC=rc.init
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Diagnostic: Non-existent mailinglist $X_ENVELOPE_TO"
|
||||
|
||||
INCLUDERC=rc.post
|
|
@ -1,90 +0,0 @@
|
|||
# BEFORE editing this file, you should make sure that it is not linked to
|
||||
# the master version (../.etc/rc.archive) anymore (i.e. "delink rc.request"
|
||||
# if you do not want your changes to affect all archive servers).
|
||||
#
|
||||
# New mails can be temporarily stalled by creating the file rc.lock (either in
|
||||
# ../.etc for all lists or in the current directory for this list only).
|
||||
|
||||
#$Id: rc.archive,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
INCLUDERC=$RC_INIT
|
||||
INCLUDERC=$RC_CUSTOM
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_00
|
||||
|
||||
LOCKFILE=tmp.lock # for reusing tmp.(request|from)
|
||||
# also makes sure that the load doesn't go sky-high
|
||||
# when a lot of mail arrives concurrently
|
||||
|
||||
#
|
||||
# We drop the message in the bitbucket if:
|
||||
# It's too big.
|
||||
# We sent it ourselves.
|
||||
# It was sent by a daemon of some kind.
|
||||
#
|
||||
|
||||
:0 h
|
||||
* > 32768
|
||||
/dev/null
|
||||
|
||||
:0 h
|
||||
* !^X-Loop: $listaddr
|
||||
* $$daemon_bias
|
||||
* -100^0 ^FROM_DAEMON
|
||||
* 1^0
|
||||
{ }
|
||||
|
||||
:0 Eh
|
||||
/dev/null
|
||||
|
||||
#
|
||||
# We now check that it is not a reply or something.
|
||||
# If it isn't, we extract the sender address into tmp.from
|
||||
#
|
||||
|
||||
:0 whc
|
||||
* !^Subject:(.*[^a-z])?(Re:|erro|problem|((can)?not|.*n't)\>)
|
||||
| formail -rtzc -xTo: >tmp.from
|
||||
|
||||
#
|
||||
# Store the whole mail in tmp.request, for later reference.
|
||||
#
|
||||
|
||||
:0 Ac
|
||||
| cat >tmp.request
|
||||
|
||||
#
|
||||
# Feed it to the archive server.
|
||||
#
|
||||
|
||||
:0 Aw
|
||||
| arch_retrieve standalone
|
||||
|
||||
LOCKFILE # we don't need the lockfile anymore
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_30
|
||||
|
||||
#
|
||||
# Anything not taken care of yet will be served to the maintainer of the list.
|
||||
#
|
||||
|
||||
:0 fh
|
||||
| formail -A"X-Envelope-To: $X_ENVELOPE_TO"
|
||||
|
||||
#
|
||||
# If this list does not have a maintainer e-mail address, drop things in
|
||||
# the file request.
|
||||
#
|
||||
|
||||
:0:
|
||||
* !maintainer ?? .
|
||||
request
|
||||
|
||||
:0 w
|
||||
| formail -R"From X-From_:" -iDate: -iReturn-Receipt-To: -iRead-Receipt-To: \
|
||||
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $maintainer
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Diagnostic: Maintainer $maintainer could not be reached"
|
||||
|
||||
HOST=continue_with_../.etc/rc.post
|
|
@ -1,119 +0,0 @@
|
|||
#
|
||||
# Assign the fully qualified mail address of the maintainer of this list
|
||||
# to "maintainer". If empty, request-mail will not be mailed to any
|
||||
# maintainer and will be stored in the "request" file for this list.
|
||||
#
|
||||
|
||||
maintainer =
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
|
||||
#size_limit = 524288 # sanity cutoff value for submissions
|
||||
|
||||
#idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
#archive_hist = 2 # number of messages left archived
|
||||
#archive_log = $LOGFILE # log file for archive retrievals
|
||||
#subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
#maxhist = 32 # bounce history limit
|
||||
#minbounce = 4 # no. of bounces before removal
|
||||
#cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
#match_threshold= 30730 # for close matches to the list
|
||||
#medium_threshold= 28672 # for not so close matches to the list
|
||||
#loose_threshold= 24476 # for loosely finding your name
|
||||
|
||||
#auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
#off_threshold = $loose_threshold # for unsubscribing
|
||||
#reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
#submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
#unsub_assist
|
||||
##unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
#foreign_submit = yes
|
||||
##foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
#restrict_archive
|
||||
##restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
#force_subscribe
|
||||
##force_subscribe= yes # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
#auto_unsubscribe= yes
|
||||
##auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
#auto_subscribe = yes
|
||||
##auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
#auto_help
|
||||
##auto_help = yes # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
#moderated_flag
|
||||
##moderated_flag= yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
# set moderator_PASSWORD to get
|
||||
# stricter checking
|
||||
#cc_requests
|
||||
##cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
#cc_unsubrequests
|
||||
##cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
#divertcheck = yes
|
||||
##divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
#pass_diverts
|
||||
##pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
#reply_to
|
||||
##reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
# why discouraged? see:
|
||||
# http://garcon.unicom.com/FAQ/reply-to-harmful.html
|
||||
#digest_flag
|
||||
##digest_flag = yes # uncomment this if you want digests
|
||||
#digest_age = 262144 # maximum age of a digest in seconds
|
||||
#digest_size = 32768 # maximum size of a digest in bytes
|
||||
#undigested_list = $list@$domain # Reply-To: address for digests
|
||||
|
||||
#moderator_PASSWORD = # put the optional password for
|
||||
# moderators here, this definition
|
||||
# can contain regular expression magic
|
||||
# characters (to support multiple
|
||||
# passwords)
|
||||
|
||||
#X_COMMAND = X-Command
|
||||
#X_COMMAND_PASSWORD = # put the literal password for
|
||||
# X-Command mails here
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
|
@ -1,255 +0,0 @@
|
|||
#
|
||||
# IMPORTANT variables to check/change: PATH domain listmaster
|
||||
#
|
||||
|
||||
# BEFORE editing this file or any rc.* file in the .etc directory
|
||||
# you should create the .etc/rc.lock file. As long as this file
|
||||
# exists, mail delivery to any list will stall (flist checks this file).
|
||||
#
|
||||
# Delivery can be temporarily stalled on a per list basis by creating
|
||||
# the file rc.lock in the respective list's subdirectory.
|
||||
|
||||
# ENVIRONMENT:
|
||||
# list contains the submitting address of the list (sans domain)
|
||||
# domain should contain the domain for the list, so that $list@$domain
|
||||
# can be used to submit to the list
|
||||
# maintainer should contain the fully qualified address of the maintainer
|
||||
# of $list; maintainter can be left empty
|
||||
# listmaster should contain the fully qualified address of the supervising
|
||||
# list maintainer; listmaster can be left empty
|
||||
# X_ENVELOPE_TO contains the address that the incoming mail was addressed to
|
||||
|
||||
# FILES:
|
||||
# log optional logfile (uncomment the LOGFILE assignment to enable
|
||||
# it)
|
||||
# dist the subscriber list, one address per line
|
||||
# accept the list of people allowed to submit messages (usually a
|
||||
# link to dist, only checked if $foreign_submit != yes)
|
||||
# accept2 an optional second accept file
|
||||
# reject list of people you definitely do not want to subscribe
|
||||
# subscreen program (e.g. shell script) to screen prospective subscribers
|
||||
# (see in the examples directory for a sample script)
|
||||
# request all the messages to request that could not be handled
|
||||
# automatically (only if maintainer is empty)
|
||||
# help.txt file sent to help & info requests
|
||||
# info.txt optional file sent to help & info requests as well,
|
||||
# it should contain a concise description of what the
|
||||
# list is all about
|
||||
# the various info.txt files are optionally gathered in
|
||||
# order to advertise the availability of the mailinglists
|
||||
# subscribe.txt file sent to new subscribers
|
||||
# subscribe.files file containing an arbitrary number of archive server
|
||||
# commands to be executed on behalf of new subscribers
|
||||
# unsubscribe.txt file sent to unsubscribers
|
||||
# accept.txt file sent to people not on the accept list
|
||||
# archive.txt file sent to people requesting help from the archive server
|
||||
# archive (link to a) directory below which files can be accessed through
|
||||
# the archive server
|
||||
# bounces directory containing the bounce history files
|
||||
# rc.submit rcfile used when distributing submissions
|
||||
# rc.request rcfile used when processing requests
|
||||
# rc.custom rcfile that contains all the customisations per list
|
||||
# rc.local.* optional rcfiles for any local extensions (to be used in
|
||||
# conjunction with the RC_LOCAL_* variables which can be set
|
||||
# in rc.init or rc.custom files)
|
||||
|
||||
#$Id: rc.init,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
DELIVERED=yes # we're in control of the mail now, tell sendmail to go away
|
||||
|
||||
PATH=.:$PATH:../.bin:/bin:/usr/bin:/usr/local/bin # setup a decent path
|
||||
SHELL=/bin/sh # to prevent surprises
|
||||
|
||||
defaults=.etc
|
||||
|
||||
LOCKTIMEOUT=3660 # set these values this high (1 hour)
|
||||
TIMEOUT=3600 # to give sendmail the time to
|
||||
# resolve big aliases
|
||||
|
||||
###############################################################################
|
||||
# You have to setup the following two assignments, make sure that the address
|
||||
# mentioned in listmaster is *not* the address this script runs under; if
|
||||
# you would end up doing that, then assign listmaster to ""
|
||||
# The same applies to the maintainer addresses used for every list, if you
|
||||
# would like to alias them back to this script or to the respective -request
|
||||
# addresses, then assign maintainer to "" instead.
|
||||
#
|
||||
# The mail-domain you have to insert below, must be the fully qualified
|
||||
# mail-domain for this list; e.g. if the preferred mail address for this
|
||||
# account would be: list@somemachine.somewhere.universe
|
||||
# Then you should assign the following:
|
||||
# domain=somemachine.somewhere.universe
|
||||
###############################################################################
|
||||
|
||||
domain=INSERT.YOUR.MAIL.DOMAIN.HERE # the common domain for all the lists
|
||||
listmaster=
|
||||
|
||||
#UMASK=077 # group can not touch the files
|
||||
#UMASK=027 # group can read
|
||||
UMASK=007 # group can write as well
|
||||
|
||||
defaults=.etc # the name of the defaults directory
|
||||
LOGFILE=log
|
||||
LOGABSTRACT=no
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
#LOGFILE=../$defaults/log # uncomment if you want centralised
|
||||
# logging
|
||||
|
||||
RC_INIT # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
||||
|
||||
listaddr=$list@$domain
|
||||
listreq=$list-request@$domain
|
||||
listdist=$list-dist@$domain
|
||||
|
||||
# the following constants determine the
|
||||
# behaviour of choplist, the dist-file
|
||||
# expander (zero means: no limit) which
|
||||
# calls sendmail
|
||||
minnames = 32 # minimum number of names per call
|
||||
mindiffnames = 8 # minimum for maxnames-minnames
|
||||
maxnames = 64 # maximum number of names per call
|
||||
maxsplits = 0 # maximum number of parts to split dist in
|
||||
maxsize = 200000 # maximal disk space to be taken up per mail
|
||||
maxconcur = 4 # maximum number of concurrent sendmail calls
|
||||
|
||||
alt_sendmail="\
|
||||
choplist $minnames $mindiffnames $maxnames $maxsplits $maxsize $maxconcur dist"
|
||||
minnames mindiffnames maxnames maxsplits maxsize maxconcur
|
||||
#alt_sendmail # uncomment if you'd prefer sendmail
|
||||
# to handle the $listdist expansion
|
||||
|
||||
sendmailOPT="-oem -odb -oi -om -f$listreq"
|
||||
sendmailOPTp=-oep
|
||||
sendmailOPTq=-odq
|
||||
sendmailOPTi=-odi
|
||||
sendmailQflush="$SENDMAIL -q"
|
||||
#sendmailQflush # uncomment if you don't want the
|
||||
# queue to be flushed after all archive
|
||||
# retrieval files have been queued
|
||||
########################
|
||||
# sendmail options used:
|
||||
#
|
||||
# -t scan the header of the mail for recipients
|
||||
# -f specify the sender envelope address (requires T entry in sendmail.cf)
|
||||
# -oi do not regard a single dot on an otherwise empty line as EOF
|
||||
# -om include myself in any alias expansions
|
||||
# -odb background deliverymode command returns immediately
|
||||
# -odq queued deliverymode (put messages in the queue only)
|
||||
# -odi interactive deliverymode command, wait until most delivered
|
||||
# -q flush the queue
|
||||
# -oem mail back error messages
|
||||
# -oep print error messages
|
||||
# -onF do not check aliases while expanding them (use it, if available)
|
||||
########################
|
||||
#
|
||||
# If you only have /bin/mail and not some sendmail compatible mailer that
|
||||
# understands the -t option of sendmail, then you have to uncomment the
|
||||
# following two lines:
|
||||
#
|
||||
#sendmailOPT sendmailOPTp sendmailOPTq sendmailOPTi sendmailQflush
|
||||
#SENDMAIL=../SedBinDir/sendmails
|
||||
#
|
||||
########################
|
||||
|
||||
size_limit = 524288 # sanity cutoff value for submissions
|
||||
|
||||
idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
archive_hist = 2 # number of messages left archived
|
||||
archive_log = $LOGFILE # log file for archive retrievals
|
||||
subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
maxhist = 32 # bounce history limit
|
||||
minbounce = 4 # no. of bounces before removal
|
||||
cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
match_threshold = 30730 # for close matches to the list
|
||||
medium_threshold= 28672 # for not so close matches to the list
|
||||
loose_threshold = 24476 # for loosely finding your name
|
||||
|
||||
auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
off_threshold = $loose_threshold # for unsubscribing
|
||||
reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
unsub_assist
|
||||
#unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
foreign_submit = yes
|
||||
#foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
restrict_archive
|
||||
#restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
force_subscribe
|
||||
#force_subscribe= yes # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
auto_unsubscribe= yes
|
||||
#auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
auto_subscribe = yes
|
||||
#auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
auto_help
|
||||
#auto_help = yes # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
moderated_flag
|
||||
#moderated_flag = yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
cc_requests
|
||||
#cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
cc_unsubrequests
|
||||
#cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
divertcheck = yes
|
||||
#divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
pass_diverts
|
||||
#pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
reply_to
|
||||
#reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
digest_flag
|
||||
#digest_flag = yes # uncomment this if you want digests
|
||||
digest_age = 262144 # maximum age of a digest in seconds
|
||||
digest_size = 32768 # maximum size of a digest in bytes
|
||||
|
||||
|
||||
X_COMMAND = X-Command
|
||||
X_COMMAND_PASSWORD = password # put the global password for
|
||||
# X-Command mails here
|
||||
# this password can of course be changed/
|
||||
# customised in the per list rc.custom file
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM=rc.custom
|
|
@ -1,11 +0,0 @@
|
|||
#$Id: rc.main,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
LOGFILE=/dev/null
|
||||
MAILDIR=.etc # chdir to the defaults directory
|
||||
|
||||
INCLUDERC=rc.init
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Diagnostic: Non-existent mailinglist $X_ENVELOPE_TO"
|
||||
|
||||
INCLUDERC=rc.post
|
|
@ -1,17 +0,0 @@
|
|||
#$Id: rc.post,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
MAILDIR=../$defaults # back to the defaults directory
|
||||
LOGFILE=log # enabled by default, because when processing
|
||||
# reaches this point, some unusual circumstance
|
||||
# has occurred.
|
||||
LOGABSTRACT=yes
|
||||
|
||||
:0 :
|
||||
* !listmaster ?? .
|
||||
request
|
||||
|
||||
:0 w
|
||||
| formail -R"From X-From_:" -iDate: -iReturn-Receipt-To: -iRead-Receipt-To: \
|
||||
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $listmaster
|
||||
|
||||
:0:
|
||||
request
|
|
@ -1,348 +0,0 @@
|
|||
# BEFORE editing this file, you should make sure that it is not linked to
|
||||
# the master version (../.etc/rc.request) anymore (i.e. "delink rc.request"
|
||||
# if you do not want your changes to affect all lists).
|
||||
#
|
||||
# New mails can be temporarily stalled by creating the file rc.lock (either in
|
||||
# ../.etc for all lists or in the current directory for this list only).
|
||||
|
||||
#$Id: rc.request,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
INCLUDERC=$RC_INIT
|
||||
INCLUDERC=$RC_CUSTOM
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_00
|
||||
|
||||
LOCKFILE=tmp.lock # for reusing tmp.(request|from)
|
||||
# also makes sure that the load doesn't go sky-high
|
||||
# when a lot of mail arrives concurrently
|
||||
|
||||
:0 Bfw # concatenate header and body
|
||||
* $^^$X_COMMAND:
|
||||
| sed -e '1,/^$/{' -e '/^$/d' -e '}'
|
||||
|
||||
#
|
||||
# We now check:
|
||||
# If the length is roughly within bounds.
|
||||
# That it is not a reply or something.
|
||||
# That we didn't send it ourselves.
|
||||
# That it wasn't sent by a daemon of some kind.
|
||||
#
|
||||
# If everything matches, we extract the sender address into tmp.from
|
||||
#
|
||||
|
||||
:0
|
||||
* B ?? < 4096
|
||||
* $$daemon_bias
|
||||
* $!^(X-(Loop: $\listaddr|Diagnostic:)|$X_COMMAND:)
|
||||
* -100^0 ^FROM_DAEMON
|
||||
* 1^0
|
||||
{
|
||||
|
||||
:0
|
||||
* -100^0 ^Subject:(.*[^a-z])?(Re:|erro|change|problem|((can)?not|.*n't)\>)
|
||||
* 100^0 B ?? ^^([ ]|$)*\
|
||||
((archives?:?($|[ ]+)|\
|
||||
((un)subscribe|(send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^
|
||||
* 100^0 ^Subject:[ ]*archive
|
||||
* 1^0
|
||||
{
|
||||
:0 whc
|
||||
| formail -rtzc -xTo: >tmp.from
|
||||
|
||||
#
|
||||
# Store the whole mail in tmp.request, for later reference.
|
||||
#
|
||||
|
||||
:0 wc
|
||||
| formail -IIn-Reply-To: -ICc: >tmp.request
|
||||
|
||||
#
|
||||
# Check for a missing Subject: line.
|
||||
#
|
||||
|
||||
:0 wfh
|
||||
* !^Subject:
|
||||
| formail -a "Subject: "
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_10
|
||||
|
||||
###############################################################################
|
||||
# Reader beware, the following four regular expressions are not for the faint #
|
||||
# of heart. It'll suffice to say that they accomplish their intended job 98% #
|
||||
# of the time. #
|
||||
###############################################################################
|
||||
|
||||
#
|
||||
# Is it an archive retrieval command?
|
||||
#
|
||||
|
||||
:0 HB w
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*(([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?\
|
||||
$(.+$)*(^[ ]*)+)?(archives?:?([ ]|$)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|list|show|\
|
||||
search|[fe]?grep|find|maxfiles|version)([ ]+[^ ]*)?$)
|
||||
* 1^0 B ?? ^^([ ]|$)*\
|
||||
((archives?:?($|[ ]+)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^
|
||||
{
|
||||
:0 W
|
||||
* 9876543210^0 !restrict_archive ?? y
|
||||
* 2^0 ? formail -rt -R To: "From " -X "From " | \
|
||||
multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq accept accept2
|
||||
| arch_retrieve
|
||||
|
||||
:0 E fhw
|
||||
| formail -A "X-Diagnostic: Not on the accept list"
|
||||
}
|
||||
|
||||
#
|
||||
# Is it an unsubscription request?
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?(\
|
||||
($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([ ]+|$)+)?)?\
|
||||
(Could you )?(please )?\
|
||||
(sign( [^ ]+ |-)?off|cancel|leave|delete|remove|(un|de)-?sub)\>|\
|
||||
($(.+$)*$(.*$)*)?(.*[^a-z])?\
|
||||
((un-?|(un|de)-?sub?)s(cr|c|r)i|\
|
||||
(leave|(delete|remove) .* from|(sign|take|get) .* off) .* [a-z-]*list\>))
|
||||
* 1^0 B ?? ^^([ ]|$)*unsub(scribe)?([ ].*)?([ ]|$)*\
|
||||
[^ a-z]?^^
|
||||
{
|
||||
:0 fw:dist.lock
|
||||
* auto_unsubscribe ?? y
|
||||
| unsubscribe
|
||||
|
||||
:0 Aw ${cc_unsubrequests:+c}
|
||||
| $SENDMAIL $sendmailOPT `cat tmp.from` ;
|
||||
|
||||
:0 Afhw
|
||||
| formail -A "X-Diagnostic: Processed"
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Is it a subscription request?
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 9876543210^0 ^^(.+$)*Subject:[ ]*([(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)])?(\
|
||||
($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([ ]+|$)+)?)?\
|
||||
(Could you )?(please )?\
|
||||
(sign( [^ ]+ |-)?on|add|join|sub)\>|\
|
||||
($(.+$)*$(.*$)*)?(.*[^a-z])?\
|
||||
(sub?s(cr|c|r)i.*|(join|add .* to|(sign|put) .* on) .* [a-z-]*list\>))
|
||||
* 1^0 B ?? ^^([ ]|$)*sub(scribe)?([ ].*)?([ ]|$)*\
|
||||
[^ a-z]?^^
|
||||
{
|
||||
#
|
||||
# Yes, well, then check if the person subscribing isn't on the reject
|
||||
# list.
|
||||
#
|
||||
|
||||
:0 HB wfh
|
||||
* ? multigram -b1 -l$reject_threshold reject
|
||||
| formail -A "X-Diagnostic: Found on the reject list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject`"
|
||||
|
||||
#
|
||||
# If not, then let's see if he might already be on the
|
||||
# mailinglist.
|
||||
#
|
||||
|
||||
:0 E HB wfh
|
||||
* ? formail -IReceived: -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
|
||||
multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist
|
||||
| formail -A "X-Diagnostic: Already on the subscriber list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -x$listreq -x$listaddr \
|
||||
-l$reject_threshold dist`"
|
||||
|
||||
#
|
||||
# If not, add him(/her/it?).
|
||||
#
|
||||
|
||||
:0 E
|
||||
* auto_subscribe ?? y
|
||||
{
|
||||
:0 W ${cc_requests:+c}:dist.lock
|
||||
| subscribe
|
||||
|
||||
:0 awfh
|
||||
| formail -A "X-Diagnostic: Added to the subscriber list"
|
||||
|
||||
:0 Ewfh
|
||||
| formail -A "X-Diagnostic: Tried to subscribe"
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Is it an info or help request? Send back the help.txt and the
|
||||
# optional info.txt file.
|
||||
# We do the same on a complete empty mail (except for perhaps a signature).
|
||||
#
|
||||
|
||||
:0 EHB
|
||||
* 3^0 ^^(.+$)*Subject:[ ]*\
|
||||
(([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$\
|
||||
(.+$)*(^[ ]*)+)?[a-z,. ]*(help|info(rmation)?)\>
|
||||
* 1^0 ^^(.+$)*Subject:[ ]*\
|
||||
([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$
|
||||
* -2^0 ^^(.+$)*(^[ ]*)+[a-z]
|
||||
* 3^0 ^^(.+$)*^([ ]*$)*--
|
||||
{
|
||||
:0 hw ${cc_requests:+c}
|
||||
| (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; \
|
||||
cat help.txt info.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: help sent"
|
||||
}
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_20
|
||||
|
||||
LOGABSTRACT=yes
|
||||
|
||||
#
|
||||
# If auto_help is set, anything undecipherable gets back the help.txt and the
|
||||
# optional info.txt file.
|
||||
#
|
||||
|
||||
:0 EB
|
||||
* auto_help ?? y
|
||||
* $!X-Loop: $\listaddr
|
||||
{
|
||||
:0 hw ${cc_requests:+c}
|
||||
| (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; \
|
||||
cat help.txt info.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: undecipherable, help sent"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
LOGABSTRACT=yes
|
||||
|
||||
#
|
||||
# Could it be a bounce message from a daemon? Hand it down to procbounce
|
||||
# which will evaluate it.
|
||||
#
|
||||
|
||||
:0 wic
|
||||
* $!^(Subject:(.*[^a-z])?Re:|\
|
||||
X-(Loop: $\listaddr|Diagnostic:)|$X_COMMAND:)
|
||||
* ^FROM_DAEMON
|
||||
| sed -e $cutoff_bounce' q' >tmp.request
|
||||
|
||||
#
|
||||
# Sink all messages we can recognise to be queue warnings
|
||||
#
|
||||
|
||||
:0 Ah
|
||||
* ^Subject: \
|
||||
(WARNING: message delayed|\
|
||||
(Returned mail: )?warning: c(an|ould )not send m(essage fo|ail afte)r|\
|
||||
Undeliverable (RFC822 )?mail: temporarily unable to deliver|\
|
||||
\*\*\* WARNING - Undelivered mail in mailqueue)
|
||||
/dev/null
|
||||
|
||||
:0 Ah
|
||||
* ^Subject: (Warning from|mail warning| ?Waiting mail)
|
||||
* ^(From|Sender):.*(uucp|mmdf)
|
||||
/dev/null
|
||||
|
||||
:0 AhBD
|
||||
* $^(..?)?X-Loop: $\listaddr \(bounce\)
|
||||
* ^(..?)?Subject: You have been removed from
|
||||
/dev/null
|
||||
|
||||
#
|
||||
# Anything that still survived is most likely to be a bounce message.
|
||||
#
|
||||
|
||||
:0 Ahfw
|
||||
| procbounce
|
||||
|
||||
#
|
||||
# Or is it a remote X-Command from our maintainer?
|
||||
#
|
||||
|
||||
:0 wf:dist.lock
|
||||
* $^$X_COMMAND:.*$\maintainer[ ]*$\X_COMMAND_PASSWORD
|
||||
* $!^X-Loop: $\listaddr
|
||||
| x_command
|
||||
|
||||
LOCKFILE # we don't need the lockfile anymore
|
||||
|
||||
#
|
||||
# Anything not taken care of yet will be served to the maintainer of the list.
|
||||
#
|
||||
# To make it easier on him, we include a small hint about what might be the
|
||||
# problem (by adding X-Diagnostic: fields to the header).
|
||||
#
|
||||
|
||||
:0 wfh
|
||||
* !< $size_limit
|
||||
| formail -A "X-Diagnostic: Submission size exceeds $size_limit bytes"
|
||||
|
||||
:0 wfh
|
||||
* ^FROM_DAEMON
|
||||
| formail -A "X-Diagnostic: Mail coming from a daemon, ignored"
|
||||
|
||||
:0 HB wfh
|
||||
* $^X-Loop: $\listaddr
|
||||
| formail -A "X-Diagnostic: Possible loopback problem"
|
||||
|
||||
:0
|
||||
* !^X-(Diagnostic|Processed):
|
||||
{
|
||||
:0 wfh
|
||||
* $^$X_COMMAND:
|
||||
| formail -A "X-Diagnostic: Suspicious $X_COMMAND format"
|
||||
|
||||
:0 HB wfh
|
||||
* ? formail -IReceived: -IX-Envelope-To: -IIn-Reply-To: -ICc: | \
|
||||
multigram -b1 -x$listreq -x$listaddr -l$reject_threshold dist
|
||||
| formail -A "X-Diagnostic: Already on the subscriber list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -x$listreq -x$listaddr \
|
||||
-l$reject_threshold dist`"
|
||||
}
|
||||
|
||||
INCLUDERC=$RC_LOCAL_REQUEST_30
|
||||
|
||||
:0 wfh
|
||||
* !^X-(Diagnostic|Processed):
|
||||
| formail -A"X-Diagnostic: Unprocessed"
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Envelope-To: $X_ENVELOPE_TO"
|
||||
|
||||
#
|
||||
# If this list does not have a maintainer e-mail address, drop things in
|
||||
# the file request.
|
||||
#
|
||||
|
||||
:0:
|
||||
* !maintainer ?? .
|
||||
request
|
||||
|
||||
:0 w
|
||||
| formail -R"From X-From_:" -iDate: -iReturn-Receipt-To: -iRead-Receipt-To: \
|
||||
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $maintainer
|
||||
|
||||
:0 wfh
|
||||
| formail -A"X-Diagnostic: Maintainer $maintainer could not be reached"
|
||||
|
||||
HOST=continue_with_../.etc/rc.post
|
|
@ -1,289 +0,0 @@
|
|||
# BEFORE editing this file, you should make sure that it is not linked to
|
||||
# the master version (../.etc/rc.submit) anymore (i.e. "delink rc.submit"
|
||||
# if you do not want your changes to affect all archive servers).
|
||||
#
|
||||
# New mails can be temporarily stalled by creating the file rc.lock (either in
|
||||
# ../.etc for all lists or in the current directory for this list only).
|
||||
|
||||
#$Id: rc.submit,v 1.1 2000/04/05 15:09:45 czo Exp $
|
||||
|
||||
INCLUDERC=$RC_INIT
|
||||
INCLUDERC=$RC_CUSTOM
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_00
|
||||
|
||||
#
|
||||
# The following recipe makes sure that:
|
||||
# The mail has a sane size (i.e. it is not inordinately big)
|
||||
# It does not look like an administrative request.
|
||||
# It wasn't sent by this list itself.
|
||||
# It wasn't sent by a daemon (misdirected bounce message perhaps).
|
||||
#
|
||||
|
||||
:0
|
||||
* < $size_limit
|
||||
* !$^($X_COMMAND:|X-Loop: $\listaddr)
|
||||
* ! B ?? $^^$X_COMMAND:
|
||||
* $$daemon_bias
|
||||
* -100^0 ^FROM_MAILER|\
|
||||
^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )\
|
||||
([^>]*[^(.%@a-z0-9])?(\
|
||||
LIST(SERV|proc)|NETSERV|bounce|autoanswer|echo|mirror\
|
||||
)(([^).!:a-z0-9][-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$)
|
||||
* 1^0
|
||||
{
|
||||
|
||||
:0
|
||||
* B ?? >640
|
||||
* 9876543210^0
|
||||
{ }
|
||||
|
||||
#
|
||||
# Does it look like a regular submission?
|
||||
# Or perhaps more like an administrative request?
|
||||
# Look at the start of the body, and see if this could be an administrative
|
||||
# request, pass it on to rc.request in that case.
|
||||
#
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* 9876543210^0 !divertcheck ?? y
|
||||
{ }
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* !B ?? ^^(.*$(.*$(.*$(.*$(.*$(.*$(.*$(.*$)?)?)?)?)?)?)?)?[^]>} a-z0-9]
|
||||
* 9876543210^0 B ?? ^^.*$.*$.*$.*$.*$.*$.*$.*$.*$
|
||||
{ }
|
||||
|
||||
:0
|
||||
* $$=^0
|
||||
* $${maintainer:+9876543210^0 ^From[: ](.*\<)?$\maintainer\>}
|
||||
* 9876543210^0 ^(Subject:(.*\<)?(Re:|magazine)\>)|X-(Diagnostic|Mailing-List):
|
||||
* -25^0 ^\
|
||||
Subject:([ ]*(archives?:?([ ]+(\
|
||||
(send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ]|$)|[ ]*$)|\
|
||||
help|info|join|leave|\
|
||||
(Could you )?(please )?\
|
||||
(cancel(( my)? subscription)?|add|\
|
||||
sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)[ ]*$)|\
|
||||
.*( (join|leave|add .* to|(delete|remove) .* from|\
|
||||
(take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\
|
||||
(un-?|sub?)s(cr|c|r)i(be|ption))\>)
|
||||
* -50^0 ^Subject:[ ]*[(<]no(ne| subject\
|
||||
( (\(file transmission|given))?)[>)]$
|
||||
* 50^0 ^Subject:.*[a-z]
|
||||
* -100^0 B ?? ^^([ ]|$)*\
|
||||
((((archives?:?($|[ ]+)|\
|
||||
((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\
|
||||
list|show|search|[fe]?grep|find|maxfiles|version|help|info)\
|
||||
([ ].*)?$)([ ]|$)*)+\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\
|
||||
(help|info)[ ]*$|\
|
||||
(add|join|leave|sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)\>)|\
|
||||
([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\
|
||||
.*( (join|leave|add .* to|(delete|remove) .* from|\
|
||||
(take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\
|
||||
(un-?|sub?)scri(be|ption))\>|\
|
||||
^^)
|
||||
{
|
||||
#
|
||||
# Then check to see if the sender is on the accept list (if foreign_submit
|
||||
# is not set).
|
||||
#
|
||||
|
||||
:0
|
||||
* 9876543210^0 foreign_submit ?? y
|
||||
* 2^0 ? formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \
|
||||
-xResent-Reply-To: -xResent-Sender: -xReturn-Path: | \
|
||||
multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq accept accept2
|
||||
{
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_10
|
||||
|
||||
:0
|
||||
* moderated_flag ?? y
|
||||
{
|
||||
:0 Bfw # contract header and body
|
||||
* ^^Approved:.*$^
|
||||
| sed -e '1,/^$/{' -e '/^$/d' -e '}'
|
||||
|
||||
:0
|
||||
* !$^Approved:.*$moderator_PASSWORD
|
||||
| formail -R"From X-Envelope-From:" -uDate: -iReturn-Receipt-To: \
|
||||
-iRead-Receipt-To: -iAcknowledge-To: | \
|
||||
$SENDMAIL $sendmailOPT `cat moderators`
|
||||
|
||||
:0 fhw
|
||||
| formail -IApproved:
|
||||
}
|
||||
|
||||
#
|
||||
# Eliminate duplicate submissions by checking the Message-ID: field.
|
||||
#
|
||||
|
||||
:0 Wh :msgid.lock
|
||||
| formail -q- -D $idcache_size msgid.cache
|
||||
|
||||
#
|
||||
# Check if we need to autosubscribe anyone not on the dist list.
|
||||
#
|
||||
|
||||
:0
|
||||
* force_subscribe ?? y
|
||||
* !? if test y = "$moderated_flag" ;\
|
||||
then formail -xFrom: -xSender: -xReply-To: ;\
|
||||
else formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \
|
||||
-xResent-Reply-To: -xResent-Sender: -xReturn-Path: ;\
|
||||
fi | multigram -b1 -m -l$submit_threshold -L$domain \
|
||||
-x$listaddr -x$listreq dist
|
||||
{
|
||||
|
||||
#
|
||||
# Yes, well, then check if the person isn't on the reject list.
|
||||
#
|
||||
|
||||
:0
|
||||
* ? multigram -b1 -l$reject_threshold reject
|
||||
{
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: Found on the reject list" \
|
||||
-A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject`"
|
||||
|
||||
HOST=continue_with_rc.request
|
||||
}
|
||||
|
||||
LOCKFILE=tmp.lock
|
||||
|
||||
:0 whc
|
||||
| formail -rtzc -xTo: >tmp.from
|
||||
|
||||
:0 Wc :dist.lock
|
||||
| sed -e '/^$/,/^-- $/ d' | formail -I "Subject: auto subscribe" \
|
||||
>tmp.request; subscribe <tmp.request && test ! -z "$subscribe_log" \
|
||||
&& echo "rc.submit: auto subscribed" >>$subscribe_log
|
||||
|
||||
LOCKFILE
|
||||
}
|
||||
|
||||
#
|
||||
# Check if this is a digested mailinglist. If yes, processing stops
|
||||
# here and the mail will be added to the digest.
|
||||
#
|
||||
|
||||
:0
|
||||
* digest_flag ?? y
|
||||
{
|
||||
#
|
||||
# Forward the article back to the undigested list, if it hasn't
|
||||
# come from there.
|
||||
#
|
||||
|
||||
:0 c
|
||||
* undigested_list ?? y
|
||||
* $!^X-Loop: $\undigested_list
|
||||
! $sendmailOPT $undigested_list
|
||||
|
||||
#
|
||||
# Finally digest the mail.
|
||||
#
|
||||
|
||||
:0 w :tmp.lock
|
||||
| digest
|
||||
}
|
||||
|
||||
ARCHIVE # Wipe ARCHIVE from the environment
|
||||
|
||||
#
|
||||
# Check if we are the first mailinglist to distribute this message, if so
|
||||
# archive the message.
|
||||
#
|
||||
|
||||
:0
|
||||
* archive_hist ?? [1-9]
|
||||
* !^X-Mailing-List:
|
||||
{
|
||||
:0 c
|
||||
archive/latest/.
|
||||
|
||||
ARCHIVE=$LASTFOLDER # Remember where it was archived
|
||||
|
||||
#
|
||||
# Truncate the archive to the correct number of files (and
|
||||
# possibly other housekeeping chores to keep the archive
|
||||
# current).
|
||||
#
|
||||
|
||||
:0 c hi
|
||||
| arch_trunc
|
||||
}
|
||||
|
||||
#
|
||||
# Main header munger for submissions passing through this list.
|
||||
#
|
||||
|
||||
oldshellmetas="$SHELLMETAS" SHELLMETAS # Save a shell, procmail can
|
||||
# do this one by itself.
|
||||
:0 wfh
|
||||
| formail -b -IFrom\ -IReceived: -IReturn-Receipt-To: -IErrors-To: \
|
||||
-IX-Pmrqc: -IX-Confirm-Reading-To: -IX-Ack: -IAcknowledge-To: \
|
||||
-IRead-Receipt-To: -IReturn-Receipt-Requested: -IX-Diagnostic: \
|
||||
-iStatus: -iReturn-Path: -iX-Envelope-To: -iX-Envelope-From: \
|
||||
-I"Precedence: list" -I"Resent-Sender: $listreq" \
|
||||
-uDate: -aMessage-ID: -aResent-Message-ID: \
|
||||
-a"To: $listaddr" -a"Resent-From: $listaddr" -A"X-Loop: $listaddr" \
|
||||
-a"Subject: Unidentified subject!" ${reply_to:+"-a$reply_to"} \
|
||||
-a"X-Mailing-List: <$listaddr> $ARCHIVE"
|
||||
|
||||
SHELLMETAS="$oldshellmetas" oldshellmetas
|
||||
|
||||
INCLUDERC=$RC_LOCAL_SUBMIT_20
|
||||
|
||||
#
|
||||
# The following recipe will distribute the message to the subscribers
|
||||
# using the native $SENDMAIL, but only if you disabled the alternative
|
||||
# sendmail (choplist).
|
||||
#
|
||||
|
||||
:0 w: dist.lock
|
||||
* !alt_sendmail ?? .
|
||||
! $sendmailOPT $listdist
|
||||
|
||||
#
|
||||
# Alternate sendmail call (used by default), does not use the file-
|
||||
# including -dist alias.
|
||||
#
|
||||
|
||||
:0 Ew: dist.lock
|
||||
| $alt_sendmail $SENDMAIL $sendmailOPT $sendmailOPTi
|
||||
|
||||
:0 wfh
|
||||
| formail -A "X-Diagnostic: $SENDMAIL $listdist failed"
|
||||
|
||||
HOST=continue_with_rc.request
|
||||
}
|
||||
|
||||
:0 E wfh
|
||||
| formail -A "X-Diagnostic: Not on the accept list"
|
||||
|
||||
:0 A c
|
||||
* ? test -f accept.txt
|
||||
{
|
||||
:0 fh
|
||||
| formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat accept.txt
|
||||
|
||||
:0
|
||||
! $sendmailOPT -t
|
||||
}
|
||||
|
||||
} }
|
||||
|
||||
:0 fhw
|
||||
* pass_diverts ?? y
|
||||
* !^X-Diagnostic:
|
||||
| formail -A "X-Diagnostic: Diverted & unprocessed"
|
||||
|
||||
HOST=continue_with_rc.request
|
|
@ -1,119 +0,0 @@
|
|||
#
|
||||
# Assign the fully qualified mail address of the maintainer of this list
|
||||
# to "maintainer". If empty, request-mail will not be mailed to any
|
||||
# maintainer and will be stored in the "request" file for this list.
|
||||
#
|
||||
|
||||
maintainer = Olivier.Sirol@lip6.fr
|
||||
|
||||
#LOGABSTRACT=yes # uncomment in case of emergency
|
||||
#VERBOSE=yes # uncomment in case of real emergency
|
||||
|
||||
size_limit = 1524288 # sanity cutoff value for submissions
|
||||
|
||||
idcache_size = 8192 # duplicate-msgid cache size in bytes
|
||||
|
||||
archive_hist = 20 # number of messages left archived
|
||||
#archive_log = $LOGFILE # log file for archive retrievals
|
||||
#subscribe_log = $LOGFILE # log file for administrivia
|
||||
|
||||
#maxhist = 32 # bounce history limit
|
||||
#minbounce = 4 # no. of bounces before removal
|
||||
#cutoff_bounce = 256 # lines to keep in bounce processing
|
||||
|
||||
#match_threshold= 30730 # for close matches to the list
|
||||
#medium_threshold= 28672 # for not so close matches to the list
|
||||
#loose_threshold= 24476 # for loosely finding your name
|
||||
|
||||
#auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers
|
||||
#off_threshold = $loose_threshold # for unsubscribing
|
||||
#reject_threshold= $match_threshold # for rejecting subscriptions
|
||||
#submit_threshold= $medium_threshold # for permitting submissions
|
||||
|
||||
#unsub_assist
|
||||
unsub_assist = 8 # uncomment (and change perhaps) this
|
||||
# line to enable unsubscription
|
||||
# assistance; it specifies the no. of
|
||||
# multigram matches an unsuccessful
|
||||
# unsubscriber will receive back
|
||||
#foreign_submit = yes
|
||||
##foreign_submit # uncomment this line if you
|
||||
# want to restrict submitting to
|
||||
# people on the accept list
|
||||
#restrict_archive
|
||||
##restrict_archive= yes # uncomment this line if you
|
||||
# want to restrict archive retrievals
|
||||
# to people on the accept list
|
||||
#force_subscribe
|
||||
force_subscribe= yes # uncomment to cause people to
|
||||
# be autosubscribed upon first
|
||||
# submission to the list
|
||||
#auto_unsubscribe= yes
|
||||
##auto_unsubscribe # uncomment to disable unattended
|
||||
# unsubscription handling
|
||||
#auto_subscribe = yes
|
||||
##auto_subscribe # uncomment to disable unattended
|
||||
# subscription handling
|
||||
#auto_help
|
||||
auto_help = yes # uncomment to enable default help
|
||||
# responses to all undecipherable
|
||||
# requests
|
||||
#moderated_flag
|
||||
##moderated_flag= yes # uncomment this to make the list
|
||||
# moderated (you must create a
|
||||
# `moderators' file for this to work)
|
||||
# set moderator_PASSWORD to get
|
||||
# stricter checking
|
||||
#cc_requests
|
||||
##cc_requests = yes # uncomment if you want subscribe
|
||||
# and help requests to be Cc'd to
|
||||
# the maintainer
|
||||
#cc_unsubrequests
|
||||
##cc_unsubrequests= yes # uncomment if you want unsubscribe
|
||||
# requests to be Cc'd to the maintainer
|
||||
#divertcheck = yes
|
||||
##divertcheck # uncomment to disable the check for
|
||||
# misfiled administrative requests
|
||||
#pass_diverts
|
||||
##pass_diverts = yes # uncomment to pass on administrative
|
||||
# requests diverted from the normal
|
||||
# list to the maintainer unprocessed
|
||||
# (instead of trying to handle them)
|
||||
#reply_to
|
||||
##reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change
|
||||
# it to "Reply-To") to force replies
|
||||
# to go to the list (discouraged)
|
||||
# why discouraged? see:
|
||||
# http://garcon.unicom.com/FAQ/reply-to-harmful.html
|
||||
#digest_flag
|
||||
##digest_flag = yes # uncomment this if you want digests
|
||||
#digest_age = 262144 # maximum age of a digest in seconds
|
||||
#digest_size = 32768 # maximum size of a digest in bytes
|
||||
#undigested_list = $list@$domain # Reply-To: address for digests
|
||||
|
||||
#moderator_PASSWORD = # put the optional password for
|
||||
# moderators here, this definition
|
||||
# can contain regular expression magic
|
||||
# characters (to support multiple
|
||||
# passwords)
|
||||
|
||||
X_COMMAND = X-Command
|
||||
X_COMMAND_PASSWORD = alcpass # put the literal password for
|
||||
# X-Command mails here
|
||||
|
||||
#daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to
|
||||
# positively discriminate some
|
||||
# mail address not to be from a daemon. Either with a regexp as demonstrated
|
||||
# or with more complicated recipes that simply set it to '100^0' or nothing.
|
||||
|
||||
#RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to
|
||||
#RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts
|
||||
#RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points.
|
||||
#RC_LOCAL_REQUEST_00 = rc.local.r00
|
||||
#RC_LOCAL_REQUEST_10 = rc.local.r10
|
||||
#RC_LOCAL_REQUEST_20 = rc.local.r20
|
||||
#RC_LOCAL_REQUEST_30 = rc.local.r30
|
||||
|
||||
RC_CUSTOM # clear this one from the environment
|
||||
# so that we include this file only
|
||||
# once
|
|
@ -1,10 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
YEAR_YY=`date +%y`
|
||||
YEAR_YYYY=`date +%Y`
|
||||
MAILL=$1
|
||||
|
||||
cd /users/largo2/webmastr/wwwroot/mailing-lists
|
||||
|
||||
/usr/local/bin/hypermail -c /users/largo1/czo/cvslargo/listes-rules/hypermail/.hmrc -p -i -u -x -l "${MAILL} '${YEAR_YY}" -d "${MAILL}/${YEAR_YYYY}"
|
||||
|
|
@ -1,323 +0,0 @@
|
|||
#
|
||||
# hmrc.example:
|
||||
#
|
||||
# This is a sample Hypermail configuration file. If you wish
|
||||
# to use it, copy it to a new filename and edit as appropriate
|
||||
# for you list needs.
|
||||
#
|
||||
|
||||
# hm_mbox = [ filename | NONE ]
|
||||
#
|
||||
# This is the default mailbox to read messages in from. Set this
|
||||
# with a value of NONE to read from standard input as the default.
|
||||
|
||||
hm_mbox = NONE
|
||||
|
||||
# hm_label = [ Title | NONE ]
|
||||
#
|
||||
# This is the default title you want to call your archives.
|
||||
# Set this to NONE to use the name of the input mailbox.
|
||||
|
||||
hm_label = NONE
|
||||
|
||||
# hm_archives = [ URL | NONE ]
|
||||
#
|
||||
# This creates a link in the archived index pages labeled
|
||||
# "Other mail archives". Set this to NONE to omit such a link.
|
||||
|
||||
hm_archives = NONE
|
||||
|
||||
# hm_about = [ URL | NONE ]
|
||||
#
|
||||
# This creates a link in the archived index pages labeled
|
||||
# "About this archive". Set this to NONE to omit such a link.
|
||||
|
||||
hm_about = NONE
|
||||
|
||||
# hm_dir = [ directory path | NONE ]
|
||||
#
|
||||
# This is the default directory that Hypermail uses when creating
|
||||
# and updating archives. If set to NONE, the directory will have the
|
||||
# same name as the input mailbox.
|
||||
|
||||
hm_dir = NONE
|
||||
|
||||
# hm_defaultindex = [ thread | date | subject | author ]
|
||||
#
|
||||
# This indicates the default type of main index hypermail will generate.
|
||||
# Users see this type of index when the archive is first accessed.
|
||||
|
||||
hm_defaultindex = thread
|
||||
|
||||
# hm_reverse = [ 0 | 1 ]
|
||||
#
|
||||
# Setting this variable to 1 will reverse-sort the article
|
||||
# entries in the date and thread index files by the date they
|
||||
# were received. That is, the most recent messages will appear
|
||||
# at the top of the index rather than the other way around.
|
||||
# Set to 0 if you want latest message on the bottom for date and
|
||||
# thread indexes.
|
||||
|
||||
hm_reverse = 1
|
||||
|
||||
# hm_usetable = [ 0 | 1 ]
|
||||
#
|
||||
# Setting this variable to 1 will tell Hypermail to generate an
|
||||
# index menu at the top and bottom of each page in a table format.
|
||||
# Set to 0 if you want the standard Hypermail page look and feel.
|
||||
|
||||
hm_usetable = 0
|
||||
|
||||
# hm_showprogress = [ 0 | 1 ]
|
||||
#
|
||||
# Set to 1 to show progress as Hypermail works. Set to 0 for silent
|
||||
# operation. Output goes to standard output.
|
||||
|
||||
hm_showprogress = 1
|
||||
|
||||
# hm_show_msg_links = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to 1 if you want links to Next, Prev, Next thread, Reply to,
|
||||
# etc, displayed on the article pages. Setting this to 0 disables these
|
||||
# links from appearing on the generated pages.
|
||||
|
||||
hm_show_msg_links = 1
|
||||
|
||||
# hm_showheaders = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to 1 to show the RFC 822 message headers To:,
|
||||
# From:, and Subject: information found in the email messages.
|
||||
# Set to 0 if you want to hide mail headers in articles.
|
||||
|
||||
hm_showheaders = 0
|
||||
|
||||
# hm_showreplies = [ 0 | 1 ]
|
||||
#
|
||||
# Set to 1 to show all replies to a message as links in article files.
|
||||
# If this is set to 0 no reply links are generated.
|
||||
|
||||
hm_showreplies = 1
|
||||
|
||||
# hm_showhtml = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to 1 to show the articles in a proportionally-spaced
|
||||
# font rather than a fixed-width (monospace) font. Setting this
|
||||
# option to 1 also tells Hypermail to attempt to italicize quoted
|
||||
# passages in articles.
|
||||
|
||||
hm_showhtml = 0
|
||||
|
||||
# hm_showbr = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to 1 if you want article lines to end with the <br> tag.
|
||||
# Else set to 0 to have non-quoted lines word-wrap. Only takes effect
|
||||
# if hm_showhtml is set to 1.
|
||||
|
||||
hm_showbr = 0
|
||||
|
||||
# hm_iquotes = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to 1 if you want quoted lines to be shown in italics. Only
|
||||
# take effect if hm_showhtml is set to 1.
|
||||
|
||||
hm_iquotes = 1
|
||||
|
||||
# hm_showhr = [ 0 | 1 ]
|
||||
#
|
||||
# Set to 1 if you want horizontal rules <HR> before and after
|
||||
# the articles. Set to 0 if you don't.
|
||||
|
||||
hm_showhr = 0
|
||||
|
||||
# hm_overwrite = [ 0 | 1 ]
|
||||
#
|
||||
# Set to 1 to make Hypermail overwrite existing archives by default.
|
||||
|
||||
hm_overwrite = 0
|
||||
|
||||
# hm_increment = [ 0 | 1 ]
|
||||
#
|
||||
# Define as 1 to read in one article only and update existing archives.
|
||||
# Define as 0 for it to read and process entire mailboxes.
|
||||
|
||||
hm_increment = 1
|
||||
|
||||
# hm_thrdlevels = number
|
||||
#
|
||||
# This specifies the number of thread levels to outline in the thread
|
||||
# index. For instance, if hm_thrdlevels is 2, replies to messages will
|
||||
# be indented once in the index, but replies to replies, etc., will only
|
||||
# be indented once as well. The normal value is 2.
|
||||
|
||||
hm_thrdlevels = 2
|
||||
|
||||
# hm_eurodate = [ 0 | 1 ]
|
||||
#
|
||||
# Set this to reflect how you want dates displayed in the index files.
|
||||
# Set as 1 to to use European date format "DD MM YYYY".
|
||||
# Define as 0 to to use American date format "MM DD YYYY".
|
||||
|
||||
hm_eurodate = 1
|
||||
|
||||
# hm_dirmode = octal number
|
||||
#
|
||||
# This is an octal number representing the rwx modes that new directories
|
||||
# are set to when they are created. If the archives will be made publically
|
||||
# available, it's a good idea to define this as 0755. This must be an octal
|
||||
# number.
|
||||
|
||||
hm_dirmode = 0755
|
||||
|
||||
# hm_filemode = octal number
|
||||
#
|
||||
# This is an octal number representing the permission modes that new files
|
||||
# are set to when they are created. If the archives will be made publically
|
||||
# available, it's a good idea to define this as 0644. This must be an octal
|
||||
# number.
|
||||
|
||||
hm_filemode = 0644
|
||||
|
||||
# hm_mailcommand = [ direct mailto | cgi-bin script path | NONE ]
|
||||
#
|
||||
# This is the mail command that email links go to, for instance
|
||||
# "mailto:$TO" or "/cgi-bin/mail?to=$TO&replyto=$ID&subject=$SUBJECT"
|
||||
#
|
||||
# In constructing this command, you can specify variables:
|
||||
#
|
||||
# $TO : the email address of the person you're sending mail to.
|
||||
# $ID : the ID of the message you're replying to.
|
||||
# $SUBJECT: the subject you're replying to.
|
||||
#
|
||||
# NONE disables mailcommand usage.
|
||||
|
||||
hm_mailcommand = mailto:$TO?subject=$SUBJECT
|
||||
|
||||
# hm_mailto = [ email-address | NONE ]
|
||||
#
|
||||
# The address of the contact point that is put in the HTML header line
|
||||
# <LINK REV=made HREF=mailto:hm_mailto>
|
||||
#
|
||||
# The <LINK...> header can be disabled by default by setting
|
||||
# mailto to NONE.
|
||||
|
||||
hm_mailto = czo@asim.lip6.fr
|
||||
|
||||
# hm_domainaddr = [ domainname | NONE ]
|
||||
#
|
||||
# Domain-ize Addresses -- addresses appearing in the RFC822 field
|
||||
# which lack hostname can't be made into proper HREFs. Because the
|
||||
# MTA resides on the same host as the list, it is often not required
|
||||
# to domain-ize these addresses for delivery. In such cases, hypermail
|
||||
# will add the DOMAINADDR to the email address.
|
||||
|
||||
hm_domainaddr = asim.lip6.fr
|
||||
|
||||
# hm_body = [ HTML <BODY> statement | NONE ]
|
||||
#
|
||||
# Set this to the <BODY> line to use when generating the HTML pages.
|
||||
# Set to "NONE" to use the builtin <BODY> line by default.
|
||||
|
||||
#hm_body = <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||||
hm_body = NONE
|
||||
|
||||
# hm_hmail = [ Mailing List Submission Address | NONE ]
|
||||
#
|
||||
# Set this to the list's submission address. When enabled, this can be
|
||||
# used to submit a new message to the list served by the hypermail archive.
|
||||
# "NONE" means don't use it.
|
||||
|
||||
hm_hmail = NONE
|
||||
|
||||
# hm_ihtmlheader = [ path to index header template file | NONE ]
|
||||
#
|
||||
# Set this to the path to the Index header template file. The template
|
||||
# file contains HTML directives and substitution cookies for runtime
|
||||
# expansion.
|
||||
|
||||
hm_ihtmlheaderfile = "/users/largo1/czo/cvslargo/listes-rules/hypermail/hypermail-index.hyp"
|
||||
|
||||
|
||||
# hm_ihtmlfooter = [ path to index footer template file | NONE ]
|
||||
#
|
||||
# Set this to the path to the Index footer template file. The template
|
||||
# file contains HTML directives and substitution cookies for runtime
|
||||
# expansion.
|
||||
|
||||
hm_ihtmlfooterfile = "/users/largo1/czo/cvslargo/listes-rules/hypermail/hypermail-footer.hyp"
|
||||
|
||||
# hm_mhtmlheader = [ path to message header template file | NONE ]
|
||||
#
|
||||
# Set this to the path to the Message header template file. The template
|
||||
# file contains HTML directives and substitution cookies for runtime
|
||||
# expansion.
|
||||
|
||||
hm_mhtmlheaderfile = "/users/largo1/czo/cvslargo/listes-rules/hypermail/hypermail-msg.hyp"
|
||||
|
||||
# hm_mhtmlfooter = [ path to message footer template file | NONE ]
|
||||
#
|
||||
# Set this to the path to the Message footer template file. The template
|
||||
# file contains HTML directives and substitution cookies for runtime
|
||||
# expansion.
|
||||
|
||||
hm_mhtmlfooterfile = "/users/largo1/czo/cvslargo/listes-rules/hypermail/hypermail-footer.hyp"
|
||||
|
||||
######################
|
||||
# Multiline variables
|
||||
######################
|
||||
|
||||
# hm_show_headers = list of RFC 822 Headers to display if hm_showheaders
|
||||
# is set to 1 (TRUE)
|
||||
#
|
||||
# This is the list of headers to be displayed. They can be listed
|
||||
# comma or space separated all on a single line such as
|
||||
# hm_show_headers = From,Subject,Date,Message-ID
|
||||
# or they can be listed individually or any combination of.
|
||||
# hm_show_headers = From
|
||||
# hm_show_headers = Subject
|
||||
# hm_show_headers = Date
|
||||
# hm_show_headers = Message-ID
|
||||
|
||||
hm_show_headers = From,Subject,Date,Message-ID
|
||||
|
||||
# hm_inline_types = indicate which types of data should be inlined
|
||||
#
|
||||
# This is the list of MIME types that you want inlined as opposed to
|
||||
# simply linked into the message. They can be listed individually on
|
||||
# multiple lines or comma or space separated on a single line.
|
||||
# hm_inline_types = image/gif image/jpeg
|
||||
# or
|
||||
# hm_inline_types = image/gif
|
||||
# hm_inline_types = image/jpeg
|
||||
|
||||
hm_inline_types = image/gif image/jpeg
|
||||
|
||||
# hm_ignore_types = indicate which types of attachments to ignore and
|
||||
# not process.
|
||||
#
|
||||
# This is the list of MIME attachment types that you do not want to
|
||||
# do anything with. They are quietly ignored. They can be listed
|
||||
# individually on multiple lines or comma or space separated on a
|
||||
# single line.
|
||||
# hm_ignore_types = text/x-vcard application/x-msdownload
|
||||
# or
|
||||
# hm_ignore_types = text/x-vcard
|
||||
# hm_ignore_types = application/x-msdownload
|
||||
|
||||
hm_ignore_types = text/x-vcard
|
||||
hm_ignore_types = application/x-msdownload
|
||||
|
||||
# hm_prefered_types = indicate which of the alternative types to use
|
||||
#
|
||||
# This is the list of alternative MIME types that you want used when
|
||||
# displaying the data. This can be listed individually on multiple
|
||||
# lines or comma or space separated on a single line.
|
||||
# hm_prefered_types = text/plain text/html
|
||||
# or
|
||||
# hm_prefered_types = text/plain
|
||||
# hm_prefered_types = text/html
|
||||
# Order is important.
|
||||
#
|
||||
# NOTE: This option is not fully implemented at present.
|
||||
|
||||
hm_prefered_types = text/plain text/html
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
</BLOCKQUOTE>
|
||||
<P ALIGN=CENTER><IMG SRC="/ssi/img/bar.gif" ALT="---------"></P>
|
||||
<!--
|
||||
<SMALL><SMALL>\n<EM>This archive was generated by
|
||||
%u.
|
||||
</EM></SMALL></SMALL>
|
||||
-->
|
||||
<!--#include virtual="/ssi/alliance_footer.html" -->
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -1,15 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="description" content="Alliance mail archives">
|
||||
<META NAME="keywords" content="Alliance mail archives">
|
||||
<TITLE>%l: %s</TITLE>
|
||||
<LINK REV="made" HREF="mailto:%m">
|
||||
|
||||
|
||||
</HEAD>
|
||||
<!--#include virtual="/ssi/alliance_header.html" -->
|
||||
|
||||
<H2>%l<BR>%s</H2>
|
||||
<P ALIGN=CENTER><IMG SRC="/ssi/img/bar.gif" ALT="---------"></P>
|
||||
<BLOCKQUOTE>
|
|
@ -1,20 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="description" content="Alliance mail archives">
|
||||
<META NAME="keywords" content="Alliance mail archives">
|
||||
%A
|
||||
%S
|
||||
<TITLE>%l: %s</TITLE>
|
||||
<LINK REV="made" HREF="mailto:%m">
|
||||
|
||||
|
||||
|
||||
</HEAD>
|
||||
<!--#include virtual="/ssi/alliance_header.html" -->
|
||||
|
||||
<H2>%l<BR>%s</H2>
|
||||
<P ALIGN=CENTER><IMG SRC="/ssi/img/bar.gif" ALT="---------"></P>
|
||||
</font>
|
||||
<BLOCKQUOTE>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# Author : Olivier.Sirol@lip6.fr
|
||||
# Date : fev 1999
|
||||
# Description :
|
||||
#
|
||||
# (C) Czo 1998,99
|
||||
# This code is released under GPL
|
||||
#
|
||||
# $Id: hypreset,v 1.2 2000/06/06 15:34:00 czo Exp $
|
||||
#
|
||||
|
||||
PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/bin:/usr/local/bin:${PATH}
|
||||
TMPWORKDIR=/tmp/hypczo
|
||||
WML=/users/largo2/webmastr/wwwroot/mailing-lists
|
||||
LOCK=/usr/local/listes/.etc/rc.lock
|
||||
HMRC=/users/largo1/czo/cvslargo/listes-rules/hypermail/.hmrc
|
||||
SPLIT=/users/largo1/czo/cvslargo/listes-rules
|
||||
|
||||
#lock
|
||||
touch $LOCK
|
||||
|
||||
rm -fr "$TMPWORKDIR"
|
||||
cd $WML
|
||||
|
||||
echo "--> Sleep 5 sec and check..."
|
||||
sleep 5
|
||||
RES=`ps auxww | grep "hypermail" | grep -v grep`
|
||||
if [ "$?" -eq 0 ]
|
||||
then
|
||||
echo "ERROR: hypermail running"
|
||||
else
|
||||
echo "--> generating..."
|
||||
|
||||
#for MBOX in alliance-support
|
||||
for MBOX in alliance-programmers alliance-support alliance-users archi help
|
||||
do
|
||||
echo "--> $MBOX..."
|
||||
mkdir -p "$TMPWORKDIR"
|
||||
cd "$WML/$MBOX"
|
||||
find . -type d -maxdepth 1 -mindepth 1 | xargs rm -fr dummy
|
||||
|
||||
cat "$WML/$MBOX/$MBOX.mbox" | formail -s $SPLIT/splitmailbyyear
|
||||
|
||||
echo %%%%%%%%%%%%%%%%%%%
|
||||
for YEARBOX in `find /tmp/hypczo -type f -printf "%P\n"`
|
||||
do
|
||||
echo $YEARBOX
|
||||
/usr/local/bin/hypermail -c $HMRC -p -x -l "$MBOX '$YEARBOX" -d "$WML/$MBOX/$YEARBOX" -m "/tmp/hypczo/$YEARBOX"
|
||||
done
|
||||
rm -fr "$TMPWORKDIR"
|
||||
|
||||
done
|
||||
fi
|
||||
|
||||
rm -f $LOCK
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
gawk '
|
||||
BEGIN {FIRST=1;}
|
||||
{
|
||||
if (FIRST)
|
||||
{
|
||||
FIRST=0;
|
||||
# ca cest du bug...
|
||||
if ( $0 ~ /no email/ )
|
||||
gsub(/\(no email\)/,"NOMAIL");
|
||||
|
||||
YEAR=$7;
|
||||
if (YEAR<1990) {YEAR=2000}
|
||||
}
|
||||
|
||||
print $0 >> "/tmp/hypczo/"YEAR ;
|
||||
}'
|
|
@ -1,231 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.alliance
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:59
|
||||
# Edit Time: 0:15:08
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.alliance,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/slash/alliance
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/alliance.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot/slash" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.allsite
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 15:30
|
||||
# Edit Time: 0:36:41
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.allsite,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/allsite.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tar.gz .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains bkp CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,232 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.alml
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:58
|
||||
# Edit Time: 0:22:12
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.alml,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mailing-lists/alliance-programmers
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mailing-lists/alliance-support
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mailing-lists/alliance-users
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/alml.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.education
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:58
|
||||
# Edit Time: 0:17:04
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.education,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/education
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/education.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,231 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.intranet
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:58
|
||||
# Edit Time: 0:17:51
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.intranet,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/intranet
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mailing-lists/archi
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mailing-lists/help
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/intranet.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.mpc
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:59
|
||||
# Edit Time: 0:18:15
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.mpc,v 1.1 2000/06/06 16:50:13 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/mpc
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/mpc.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,229 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.multimedia
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:59
|
||||
# Edit Time: 0:19:30
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.multimedia,v 1.1 2000/06/06 16:50:14 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/multimedia
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/multimedia.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.publications
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:59
|
||||
# Edit Time: 0:20:05
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.publications,v 1.1 2000/06/06 16:50:14 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/publications
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/publications.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,231 +0,0 @@
|
|||
# swish-e configuration file
|
||||
#
|
||||
# Filename: .swisherc.users
|
||||
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
|
||||
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
# Started: April 2000
|
||||
# Last Change: Friday 12 May 2000, 14:59
|
||||
# Edit Time: 0:21:49
|
||||
# Description: swish-e -c /users/largo1/czo/cvslargo/www/cgi-bin/czo/.swisherc.alliance
|
||||
#
|
||||
# $Id: .swisherc.users,v 1.1 2000/06/06 16:50:14 czo Exp $
|
||||
#
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
|
||||
# ypcat passwd | grep users\/cao | gawk -F : '{printf ("IndexDir %s\/public_html\n", $6)}' | sort -u
|
||||
|
||||
IndexDir /users/largo2/webmastr/wwwroot/homepages
|
||||
|
||||
IndexFile /users/largo1/czo/cvslargo/www/cgi-bin/czo/users.dat
|
||||
|
||||
ReplaceRules replace "/users/largo2/webmastr/wwwroot" "http://www-asim.lip6.fr"
|
||||
|
||||
IndexName "Asim Lab. index"
|
||||
IndexDescription "Index by Czo"
|
||||
IndexPointer "http://www-asim.lip6.fr/"
|
||||
IndexAdmin "Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>"
|
||||
|
||||
|
||||
# YOU SHOULD NOT CHANGE BELOW. Czo.
|
||||
#######################################################
|
||||
|
||||
# DIRECTIVES COMMON to HTTP and FILESYSTEM METHODS
|
||||
###################################################
|
||||
# WINDOWS USERS NOTE:
|
||||
# Specify ALL files and directory paths in the
|
||||
# the config file using the forward slash, as
|
||||
# in /thisdirectory.
|
||||
#
|
||||
###################################################
|
||||
|
||||
# IndexDir http://www.lib.berkeley.edu/~ghill/spider.html
|
||||
# For the FileSystem Method:
|
||||
# This is a space-separated list of files and
|
||||
# directories you want indexed. You can specify
|
||||
# more than one of these directives.
|
||||
#
|
||||
# For the HTTP Method:
|
||||
# Use the URL's from which you want the spidering
|
||||
# to begin.
|
||||
# NOTE: use hmtl files rather than directories
|
||||
# for this method.
|
||||
|
||||
# IndexFile /home/ghill/swishRon/dir1/myindex1
|
||||
# This is what the generated index file will be.
|
||||
|
||||
# IndexName "Improvement index"
|
||||
# IndexDescription "This is an index to test bug fixes in swish."
|
||||
# IndexPointer "http://sunsite/~ghill/swish/index.html"
|
||||
# IndexAdmin "Giulia Hill, (ghill@library.berkeley.edu)"
|
||||
# Extra information you can include in the index file.
|
||||
|
||||
MetaNames first author
|
||||
# List of all the meta names used in the file to index, must be on one line.
|
||||
# If no metanames DO NOT deleted the line.
|
||||
|
||||
IndexReport 3
|
||||
# This is how detailed you want reporting. You can specify numbers
|
||||
# 0 to 3 - 0 is totally silent, 3 is the most verbose.
|
||||
|
||||
FollowSymLinks no
|
||||
# Put "yes" to follow symbolic links in indexing, else "no".
|
||||
|
||||
#UseStemming no
|
||||
# Put yes to apply word stemming algorithm during indexing,
|
||||
# else no. See the manual for info about stemming. Default is
|
||||
# no.
|
||||
|
||||
#PropertyNames author
|
||||
# List of meta tags names that can be retrieved with the -p option.
|
||||
# Index size increases as by the formula in the manual.
|
||||
# Comment out if no PropertyNames. Case insensitive
|
||||
|
||||
IgnoreTotalWordCountWhenRanking yes
|
||||
# Put yes to ignore the total number of words in the file
|
||||
# when calculating ranking. Often better with merges and
|
||||
# small files. Default is no.
|
||||
|
||||
#ReplaceRules remove "ghill/"
|
||||
#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
|
||||
#ReplaceRules replace "/ghill" "moreghillmore"
|
||||
# ReplaceRules allow you to make changes to file pathnames
|
||||
# before they're indexed. This directive uses C library
|
||||
# regex.h regular expressions.
|
||||
# NOTE: do not use replace <string> "" to remove a string,
|
||||
# use remove <string> instead - you might get a core dump otherwise.
|
||||
|
||||
MinWordLimit 2
|
||||
# Set the minimum length of an indexable word. Every shorter word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#MaxWordLimit 5
|
||||
# Set the maximum length of an indexable word. Every longer word
|
||||
# will not be indexed.
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
|
||||
# WORDCHARS is a string of characters which SWISH permits to
|
||||
# be in words. Any strings which do not include these characters
|
||||
# will not be indexed. You can choose from any character in
|
||||
# the following string:
|
||||
#
|
||||
# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
|
||||
#
|
||||
# Note that if you omit "0123456789&#;" you will not be able to
|
||||
# index HTML entities. DO NOT use the asterisk (*), lesser than
|
||||
# and greater than signs (<), (>), or colon (:).
|
||||
#
|
||||
# Including any of these four characters may cause funny things to happen.
|
||||
# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
|
||||
# Commenting out the line will give the defaults
|
||||
|
||||
#BeginCharacters m"
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
#EndCharacters \"\
|
||||
# Of the characters that you decide can go into words, this is
|
||||
# a list of characters that words can begin with. It should be
|
||||
# a subset of (or equal to) WordCharacters
|
||||
# Same rule of syntax as for WordCharacters
|
||||
|
||||
# IgnoreLastChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the end. It is important to also
|
||||
# set the given char's in the ENDCHARS array, otherwise the word will not
|
||||
# be indexed because considered invalid.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
# IgnoreFirstChar
|
||||
# Array that contains the char that, if considered valid in the middle of
|
||||
# a word need to be disreguarded when at the beginning. This was to solve
|
||||
# the problem of parenthesis when there is no space between ( and the
|
||||
# beginning of the word.
|
||||
# Remember to add the char's to the BEGINCHARS list also.
|
||||
# Commenting out the line will give the defaults
|
||||
# NOTE: if " is the first char in the string it needs to be escaped with \
|
||||
# Do not escape otherwise
|
||||
|
||||
IgnoreLimit 50 1000
|
||||
# This automatically omits words that appear too often in the files
|
||||
# (these words are called stopwords). Specify a whole percentage
|
||||
# and a number, such as "80 256". This omits words that occur in
|
||||
# over 80% of the files and appear in over 256 files. Comment out
|
||||
# to turn of auto-stopwording.
|
||||
|
||||
#IgnoreWords SwishDefault
|
||||
# The IgnoreWords option allows you to specify words to ignore.
|
||||
# Comment out for no stopwords; the word "SwishDefault" will
|
||||
# include a list of default stopwords. Words should be separated by spaces
|
||||
# and may span multiple directives.
|
||||
|
||||
IndexComments 0
|
||||
# This option allows the user decide if to index the comments in the files
|
||||
# default is 1. Set to 0 if comment indexing is not required.
|
||||
|
||||
##################################
|
||||
# DIRECTIVES for FILESYSTEMS ONLY
|
||||
# Comment out if using HTTP
|
||||
###################################
|
||||
|
||||
#IndexOnly .html .q
|
||||
# Only files with these suffixes will be indexed.
|
||||
|
||||
NoContents .gif .xbm .au .mov .mpg .pdf .ps .jpg .jpeg
|
||||
NoContents .gz .Z .tar .tgz .mbox .hqx .zip .ZIP .HQX .ARJ .arj .bin .dat
|
||||
NoContents .exe
|
||||
# Files with these suffixes will not have their contents indexed -
|
||||
# only their file names will be indexed.
|
||||
|
||||
FileRules pathname contains CVS RCS cgi-bin tmp
|
||||
FileRules pathname contains .*dir1
|
||||
FileRules pathname contains private
|
||||
FileRules filename contains % ~ .bak .orig .old old. #
|
||||
#FileRules title contains construction example pointers
|
||||
FileRules directory contains .htaccess
|
||||
#FileRules filename is index
|
||||
# Files matching the above criteria will *not* be indexed.
|
||||
# The patter matching uses the C library regex.h
|
||||
|
||||
################################
|
||||
# DIRECTIVES for HTTP METHOD ONLY
|
||||
# Comment out if using FILESYSTEM
|
||||
##################################
|
||||
|
||||
#MaxDepth 15
|
||||
#(default 5) This defines how many links the spider should
|
||||
#follow before stopping. A value of 0 configures the spider to
|
||||
#traverse all links
|
||||
|
||||
#Delay 60
|
||||
#(default 60) The number of seconds to wait between issuing
|
||||
#requests to a server.
|
||||
|
||||
#TmpDir /tmp/
|
||||
#(default /var/tmp) The location of a writeable temp directory
|
||||
#on your system. The HTTP access method tells the Perl helper to place
|
||||
#its files there.
|
||||
|
||||
#SpiderDirectory ./
|
||||
#(default ./) The location of the Perl helper
|
||||
#script. Remember, if you use a relative directory, it is relative to
|
||||
#your directory when you run SWISH-E, not to the directory that SWISH-E
|
||||
#is in.
|
||||
|
||||
#EquivalentServer http://asim.lip6.fr http://www-asim.lip6.fr
|
||||
# EquivalentServer http://sunsite.berkeley.edu:2000 http://sunsite.berkeley.edu
|
||||
#(default nothing) This allows you to deal with
|
||||
#servers that use respond to multiple DNS names. Each line should have
|
||||
#a list of all the method/names that should be considered equivalent.
|
||||
#If you have multiple directives, each one defines its own set of equivalent
|
||||
#servers.
|
||||
|
||||
|
||||
|
|
@ -1,147 +0,0 @@
|
|||
#!/usr/local/bin/perl
|
||||
#######################################################################
|
||||
# Audric's Counter v1.0 FREEWARE
|
||||
# Full copyright and legal speak at:
|
||||
# http://www.aimsweb.com/goodies/counter2.htm
|
||||
#
|
||||
# Inspired on Matt's Wright Counter program
|
||||
# Matt's Script Archive http://www.worldwidemart.com/scripts/
|
||||
#######################################################################
|
||||
|
||||
# Define Variables
|
||||
|
||||
### FILE AND DIRECTORY LOCATIONS, REFERERS ###
|
||||
$count_file = "/users/cao7/czo/public_html/cgi-bin/count.txt"; # must be chmod 777
|
||||
$digit_dir = "/ssi/";
|
||||
$access_log = "/users/cao7/czo/public_html/cgi-bin/access_log"; # must be chmod 777
|
||||
$error_log = "/users/cao7/czo/public_html/cgi-bin/error_log"; # must be chmod 777
|
||||
|
||||
# If someone wants to use your counter from theri pages and their domain
|
||||
# is not contained into @refers show them this gif.
|
||||
$bad_referer_img = "http://www.aimsweb.com/images/bad_referer.gif";
|
||||
|
||||
# Domains you want to allow to use this script
|
||||
@referers=(
|
||||
"lip6.fr",
|
||||
"127.0.0.1"
|
||||
);
|
||||
|
||||
### IMAGE SETTINGS ###
|
||||
# If you change the 0-9.gif set make sure you chage those accordingly
|
||||
$width = "9";
|
||||
$height = "20";
|
||||
|
||||
### OPTIONS ###
|
||||
$uselog = "1"; # 1 = YES; 0 = NO
|
||||
|
||||
# Done - You shouldn't need to change anything below this line..
|
||||
#######################################################################
|
||||
|
||||
#################
|
||||
# Get the Date For Logging Purposes
|
||||
if ($uselog == 1) {
|
||||
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
|
||||
$mon++; # fixes Matt's Counter bug
|
||||
if ($sec < 10) { $sec = "0$sec"; }
|
||||
if ($min < 10) { $min = "0$min"; }
|
||||
if ($hour < 10) { $hour = "0$hour"; }
|
||||
if ($mday < 10) { $mday = "0$mday"; }
|
||||
if ($mon < 10) { $monc = "0$mon"; }
|
||||
$date = "$hour\:$min\:$sec $mon/$mday/$year";
|
||||
}
|
||||
|
||||
#################
|
||||
# Make Sure People Aren't Messing With the Counter From Other Web Pages
|
||||
#&check_referer;
|
||||
|
||||
#################
|
||||
# Get the Counter Number And Write New One to File
|
||||
&get_num;
|
||||
|
||||
#################
|
||||
# Determine Length of Counter Number
|
||||
# Set Individual Counter Numbers Into Associative Array
|
||||
$savedcount=$count;
|
||||
$num = $length = length($count);
|
||||
while ($num > 0) {
|
||||
$CHAR{$num} = chop($count);
|
||||
$num--;
|
||||
}
|
||||
|
||||
#################
|
||||
# Generates HTML to use pre-generated GIFs
|
||||
$j = 1;
|
||||
$myNumber="";
|
||||
while ($j <= $length) {
|
||||
$myNumber .= "<img src=\"$digit_dir$CHAR{$j}\.gif\" border=0 width=$width height=$height>";
|
||||
$j++;
|
||||
}
|
||||
|
||||
#################
|
||||
# Write the generated HTML to STDOUT
|
||||
print "Content-Type: text/html\n\n";
|
||||
print "<table border=0 cellspacing=0 cellpadding=0><tr><td>$myNumber</td></tr></table>\n";
|
||||
|
||||
|
||||
#################
|
||||
# Log the Counter Access
|
||||
if ($uselog == 1) {
|
||||
&log_access;
|
||||
}
|
||||
|
||||
exit;
|
||||
|
||||
|
||||
######################################################
|
||||
# SUBROUTINES
|
||||
######################################################
|
||||
|
||||
|
||||
#################
|
||||
sub check_referer {
|
||||
if (@referers && $ENV{'HTTP_REFERER'}) {
|
||||
foreach $referer (@referers) {
|
||||
if ($ENV{'HTTP_REFERER'} =~ /$referer/) {
|
||||
$ref = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
$ref = 1;
|
||||
}
|
||||
|
||||
if ($ref != 1) {
|
||||
print "Content-Type: text/html\n\n $bad_referer_img\n\n";
|
||||
|
||||
if ($uselog == 1) {
|
||||
open(LOG,">>$error_log") || die "Can't Open User Error Log: $!\n";
|
||||
print LOG "$error: $ENV{'REMOTE_HOST'} [$date] $ENV{'HTTP_REFERER'} - $ENV{'HTTP_USER_AGENT'}\n";
|
||||
close(LOG);
|
||||
}
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
#################
|
||||
sub get_num {
|
||||
open(COUNT,"$count_file") || die "Can't Open Count Data File: $!\n";
|
||||
$count = <COUNT>;
|
||||
close(COUNT);
|
||||
if ($count =~ /\n$/) {
|
||||
chop($count);
|
||||
}
|
||||
|
||||
$count++;
|
||||
|
||||
open(COUNT,">$count_file") || die "Can't Open Count Data File For Writing: $!\n";
|
||||
print COUNT "$count";
|
||||
close(COUNT);
|
||||
}
|
||||
|
||||
#################
|
||||
sub log_access {
|
||||
open(LOG,">>$access_log") || die "Can't Open User Access Log: $!\n";
|
||||
print LOG "[$date] $ENV{'HTTP_REFERER'} - $ENV{'REMOTE_HOST'} - $ENV{'HTTP_USER_AGENT'}\n";
|
||||
close(LOG);
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
#!/usr/local/bin/perl -w
|
||||
use CGI;
|
||||
|
||||
#start_multipart_form();
|
||||
$query = new CGI;
|
||||
|
||||
|
||||
$TMP="/tmp/ExecAsimut.$$" ;
|
||||
|
||||
mkdir ($TMP , 0777) ;
|
||||
|
||||
print "Content-type: text/html\n\n";
|
||||
#while (($key, $val) = each %ENV) {
|
||||
# print "$key = $val<BR>\n";
|
||||
#}
|
||||
|
||||
print "<HTML>\n";
|
||||
print "<head>\n";
|
||||
print "<Title> Simulation Asimut</Title>\n";
|
||||
print "</head>\n";
|
||||
print "<body>\n";
|
||||
print "<PRE>\n";
|
||||
|
||||
# Read a text file and print it out
|
||||
# while (<$filename>) {
|
||||
# print "$_<BR>\n\n";
|
||||
# }
|
||||
|
||||
# $type = $query->uploadInfo($filename)->{'Content-Type'};
|
||||
# unless ($type eq 'text/html') {
|
||||
# die "HTML FILES ONLY!";
|
||||
# }
|
||||
|
||||
$filename = $query->param('vbe');
|
||||
#print "<BR><BR>$filename<BR>\n\n";
|
||||
|
||||
# Copy a binary file to somewhere safe
|
||||
open (OUTFILE,">>$TMP/description.vbe");
|
||||
while ($bytesread=read($filename,$buffer,1024)) {
|
||||
print OUTFILE $buffer;
|
||||
}
|
||||
close (OUTFILE);
|
||||
|
||||
$filename = $query->param('pat');
|
||||
|
||||
open (OUTFILE,">>$TMP/unproc_patterns.pat");
|
||||
while ($bytesread=read($filename,$buffer,1024)) {
|
||||
print OUTFILE $buffer;
|
||||
}
|
||||
close (OUTFILE);
|
||||
|
||||
|
||||
|
||||
#exec ( "( sleep 50 ; /asim/gnu/bin/rm -fr $TMP ) & " ) ;
|
||||
#print "<BR>Exec done...\n<BR>";
|
||||
|
||||
open ( RESULT, "( cd $TMP ; . /users/soft5/newlabo/alliance/share/etc/alc_env.sh ; asimut -b description unproc_patterns res_patterns ) 2>&1 |" );
|
||||
|
||||
while (<RESULT>) {
|
||||
print ;
|
||||
}
|
||||
close RESULT ;
|
||||
print "<BR>done...\n<BR>";
|
||||
print "<BR>Vous pouvez recuper le fichier de pat simulé <a href=$TMP/res_patterns.pat>ici</a>\n<BR>";
|
||||
print "</PRE>\n";
|
||||
|
||||
|
||||
print "</body>\n";
|
||||
print "</HTML>\n";
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
#!/usr/local/bin/bash
|
||||
|
||||
# disable filename globbing
|
||||
set -f
|
||||
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
# echo "argc is '"$#"' argv is '"$*"'"
|
||||
# pwd
|
||||
|
||||
# echo $REQUEST_URI
|
||||
|
||||
URI="${DOCUMENT_ROOT}${REQUEST_URI}"
|
||||
|
||||
res=`echo $URI | grep \/$`
|
||||
if [ X"$res"Y != XY ]
|
||||
then
|
||||
URI=${URI}index.html
|
||||
fi
|
||||
|
||||
URI_ROOT=`echo $URI | sed 's,\/[^\/]*$,/,'`
|
||||
URI_DOC=`echo $URI | sed 's,^.*\/,,' | sed 's,\.gb\.html$,,' | sed 's,\.fr\.html$,,' | sed 's,\.html$,,'`
|
||||
|
||||
#echo $URI_ROOT
|
||||
#echo $URI_DOC
|
||||
|
||||
FILE0="${URI_ROOT}${URI_DOC}.html"
|
||||
FILE1="${URI_ROOT}${URI_DOC}.fr.html"
|
||||
FILE2="${URI_ROOT}${URI_DOC}.gb.html"
|
||||
|
||||
|
||||
if [ -f "$FILE0" -a -f "$FILE1" -a -f "$FILE2" ]
|
||||
then
|
||||
|
||||
cat << EOF
|
||||
|
||||
<Center>
|
||||
<A href=${URI_DOC}.fr.html><img src="http://www-asim.lip6.fr/ssi/img/flag_fr.gif" alt="[FRENCH]" width="34" height="27" border=0 ></A> <A href=${URI_DOC}.gb.html><img src="http://www-asim.lip6.fr/ssi/img/flag_gb.gif" alt="[ENGLISH]" width="34" height="27" border=0></A>
|
||||
<br clear=all>
|
||||
</Center>
|
||||
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
mv HIT.CFG hit.cfg
|
||||
mv HIT.CNT hit.cnt
|
||||
mv HIT.FLK hit.flk
|
||||
mv HIT.XBM hit.xbm
|
||||
mv HIT1.DAT hit1.dat
|
||||
mv HIT1.LOG hit1.log
|
||||
mv HIT10.DAT hit10.dat
|
||||
mv HIT11.DAT hit11.dat
|
||||
mv HIT12.DAT hit12.dat
|
||||
mv HIT2.DAT hit2.dat
|
||||
mv HIT2.LOG hit2.log
|
||||
mv HIT3.DAT hit3.dat
|
||||
mv HIT4.DAT hit4.dat
|
||||
mv HIT5.DAT hit5.dat
|
||||
mv HIT6.DAT hit6.dat
|
||||
mv HIT7.DAT hit7.dat
|
||||
mv HIT8.DAT hit8.dat
|
||||
mv HIT9.DAT hit9.dat
|
||||
mv HITCFG.PL hitcfg.pl
|
||||
mv HITMAN.PL hitman.pl
|
||||
mv HITMAT.CGI hitmat.cgi
|
||||
mv HITMAT.PWD hitmat.pwd
|
||||
mv HITXBM.PL hitxbm.pl
|
||||
mv HOW2HIT.TXT how2hit.txt
|
||||
mv SINCE.XBM since.xbm
|
|
@ -1 +0,0 @@
|
|||
1|1|1|N|
|
|
@ -1,4 +0,0 @@
|
|||
#define hit_width 1
|
||||
#define hit_height 1
|
||||
static char hit_bits[] = {
|
||||
0x00};
|
|
@ -1,215 +0,0 @@
|
|||
#! /usr/local/bin/perl
|
||||
#
|
||||
# HITCFG.PL
|
||||
# File maintenance module required by HITMATIC
|
||||
#
|
||||
# Filename: hitcfg.pl
|
||||
# Last revised: July 08, 1998
|
||||
# Copyright: 1997,1998 by Joe DePasquale
|
||||
# E-Mail: crypt@getcruising.com
|
||||
# Website: http://www.GetCruising.com
|
||||
#
|
||||
########################################################################
|
||||
# #
|
||||
# This script and accompanying files may be distributed freely #
|
||||
# and modified, provided this header with my name, E-Mail address and #
|
||||
# this notice remain intact. Ownership rights remain with me. You may #
|
||||
# not sell this script without my approval. #
|
||||
# #
|
||||
# This script comes with no guarantee or warranty except for my good #
|
||||
# intentions. By using this code you agree to indemnify me from any #
|
||||
# liability that might arise from it's use. #
|
||||
# #
|
||||
# There is no technical support for this script, neither am I a #
|
||||
# professional programmer. Refer to 'HELPME.TXT' for further guidance. #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
sub checkCfg # Maintain hit.log, hitx.dat and hit.cfg
|
||||
{
|
||||
open (CFG,"+<$HITCFG") || &endIt;
|
||||
flock (CFG,2); seek (CFG,0,0);
|
||||
$cfgFile = <CFG>;
|
||||
($logDay,$datMonth,$cntMonth,$cntFlag,$eol) = split (/\|/,$cfgFile);
|
||||
|
||||
# If not done since midnight ...
|
||||
|
||||
# If new day, add daily hits to month file
|
||||
if ($logDay != $dayStamp)
|
||||
{ &newDay;
|
||||
}
|
||||
# If new month, empty last year's month file and update cfg
|
||||
if ($datMonth+0 != $month)
|
||||
{ &newMonth;
|
||||
}
|
||||
# If new count, recount hits since cntMonth
|
||||
if ($cntFlag eq 'Y')
|
||||
{ require "./hitxbm.pl";
|
||||
&newCount;
|
||||
}
|
||||
close (CFG);
|
||||
} # end checkCfg
|
||||
|
||||
sub newDay
|
||||
{
|
||||
$HITDAT = "$HITMON$datMonth.dat";
|
||||
@dyinMon = (0,31,28,31,30,31,30,31,31,30,31,30,31);
|
||||
$dyinMon = $dyinMon[$datMonth];
|
||||
|
||||
open (DAT,"+<$HITDAT") || &endIt;
|
||||
flock (DAT,2); seek (DAT,0,0);
|
||||
@hitDat = <DAT>;
|
||||
|
||||
# Backup monthly data if trigger
|
||||
if ($bakFlag eq 'Y' && ($jDate % $bakTime ==0) && !-e $HITBAK)
|
||||
{ &backUp (@hitDat);
|
||||
}
|
||||
|
||||
# add this month's hits to Tbl hash
|
||||
foreach $hitLine (@hitDat)
|
||||
{ @hits = split (/\|/,$hitLine);
|
||||
$page = $hits[0];
|
||||
|
||||
$Tbl{$page}[0] = $page;
|
||||
for $day (1..$dyinMon)
|
||||
{ $Tbl{$page}[$day] += $hits[$day];
|
||||
}
|
||||
$Index{$page} = 'Y';
|
||||
}
|
||||
|
||||
# Read log file
|
||||
open (LOG1,"+<$HITLOG1") || &endIt;
|
||||
flock (LOG1,2); seek (LOG1,0,0);
|
||||
@logFile = <LOG1>;
|
||||
|
||||
# add yesterday's hits to Tbl hash
|
||||
foreach $logLine (@logFile)
|
||||
{ @log = split (/\|/,$logLine,3);
|
||||
$page = $log[1];
|
||||
|
||||
# must create new line if no previous hits
|
||||
if (!$Tbl{$page}[0])
|
||||
{ $Tbl{$page}[0] = $page;
|
||||
for $day (1..$dyinMon)
|
||||
{ $Tbl{$page}[$day] +=0;
|
||||
}
|
||||
$Index{$page} = 'Y';
|
||||
}
|
||||
$Tbl{$page}[$logDay]++;
|
||||
|
||||
# Count unique ip visitors per group on logday
|
||||
# $group,$foo = split (/\+/,$page);
|
||||
# if (!$Ip{$ENV{'REMOTE_ADDR'}}{$group}
|
||||
# { $Ip{$ENV{'REMOTE_ADDR'}}{$group} = 'Y';
|
||||
# $Tbl{"~IP\+$group"}[$logDay] ++;
|
||||
# }
|
||||
#
|
||||
|
||||
}
|
||||
|
||||
# write updated Tbl back to file
|
||||
seek (DAT,0,0);
|
||||
|
||||
foreach $page (sort {uc($a) cmp uc($b)} keys %Index)
|
||||
{ $line = '';
|
||||
for $day (0..$dyinMon)
|
||||
{ $line .= "$Tbl{$page}[$day]\|";
|
||||
}
|
||||
print DAT "$line\n";
|
||||
}
|
||||
truncate (DAT,tell(DAT)); close (DAT);
|
||||
|
||||
open (LOG2,">$HITLOG2") || &endIt;
|
||||
flock (LOG2,2); seek (LOG2,0,0);
|
||||
print (LOG2 @logFile);
|
||||
truncate (LOG2,tell(LOG2)); close (LOG2);
|
||||
|
||||
truncate (LOG1,0); close (LOG1);
|
||||
|
||||
$logDay = $dayStamp;
|
||||
&changeCfg;
|
||||
|
||||
} # end newDay
|
||||
|
||||
sub newMonth
|
||||
{
|
||||
# Empty last year's month file and update cfg if new month
|
||||
$datMonth = $month;
|
||||
$HITDAT = "$HITMON$datMonth.dat";
|
||||
|
||||
open (DAT,">$HITDAT") || &endIt;
|
||||
flock (DAT,2);
|
||||
truncate (DAT,0); close (DAT);
|
||||
&changeCfg;
|
||||
|
||||
} # end newMonth
|
||||
|
||||
sub newCount
|
||||
{
|
||||
foreach $x (1..12)
|
||||
{ if (($cntMonth <= $monthStamp && $x >= $cntMonth && $x <= $monthStamp)
|
||||
|| ($cntMonth > $monthStamp && ($x <= $monthStamp || $x >= $cntMonth)))
|
||||
{
|
||||
$HITDAT = "$HITMON$x.dat";
|
||||
open (DAT,"<$HITDAT") || &endIt;
|
||||
flock (DAT,1); seek (DAT,0,0);
|
||||
while ($hitLine = <DAT>)
|
||||
{ @hits = split (/\|/,$hitLine);
|
||||
$page = $hits[0];
|
||||
foreach $day (1..31)
|
||||
{ $PageTtl{$page} += $hits[$day];
|
||||
}
|
||||
}
|
||||
close (DAT);
|
||||
}
|
||||
}
|
||||
# Create a new hit.cnt file with this data
|
||||
while (($pagecode,$pagecount) = each %PageTtl)
|
||||
{ $addLine = join ("\|",$pagecount,$pagecode,"\n");
|
||||
push @inFile, $addLine;
|
||||
}
|
||||
@outFile = sort {($b =~ /(\d+)/)[0] <=> ($a =~ /(\d+)/)[0]} @inFile;
|
||||
|
||||
open (CNT,">$HITCNT") || &endIt;
|
||||
flock (CNT,2); seek (CNT,0,0);
|
||||
print (CNT @outFile);
|
||||
truncate (CNT,tell(CNT));
|
||||
close (CNT);
|
||||
|
||||
if ($monthStamp >= $cntMonth)
|
||||
{ $year = $yearStamp +0;
|
||||
} else
|
||||
{ $year = $yearStamp -1;
|
||||
}
|
||||
&makeXbm ("$cntMonth".substr("$year",2,2),4,"$hitmatDir/$SINCEXBM");
|
||||
|
||||
$cntFlag = '';
|
||||
&changeCfg;
|
||||
} # end newCount
|
||||
|
||||
sub changeCfg # update hit cfg file
|
||||
{
|
||||
$cfgFile = join ("\|",$logDay,$datMonth,$cntMonth,$cntFlag,$eol);
|
||||
seek (CFG,0,0);
|
||||
print (CFG $cfgFile);
|
||||
truncate (CFG,tell(CFG));
|
||||
} # end changeCfg
|
||||
|
||||
sub backUp # Backup data and delete old backups
|
||||
{
|
||||
@bakData = @_;
|
||||
open (BAK,">$HITBAK") || &endIt;
|
||||
print (BAK @bakData);
|
||||
close (BAK);
|
||||
chmod 0666, $HITBAK;
|
||||
|
||||
opendir (BAKDIR,$bakDir);
|
||||
@bakFiles = grep (/hit\d{3}\.bak/, readdir(BAKDIR));
|
||||
closedir (BAKDIR);
|
||||
|
||||
foreach $bakFile (@bakFiles)
|
||||
{ if (-M "$bakDir/$bakFile" > $bakMax) { unlink "$bakDir/$bakFile"; }
|
||||
}
|
||||
} # end backup
|
||||
|
||||
1; # return true
|
|
@ -1,435 +0,0 @@
|
|||
#! /usr/local/bin/perl
|
||||
#
|
||||
# HITMAN - The HITMATIC Manager
|
||||
# Displays and reports various hit count statistics.
|
||||
#
|
||||
# Filename: hitman.pl
|
||||
# Last revised: March 15, 1998
|
||||
# Copyright: 1997,1998 by Joe DePasquale
|
||||
# E-Mail: crypt@getcruising.com
|
||||
# Website: http://www.GetCruising.com
|
||||
#
|
||||
########################################################################
|
||||
# #
|
||||
# This script and accompanying files may be distributed freely #
|
||||
# and modified, provided this header with my name, E-Mail address and #
|
||||
# this notice remain intact. Ownership rights remain with me. You may #
|
||||
# not sell this script without my approval. #
|
||||
# #
|
||||
# This script comes with no guarantee or warranty except for my good #
|
||||
# intentions. By using this code you agree to indemnify me from any #
|
||||
# liability that might arise from it's use. #
|
||||
# #
|
||||
# There is no technical support for this script, neither am I a #
|
||||
# professional programmer. Refer to 'HELPME.TXT' for further guidance. #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
sub hitman {
|
||||
|
||||
@labels = ('Foo','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
|
||||
@dyinMon = (0,31,28,31,30,31,30,31,31,30,31,30,31);
|
||||
|
||||
# Parse form input
|
||||
read (STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
||||
@cgiPairs = split(/&/,$buffer);
|
||||
foreach $cgiPair (@cgiPairs)
|
||||
{
|
||||
($name, $value) = split(/=/,$cgiPair);
|
||||
$name =~ s/\+/ /g; $value =~ s/\+/ /g;
|
||||
$name =~ s/%(..)/pack("c",hex($1))/ge;
|
||||
$value =~ s/%(..)/pack("c",hex($1))/ge;
|
||||
$Form{$name} .= "\0" if (defined($Form{$name}));
|
||||
$Form{$name} .= "$value";
|
||||
}
|
||||
undef $name; undef $value;
|
||||
|
||||
print "Content-type: text/html\n\n";
|
||||
print "<html>\n<head><title>$headTitle</title></head>\n";
|
||||
print "$bodyTag\n$bodyTitle<p>\n";
|
||||
|
||||
&passtest ($HITPWD);
|
||||
print qq|<form action="$scriptUrl" method=POST>\n|;
|
||||
print qq|<input type=hidden name=password value="$Form{'password'}">\n|;
|
||||
|
||||
########################################################################
|
||||
# Case: View Hit stats by year
|
||||
|
||||
if ($Form{'hittable'})
|
||||
{
|
||||
if ($Form{'detail'} && $Form{'detail'} =~ /^(M|G|P)\|(.+)/)
|
||||
{
|
||||
if ($1 eq "M") # month
|
||||
{ $month = $2;
|
||||
print "<font size=4><b>Hits By MONTH for: $labels[$month] ";
|
||||
if ($monthStamp >= $month) {$year = $yearStamp +0;} else {$year = $yearStamp -1;}
|
||||
print "$year</b></font><br>\n";
|
||||
if ($year %4 == 0) { $dyinMon[2] = 29; }
|
||||
|
||||
# Read all data into hashes
|
||||
$total = 0;
|
||||
|
||||
$HITDAT = "$HITMON$month.dat";
|
||||
open (DAT,"<$HITDAT") || &endMan ("Read: $HITDAT");
|
||||
flock (DAT,1); seek (DAT,0,0);
|
||||
|
||||
while ($line = <DAT>)
|
||||
{ @hits = split (/\|/,$line);
|
||||
$page = $hits[0];
|
||||
if ($page =~ /(.+)\+(.+)/) { $group =$1; }
|
||||
|
||||
foreach $day (1..$dyinMon[$month])
|
||||
{ $Tbl{$page}{$day} += $hits[$day];
|
||||
$PageTtl{$page} += $hits[$day];
|
||||
if ($group)
|
||||
{ $Tbl{$group}{$day} += $hits[$day];
|
||||
$GroupTtl{$group} += $hits[$day];
|
||||
}
|
||||
$DayTtl{$day} += $hits[$day];
|
||||
}
|
||||
$total += $PageTtl{$page};
|
||||
}
|
||||
close (DAT);
|
||||
|
||||
@pages = sort {$PageTtl{$b} <=> $PageTtl{$a}} keys %PageTtl;
|
||||
@groups = sort {$GroupTtl{$b} <=> $GroupTtl{$a}} keys %GroupTtl;
|
||||
|
||||
print qq|<table border=$border width=50%><tr align=center>\n|;
|
||||
print qq|<td align=left><input type=reset value="RESET"><br><font color="#009900"><b>Days:</b></font></td>\n|;
|
||||
|
||||
foreach $day (1..$dyinMon[$month]) { print qq|<td><font color="#009900"><b>$day</b></font></td>|; }
|
||||
print qq|<td><font color="#0000FF"><b>Group<br>/Page<br>Totals</b></font></td>|;
|
||||
|
||||
# print group hit rows
|
||||
print qq|\n</tr><tr>\n<td><b>GROUPS:</b></td><td colspan=|,($dyinMon[$month]-1),qq|></td>|;
|
||||
|
||||
foreach $group (@groups)
|
||||
{ print qq|\n</tr><tr align=right>\n<td align=left> <input type=radio name=detail value="G\|$group"><font color="#0000FF">$group</font></td>|;
|
||||
foreach $day (1..$dyinMon[$month]) { print qq|<td>$Tbl{$group}{$day}</td>|; }
|
||||
print qq|<td>$GroupTtl{$group}</td>|;
|
||||
}
|
||||
# print page hit rows
|
||||
print qq|\n</tr><tr>\n<td><b>PAGES:</b></td><td colspan=|,($dyinMon[$month]-1),qq|></td>|;
|
||||
|
||||
foreach $page (@pages)
|
||||
{ print qq|\n</tr><tr align=right>\n<td align=left> <input type=radio name=detail value="P\|$page"><font color="#0000FF">$page</font></td>|;
|
||||
foreach $day (1..$dyinMon[$month]) { print qq|<td>$Tbl{$page}{$day}</td>|; }
|
||||
print qq|<td>$PageTtl{$page}</td>|;
|
||||
}
|
||||
print qq|\n</tr><tr align=right>\n<td nowrap align=center><font color="#009900"><b>Day Totals</b></font></td>|;
|
||||
|
||||
foreach $day (1..$dyinMon[$month]) { print qq|<td>$DayTtl{$day}</td>|; }
|
||||
print qq|<th>$total</th>|;
|
||||
print qq|\n</tr></table><br>Completed on $timeStamp\n<p>\n|;
|
||||
}
|
||||
else # group or page
|
||||
{
|
||||
print "<font size=4><b>Hits By ";
|
||||
if ($1 eq "G")
|
||||
{ $group = $2;
|
||||
print "GROUP for "$group"";
|
||||
} else
|
||||
{ $page = $2;
|
||||
print "PAGE for "$page"";
|
||||
}
|
||||
print "</b></font><br>\n";
|
||||
|
||||
# Read all data into hashes
|
||||
$total = 0;
|
||||
|
||||
foreach $month (1..12)
|
||||
{ $MonthTtl{$month} =0;
|
||||
$HITDAT = "$HITMON$month.dat";
|
||||
open (DAT,"<$HITDAT") || &endMan ("Read: $HITDAT");
|
||||
flock (DAT,1); seek (DAT,0,0);
|
||||
while ($line = <DAT>)
|
||||
{ @hits = split (/\|/,$line);
|
||||
if ($hits[0] eq $page || $hits[0] =~ /^$group\+/)
|
||||
{ foreach $day (1..31)
|
||||
{ $Tbl{$month}{$day} += $hits[$day];
|
||||
$DayTtl{$day} += $hits[$day];
|
||||
$MonthTtl{$month} += $Tbl{$month}{$day};
|
||||
}
|
||||
}
|
||||
}
|
||||
close (DAT);
|
||||
$total += $MonthTtl{$month};
|
||||
}
|
||||
print "<table border=$border><tr align=center>\n";
|
||||
print "<td align=left><input type=reset value=\"RESET\"><br><font color=\"#009900\"><b>Months:</b></font></td>\n";
|
||||
|
||||
# Print col headers and order the months
|
||||
$month = $monthStamp;
|
||||
do
|
||||
{ if ($month == 12) {$month =1;} else {$month++;}
|
||||
print "<td><input type=radio name=detail value=\"M\|$month\"><br><font color=\"#009900\"><b>$labels[$month]</b><br>";
|
||||
if ($month > $monthStamp) {$year = $yearStamp -1;} else {$year = $yearStamp +0;}
|
||||
print "$year</font></td>\n";
|
||||
push @monthCol, $month;
|
||||
} until ($month == $monthStamp);
|
||||
print "<td><font color=\"#0000FF\"><b>Day<br>Totals</b></font></td>";
|
||||
|
||||
foreach $day (1..31)
|
||||
{ print "\n</tr><tr align=right>\n<td><font color=\"#0000FF\"><b>$day</b></font></td>";
|
||||
foreach $month (@monthCol) { print "<td>$Tbl{$month}{$day}</td>"; }
|
||||
print "<td>$DayTtl{$day}</td>";
|
||||
}
|
||||
print "\n</tr><tr align=right>\n<td nowrap align=center><font color=\"#009900\"><b>Month Totals</b></font></td>";
|
||||
|
||||
foreach $month (@monthCol) { print "<td>$MonthTtl{$month}</td>"; }
|
||||
print "<th>$total</th>";
|
||||
print "\n</tr></table><br>Completed on $timeStamp\n<p>\n";
|
||||
}
|
||||
}
|
||||
else # default by year
|
||||
{
|
||||
print "<font size=4><b>Hits By YEAR as of $timeStamp</b></font><br>\n";
|
||||
# Read all data into hashes
|
||||
$total = 0;
|
||||
foreach $month (1..12)
|
||||
{ $MonthTtl{$month} =0;
|
||||
|
||||
$HITDAT = "$HITMON$month.dat";
|
||||
open (DAT,"<$HITDAT") || &endMan ("Read: $HITDAT");
|
||||
flock (DAT,1); seek (DAT,0,0);
|
||||
while ($line = <DAT>)
|
||||
{ @hits = split (/\|/,$line);
|
||||
$page = $hits[0];
|
||||
if ($page =~ /(.+)\+(.+)/) { $group =$1; }
|
||||
$Tbl{$month}{$page} =0;
|
||||
|
||||
foreach $day (1..31)
|
||||
{ $Tbl{$month}{$page} += $hits[$day];
|
||||
}
|
||||
$PageTtl{$page} += $Tbl{$month}{$page};
|
||||
$MonthTtl{$month} += $Tbl{$month}{$page};
|
||||
|
||||
if ($group)
|
||||
{ $Tbl{$month}{$group} += $Tbl{$month}{$page};
|
||||
$GroupTtl{$group} += $Tbl{$month}{$page};
|
||||
}
|
||||
}
|
||||
close (DAT);
|
||||
$total += $MonthTtl{$month};
|
||||
}
|
||||
# Sort by descending page total
|
||||
@pages = sort {$PageTtl{$b} <=> $PageTtl{$a}} keys %PageTtl;
|
||||
@groups = sort {$GroupTtl{$b} <=> $GroupTtl{$a}} keys %GroupTtl;
|
||||
|
||||
print "<table border=$border><tr align=center>\n";
|
||||
print "<td align=left><input type=reset value=\"RESET\"><br><font color=\"#009900\"><b>Months:</b></font></td>\n";
|
||||
|
||||
# Print col headers and order the months
|
||||
$month = $monthStamp;
|
||||
do
|
||||
{ if ($month == 12) {$month =1;} else {$month++;}
|
||||
print "<td><input type=radio name=detail value=\"M\|$month\"><br><font color=\"#009900\"><b>$labels[$month]</b><br>";
|
||||
if ($month > $monthStamp) {$year = $yearStamp -1;} else {$year = $yearStamp +0;}
|
||||
print "$year</font></td>\n";
|
||||
push @monthCol, $month;
|
||||
} until ($month == $monthStamp);
|
||||
print "<td><font color=\"#0000FF\"><b>Group<br>/Page<br>Totals</b></font></td>";
|
||||
|
||||
# print group hit rows
|
||||
print "\n</tr><tr>\n<td><b>GROUPS:</b></td><td colspan=13></td>";
|
||||
foreach $group (@groups)
|
||||
{ print "\n</tr><tr align=right>\n<td align=left><input type=radio name=detail value=\"G\|$group\"><font color=\"#0000FF\">$group</font></td>";
|
||||
foreach $month (@monthCol) { print "<td>$Tbl{$month}{$group}</td>"; }
|
||||
print "<td>$GroupTtl{$group}</td>";
|
||||
}
|
||||
|
||||
# print page hit rows
|
||||
print "\n</tr><tr>\n<td><b>PAGES:</b></td><td colspan=13></td>";
|
||||
foreach $page (@pages)
|
||||
{ print "\n</tr><tr align=right>\n<td align=left><input type=radio name=detail value=\"P\|$page\"><font color=\"#0000FF\">$page</font></td>";
|
||||
foreach $month (@monthCol) { print "<td>$Tbl{$month}{$page}</td>"; }
|
||||
print "<td>$PageTtl{$page}</td>";
|
||||
}
|
||||
# print month subtotal row
|
||||
print "\n</tr><tr align=right>\n<td nowrap align=center><font color=\"#009900\"><b>Month Totals</b></font></td>";
|
||||
|
||||
foreach $month (@monthCol) { print "<td>$MonthTtl{$month}</td>"; }
|
||||
print "<th>$total</th>";
|
||||
print "\n</tr></table><p>\n";
|
||||
} # end default by year
|
||||
|
||||
print <<__HITFORM;
|
||||
<table border=0 width=300>
|
||||
<tr><td><font color="#0000FF" size=5><b>Hit Tables</b></font></td></tr>
|
||||
<tr><td>For more detail select any <b>MONTH, GROUP or PAGE</b> button above, then..</td></tr>
|
||||
<tr><td>PRESS: <input type=submit name=hittable value=" HIT TABLES "></td></tr>
|
||||
<tr><td><font color="#0000FF" size=5><b>Hit Counter</b></font></td></tr>
|
||||
<tr><td>For the count <b>DISPLAYED</b> to users or to <b>RESET</b> counter date..</td></tr>
|
||||
<tr><td>PRESS: <input type=submit value="HIT COUNTER"></td></tr>
|
||||
</table>
|
||||
__HITFORM
|
||||
&manFooter;
|
||||
} # end case hittable
|
||||
|
||||
########################################################################
|
||||
# Case: Flag to reset hitcount at next daily maintenance
|
||||
|
||||
elsif ($Form{'resetcount'})
|
||||
{
|
||||
open (LOCK,">$HITFLK") || &endMan ("Write: $HITFLK");
|
||||
if (!flock (LOCK,2)) { &endMan ("Lock: $HITFLK"); }
|
||||
|
||||
# Write new cnt date to CFG
|
||||
open (CFG,"+<$HITCFG") || &endMan ("Read\/Write: $HITCFG");
|
||||
flock (CFG,2); seek (CFG,0,0);
|
||||
$cfgFile = <CFG>;
|
||||
($logDay,$datMonth,$cntMonth,$cntFlag,$eol) = split (/\|/,$cfgFile);
|
||||
|
||||
$cntMonth = $Form{'setmonth'} +0;
|
||||
$cntFlag = 'Y';
|
||||
$cfgFile = join ("\|",$logDay,$datMonth,$cntMonth,$cntFlag,$eol);
|
||||
|
||||
seek (CFG,0,0);
|
||||
print (CFG $cfgFile);
|
||||
truncate (CFG,tell(CFG)); close (CFG);
|
||||
close (LOCK);
|
||||
|
||||
print "<b>Hit Counter</b> will be reset at next daily maintenance<br>\n to <b>$labels[$cntMonth] 1, $year</b>\n<p>\n";
|
||||
|
||||
&hitCount;
|
||||
&manFooter;
|
||||
} # end resetcount
|
||||
|
||||
########################################################################
|
||||
# Default Case: Display hitcount
|
||||
|
||||
else
|
||||
{ &hitCount;
|
||||
&manFooter;
|
||||
} # end default
|
||||
} # end hitman
|
||||
|
||||
########################################################################
|
||||
|
||||
sub hitCount # Display hitcount
|
||||
{
|
||||
open (CNT,"<$HITCNT") || &endMan ("Read: $HITCNT");
|
||||
flock (CNT,1); seek (CNT,0,0);
|
||||
@hitFile = <CNT>;
|
||||
close (CNT);
|
||||
|
||||
print "<table border=$border><tr>\n<th>HITS</th><th>by PAGECODE</th>\n";
|
||||
$hitTtl =0;
|
||||
for ($x=0; $x<=$#hitFile; $x++)
|
||||
{ print "\n</tr><tr>\n";
|
||||
($count,$code,$eol) = split (/\|/,$hitFile[$x]);
|
||||
if ($code =~/\+/)
|
||||
{ ($group,$page) = split (/\+/,$code);
|
||||
$GroupTtl{$group} += $count;
|
||||
}
|
||||
print "<td align=right>$count</td><td>$code</td>";
|
||||
$hitTtl = $hitTtl + $count;
|
||||
}
|
||||
print "\n</tr></table><p>\n";
|
||||
|
||||
if ($group)
|
||||
{ print "<table border=$border><tr>\n<th>HITS</th><th>by GROUP</th>\n";
|
||||
@groups = sort {$GroupTtl{$b} <=> $GroupTtl{$a}} keys %GroupTtl;
|
||||
foreach $group (@groups)
|
||||
{ print "\n</tr><tr>\n";
|
||||
print "<td align=right>$GroupTtl{$group}</td><td>$group</td>";
|
||||
}
|
||||
print "\n</tr></table><p>\n";
|
||||
}
|
||||
open (CFG,"<$HITCFG") || &endMan ("Read: $HITCNT");
|
||||
flock (CFG,1); seek (CFG,0,0);
|
||||
$cfgFile = <CFG>;
|
||||
close (CFG);
|
||||
|
||||
($logDay,$datMonth,$cntMonth,$cntFlag,$eol) = split (/\|/,$cfgFile);
|
||||
|
||||
print "<b>Total: $hitTtl hits for $x pages since $labels[$cntMonth] 1, ";
|
||||
if ($monthStamp >= $cntMonth) {$year = $yearStamp +0;} else {$year = $yearStamp -1;}
|
||||
print "$year</b>\n<br>Completed at $timeStamp\n<p>\n";
|
||||
|
||||
print qq|<table border=0 width=300>\n<tr><td><font color="#0000FF"><font size=5><b>Hit Counter</b></font></font></td</tr>\n|;
|
||||
print qq|<tr><td>To reset the counter and starting date, select a starting <b>MONTH</b> and press <b>CHANGE</b>. A new image of the <b>SINCE</b> date will also be created.</td></tr>\n|;
|
||||
print qq|<tr><td>SINCE: <select name=setmonth size=1>\n|;
|
||||
for $x (1..12)
|
||||
{ if ($x == $cntMonth)
|
||||
{ print "<option value=$x selected>$labels[$x]\n";
|
||||
} else
|
||||
{ print "<option value=$x>$labels[$x]\n";
|
||||
}
|
||||
}
|
||||
print qq|</select> \n<input type=submit name=resetcount value="CHANGE"> \n|;
|
||||
print qq|<input type=submit value=" CLEAR "></td></tr>\n|;
|
||||
|
||||
print qq|<tr><td><font color="#0000FF"><font size=5><b>Hit Tables</b></font></font></td></tr>\n|;
|
||||
print qq|<tr><td>For ALL hits by <b>MONTH, GROUP or PAGE</b></td></tr>\n|;
|
||||
print qq|<tr><td>PRESS: <input type=submit name=hittable value=" HIT TABLES "></td></tr>\n</table>\n|;
|
||||
} # end hitCount
|
||||
|
||||
sub manFooter # print hitman footer
|
||||
{
|
||||
print qq|</form><p>\n<a href="$exitUrl">Exit $headTitle</a>\n|;
|
||||
print qq|<p><font size=2><i><b>HITMATIC</b> is one of <a href="http://www.GetCruising.com/crypt" target="_top">Joe's CGI Scripts From The Crypt!</a></i></font>\n|;
|
||||
print qq|<p>\n</body></html>\n|;
|
||||
} # end manFooter
|
||||
|
||||
sub passtest # password routines
|
||||
{
|
||||
$PASSFILE = $_[0];
|
||||
if (-s $PASSFILE)
|
||||
{ if ($Form{'password'})
|
||||
{ open (PASS,"<$PASSFILE");
|
||||
$passcode = <PASS>;
|
||||
close (PASS);
|
||||
chop ($passcode) if $passcode =~ /\n$/;
|
||||
$lp = length $Form{'password'};
|
||||
$salt = substr($Form{'password'},$lp-2,1).substr($Form{'password'},1,1);
|
||||
if ($passcode eq crypt ($Form{'password'},$salt))
|
||||
{ if ($Form{'newpassword'})
|
||||
{ $lp = length $Form{'newpassword'};
|
||||
if ($Form{'newpassword'} =~ /^\w{$lp}\b/)
|
||||
{ $Form{'password'} = $Form{'newpassword'};
|
||||
$salt = substr($Form{'password'},$lp-2,1).substr($Form{'password'},1,1);
|
||||
$passcode = crypt ($Form{'password'},$salt);
|
||||
open (PASS,">$PASSFILE");
|
||||
print PASS "$passcode";
|
||||
close (PASS);
|
||||
} else
|
||||
{ &passbox ("Bad choice, Creep!!");
|
||||
}
|
||||
}
|
||||
} else
|
||||
{ &passbox ("Wrong, Creep!!");
|
||||
}
|
||||
} else
|
||||
{ &passbox ("What's the Password, Creep?");
|
||||
}
|
||||
} else
|
||||
{ &endMan ("Password File $PASSFILE Not Found");
|
||||
}
|
||||
}
|
||||
sub passbox
|
||||
{
|
||||
print <<__PASSBOX;
|
||||
<form action="$scriptUrl" method="POST">
|
||||
<input type=hidden name=manager value=1><table border=4>
|
||||
<tr><th colspan=2><font color="#FF0000"><b><blink>$_[0]</blink></b></font></th></tr>
|
||||
<tr><th> Enter Password:</td><th><input type=password name=password size=12 maxlength=12></th></tr>
|
||||
<tr><th>Change Password:</td><th><input type=text name=newpassword size=12 maxlength=12></th></tr>
|
||||
<th colspan=2><input type=submit value=" DO IT! "><input type=reset value=" CLEAR "></th></tr>
|
||||
</table><br>
|
||||
Password must be 4 to 12 alpha-numeric characters.</form>
|
||||
<p></body></html>
|
||||
__PASSBOX
|
||||
exit;
|
||||
} # end passbox
|
||||
|
||||
sub endMan # Error handling for manager scripts
|
||||
{
|
||||
print "<font color=\"#FF0000\"><b>ERROR:</font><br>$_[0]</b>\n<p>";
|
||||
if ($!) { print "Server made a Boo-Boo! $!\n"; }
|
||||
else { print "Use your browser's [BACK] button and try again.\n"; }
|
||||
print "<p></body></html>\n";
|
||||
exit;
|
||||
} # end endMan
|
||||
|
||||
1; # return true
|
|
@ -1,223 +0,0 @@
|
|||
#! /usr/local/bin/perl -w
|
||||
#
|
||||
# HITMATIC
|
||||
# Maintains counts for a page or all pages and logs accesses.
|
||||
# Can optionally output the count to the browser.
|
||||
#
|
||||
# Filename: hitmat.cgi
|
||||
# Last revised: July 08, 1998
|
||||
# Copyright: 1996-1998 by Joe DePasquale
|
||||
# E-Mail: crypt@getcruising.com
|
||||
# Website: http://www.GetCruising.com
|
||||
#
|
||||
########################################################################
|
||||
# #
|
||||
# This script and accompanying files may be distributed freely #
|
||||
# and modified, provided this header with my name, E-Mail address and #
|
||||
# this notice remain intact. Ownership rights remain with me. You may #
|
||||
# not sell this script without my approval. #
|
||||
# #
|
||||
# This script comes with no guarantee or warranty except for my good #
|
||||
# intentions. By using this code you agree to indemnify me from any #
|
||||
# liability that might arise from it's use. #
|
||||
# #
|
||||
# There is no technical support for this script, neither am I a #
|
||||
# professional programmer. Refer to 'HELPME.TXT' for further guidance. #
|
||||
# #
|
||||
########################################################################
|
||||
#
|
||||
# 2. CONFIGURE SCRIPT -
|
||||
#
|
||||
# Change these sample paths to the actual paths on your server:
|
||||
|
||||
# Your Unix system date command
|
||||
$dateCmd = '/bin/date';
|
||||
|
||||
# Unix path to hitmat directory
|
||||
$hitmatDir = '/users/largo1/czo/cvslargo/www/cgi-bin/czo/hit';
|
||||
|
||||
# URL path to hitmat.cgi
|
||||
$scriptUrl = 'http://asim.lip6.fr/cgi-bin/czo/hit/hitmat.cgi';
|
||||
|
||||
# URL path to hitmat directory
|
||||
$hitmatUrl = 'http://asim.lip6.fr/cgi-bin/czo/hit/';
|
||||
|
||||
# Go to this URL when exiting manager
|
||||
$exitUrl = 'http://asim.lip6.fr/';
|
||||
|
||||
# Log will record hit but exclude domain names matching this tail
|
||||
$myTail = '.li.fr';
|
||||
|
||||
# OPTIONAL - You can edit these variables if desired:
|
||||
|
||||
# File Maintenance is triggered each day when the FIRST HIT between
|
||||
# midnight and $trigHour is received. This will 1) swap 'hit1.log' and
|
||||
# 'hit2.log' and 2) initialize a 'hitx.dat' file on the first day of a
|
||||
# month. You can use any 24-hour time from 1 (1 AM) to 23 (11 PM).
|
||||
$trigHour = 06;
|
||||
|
||||
$headTitle = "HITMATIC Website Counter System";
|
||||
$bodyTag = qq|<body bgcolor="#FFFFFF" text="#000099" link="#0000FF" alink="#FFFF00" vlink="#990000">|;
|
||||
$bodyTitle = qq|i><b><font size=5><font color="#0000FF">HIT</font><font color="#FF9900">MATIC</font></font></b></i>|;
|
||||
|
||||
# Change the table border size? (0 = no border)
|
||||
$border = 0;
|
||||
|
||||
# If you DON'T want to backup the hit*.dat files, set $bakFlag to 'N',
|
||||
# otherwise set the correct values in the 'if' loop ..
|
||||
$bakFlag = 'Y';
|
||||
|
||||
if ($bakFlag eq 'Y')
|
||||
{ $bakTime = 1; # days btwn backups
|
||||
$bakMax = 7; # days to keep backups
|
||||
|
||||
# Unix path to backup directory
|
||||
$bakDir = '/usr/home/you/htdocs/bak';
|
||||
|
||||
# END OF INSTALLATION - SHOULD NOT CHANGE STUFF BELOW THIS LINE
|
||||
########################################################################
|
||||
|
||||
chop ($jDate = `$dateCmd +"%j"`);
|
||||
$HITBAK = "$bakDir/hit$jDate.bak";
|
||||
}
|
||||
chop ($dayStamp = `$dateCmd +"%e"`); $dayStamp =~ s/\s*//g;
|
||||
chop ($hourStamp = `$dateCmd +"%H"`);
|
||||
chop ($timeStamp = `$dateCmd +"%a %D %H%M%Z"`);
|
||||
chop ($dateStamp = `$dateCmd +"%Y%m%d"`);
|
||||
$yearStamp = substr ($dateStamp,0,4);
|
||||
$monthStamp = substr ($dateStamp,4,2);
|
||||
$month = $monthStamp +0;
|
||||
|
||||
$HITCFG = "$hitmatDir/hit.cfg";
|
||||
$HITCNT = "$hitmatDir/hit.cnt";
|
||||
$HITDAT = "$hitmatDir/hit$month.dat";
|
||||
$HITFLK = "$hitmatDir/hit.flk";
|
||||
$HITLOG1 = "$hitmatDir/hit1.log";
|
||||
$HITLOG2 = "$hitmatDir/hit2.log";
|
||||
$HITMON = "$hitmatDir/hit";
|
||||
$HITXBM = "$hitmatDir/hit.xbm";
|
||||
$SINCEXBM = "since.xbm";
|
||||
|
||||
########################################################################
|
||||
# Read GET or POST input and setup stuff
|
||||
|
||||
if (-e "./referer.pl")
|
||||
{ require "./referer.pl";
|
||||
&referer;
|
||||
}
|
||||
if ($ENV{'QUERY_STRING'} eq 'manager' || $ENV{'REQUEST_METHOD'} eq 'POST')
|
||||
{ require "./hitman.pl";
|
||||
require "./hitxbm.pl";
|
||||
$HITPWD = "$hitmatDir/hitmat.pwd";
|
||||
&hitman;
|
||||
exit;
|
||||
} elsif ($ENV{'QUERY_STRING'} =~ /(\S+?)(\+(\S))?=(\S+?)(&.*|$)/)
|
||||
{ $pagecode =$1; $group =$3; $command =$4;
|
||||
if ($group) { $pagecode = "$group\+$pagecode"; }
|
||||
} else
|
||||
{ &endIt;
|
||||
}
|
||||
|
||||
open (LOCK,">$HITFLK") || &endIt;
|
||||
if (!flock (LOCK,2)) { &endIt; }
|
||||
|
||||
# Daily maintenance if trigger time
|
||||
if ($hourStamp < $trigHour)
|
||||
{ require "./hitcfg.pl";
|
||||
&checkCfg;
|
||||
}
|
||||
|
||||
# Add hit to main counter
|
||||
open (CNT,"+<$HITCNT") || &endIt;
|
||||
flock (CNT,2); seek (CNT,0,0);
|
||||
@inFile = <CNT>;
|
||||
$recNbr = 0; $foundFlag = 'N';
|
||||
|
||||
while (($recNbr <= $#inFile) && ($foundFlag eq 'N'))
|
||||
{ ($count,$code,$eol) = split(/\|/,$inFile[$recNbr]);
|
||||
if ($code eq $pagecode)
|
||||
{ if ($count < 999999) {$count++;} else {$count =1;}
|
||||
$inFile[$recNbr] = join ("\|",$count,$pagecode,"\n");
|
||||
$foundFlag = 'Y';
|
||||
}
|
||||
$recNbr++;
|
||||
}
|
||||
if ($foundFlag eq 'N') # new page
|
||||
{ $count =1;
|
||||
$addLine = join ("\|",$count,$pagecode,"\n");
|
||||
push @inFile, $addLine;
|
||||
}
|
||||
@outFile = sort {($b =~ /(\d+)/)[0] <=> ($a =~ /(\d+)/)[0]} @inFile;
|
||||
|
||||
seek (CNT,0,0);
|
||||
print (CNT @outFile);
|
||||
truncate (CNT,tell(CNT)); close (CNT);
|
||||
|
||||
# Make the XBM image according to COMMAND
|
||||
if ($command eq "PAGE")
|
||||
{ require "./hitxbm.pl";
|
||||
&makeXbm ($count,6,$HITXBM);
|
||||
}
|
||||
elsif ($command eq "GROUP")
|
||||
{ require "./hitxbm.pl";
|
||||
open (CNT,"<$HITCNT") || &endIt;
|
||||
flock (CNT,1); seek (CNT,0,0);
|
||||
@inFile = <CNT>;
|
||||
close (CNT);
|
||||
$groupTtl = 0;
|
||||
foreach $inLine (@inFile)
|
||||
{ if ($inLine =~ /^\d+\|$group\+/)
|
||||
{ ($count,$code,$eol,) = split(/\|/,$inLine);
|
||||
$groupTtl += $count;
|
||||
}
|
||||
}
|
||||
&makeXbm ($groupTtl,6,$HITXBM);
|
||||
}
|
||||
elsif ($command eq "SITE")
|
||||
{ require "./hitxbm.pl";
|
||||
open (CNT,"<$HITCNT") || &endIt;
|
||||
flock (CNT,1); seek (CNT,0,0);
|
||||
@inFile = <CNT>;
|
||||
close (CNT);
|
||||
$siteTtl = 0;
|
||||
foreach $inLine (@inFile)
|
||||
{ ($count,$code,$eol,) = split(/\|/,$inLine);
|
||||
$siteTtl += $count;
|
||||
}
|
||||
&makeXbm ($siteTtl,6,$HITXBM);
|
||||
}
|
||||
elsif ($command eq "NONE")
|
||||
{ open (XBM,">$HITXBM");
|
||||
flock (XBM,2); seek (XBM,0,0);
|
||||
print (XBM "#define hit_width 1\n");
|
||||
print (XBM "#define hit_height 1\n");
|
||||
print (XBM "static char hit_bits[] = { 0x00 };\n");
|
||||
truncate (XBM,tell(XBM));
|
||||
close (XBM);
|
||||
}
|
||||
# Send the XBM image to Stdout
|
||||
if ($command ne "IMG")
|
||||
{ print "Content-type: image/x-xbitmap\n\n";
|
||||
print `cat $HITXBM`;
|
||||
}
|
||||
|
||||
# Record hit in the log
|
||||
$hitLine = join ("\|",$timeStamp,$pagecode,$command,$banNbr,$ENV{'REMOTE_HOST'},$ENV{'HTTP_USER_AGENT'});
|
||||
if ($ENV{'HTTP_REFERER'} !~ /$myTail/i)
|
||||
{ $hitLine .= "\|$ENV{'HTTP_REFERER'}";
|
||||
}
|
||||
if (open (LOG,">>$HITLOG1"))
|
||||
{ flock (LOG,2); seek (LOG,0,2);
|
||||
print (LOG "$hitLine\n");
|
||||
close (LOG);
|
||||
}
|
||||
close (LOCK);
|
||||
exit;
|
||||
|
||||
# end main program
|
||||
######################################################################
|
||||
|
||||
sub endIt # exit on error
|
||||
{ exit;
|
||||
} # end endIt
|
||||
|
|
@ -1 +0,0 @@
|
|||
raPko.wpxNfW2
|
|
@ -1,72 +0,0 @@
|
|||
#! /usr/local/bin/perl
|
||||
#
|
||||
# HITXBM.PL - Module required by hitmat.cgi
|
||||
#
|
||||
# Copyright: 1996,1997,1998 by Joe DePasquale
|
||||
# Last revised: January 28, 1997
|
||||
# E-Mail: crypt@getcruising.com
|
||||
# Website: http://www.GetCruising.com
|
||||
#
|
||||
###########################################################################
|
||||
# The bitmap data file @gened is used with the author's permission.
|
||||
# number.xbm (C) 1994 Eugene E. Devereaux <gened@halcyon.com>
|
||||
# Adapted for UUNET (NCSA httpd) by David MacKenzie <djm@va.pubnix.com>
|
||||
###########################################################################
|
||||
|
||||
# Sub: Make an x-bitmap image of the count
|
||||
|
||||
sub makeXbm
|
||||
{
|
||||
($printTtl,$digits,$XBM) = @_;
|
||||
|
||||
$printTtl = substr ($printTtl,0);
|
||||
$pad = $digits - length ($printTtl);
|
||||
$xbmWidth = $digits * 16;
|
||||
|
||||
for ($x=0; $x<$digits; $x++)
|
||||
{ if ($x<$pad) { $printTtl = "0".$printTtl; }
|
||||
push @xbmNbr, substr ($printTtl,$x,1);
|
||||
}
|
||||
|
||||
# assign bitmap byte octals for numbers 0..9 to list of lists
|
||||
@gened = (
|
||||
['00','00','e0','07','f0','0f','30','0c','30','0c','30','0c','30','0c','30','0c',
|
||||
'30','0c','30','0c','30','0c','30','0c','30','0c','f0','0f','e0','07','00','00'],
|
||||
['00','00','80','01','c0','01','e0','01','80','01','80','01','80','01','80','01',
|
||||
'80','01','80','01','80','01','80','01','80','01','e0','07','e0','07','00','00'],
|
||||
['00','00','e0','07','f8','1f','18','18','18','18','18','1c','00','0e','00','07',
|
||||
'80','03','c0','01','e0','00','70','00','38','00','f8','1f','f8','1f','00','00'],
|
||||
['00','00','f0','07','f0','0f','30','0c','00','0c','00','0c','00','0c','c0','0f',
|
||||
'c0','0f','00','0c','00','0c','00','0c','30','0c','f0','0f','f0','07','00','00'],
|
||||
['00','00','00','06','00','0f','80','0f','c0','0d','e0','0c','70','0c','f0','0f',
|
||||
'f0','0f','00','0c','00','0c','00','0c','00','0c','00','0c','00','0c','00','00'],
|
||||
['00','00','e0','0f','f0','0f','30','00','30','00','30','00','30','00','f0','07',
|
||||
'e0','0f','00','0c','00','0c','00','0c','30','0c','f0','07','e0','03','00','00'],
|
||||
['00','00','20','00','30','00','30','00','30','00','30','00','30','00','f0','07',
|
||||
'f0','0f','30','0c','30','0c','30','0c','30','0c','f0','0f','e0','0f','00','00'],
|
||||
['00','00','f0','0f','f0','0f','30','0c','30','0c','00','06','00','03','00','03',
|
||||
'80','01','80','01','c0','00','c0','00','60','00','60','00','60','00','00','00'],
|
||||
['00','00','e0','07','f0','0f','30','0c','30','0c','30','0c','60','06','c0','03',
|
||||
'c0','03','60','06','30','0c','30','0c','30','0c','f0','0f','e0','07','00','00'],
|
||||
['00','00','e0','07','f0','0f','30','0c','30','0c','30','0c','e0','0f','c0','0f',
|
||||
'00','0e','00','0e','00','07','80','03','c0','01','e0','00','60','00','00','00'],
|
||||
);
|
||||
|
||||
# create image file of printTtl
|
||||
open (XBM,">$XBM");
|
||||
flock (XBM,2); seek (XBM,0,0);
|
||||
print (XBM "#define hit_width $xbmWidth\n");
|
||||
print (XBM "#define hit_height 16\n");
|
||||
print (XBM "static char hit_bits[] = {\n");
|
||||
|
||||
for ($y=0; $y<=30; $y=$y+2)
|
||||
{ foreach $x (@xbmNbr)
|
||||
{ print (XBM "0x$gened[$x][$y],0x$gened[$x][$y+1],");
|
||||
}
|
||||
print (XBM "\n");
|
||||
}
|
||||
print (XBM "};\n");
|
||||
truncate (XBM,tell(XBM)); close (XBM);
|
||||
} # end makeXbm
|
||||
|
||||
1; # return true
|
|
@ -1,185 +0,0 @@
|
|||
Installation and Usage
|
||||
for HITMATIC Website Hit Statistics System
|
||||
|
||||
This copy of HITMAT.ZIP contains the latest revised
|
||||
edition with all required files for a complete installation.
|
||||
|
||||
Revision Date: hitmat.zip - July 8, 1998
|
||||
Copyright: 1996,1997,1998 by Joe DePasquale
|
||||
E-Mail: crypt@getcruising.com
|
||||
Website: http://www.GetCruising.com
|
||||
|
||||
========================================================================
|
||||
This application is for Unix web servers running Perl 5.0 or higher.
|
||||
|
||||
Additional documentation is available at http://www.GetCruising/crypt
|
||||
helpme.txt - How to install Perl scripts on a Unix server.
|
||||
whatsnew.txt - Revision history for all 'CGI Scripts from the Crypt'.
|
||||
|
||||
Also visit the "Users' Self-Support Forum" to post questions and
|
||||
answers, especially if you have some extra time, knowledge and
|
||||
a desire to help some other poor lost souls!
|
||||
|
||||
THERE IS *NO* FREE *NOR* FEE-BASED TECHNICAL SUPPORT FOR THESE SCRIPTS!
|
||||
Due to extremely limited time, E-Mail with technical support
|
||||
questions WILL NOT BE ANSWERED! Please use the available resources
|
||||
here and elsewhere on the WWW to solve problems.
|
||||
E-Mail genuine bug reports to: crypt@getcruising.com
|
||||
|
||||
========================================================================
|
||||
|
||||
WHAT IT DOES:
|
||||
|
||||
HITMATIC can become as complex and valuable as you wish. At its simplest,
|
||||
it can display the hitcount for a page to your visitors. At your option,
|
||||
it can also be configured for complete website tracking and analysis.
|
||||
|
||||
Input to the script comes from special image tags that you place on each
|
||||
web page that you want included in the system. When a browser loads
|
||||
one of these pages it expects to receive a graphic from the URL in the
|
||||
tag. Instead, the URL runs HITMATIC which counts and categorizes the hit,
|
||||
does some maintenance stuff and finally creates the graphic (an X-Bitmap)
|
||||
and outputs it to the browser.
|
||||
|
||||
Why X-Bitmap? Of the 3 standard image formats that web browsers can
|
||||
display (.jpg, .gif and .xbm) this is the only one that uses an ASCII
|
||||
file format and can be created by simple math. The overhead of having
|
||||
to include a compiled jpg or gif generator is avoided, and HITMATIC
|
||||
uses resources to calculate stats rather than displays pretty fonts.
|
||||
|
||||
To learn more about X-Bitmaps, read the comments in 'hitxbm.pl'.
|
||||
|
||||
'hit1.log' and 'hit2.log' save todays' and yesterday's hit data with
|
||||
one line per hit (date, time, $pagecode, $command, user's IP address,
|
||||
cookies and referring page). 'hitcfg.pl' runs daily file maintenance,
|
||||
'hitxbm.pl' creates the XBM-BITMAP images of the hitcounts.
|
||||
|
||||
Twelve files numbered hit1.dat - hit12.dat which each hold hit
|
||||
counts by day and pagecode for one month.
|
||||
|
||||
The manager module (hitman.pl) gives you a choice of statistical tables
|
||||
showing counts by month, by page, by group or full year.
|
||||
|
||||
The 'By YEAR' table starts 12 months ago and ends at the end of current
|
||||
month. The grid shows the total hits by month for each group and each
|
||||
page, ranked most to least popular. 'By MONTH' shows the hits for one
|
||||
month on a daily basis. 'By PAGE' shows the hits for one page on a yearly
|
||||
basis.
|
||||
|
||||
The HIT COUNTER shows the current hit count for each page since last
|
||||
reset. You can reset the counter to any month in the pop-up box, and
|
||||
HITMATIC will recalculate hits from data in the monthly hit files also
|
||||
making a new 'since.xbm' image of the month and date which can be
|
||||
displayed.
|
||||
|
||||
Daily file maintenance is run when the first visitor of the day causes
|
||||
HITMATIC to run. Several things happen: 'hit1.log' is read and all hits
|
||||
for the previous day are added to the monthly data files. If it's the
|
||||
first day of a new month, last year's month file is emptied. 'hit1.log'
|
||||
is renamed 'hit2.log', yesterday's 'hit2.log' is emptied and renamed
|
||||
'hit1.log'. Finally, if a new hit count was requested since the last
|
||||
maintenance, the 'hit.cnt' file is recalculated.
|
||||
|
||||
HITMATIC uses the Perl 'flock' function to prevent simultaneous
|
||||
changes (corruption) of data files.
|
||||
|
||||
========================================================================
|
||||
|
||||
INSTALLATION:
|
||||
|
||||
1. SETUP YOUR FILES -
|
||||
|
||||
Open 'hit.cfg' in a text editor. The default file is '1|1|1|N|'. Change
|
||||
the first '1' to current day-of-month (1-31), the second '1' to current
|
||||
month (1-12). Leave the other fields as is and save the file. Hereafter,
|
||||
these values will be read, changed and written by the script(s) so no
|
||||
further editing should be required.
|
||||
|
||||
Add a reference to each HTML page to be counted, following this example:
|
||||
<img
|
||||
src="http://yourserver.com/path/to/cgi-bin/hitmat.cgi?PAGECODE+GROUPCODE=COMMAND">
|
||||
|
||||
You will need to make these substitutions --
|
||||
|
||||
'PAGECODE' is a unique name (with NO SPACES) for the page being counted.
|
||||
It can be real or symbolic (albert/home.html, links, page1, etc.).
|
||||
|
||||
'GROUPCODE' is optional but you can subdivide your hitcounts into
|
||||
subject areas. Use a SINGLE letter or number for each group.
|
||||
|
||||
'COMMAND' tells the script which count to output on the page --
|
||||
'SITE' - display total hits to website,
|
||||
'GROUP' - display hits for a group,
|
||||
'PAGE' - display hits for a page, or
|
||||
'NONE' - display nothing, i.e. sends a null bitmap image.
|
||||
|
||||
Example of a full site hitcount displayed on my 'index.html' page:
|
||||
|
||||
<img src="./cgi-bin/hitmat.cgi?index+G=SITE" width=96 height=16
|
||||
align=top border=0> Pages Served Since <img src="./hit/since.xbm"
|
||||
width=64 height=16 border=0 align=top alt="Last Reset">
|
||||
|
||||
Note the PAGECODE is 'index', GROUPCODE is 'G' and COMMAND is 'SITE'.
|
||||
|
||||
As in the example, you can include an image tag for 'since.xbm'
|
||||
to display the date (MMYY) when counter was last reset.
|
||||
|
||||
Adding width and height tags allows the page to load quicker --
|
||||
For 'SITE, 'GROUP' and 'PAGE' use 'width=96 height=16',
|
||||
For 'NONE' use 'width=0 height=0',
|
||||
For 'since.xbm' use 'width=64 height=16'.
|
||||
|
||||
|
||||
2. CONFIGURE THE SCRIPT -
|
||||
|
||||
Open the main script file 'hitmat.cgi' in a text editor and change
|
||||
the sample paths in the "CONFIGURE THE SCRIPT" section,
|
||||
following the instructions found there.
|
||||
|
||||
|
||||
3. UPLOAD FILES AND SET (CHMOD) PERMISSIONS -
|
||||
|
||||
All files should be uploaded in ASCII mode (yes even the .xbm's).
|
||||
|
||||
Place 'hitmat.cgi' (755), 'hitcfg.pl' (644), 'hitman.pl' (644)
|
||||
and 'hitxbm.pl' (644) into your main cgi directory.
|
||||
|
||||
Create a directory named 'hitmat' (755) and place 'hit.cfg' (666),
|
||||
'hit.cnt' (666), 'hit.flk' (666), 'hit1.log' (666), 'hit2.log' (666),
|
||||
'hit.xbm' (666), 'hitmat.pwd' (666) plus the 12 files 'hit1.dat'
|
||||
thru 'hit12.dat' (666) there.
|
||||
|
||||
If you enable the back-up option, create an empty directory named
|
||||
'bak' (777) which can be shared with my other scripts that make
|
||||
back-up files. This directory MUST be world-writeable!
|
||||
|
||||
========================================================================
|
||||
|
||||
HOW TO USE IT:
|
||||
|
||||
If set up correctly (!) just sit back and watch (?) as the script
|
||||
and your visitors do all the work.
|
||||
|
||||
To RUN HITMATIC MANAGER, use 'manager' as a query-string.
|
||||
|
||||
Examples -
|
||||
http://www.GetCruising.com/cgibin/hitmat.cgi?manager
|
||||
|
||||
The response should be the password authorization form. The
|
||||
initial password is 'password'. Of course you should change it soon
|
||||
to something unique by entering a new password in the
|
||||
'Change Password' box.
|
||||
|
||||
The default HIT TABLE is 'By YEAR' starting 12 months ago and ending at
|
||||
the end of current month. To switch to detailed displays 'By MONTH',
|
||||
'By GROUP' or 'By PAGE', select a radio button and press 'HIT TABLES'.
|
||||
You can switch between displays in the same way.
|
||||
|
||||
Select 'HIT COUNTER' for a list of current hit count for each page
|
||||
since last reset. To reset the counter to the beginning of a month,
|
||||
select a starting month in the pop-up box, then press 'CHANGE'.
|
||||
|
||||
========================================================================
|
||||
|
||||
What are you reading this for? DO IT!
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
#define hit_width 64
|
||||
#define hit_height 16
|
||||
static char hit_bits[] = {
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0xe0,0x07,0xf0,0x07,0xe0,0x07,0xf0,0x0f,
|
||||
0xf0,0x0f,0xf0,0x0f,0xf0,0x0f,0xf0,0x0f,
|
||||
0x30,0x0c,0x30,0x0c,0x30,0x0c,0x30,0x0c,
|
||||
0x30,0x0c,0x00,0x0c,0x30,0x0c,0x30,0x0c,
|
||||
0x30,0x0c,0x00,0x0c,0x30,0x0c,0x00,0x06,
|
||||
0x30,0x0c,0x00,0x0c,0xe0,0x0f,0x00,0x03,
|
||||
0x30,0x0c,0xc0,0x0f,0xc0,0x0f,0x00,0x03,
|
||||
0x30,0x0c,0xc0,0x0f,0x00,0x0e,0x80,0x01,
|
||||
0x30,0x0c,0x00,0x0c,0x00,0x0e,0x80,0x01,
|
||||
0x30,0x0c,0x00,0x0c,0x00,0x07,0xc0,0x00,
|
||||
0x30,0x0c,0x00,0x0c,0x80,0x03,0xc0,0x00,
|
||||
0x30,0x0c,0x30,0x0c,0xc0,0x01,0x60,0x00,
|
||||
0xf0,0x0f,0xf0,0x0f,0xe0,0x00,0x60,0x00,
|
||||
0xe0,0x07,0xf0,0x07,0x60,0x00,0x60,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
};
|
|
@ -1,34 +0,0 @@
|
|||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
<!--#include virtual="/ssi/asim.header/" -->
|
||||
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
<p><font color="#FF0000" size="7" face="verdana,arial,helvetica,helv"><strong>ERROR :</strong></font></p>
|
||||
|
||||
<p align="center"> </p>
|
||||
|
||||
<p align="center"><font face="verdana,arial,helvetica,helv"><strong>This page does not
|
||||
exist. </strong></font></p>
|
||||
|
||||
<p align="center"><font face="verdana,arial,helvetica,helv"><strong>Please notify its
|
||||
maintainer. </strong></font></p>
|
||||
|
||||
<p align="center"><font face="verdana,arial,helvetica,helv"><strong>( You can use the
|
||||
link on the lower left corner of this page to mail its
|
||||
maintainer. )</strong></font></p>
|
||||
|
||||
|
||||
|
||||
<!--#include virtual="/ssi/asim.footer/" -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
# SWISH format 1.3
|
||||
# Swish-e format 1.3
|
||||
#
|
||||
# Name: Asim Lab. index
|
||||
# Saved as: intranet.dat
|
||||
# Counts:
|
||||
# Indexed on: 06/06/00 06:31:27 MEST
|
||||
# Description: Index by Czo
|
||||
# Pointer: http://www-asim.lip6.fr/
|
||||
# Maintained by: Czo [Olivier SIROL] <Olivier.Sirol@lip6.fr>
|
||||
# DocumentProperties: Enabled
|
||||
# Stemming Applied: 0
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002480000000000000247800000000000024790000000000002479
|
||||
|
||||
|
||||
first author
|
Before Width: | Height: | Size: 71 B |
Before Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 79 B |
Before Width: | Height: | Size: 77 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 78 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 80 B |
|
@ -1,30 +0,0 @@
|
|||
#LogCount v3.8 link count and redirect
|
||||
sub do_link {
|
||||
($scrap, $lnkNumb) = split(/\=/,$query_string);
|
||||
if (!open (COUNT, "+<$log_path$lnks_name")) {$err = "Links File Access"; &err_log;}
|
||||
eval"flock(COUNT,2)";
|
||||
@lns = <COUNT>;
|
||||
$cnts = 0;
|
||||
foreach $ln (@lns){
|
||||
@TL = split(/\|/,$ln);
|
||||
if ($TL[0] eq $lnkNumb) {
|
||||
$the_link = $TL[1];
|
||||
if ($pn eq "l") {
|
||||
$TL[2]++;
|
||||
$lns[$cnts] = "$TL[0]|$TL[1]|$TL[2]\n";
|
||||
seek(COUNT,0,0);
|
||||
print COUNT @lns;
|
||||
last;
|
||||
} }
|
||||
$cnts++;
|
||||
}
|
||||
eval"flock(COUNT,8)";
|
||||
close(COUNT);
|
||||
if (!($the_link eq "")) {print "Location: $the_link\n\n";}
|
||||
else {
|
||||
print "Content-type: text/html\n\n"; print qq~<html><head><meta name="author" content="Ron F Woolley 1998-99 - www.dtp-aus.com"><meta HTTP-EQUIV="Pragma" CONTENT="no-cache"><title>Error Response</title></head><body bgcolor="#FFFFFD" text="#333333" link="#0000CC"><center><p> </p><table cellpadding="1" cellspacing="3" border="0"><tr bgcolor="#F5F5FF"><td><b><font face="verdana,arial,geneva,helvetica" size="3"> Link <font color="#CC0000">Error Response</font></font></b></td></tr><tr><td align=center bgcolor="#F5F5F5"><font size="2" face="arial,helvetica,geneva"><p><strong> <br>The link you requested cannot be found.</strong></p><p> Please report this error to the <a href="$webmstr">webmaster</a>. <em>Thank you </em></p></font></td></tr><tr bgcolor="#666666"><td align=center><font size="2" face="arial,helvetica,geneva"><em><font color="#FFFFFF"><b>return with your</b></font></em><font color="#FFFFFF"><b> Back Arrow</b></font></font></td></tr></table></center></body></html>~;
|
||||
exit;
|
||||
}
|
||||
exit;
|
||||
}
|
||||
1; #line must remain last and as is
|
|
@ -1,19 +0,0 @@
|
|||
# LogCount v3.8 error logging
|
||||
sub err_logs {
|
||||
if ((-e "$log_path"."$ENV{'REMOTE_ADDR'}.tf") || (-s "$log_path$badlog_name") > 2000000 || !open (LOG, ">>$log_path$badlog_name")) {exit;}
|
||||
open (LOGG, ">$log_path"."$ENV{'REMOTE_ADDR'}.tf") || exit;
|
||||
eval"flock(LOG, 2)";
|
||||
my $trim = date_time(1)."|$err|$ENV{'HTTP_REFERER'}|$ENV{'REMOTE_ADDR'}";
|
||||
$trim = substr($trim,0,150);
|
||||
print LOG "$trim\n";
|
||||
eval"flock(LOG, 8)";
|
||||
close(LOG);
|
||||
close(LOGG);
|
||||
if (!($pn eq "l")) {&sendFile($img_url."trans.gif", "image/gif");}
|
||||
else {print "Content-type: text/html\n\n";
|
||||
print "Pages are copyright. Remote link access refused!<br>Please link via the actual on-site page\n";}
|
||||
sleep 10;
|
||||
unlink ("$log_path"."$ENV{'REMOTE_ADDR'}.tf");
|
||||
exit;
|
||||
}
|
||||
1; #line must remain last and as is
|
|
@ -1,42 +0,0 @@
|
|||
#### adding/subtracting zeros alters length of visible counters ---#
|
||||
$iszeros = "000000";
|
||||
|
||||
#### Select British ("0"), US ("1"), Internat ("2") date pattern --#
|
||||
$dtUS = "2";
|
||||
|
||||
#### An array of accepted referers domain names / IP#s ------------#
|
||||
@referers = ('armandino.free.fr','www-asim.lip6.fr', );
|
||||
|
||||
#### An array of rejected domain names / IP#s ---------------------#
|
||||
$rjct = "|myfoobars.com|000.000.000.000|wallies.edu.ca/~bloggs|";
|
||||
|
||||
#### Path to Records and Counter Images, SEE readme.txt file ------#
|
||||
$gmt_pth = "$log_path/gmtset.pl";
|
||||
#$log_path = "counters/"; # - with forward slash
|
||||
$count_name = "hitcount.t";
|
||||
$log_name = "hitlog.t";
|
||||
$lnks_name = "hitlnk.t";
|
||||
$badlog_name = "hitbadlog.t";
|
||||
$def_pge = "index";
|
||||
$iwid = 13;
|
||||
$ihgt = 17;
|
||||
$ssi_zro = 1;
|
||||
|
||||
#### PATH OR URL to NON SSI img display images --------------------#
|
||||
#-- this can be the same as the $ssi_url value! (see readme)
|
||||
# $img_url = "counters/"; # PATH - with forward slash
|
||||
#$img_url = "http://yourdomain.name/ssi_img/"; # URL - with forward slash
|
||||
|
||||
#### URL to the images for SSI img display (see readme) -----------#
|
||||
$ssi_url = "http://www-asim.lip6.fr/ssi/img/"; # - with forward slash
|
||||
|
||||
#### SSI Output (0 = hidden (blank), 1 = Text, 2 = Images ---------#
|
||||
$ssi_img = 1;
|
||||
|
||||
#### E-Mail address of the Webmaster ------------------------------#
|
||||
$webmstr = "mailto:Olivier.Sirol\@lip6.fr?subject=Link_Error";
|
||||
|
||||
#### Show Referer Domain Names, SEE readme.txt file ---------------#
|
||||
$showDoms = "1";
|
||||
|
||||
1; # this line MUST remain in all 'require' files.
|
|
@ -1,6 +0,0 @@
|
|||
#### value = GMT at your locality, in seconds (cen setup via admin!)--------#
|
||||
#### ie (5hrs AHEAD) = 5X60X60 = 18000, (3.5hrs BEHIND) = -3.5X60X60 = -12600
|
||||
|
||||
$gmtPlusMinus = 7200;
|
||||
|
||||
1; # this line must remain in all 'require' files.
|