[Gnucash-changes] r14055 - mail-search - Move namazu search templates/configs to mail-search/trunk

Derek Atkins warlord at cvs.gnucash.org
Sun May 14 17:44:27 EDT 2006


Author: warlord
Date: 2006-05-14 17:44:26 -0400 (Sun, 14 May 2006)
New Revision: 14055
Trac: http://svn.gnucash.org/trac/changeset/14055

Added:
   mail-search/trunk/build-indices.sh
   mail-search/trunk/namazu-cgi.sh
   mail-search/trunk/nmz.cron
   mail-search/trunk/nmz.logrotate
   mail-search/trunk/templates/
Removed:
   mail-search/nmz/build-indices.sh
   mail-search/nmz/namazu-cgi.sh
   mail-search/nmz/nmz.cron
   mail-search/nmz/nmz.logrotate
   mail-search/nmz/templates/
Log:
Move namazu search templates/configs to mail-search/trunk


Deleted: mail-search/nmz/build-indices.sh
===================================================================
--- mail-search/nmz/build-indices.sh	2006-05-14 21:43:37 UTC (rev 14054)
+++ mail-search/nmz/build-indices.sh	2006-05-14 21:44:26 UTC (rev 14055)
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Build the Namazu search indices
-#
-# Written by:  Derek Atkins <derek at ihtfp.com>
-#
-# $Id$
-
-######
-# Potential things you might want/need to change
-
-# This is the top of the namazu tree
-topdir=/home/nmz
-
-# This is the top of the namazu indices; the individual
-# indexes live below here.  This is relative to $topdir
-indexdir=index
-
-# This is the top of the namazu templates.  Right now
-# this is the only template directory available, but
-# in the future we could turn this into the top-level
-# of the per-list template.  This is also relative to
-# $topdir
-templatedir=nmz/templates
-
-# This is the top of the mailman archives.
-mailmandir=/home/mailman/archives/public
-
-# This is the list of mailman lists to index
-lists="gnucash-announce gnucash-br gnucash-de gnucash-devel gnucash-es gnucash-fr gnucash-it gnucash-user"
-
-# Nothing to see/change below this line
-###########################################################################
-#
-
-mydie()
-{
-    echo "$1"
-    exit 1
-}
-
-cd $topdir || mydie "Cannot cd to $topdir"
-
-for list in $lists ; do
-
-  # Make sure the template directory exists
-  [ -d $templatedir ] || mydie "Cannot find template directory: $templatedir"
-
-  # Make sure the archive exists
-  [ -d $mailmandir/$list ] || mydie "Cannot find the $list mailman archive"
-
-  # Make sure the index directory exists
-  if [ ! -d $indexdir/$list ] ; then
-    mkdir -p $indexdir/$list || mydie "Cannot mkdir $indexdir/$list"
-  fi
-
-  # Build the namazu index for this list
-  mknmz -s -Z -q -e -O $indexdir/$list \
-    --media-type='text/html; x-type=pipermail' \
-    --template-dir=$templatedir $mailmandir/$list 2>/dev/null
-
-done

Deleted: mail-search/nmz/namazu-cgi.sh
===================================================================
--- mail-search/nmz/namazu-cgi.sh	2006-05-14 21:43:37 UTC (rev 14054)
+++ mail-search/nmz/namazu-cgi.sh	2006-05-14 21:44:26 UTC (rev 14055)
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Namazu CGI wrapper. Deal with LANG
-#
-
-# compute the langinfo from the PATH_INFO
-langinfo=`echo $PATH_INFO | grep '^/\w*' | sed -e 's#^/\(\w*\).*$#\1#'`
-
-if [ -n "$langinfo" ] ; then
-  LANG="$langinfo"
-  SCRIPT_NAME="$SCRIPT_NAME/$langinfo"
-  export LANG
-  export SCRIPT_NAME
-fi
-
-exec /var/www/cgi-bin/namazu.cgi

Deleted: mail-search/nmz/nmz.cron
===================================================================
--- mail-search/nmz/nmz.cron	2006-05-14 21:43:37 UTC (rev 14054)
+++ mail-search/nmz/nmz.cron	2006-05-14 21:44:26 UTC (rev 14055)
@@ -1,11 +0,0 @@
-#
-# Crontab entry for nmz
-#
-# $Id$
-#
-
-SHELL=/bin/sh
-MAILTO=root
-
-# Rebuild the indices every hour
-17 * * * * $HOME/nmz/build-indices.sh

Deleted: mail-search/nmz/nmz.logrotate
===================================================================
--- mail-search/nmz/nmz.logrotate	2006-05-14 21:43:37 UTC (rev 14054)
+++ mail-search/nmz/nmz.logrotate	2006-05-14 21:44:26 UTC (rev 14055)
@@ -1,19 +0,0 @@
-#
-# NMZ Logrotate script
-#
-# $Id$
-
-/home/nmz/index/*/*.err {
-    missingok
-    notifempty
-}
-
-/home/nmz/index/*/*.log {
-    missingok
-    notifempty
-}
-
-#/home/nmz/index/*/*.slog {
-#    missingok
-#    notifempty
-#}

Copied: mail-search/trunk/build-indices.sh (from rev 14053, mail-search/nmz/build-indices.sh)

Copied: mail-search/trunk/namazu-cgi.sh (from rev 14053, mail-search/nmz/namazu-cgi.sh)

Copied: mail-search/trunk/nmz.cron (from rev 14053, mail-search/nmz/nmz.cron)

Copied: mail-search/trunk/nmz.logrotate (from rev 14053, mail-search/nmz/nmz.logrotate)

Copied: mail-search/trunk/templates (from rev 14053, mail-search/nmz/templates)



More information about the gnucash-changes mailing list