[Lunar-commits] CVS: moonbase/net/delegate BUILD, NONE, 1.1 CONFIGURE, NONE, 1.1 DETAILS, NONE, 1.1

Jon South striker at lunar-linux.org
Thu May 6 18:34:26 GMT 2004


Update of /var/cvs/lunar/moonbase/net/delegate
In directory dbguin.lunar-linux.org:/tmp/cvs-serv19638

Added Files:
	BUILD CONFIGURE DETAILS 
Log Message:
adding delegate, multi-protocol proxy


--- NEW FILE: BUILD ---
(

  sedit	"s/ADMIN = undef/ADMIN = $DELEGATE_ADMIN/"	src/Makefile	&&
  optimize_make								&&
  make									&&
  prepare_install							&&
  install -m 0755 src/delegated /usr/bin				&&
  mkdir   -p /usr/share/doc/delegate					&&
  install -m0644 doc/Manual.htm		/usr/share/doc/delegate		&&
  install -m0644 doc/tutor-en.htm	/usr/share/doc/delegate		&&
  install -m0644 doc/tutor-jp.htm 	/usr/share/doc/delegate

) > $C_FIFO 2>&1

--- NEW FILE: CONFIGURE ---
# Read the config so we can show the user
. $MODULE_CONFIG

GET_ADMIN=0
if ! grep -q "DELEGATE_ADMIN" $MODULE_CONFIG; then
  if query "Change delegate admin (root@`uname -n`)?" n; then
    GET_ADMIN=1
  else
    DELEGATE_ADMIN="root@`uname -n`"
    echo "DELEGATE_ADMIN=$DELEGATE_ADMIN" >> $MODULE_CONFIG
  fi
else
  if query "Change delegate admin ($DELEGATE_ADMIN)?" n; then
    GET_ADMIN=1
  fi
fi

if [ "$GET_ADMIN" == "1" ]; then
  IS_THIS_CORRECT=0
  while [ "$IS_THIS_CORRECT" == "0" ]; do
    echo -en "${MODULE_COLOR}${MODULE}${DEFAULT_COLOR}:  ${QUERY_COLOR}Enter admin email:${DEFAULT_COLOR} "
    read -e DELEGATE_ADMIN
    if [ "$DELEGATE_ADMIN" == "" ]; then
      message "${MODULE_COLOR}${MODULE}:${PROBLEM_COLOR} ! Error: Delegate admin cannot be blank${DEFAULT_COLOR}"
    else
      if query "Is '$DELEGATE_ADMIN' correct?" y; then
        IS_THIS_CORRECT=1
      fi
    fi
  done
  echo "DELEGATE_ADMIN=$DELEGATE_ADMIN" >> $MODULE_CONFIG
fi

--- NEW FILE: DETAILS ---
          MODULE=delegate
         VERSION=8.9.3
          SOURCE=$MODULE$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
      SOURCE_URL=ftp://ftp.delegate.org/pub/DeleGate/$SOURCE
      SOURCE_VFY=md5:5262733716bef96126702a4defe2c3d6
        WEB_SITE=http://www.delegate.org/delegate/
         ENTERED=20040506
         UPDATED=20040506
           SHORT="DeleGate is a multi-purpose application level gateway"
cat << EOF
DeleGate is a multi-purpose application level gateway, or a proxy server 
which runs on multiple platforms (Unix, Windows, Mac OS X, and OS/2). 
DeleGate mediates communication of various protocols (HTTP, FTP, NNTP, 
SMTP, POP, Telnet, SOCKS, etc.), applying cache and conversion for 
mediated data, controlling access from clients and routing toward 
servers. It translates protocols between clients and servers, applying 
SSL(TLS) to arbitrary protocols, merging several servers into a single 
server view with aliasing and filtering. Born as a tiny proxy for Gopher 
in March 1994, it has steadily grown into a general purpose proxy 
server. Besides proxy, DeleGate can be used as a simple origin server 
for some protocols (HTTP, FTP, and NNTP).
EOF



More information about the Lunar-commits mailing list