Return-Path: owner-postman
Received: from epoch.CS.Berkeley.EDU (epoch.CS.Berkeley.EDU [128.32.32.79]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id NAA30866 for <postgres-arch>; Sat, 26 Aug 1995 13:57:48 -0700
Received: from epoch.CS.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by epoch.CS.Berkeley.EDU (8.6.11/8.6.3) with ESMTP id NAA22499 for <postgres-arch@epoch.CS.Berkeley.EDU>; Sat, 26 Aug 1995 13:56:36 -0700
Message-Id: <199508262056.NAA22499@epoch.CS.Berkeley.EDU>
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: postgres-arch@postgres.Berkeley.EDU
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
Subject: pgwais directory
Date: Sat, 26 Aug 1995 13:56:36 -0700
Sender: aoki@postgres.Berkeley.EDU

#!/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
