agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: postgres-arch@postgres.Berkeley.EDU
Subject: pgwais directory
Date: Sat, 26 Aug 1995 13:56:36 -0700
Message-ID: <199508262056.NAA22499@epoch.CS.Berkeley.EDU> (raw)

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1995-08-26 13:55 PDT by <aoki@epoch.CS.Berkeley.EDU>.
# Source directory was `/private/waisd'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    468 -rw-r--r-- Makefile
#     90 -rwxr-xr-x startwais
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
# ============= Makefile ==============
if test -f 'Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping Makefile (file already exists)'
else
  echo 'x - extracting Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'Makefile' &&
MAILDIRS= \
X	bugs-open \
X	bugs-closed \
X	questions \
X	mlist-arch
X
all: clean postmail.dct
X
postmail.dct:
X	cd /usr/local/devel/postarch/Mail && \
X	/usr/sww/bin/waisindex \
X		-a \
X		-d /private/waisd/postmail \
X		-export \
X		-l 1 \
X		-r \
X		-t URL "" \
X			http://s2k-ftp.CS.Berkeley.EDU:8000/usr/local/devel/postarch/Mail/ \
X		${MAILDIRS}
X	mv postmail.src ptmp && \
X	sed 's/tcp-port 210/tcp-port 8001/' < ptmp > postmail.src && \
X	rm ptmp
X
clean:
X	/bin/rm -f postmail.*
SHAR_EOF
  $shar_touch -am 0814160794 'Makefile' &&
  chmod 0644 'Makefile' ||
  echo 'restore of Makefile failed'
  shar_count="`wc -c < 'Makefile'`"
  test 468 -eq "$shar_count" ||
    echo "Makefile: original size 468, current size $shar_count"
fi
# ============= startwais ==============
if test -f 'startwais' && test X"$1" != X"-c"; then
  echo 'x - skipping startwais (file already exists)'
else
  echo 'x - extracting startwais (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'startwais' &&
#!/bin/csh
/usr/sww/bin/waisserver -p 8001 -d /private/waisd -e /dev/null >&! /dev/null &
SHAR_EOF
  $shar_touch -am 0601164394 'startwais' &&
  chmod 0755 'startwais' ||
  echo 'restore of startwais failed'
  shar_count="`wc -c < 'startwais'`"
  test 90 -eq "$shar_count" ||
    echo "startwais: original size 90, current size $shar_count"
fi
exit 0
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776)
                        |  Berkeley, CA 94720-1776



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, postgres-arch@postgres.Berkeley.EDU
  Subject: Re: pgwais directory
  In-Reply-To: <199508262056.NAA22499@epoch.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox