Date: Wed, 15 Oct 2008 17:01:36 GMT From: Yuri Grishin <uzgrishin@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/128124: www/sams update, take maintainership Message-ID: <200810151701.m9FH1af4064025@www.freebsd.org> Resent-Message-ID: <200810151710.m9FHA1qX096742@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128124 >Category: ports >Synopsis: www/sams update, take maintainership >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 15 17:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yuri Grishin >Release: 7.0-RELEASE >Organization: Samara-Lada >Environment: FreeBSD gate-test-sams 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The previous maintainer doesn't update www/sams port any more. I've contacted him and he will be OK about giving the maintainership to me. It's my first port so don't be severe... >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/www/sams # /usr/ports/www/sams/Makefile # /usr/ports/www/sams/distinfo # /usr/ports/www/sams/pkg-descr # /usr/ports/www/sams/files # /usr/ports/www/sams/files/setup.sh # /usr/ports/www/sams/files/pkg-message.in # /usr/ports/www/sams/files/sams.sh.in # /usr/ports/www/sams/pkg-plist # echo c - /usr/ports/www/sams mkdir -p /usr/ports/www/sams > /dev/null 2>&1 echo x - /usr/ports/www/sams/Makefile sed 's/^X//' >/usr/ports/www/sams/Makefile << 'END-of-/usr/ports/www/sams/Makefile' X# New ports collection makefile for: sams X# Date created: 14 October 2008 X# Whom: uzgrishin X# X# $FreeBSD$ X# X XPORTNAME= sams XPORTVERSION= 1.0.3 XPORTEPOCH= 1 XCATEGORIES= www XMASTER_SITES= http://sams.perm.ru/download/ \ X http://grishin.000webhost.info/sams/ X XMAINTAINER= uzgrishin@mail.ru XCOMMENT= Squid 2.x Accounting Management System X XLIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre X XUSE_RC_SUBR= sams.sh X XOPTIONS= NTLM "NTLM autorization/ActiveDirectory support" off \ X APACHE2 "Use apache version 2" on X XOPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options X X.if exists(${OPTIONSFILE}) X.include "${OPTIONSFILE}" X.endif X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_BZIP2= yes XUSE_PHP= gd mysql ldap XUSE_MYSQL= 5.0 X X.include <bsd.port.pre.mk> X.if defined(WITH_NTLM) XRUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3 X.endif X X.if defined(WITH_APACHE2) XRUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 X.else XRUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22 X.endif X XCONFIGURE_ARGS=--with-configfile=${LOCALBASE}/etc/sams.conf \ X --with-rcd-locations=${LOCALBASE}/etc/rc.d/ \ X --with-httpd-locations=${DOCUMENT_ROOT} X XSUB_FILES= pkg-message X Xpost-extract: X ${INSTALL_SCRIPT} ${FILESDIR}/setup.sh ${WRKSRC}/ X Xpost-install: X @${CAT} ${PKGMESSAGE} X Xsetup: X @cd ${WRKSRC}; ${WRKSRC}/setup.sh X X.include <bsd.port.post.mk> END-of-/usr/ports/www/sams/Makefile echo x - /usr/ports/www/sams/distinfo sed 's/^X//' >/usr/ports/www/sams/distinfo << 'END-of-/usr/ports/www/sams/distinfo' XMD5 (sams-1.0.3.tar.bz2) = 78782acf45dc8d69976f23f5a9de816f XSHA256 (sams-1.0.3.tar.bz2) = 0369e1397eccb2e32f6132069b8a45638d8507214ebd935084d0a871ca1ad05d XSIZE (sams-1.0.3.tar.bz2) = 1561538 END-of-/usr/ports/www/sams/distinfo echo x - /usr/ports/www/sams/pkg-descr sed 's/^X//' >/usr/ports/www/sams/pkg-descr << 'END-of-/usr/ports/www/sams/pkg-descr' XSAMS (Squid Account Management System) is a WEB-based interface and tool to Xmanage users of SQUID proxy server. NOTE: SQUID 2.x branch is suppoted only. XMain features are: X X * manage users access to SQUID - proxy with NTLM, NCSA authorization X or IP address X * manage prohibition of users to access to URL X * manage to rewrite requested URL to graphical resources (banners, X counters) X * save and build reports of users statistic X * switch of users access to SQUID proxy if his traffic quota is off X * manage a delay pools for users groups X XWWW: http://sams.perm.ru/ X X- GrishinUS Xuzgrishin@mail.ru END-of-/usr/ports/www/sams/pkg-descr echo c - /usr/ports/www/sams/files mkdir -p /usr/ports/www/sams/files > /dev/null 2>&1 echo x - /usr/ports/www/sams/files/setup.sh sed 's/^X//' >/usr/ports/www/sams/files/setup.sh << 'END-of-/usr/ports/www/sams/files/setup.sh' X#!/bin/sh X# $FreeBSD$ X#SAMS database setup script X XTMP=./tmp X X X################################################################## X# X# Create SAMS user and databases X# X################################################################## Xfunction CreateSAMSDatabases() X{ X#Get MySQL root password X rm -f $TMP/tempmsg2 X echo "Insert MySQL root password." > $TMP/tempmsg2 X dialog --title "Get MySQL root password" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 2> $TMP/newport X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi XROOTPASS="`cat $TMP/newport 2> /dev/null`" Xecho "1234567890" > $TMP/newport X Xdialog --title "Create SAMS database " --menu "\n\ XCreate SAMS user for MySQL database?\n" 15 74 3 \ X"Yes" "Create" \ X"No" "No" 2> $TMP/typeselect Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit Xfi XTYPESELECT="`cat $TMP/typeselect 2> /dev/null`" Xrm $TMP/typeselect Xclear Xif [ "$TYPESELECT" = "Yes" ]; then X SAMSUSER=1 X X #Get SAMS MySQL user password X rm -f $TMP/tempmsg2 X echo "Insert NEW password for SAMS MySQL user." > $TMP/tempmsg2 X dialog --title "Create MySQL SAMS user" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 2> $TMP/newport X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X SAMSPASS="`cat $TMP/newport 2> /dev/null`" X echo "1234567890" > $TMP/newport X mysql -u root --password="$ROOTPASS" --execute="GRANT ALL ON squidctrl.* TO sams@localhost IDENTIFIED BY \"$SAMSPASS\";" X mysql -u root --password="$ROOTPASS" --execute="GRANT ALL ON squidlog.* TO sams@localhost IDENTIFIED BY \"$SAMSPASS\";" X X X CONFIGFILEPATH="`cat $TMP/CONFIGFILEPATH 2> /dev/null`" X dialog --title "Create MySQL SAMS user " --menu "\n\ X Insert user sams and password into sams.conf?\n$CONFIGFILEPATH" 15 74 3 \ X "Yes" "Insert" \ X "No" "No" 2> $TMP/typeselect X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit X fi X TYPESELECT="`cat $TMP/typeselect 2> /dev/null`" X rm $TMP/typeselect X clear X if [ "$TYPESELECT" = "Yes" ]; then X echo "MYSQLUSER=sams" >> $CONFIGFILEPATH X echo "MYSQLPASSWORD=$SAMSPASS" >> $CONFIGFILEPATH X fi X Xfi X X X Xdialog --title "Create SAMS database " --menu "\n\ XCreate SAMS databases?\n" 15 74 3 \ X"Yes" "Create" \ X"No" "No" 2> $TMP/typeselect Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit Xfi XTYPESELECT="`cat $TMP/typeselect 2> /dev/null`" Xrm $TMP/typeselect Xclear Xif [ "$TYPESELECT" = "Yes" ]; then X mysql -u root --password="$ROOTPASS" <./mysql/sams_db.sql X mysql -u root --password="$ROOTPASS" <./mysql/squid_db.sql Xfi X X Xecho "root passwd = $ROOTPASS" Xecho "Create sams user? $SAMSUSER" Xecho "sams passwd = $SAMSPASS" X Xreturn X} X X X X X X X X X X################################################################## X# checking for configure options X################################################################## Xfunction CheckPCREHeaders() X{ X DST_PCRE_INC="" X for ac_dir in /usr/local/include/pcre /usr/include/pcre /usr/local/include /usr/include; do X if test -f "$ac_dir/pcre.h"; then X DST_PCRE_INC=$ac_dir X break; X fi X done X} Xfunction CheckPCRELibraryes() X{ X DST_PCRE_LIBS="" X for ac_dir in /usr/local/lib/pcre /usr/lib/pcre /usr/local/lib /usr/lib; do X if test -f "$ac_dir/libpcre.so"; then X DST_PCRE_LIBS=$ac_dir X break; X fi X done X} X Xfunction CheckMySQLHeaders() X{ X DST_MYSQL_INC="" X for ac_dir in /usr/local/mysql/include/mysql /usr/local/include/mysql /usr/include/mysql /usr/local/include /usr/include; do X if test -f "$ac_dir/mysql.h"; then X DST_MYSQL_INC=$ac_dir X break; X fi X done X} Xfunction CheckMySQLLibraryes() X{ X DST_MYSQL_LIBS="" X for ac_dir in /usr/local/mysql/lib/mysql /usr/local/lib/mysql /usr/lib/mysql /usr/local/lib /usr/lib; do X if test -f "$ac_dir/libmysqlclient.so"; then X DST_MYSQL_LIBS=$ac_dir X break; X fi X done X} Xfunction CheckHttpdRootFolder() X{ X DST_HTTPD_LOC="" X for ac_dir in /var/www/html /var/www/htdocs; do X if test -d "$ac_dir"; then X DST_HTTPD_LOC=$ac_dir X break; X fi X done X} Xfunction CheckRCDFolder() X{ X DST_RCD_LOC='/etc/init.d' X for ac_dir in /etc/init.d /usr/local/etc/rc.d; do X if test -f "$ac_dir"; then X DST_RCD_LOC=$ac_dir X break; X fi X done X} X X################################################################## X# X# Run configure script X# X################################################################## Xfunction RunConfigureScriptOld() X{ X ALLFOUND="YES" X PREFIX="/usr/local" X echo "Install architecture-independent files in PREFIX: $PREFIX\n" >$TMP/cofigure.cache X CONFIGFILEPATH="/etc/sams.conf" X echo "Default runtime config file: $CONFIGFILEPATH\n" >>$TMP/cofigure.cache X CheckMySQLHeaders X echo "Path for MySQL includes: $DST_MYSQL_INC\n" >>$TMP/cofigure.cache X CheckMySQLLibraryes X echo "Path for MySQL libraryes: $DST_MYSQL_LIBS\n" >>$TMP/cofigure.cache X CheckPCREHeaders X echo "Path for PCRE includes: $DST_PCRE_INC\n" >>$TMP/cofigure.cache X CheckPCRELibraryes X echo "Path for PCRE libraryes: $DST_PCRE_LIBS\n" >>$TMP/cofigure.cache X CheckHttpdRootFolder X echo "Path for HTTPD root folder: $DST_HTTPD_LOC\n" >>$TMP/cofigure.cache X CheckRCDFolder X echo "Path for the startup scripts folder: $DST_RCD_LOC\n" >>$TMP/cofigure.cache X echo "" >>$TMP/cofigure.cache X X if [ $DST_PCRE_INC -eq "-1" ]; then X ALLFOUND="-1" X echo "Path for PCRE includes\n" > $TMP/notfoundoptions X fi X if [ $DST_PCRE_LIBS -eq "-1" ]; then X ALLFOUND="-1" X echo "Path for PCRE libraryes\n" > $TMP/notfoundoptions X fi X if [ $DST_MYSQL_INC -eq "-1" ]; then X ALLFOUND="-1" X echo "Path for MySQL includes\n" > $TMP/notfoundoptions X fi X if [ $DST_MYSQL_LIBS -eq "-1" ]; then X ALLFOUND="-1" X echo "Path for MySQL libraryes\n" > $TMP/notfoundoptions X fi X if [ $DST_HTTPD_LOC -eq "-1" ]; then X ALLFOUND="-1" X echo "Path for HTTPD root folder\n" > $TMP/notfoundoptions X fi X X if [ $ALLFOUND -eq "-1" ]; then X NOTFOUNDOPTIONS="`cat $TMP/notfoundoptions 2> /dev/null`" X TYPESELECT="`cat $TMP/cofigure.cache 2> /dev/null`" X dialog --title "Check the configure script options:" --menu "\n\ X $TYPESELECT\nNot found next options:\n$NOTFOUNDOPTIONS\nSet up configure options?\n" 21 74 3 \ X "Yes" "Set up configure options" \ X "No" "Exit" 2> $TMP/typeselect X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit X fi X rm -f $TMP/notfoundoptions X TYPESELECT="`cat $TMP/typeselect 2> /dev/null`" X rm $TMP/typeselect X X case $TYPESELECT in X "No") X return X ;; X "Yes") X rm -f $TMP/options X X if [ $DST_MYSQL_INC -eq "-1" ]; then X echo "Insert path to MySQL header files." > $TMP/tempmsg2 X dialog --title "path:" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 2>> $TMP/tempmsg X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg $TMP/tempmsg2 X exit X fi X MYSQLINCPATH="`cat $TMP/tempmsg 2> /dev/null`" X echo "--with-mysql-includes=$MYSQLINCPATH \ " >> $TMP/options X rm -f $TMP/tempmsg $TMP/tempmsg2 X fi X X if [ $DST_MYSQL_LIBS -eq "-1" ]; then X echo "Insert path to MySQL linrary files." > $TMP/tempmsg2 X dialog --title "path:" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 2>> $TMP/tempmsg X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg $TMP/tempmsg2 X exit X fi X MYSQLLIBPATH="`cat $TMP/tempmsg 2> /dev/null`" X echo "--with-mysql-libpath=$MYSQLLIBPATH \ " >> $TMP/options X rm -f $TMP/tempmsg $TMP/tempmsg2 X fi X X if [ $DST_HTTPD_LOC -eq "-1" ]; then X echo "Insert path to HTTP server root folder" > $TMP/tempmsg2 X dialog --title "path:" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 2>> $TMP/tempmsg X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg $TMP/tempmsg2 X exit X fi X HTTPROOTPATH="`cat $TMP/tempmsg 2> /dev/null`" X echo "--with-httpd-locations=$HTTPROOTPATH \ " >> $TMP/options X rm -f $TMP/tempmsg $TMP/tempmsg2 X fi X echo " " >> $TMP/options X X X ;; X esac X TYPESELECT="`cat $TMP/cofigure.cache 2> /dev/null`" X OPTIONS="`cat $TMP/options 2> /dev/null`" X dialog --title "Run the configure script" --menu "\n\ X configure \n$OPTIONS\n \nRun the configure script?\n" 21 74 3 \ X "Yes" "Run" \ X "No" "Exit" 2> $TMP/typeselect X TYPESELECT="`cat $TMP/typeselect 2> /dev/null`" X rm $TMP/typeselect X X case $TYPESELECT in X "No") X return X ;; X "Yes") X dialog --infobox "wait... " 5 74 X ./configure $OPTIONS > $TMP/cofigure.cache 2>$TMP/cofigure.cache X dialog --title "configure" --textbox "$TMP/cofigure.cache" 22 77 X rm -f $TMP/options $TMP/cofigure.cache 2>/dev/null X ;; X esac X X X X else X TYPESELECT="`cat $TMP/cofigure.cache 2> /dev/null`" X dialog --title "Check the configure script options" --menu "\n\ X $TYPESELECT\n Run the configure script?\n" 21 74 3 \ X "Yes" "Run" \ X "No" "Exit" 2> $TMP/typeselect X TYPESELECT="`cat $TMP/typeselect 2> /dev/null`" X rm $TMP/typeselect X case $TYPESELECT in X "No") X return X ;; X "Yes") X dialog --infobox "wait... " 5 74 X ./configure > $TMP/cofigure.cache 2>$TMP/cofigure.cache X dialog --title "configure" --textbox "$TMP/cofigure.cache" 22 77 X rm -f $TMP/options $TMP/cofigure.cache 2>/dev/null X ;; X esac X X fi X return X} X X X X################################################################## X# X# Run make X# X################################################################## Xfunction RunMake() X{ X dialog --infobox "wait... " 5 74 X make > $TMP/make.cache 2>$TMP/make.cache X dialog --title "make" --textbox "$TMP/make.cache" 22 77 X rm -f $TMP/options $TMP/make.cache 2>/dev/null X X} X X################################################################## X# X# Run make install X# X################################################################## Xfunction RunMakeInstall() X{ X dialog --infobox "wait... " 5 74 X make install > $TMP/make.cache 2>$TMP/make.cache X dialog --title "make install" --textbox "$TMP/make.cache" 22 77 X rm -f $TMP/options $TMP/make.cache 2>/dev/null X X} X X################################################################## X# X# Run make uninstall X# X################################################################## Xfunction RunMakeUnInstall() X{ X dialog --infobox "wait... " 5 74 X make uninstall > $TMP/make.cache 2>$TMP/make.cache X dialog --title "make uninstall" --textbox "$TMP/make.cache" 22 77 X rm -f $TMP/options $TMP/make.cache 2>/dev/null X X} X X X################################################################## X# X# Run configure script X# X################################################################## Xfunction EditPathToPCREIncludeFiles() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to PCRE includes" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_PCRE_INC" 2> $TMP/DST_PCRE_INC X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_PCRE_INC="`cat $TMP/DST_PCRE_INC 2> /dev/null`" X return X} X Xfunction EditPathToPCRELibraryesFiles() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to PCRE libraryes" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_PCRE_LIBS" 2> $TMP/DST_PCRE_LIBS X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_PCRE_LIBS="`cat $TMP/DST_PCRE_LIBS 2> /dev/null`" X return X} X Xfunction EditPathToMySQLIncludeFiles() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to MySQL includes" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_MYSQL_INC" 2> $TMP/DST_MYSQL_INC X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_MYSQL_INC="`cat $TMP/DST_MYSQL_INC 2> /dev/null`" X return X} X Xfunction EditPathToMySQLLibraryesFiles() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to MySQL libraryes" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_MYSQL_LIBS" 2> $TMP/DST_MYSQL_LIBS X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_MYSQL_LIBS="`cat $TMP/DST_MYSQL_LIBS 2> /dev/null`" X return X} X Xfunction EditPathToHTTPDRootFolder() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to HTTPD root folder" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_HTTPD_LOC" 2> $TMP/DST_HTTPD_LOC X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_HTTPD_LOC="`cat $TMP/DST_HTTPD_LOC 2> /dev/null`" X return X} X Xfunction EditPathToRCDFolder() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to HTTPD root folder" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$DST_RCD_LOC" 2> $TMP/DST_RCD_LOC X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X DST_RCD_LOC="`cat $TMP/DST_RCD_LOC 2> /dev/null`" X return X} X Xfunction EditPathToConfFile() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to HTTPD root folder" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$CONFIGFILEPATH" 2> $TMP/CONFIGFILEPATH X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X CONFIGFILEPATH="`cat $TMP/CONFIGFILEPATH 2> /dev/null`" X return X} X Xfunction EditPrefixPath() X{ X rm -f $TMP/tempmsg2 X echo "Insert path" > $TMP/tempmsg2 X dialog --title "Insert path to HTTPD root folder" \ X --inputbox "`cat $TMP/tempmsg2`" 16 67 "$PREFIX" 2> $TMP/PREFIX X if [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/tempmsg2 X exit X fi X PREFIX="`cat $TMP/PREFIX 2> /dev/null`" X return X} X Xfunction RunConfigureScript() X{ X X CSELECT=" " X ALLFOUND="YES" X PREFIX="/usr/local" X echo "Install architecture-independent files in PREFIX: $PREFIX\n" >$TMP/cofigure.cache X echo "$PREFIX" >$TMP/PREFIX X X CONFIGFILEPATH="/etc/sams.conf" X echo "Default runtime config file: $CONFIGFILEPATH\n" >>$TMP/cofigure.cache X echo "$CONFIGFILEPATH" >$TMP/CONFIGFILEPATH X X CheckMySQLHeaders X echo "Path for MySQL includes: $DST_MYSQL_INC\n" >>$TMP/cofigure.cache X echo "$DST_MYSQL_INC" >$TMP/DST_MYSQL_INC X X CheckMySQLLibraryes X echo "Path for MySQL libraryes: $DST_MYSQL_LIBS\n" >>$TMP/cofigure.cache X echo "$DST_MYSQL_LIBS" >$TMP/DST_MYSQL_LIBS X X CheckPCREHeaders X echo "Path for PCRE includes: $DST_PCRE_INC\n" >>$TMP/cofigure.cache X echo "$DST_PCRE_INC" >$TMP/DST_PCRE_INC X X CheckPCRELibraryes X echo "Path for PCRE libraryes: $DST_PCRE_LIBS\n" >>$TMP/cofigure.cache X echo "$DST_PCRE_LIBS" >$TMP/DST_PCRE_LIBS X X CheckHttpdRootFolder X echo "Path for HTTPD root folder: $DST_HTTPD_LOC\n" >>$TMP/cofigure.cache X echo "$DST_HTTPD_LOC" >$TMP/DST_HTTPD_LOC X X CheckRCDFolder X echo "Path for the startup scripts folder: $DST_RCD_LOC\n" >>$TMP/cofigure.cache X echo "$DST_RCD_LOC" >>$TMP/DST_RCD_LOC X X echo "" >>$TMP/cofigure.cache X X while [ "$CSELECT" != "Exit" ] Xdo X X PCRE_INC="`wc -L $TMP/DST_PCRE_INC | tr "$TMP/DST_PCRE_INC" "\0" `" X PCRE_LIBS="`wc -L $TMP/DST_PCRE_LIBS | tr "$TMP/DST_PCRE_LIBS" "\0" `" X MYSQL_INC="`wc -L $TMP/DST_MYSQL_INC | tr "$TMP/DST_MYSQL_INC" "\0" `" X MYSQL_LIBS="`wc -L $TMP/DST_MYSQL_LIBS | tr "$TMP/DST_MYSQL_LIBS" "\0" `" X HTTPD_LOC="`wc -L $TMP/DST_HTTPD_LOC | tr "$TMP/DST_HTTPD_LOC" "\0" `" X X rm -f $TMP/str1 X rm -f $TMP/str2 X X if [ $PCRE_INC -eq 0 ]; then X echo " insert path to:" > $TMP/str1 X echo " PCRE includes" >> $TMP/str2 X fi X if [ $PCRE_LIBS -eq 0 ]; then X echo " insert path to:" > $TMP/str1 X echo " PCRE libraries" >> $TMP/str2 X fi X if [ $MYSQL_INC -eq 0 ]; then X echo " insert path to:" > $TMP/str1 X echo " MySQL includes" >> $TMP/str2 X fi X if [ $MYSQL_LIBS -eq 0 ]; then X echo " insert path to:" > $TMP/str1 X echo " MySQL libraries" >> $TMP/str2 X fi X if [ $HTTPD_LOC -eq 0 ]; then X echo " insert path to:" > $TMP/str1 X echo " HTTPD root folder" >> $TMP/str2 X fi X X STR1="`cat $TMP/str1 2> /dev/null`" X STR2="`cat $TMP/str2 2> /dev/null`" X X dialog --title "" --menu "\n Edit the configure script options and run configure \ X \n$STR1\n$STR2" 21 78 14 \ X"prefix" "Edit path to SAMS files: $PREFIX" \ X"sams.conf" "Edit path to SAMS config file: $CONFIGFILEPATH" \ X"rc.d" "Edit path for the startup scripts folder: $DST_RCD_LOC" \ X"includes" "Edit path for MySQL includes: $DST_MYSQL_INC" \ X"libraryes" "Edit path for MySQL libraryes: $DST_MYSQL_LIBS" \ X"pcreinc" "Edit path for PCRE includes: $DST_PCRE_INC" \ X"pcrelib" "Edit path for PCRE libraryes: $DST_PCRE_LIBS" \ X"httpd" "Edit path for HTTPD root folder: $DST_HTTPD_LOC" \ X"configure" "RUN the configure script" \ X"exit" "Exit" 2> $TMP/typeselect Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit Xfi X X TYPESELECT="`cat $TMP/typeselect 2> /dev/null`" X rm $TMP/typeselect X case $TYPESELECT in X ########### Выход из программы ############# X "exit") X CSELECT="Exit" X ;; X "prefix") X clear X EditPrefixPath X ;; X "sams.conf") X clear X EditPathToConfFile X ;; X "rc.d") X clear X EditPathToRCDFolder X ;; X "pcreinc") X clear X EditPathToPCREIncludeFiles X ;; X "pcrelib") X clear X EditPathToPCRELibraryesFiles X ;; X "includes") X clear X EditPathToMySQLIncludeFiles X ;; X "libraryes") X clear X EditPathToMySQLLibraryesFiles X ;; X "httpd") X clear X EditPathToHTTPDRootFolder X ;; X ####### Run the configure script ############ X "configure") X dialog --infobox "wait... " 5 74 X ./configure --prefix=$PREFIX --with-configfile=$CONFIGFILEPATH --with-rcd-locations=$DST_RCD_LOC --with-httpd-locations=$DST_HTTPD_LOC --with-mysql-includes=$DST_MYSQL_INC --with-mysql-libpath=$DST_MYSQL_LIBS > $TMP/cofigure.cache 2>$TMP/cofigure.cache X dialog --title "configure" --textbox "$TMP/cofigure.cache" 22 77 X rm -f $TMP/options $TMP/cofigure.cache 2>/dev/null X X ;; X X esac X Xdone X X return X} X Xfunction RunNewInstallation() X{ Xwhile [ "$NSELECT" != "Exit" ] Xdo X Xdialog --title "SAMS new installation" --menu "\n Select: $CSELECT" 15 74 6 \ X"configure" "Run the configure script" \ X"make" "Will now build up SAMS" \ X"make install" "Will now install SAMS" \ X"mysql" "Will now create SAMS database into MySQL" \ X"exit" "Exit" 2> $TMP/typeselect2 Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect2 X exit Xfi XTYPESELECT2="`cat $TMP/typeselect2 2> /dev/null`" Xrm $TMP/typeselect2 X Xcase $TYPESELECT2 in X########### Выход из программы ############# X "exit") X NSELECT="Exit" X ;; X####### Create SAMS MySQL database ############ X"mysql") X clear X CreateSAMSDatabases X ;; X####### make ############ X"make") X clear X RunMake X ;; X####### make ############ X"make install") X clear X RunMakeInstall X ;; X####### Run the configure script ############ X"configure") X clear X CSELECT=" " X RunConfigureScript X ;; X Xesac X X if [ $NSELECT = "Exit" ]; then X rm $TMP/SELECT2 X break X fi Xdone X X} X X X X X################################################################## X# X# Run make update X# X################################################################## Xfunction RunMakeUpdate() X{ X dialog --infobox "wait... " 5 74 X make update > $TMP/make.cache 2>$TMP/make.cache X dialog --title "make update" --textbox "$TMP/make.cache" 22 77 X rm -f $TMP/options $TMP/make.cache 2>/dev/null X X} X################################################################## X# X# update SAMS databases X# X################################################################## Xfunction UpdateSAMSDatabases() X{ X dialog --infobox "wait... " 5 74 X cd update X php upgrade_mysql_table.php >../$TMP/make.cache 2>../$TMP/make.cache X dialog --title "make update" --textbox "../$TMP/make.cache" 22 77 X cd ../ X rm -f $TMP/options $TMP/make.cache 2>/dev/null X X} X Xfunction UpdateSAMS() X{ Xwhile [ "$USELECT" != "Exit" ] Xdo X Xdialog --title "Update SAMS " --menu " \n XStop all SAMS daemons and squid.\n" 15 74 6 \ X"configure" "Run the configure script" \ X"make" "Will now build up SAMS" \ X"samsbin" "Update the SAMS scripts and binaryes" \ X"samsbase" "Update the SAMS databases" \ X"exit" "Exit" 2> $TMP/typeselect2 Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect2 X exit Xfi XTYPESELECT2="`cat $TMP/typeselect2 2> /dev/null`" Xrm $TMP/typeselect2 X Xcase $TYPESELECT2 in X########### Выход из программы ############# X "exit") X USELECT="Exit" X ;; X####### Update SAMS binaryes ############ X"samsbin") X RunMakeUpdate X clear X ;; X####### Update SAMS MySQL database ############ X"samsbase") X clear X UpdateSAMSDatabases X ;; X####### make ############ X"make") X clear X RunMake X ;; X####### Run the configure script ############ X"configure") X clear X CSELECT=" " X RunConfigureScript X ;; X Xesac X X if [ $USELECT = "Exit" ]; then X rm $TMP/USELECT X break X fi Xdone X X} X X X X X X X X X################################################################## X# X# Тело программы X# X################################################################## X XFOUNDDIALOG=0 Xfor ac_dir in /usr /usr/local/bin /usr/bin; do X if test -f "$ac_dir/dialog"; then X FOUNDDIALOG=1 X break; X fi Xdone X X# if [ $FOUNDDIALOG -eq "0" ]; then X# echo "dialog (http://hightek.org/dialog) not found" X# echo "dialog is a tool to display dialog boxes from shell scripts" X# exit X# fi X X X Xif [ ! -d $TMP ]; then X mkdir -p $TMP X#else X# rm $TMP/* Xfi X Xwhile [ "$SELECT1" != "Exit" ] Xdo X Xdialog --title "SAMS setup " --menu "\n Welcome\ X to SAMS (SQUID Account Management System) Setup." 15 74 6 \ X"new" "Run the new installation of the SAMS" \ X"update" "Update SAMS" \ X"uninstall" "Delete SAMS" \ X"exit" "Exit" 2> $TMP/typeselect Xif [ $? = 1 -o $? = 255 ]; then X rm -f $TMP/typeselect X exit Xfi XTYPESELECT="`cat $TMP/typeselect 2> /dev/null`" Xrm $TMP/typeselect X Xcase $TYPESELECT in X########### Выход из программы ############# X "exit") X SELECT1="Exit" X ;; X####### make ############ X"new") X NSELECT=" " X TYPESELECT2=" " X RunNewInstallation X ;; X####### Run the configure script ############ X"update") X clear X UpdateSAMS X ;; X####### Run the configure script ############ X"uninstall") X clear X RunMakeUnInstall X ;; X Xesac X X if [ $SELECT1= "Exit" ]; then X rm $TMP/SELECT X break X fi Xdone END-of-/usr/ports/www/sams/files/setup.sh echo x - /usr/ports/www/sams/files/pkg-message.in sed 's/^X//' >/usr/ports/www/sams/files/pkg-message.in << 'END-of-/usr/ports/www/sams/files/pkg-message.in' X X X*********************************************************************** X* INSTALL COMPLETE * X*********************************************************************** X XIf you want setup SAMS database, copy X%%PREFIX%%/etc/sams.conf.sample to %%PREFIX%%/etc/sams.conf, Xrun: X X# make setup X Xand follow directions. X XDon't forget to add X Xsams_enable="YES X Xinto your /etc/rc.conf. X XAdditionaly you must configure your Apache. For example add: X XAlias /sams/ "%%PREFIX%%/share/sams/" X<Directory "%%PREFIX%%/share/sams/"> X AllowOverride AuthConfig X Options Indexes MultiViews X Order allow,deny X Allow from all X</Directory> X Xinto %%PREFIX%%/etc/apache/httpd.conf. X XNOTE: You need config SQUID with SQUID_DELAY_POOLS to use SAMS. X********************************************************************** X X END-of-/usr/ports/www/sams/files/pkg-message.in echo x - /usr/ports/www/sams/files/sams.sh.in sed 's/^X//' >/usr/ports/www/sams/files/sams.sh.in << 'END-of-/usr/ports/www/sams/files/sams.sh.in' X#!/bin/sh X# $FreeBSD: ports/www/sams/files/sams.sh.in,v 1.1 2006/12/29 20:18:35 miwi Exp $ X X# PROVIDE: sams X# REQUIRE: LOGIN cleanvar X# KEYWORD: shutdown X X# Define these sams_* variables in one of these files: X# /etc/rc.conf X# /etc/rc.conf.local X# /etc/rc.conf.d/sams X# X# DO NOT CHANGE THESE DEFAULT VALUES HERE X# Xsams_enable=${sams_enable-"NO"} Xsams_flags=${sams_flags-""} Xsams_pidfile=${sams_pidfile-"/var/run/samsdaemon.pid"} X X. %%RC_SUBR%% X Xname="sams" Xrcvar=`set_rcvar` Xcommand="%%PREFIX%%/bin/samsdaemon" X Xload_rc_config $name X Xpidfile="${sams_pidfile}" X Xrun_rc_command "$1" END-of-/usr/ports/www/sams/files/sams.sh.in echo x - /usr/ports/www/sams/pkg-plist sed 's/^X//' >/usr/ports/www/sams/pkg-plist << 'END-of-/usr/ports/www/sams/pkg-plist' Xbin/recover_admin_passwd Xbin/sams Xbin/samsdaemon Xbin/samsf Xbin/samsredir Xetc/rc.d/sams Xshare/sams/admin.php Xshare/sams/bin/diskspace Xshare/sams/bin/freemem Xshare/sams/bin/freeswap Xshare/sams/bin/fsusage Xshare/sams/bin/getuptime Xshare/sams/bin/getwbinfousers Xshare/sams/bin/samsdf Xshare/sams/bin/testwbinfopasswd Xshare/sams/bin/updateuserlist Xshare/sams/config.php Xshare/sams/createpdf.php Xshare/sams/data/sams_db.sql Xshare/sams/data/squid_db.sql Xshare/sams/data/upgrade_mysql_table.php Xshare/sams/doc/EN/admin.html Xshare/sams/doc/EN/apache.html Xshare/sams/doc/EN/faq.html Xshare/sams/doc/EN/index.html Xshare/sams/doc/EN/install.html Xshare/sams/doc/EN/mysqlview.html Xshare/sams/doc/EN/redirect.html Xshare/sams/doc/EN/redirector.html Xshare/sams/doc/EN/remote.html Xshare/sams/doc/EN/samba.html Xshare/sams/doc/EN/sams_conf.html Xshare/sams/doc/EN/squid.html Xshare/sams/doc/EN/upgrade.html Xshare/sams/doc/RU/about.html Xshare/sams/doc/RU/addusers.html Xshare/sams/doc/RU/adldap.html Xshare/sams/doc/RU/apache.html Xshare/sams/doc/RU/backup.html Xshare/sams/doc/RU/faq.html Xshare/sams/doc/RU/filerecovery.html Xshare/sams/doc/RU/groups.html Xshare/sams/doc/RU/gui.html Xshare/sams/doc/RU/index.html Xshare/sams/doc/RU/install.html Xshare/sams/doc/RU/localhost.html Xshare/sams/doc/RU/log.html Xshare/sams/doc/RU/mysql.html Xshare/sams/doc/RU/mysql_install.html Xshare/sams/doc/RU/osandsoft.html Xshare/sams/doc/RU/pdfreport.html Xshare/sams/doc/RU/redirector.html Xshare/sams/doc/RU/samba.html Xshare/sams/doc/RU/samba3.html Xshare/sams/doc/RU/sams_conf.html Xshare/sams/doc/RU/script.html Xshare/sams/doc/RU/settings.html Xshare/sams/doc/RU/several.html Xshare/sams/doc/RU/shablons.html Xshare/sams/doc/RU/soft.html Xshare/sams/doc/RU/squid.html Xshare/sams/doc/RU/upgrade.html Xshare/sams/doc/RU/urllists.html Xshare/sams/doc/RU/users.html Xshare/sams/doc/RU/weather.php Xshare/sams/doc/img/10.jpg Xshare/sams/doc/img/11.jpg Xshare/sams/doc/img/12.jpg Xshare/sams/doc/img/12_small.jpg Xshare/sams/doc/img/15.jpg Xshare/sams/doc/img/17.jpg Xshare/sams/doc/img/18.jpg Xshare/sams/doc/img/19.jpg Xshare/sams/doc/img/2.jpg Xshare/sams/doc/img/20.jpg Xshare/sams/doc/img/21.jpg Xshare/sams/doc/img/22.jpg Xshare/sams/doc/img/23.jpg Xshare/sams/doc/img/24.jpg Xshare/sams/doc/img/25.jpg Xshare/sams/doc/img/26.jpg Xshare/sams/doc/img/27.jpg Xshare/sams/doc/img/27_small.jpg Xshare/sams/doc/img/29.jpg Xshare/sams/doc/img/3.jpg Xshare/sams/doc/img/30.jpg Xshare/sams/doc/img/31.jpg Xshare/sams/doc/img/32.jpg Xshare/sams/doc/img/33.jpg Xshare/sams/doc/img/34.jpg Xshare/sams/doc/img/34_small.jpg Xshare/sams/doc/img/3_small.jpg Xshare/sams/doc/img/6.jpg Xshare/sams/doc/img/adduserdialog.jpg Xshare/sams/doc/img/chname_32.jpg Xshare/sams/doc/img/chuserdata.jpg Xshare/sams/doc/img/clear.jpg Xshare/sams/doc/img/config_20.jpg Xshare/sams/doc/img/config_32.jpg Xshare/sams/doc/img/config_48.jpg Xshare/sams/doc/img/db.gif Xshare/sams/doc/img/dbcheck_32.jpg Xshare/sams/doc/img/dbcheck_48.jpg Xshare/sams/doc/img/domain-32.jpg Xshare/sams/doc/img/export_32.jpg Xshare/sams/doc/img/export_48.jpg Xshare/sams/doc/img/floppy.gif Xshare/sams/doc/img/grouplog-32.gif Xshare/sams/doc/img/gui.jpg Xshare/sams/doc/img/help.jpg Xshare/sams/doc/img/import_32.jpg Xshare/sams/doc/img/import_48.jpg Xshare/sams/doc/img/lframe.jpg Xshare/sams/doc/img/loadbase_32.jpg Xshare/sams/doc/img/log.gif Xshare/sams/doc/img/logs_squid_32.gif Xshare/sams/doc/img/monit.gif Xshare/sams/doc/img/nomysql.jpg Xshare/sams/doc/img/nomysql_big.jpg Xshare/sams/doc/img/nophp.jpg Xshare/sams/doc/img/nophp_big.jpg Xshare/sams/doc/img/nophpvars.jpg Xshare/sams/doc/img/nophpvars_big.jpg Xshare/sams/doc/img/paddressbook.gif Xshare/sams/doc/img/pdf_32.jpg Xshare/sams/doc/img/pfile.gif Xshare/sams/doc/img/pobject.gif Xshare/sams/doc/img/reconfig.jpg Xshare/sams/doc/img/recovery.jpg Xshare/sams/doc/img/redir.jpg Xshare/sams/doc/img/redirect.gif Xshare/sams/doc/img/sams_work.gif Xshare/sams/doc/img/samssettings.jpg Xshare/sams/doc/img/savebase-32.jpg Xshare/sams/doc/img/savebase_32.jpg Xshare/sams/doc/img/shablon.jpg Xshare/sams/doc/img/shutdown_32.jpg Xshare/sams/doc/img/squidlog-32.gif Xshare/sams/doc/img/stat_32.jpg Xshare/sams/doc/img/stat_48.jpg Xshare/sams/doc/img/stop.gif Xshare/sams/doc/img/stop.jpg Xshare/sams/doc/img/trafmon-c-48.jpg Xshare/sams/doc/img/trash.jpg Xshare/sams/doc/img/trash_32.jpg Xshare/sams/doc/img/useradd_32.jpg Xshare/sams/doc/img/usergroup_32.jpg Xshare/sams/doc/img/userlog-32.gif Xshare/sams/doc/img/websettings.jpg Xshare/sams/icon/bumper/adir.gif Xshare/sams/icon/bumper/allow_48.jpg Xshare/sams/icon/bumper/backup_48.jpg Xshare/sams/icon/bumper/chname_32.jpg Xshare/sams/icon/bumper/chname_48.jpg Xshare/sams/icon/bumper/computer.gif Xshare/sams/icon/bumper/config_20.jpg Xshare/sams/icon/bumper/config_32.jpg Xshare/sams/icon/bumper/config_48.jpg Xshare/sams/icon/bumper/db.gif Xshare/sams/icon/bumper/db_48.jpg Xshare/sams/icon/bumper/dbcheck_32.jpg Xshare/sams/icon/bumper/dbcheck_48.jpg Xshare/sams/icon/bumper/dbupgrade_32.jpg Xshare/sams/icon/bumper/dbupgrade_48.jpg Xshare/sams/icon/bumper/denied.gif Xshare/sams/icon/bumper/denied_48.jpg Xshare/sams/icon/bumper/denied_rus.gif Xshare/sams/icon/bumper/domain-32.jpg Xshare/sams/icon/bumper/domain-48.jpg Xshare/sams/icon/bumper/dpersonal.gif Xshare/sams/icon/bumper/duserd.gif Xshare/sams/icon/bumper/earth.gif Xshare/sams/icon/bumper/erase_32.jpg Xshare/sams/icon/bumper/erase_48.jpg Xshare/sams/icon/bumper/export_32.jpg Xshare/sams/icon/bumper/export_48.jpg Xshare/sams/icon/bumper/floppy.gif Xshare/sams/icon/bumper/ftraffic_32.jpg Xshare/sams/icon/bumper/ftraffic_48.jpg Xshare/sams/icon/bumper/ftv2blank.gif Xshare/sams/icon/bumper/ftv2doc.gif Xshare/sams/icon/bumper/ftv2folderclosed.gif Xshare/sams/icon/bumper/ftv2folderopen.gif Xshare/sams/icon/bumper/ftv2lastnode.gif Xshare/sams/icon/bumper/ftv2link.gif Xshare/sams/icon/bumper/ftv2mlastnode.gif Xshare/sams/icon/bumper/ftv2mnode.gif Xshare/sams/icon/bumper/ftv2node.gif Xshare/sams/icon/bumper/ftv2plastnode.gif Xshare/sams/icon/bumper/ftv2pnode.gif Xshare/sams/icon/bumper/ftv2vertline.gif Xshare/sams/icon/bumper/getpassword.jpg Xshare/sams/icon/bumper/grouplog-32.gif Xshare/sams/icon/bumper/grouplog.gif Xshare/sams/icon/bumper/help.jpg Xshare/sams/icon/bumper/ident.gif Xshare/sams/icon/bumper/import_32.jpg Xshare/sams/icon/bumper/import_48.jpg Xshare/sams/icon/bumper/lframe.jpg Xshare/sams/icon/bumper/liststat_32.jpg Xshare/sams/icon/bumper/liststat_48.jpg Xshare/sams/icon/bumper/loadbase_32.jpg Xshare/sams/icon/bumper/loadbase_48.jpg Xshare/sams/icon/bumper/log.gif Xshare/sams/icon/bumper/log_48.jpg Xshare/sams/icon/bumper/logoff_20.gif Xshare/sams/icon/bumper/logoff_32.jpg Xshare/sams/icon/bumper/logoff_48.jpg Xshare/sams/icon/bumper/logs-32.gif Xshare/sams/icon/bumper/logs.gif Xshare/sams/icon/bumper/logs_squid-32.gif Xshare/sams/icon/bumper/logs_squid.gif Xshare/sams/icon/bumper/logs_squid_32.gif Xshare/sams/icon/bumper/monit.gif Xshare/sams/icon/bumper/paddressbook.gif Xshare/sams/icon/bumper/pdf_32.jpg Xshare/sams/icon/bumper/pdf_48.jpg Xshare/sams/icon/bumper/persent_32.jpg Xshare/sams/icon/bumper/persent_48.jpg Xshare/sams/icon/bumper/personal.gif Xshare/sams/icon/bumper/pfile.gif Xshare/sams/icon/bumper/pgroup.gif Xshare/sams/icon/bumper/pobject.gif Xshare/sams/icon/bumper/proxy.gif Xshare/sams/icon/bumper/proxy_big.gif Xshare/sams/icon/bumper/puser.gif Xshare/sams/icon/bumper/puserd.gif Xshare/sams/icon/bumper/quote_alarm.gif Xshare/sams/icon/bumper/recalc_32.jpg Xshare/sams/icon/bumper/recalc_48.jpg Xshare/sams/icon/bumper/reconfig_48.jpg Xshare/sams/icon/bumper/recsquid_32.jpg Xshare/sams/icon/bumper/recsquid_48.jpg Xshare/sams/icon/bumper/redir.jpg Xshare/sams/icon/bumper/redirect.gif Xshare/sams/icon/bumper/redirect_48.jpg Xshare/sams/icon/bumper/sams.gif Xshare/sams/icon/bumper/sams_old.gif Xshare/sams/icon/bumper/savebase_32.jpg Xshare/sams/icon/bumper/savebase_48.jpg Xshare/sams/icon/bumper/shablon.jpg Xshare/sams/icon/bumper/shutdown_32.jpg Xshare/sams/icon/bumper/shutdown_48.jpg Xshare/sams/icon/bumper/squidlog-32.gif Xshare/sams/icon/bumper/squidlog.gif Xshare/sams/icon/bumper/stat_32.jpg Xshare/sams/icon/bumper/stat_48.jpg Xshare/sams/icon/bumper/stop.gif Xshare/sams/icon/bumper/stop.jpg Xshare/sams/icon/bumper/straffic_32.jpg Xshare/sams/icon/bumper/straffic_48.jpg Xshare/sams/icon/bumper/traffic_32.jpg Xshare/sams/icon/bumper/traffic_48.jpg Xshare/sams/icon/bumper/trafmon-32.jpg Xshare/sams/icon/bumper/trafmon-48.jpg Xshare/sams/icon/bumper/trafmon-c-32.jpg Xshare/sams/icon/bumper/trafmon-c-48.jpg Xshare/sams/icon/bumper/trash_32.jpg Xshare/sams/icon/bumper/trash_48.jpg Xshare/sams/icon/bumper/tree.css Xshare/sams/icon/bumper/ttraffic_32.jpg Xshare/sams/icon/bumper/ttraffic_48.jpg Xshare/sams/icon/bumper/user.jpg Xshare/sams/icon/bumper/user_32.jpg Xshare/sams/icon/bumper/user_48.jpg Xshare/sams/icon/bumper/useradd_32.jpg Xshare/sams/icon/bumper/useradd_48.jpg Xshare/sams/icon/bumper/usergroup_32.jpg Xshare/sams/icon/bumper/usergroup_48.jpg Xshare/sams/icon/bumper/userlog-32.gif Xshare/sams/icon/bumper/userlog.gif Xshare/sams/icon/bumper/usermon-32.jpg Xshare/sams/icon/bumper/usermon-48.jpg Xshare/sams/icon/bumper/usermon-c-32.jpg Xshare/sams/icon/bumper/usermon-c-48.jpg Xshare/sams/icon/bumper/userpasswd_32.jpg Xshare/sams/icon/bumper/userpasswd_48.jpg Xshare/sams/icon/bumper/webinterface.gif Xshare/sams/icon/classic/adir.gif Xshare/sams/icon/classic/admin_48.jpg Xshare/sams/icon/classic/alllog.gif Xshare/sams/icon/classic/allow_48.jpg Xshare/sams/icon/classic/ark_48.jpg Xshare/sams/icon/classic/backup_48.jpg Xshare/sams/icon/classic/blank.gif Xshare/sams/icon/classic/cache_32.jpg Xshare/sams/icon/classic/cache_48.jpg Xshare/sams/icon/classic/chname_32.jpg Xshare/sams/icon/classic/chname_48.jpg Xshare/sams/icon/classic/config_20.jpg Xshare/sams/icon/classic/config_32.jpg Xshare/sams/icon/classic/config_48.jpg Xshare/sams/icon/classic/db.gif Xshare/sams/icon/classic/db_48.jpg Xshare/sams/icon/classic/dbcheck_32.jpg Xshare/sams/icon/classic/dbcheck_48.jpg Xshare/sams/icon/classic/dbupgrade_32.jpg Xshare/sams/icon/classic/dbupgrade_48.jpg Xshare/sams/icon/classic/denied.gif Xshare/sams/icon/classic/denied_48.jpg Xshare/sams/icon/classic/denied_big.gif Xshare/sams/icon/classic/diffDoc.gif Xshare/sams/icon/classic/diffFolder.gif Xshare/sams/icon/classic/domain-32.jpg Xshare/sams/icon/classic/domain-48.jpg Xshare/sams/icon/classic/domain_32.jpg Xshare/sams/icon/classic/dpersonal.gif Xshare/sams/icon/classic/duserd.gif Xshare/sams/icon/classic/earth.gif Xshare/sams/icon/classic/empty.gif Xshare/sams/icon/classic/erase_32.jpg Xshare/sams/icon/classic/erase_48.jpg Xshare/sams/icon/classic/error.gif Xshare/sams/icon/classic/export.jpg Xshare/sams/icon/classic/export_32.jpg Xshare/sams/icon/classic/export_48.jpg Xshare/sams/icon/classic/floppy.gif Xshare/sams/icon/classic/floppy_big.gif Xshare/sams/icon/classic/ftraffic_32.jpg Xshare/sams/icon/classic/ftraffic_48.jpg Xshare/sams/icon/classic/ftv2blank.gif Xshare/sams/icon/classic/ftv2doc.gif Xshare/sams/icon/classic/ftv2folderclosed.gif Xshare/sams/icon/classic/ftv2folderopen.gif Xshare/sams/icon/classic/ftv2lastnode.gif Xshare/sams/icon/classic/ftv2link.gif Xshare/sams/icon/classic/ftv2mlastnode.gif Xshare/sams/icon/classic/ftv2mnode.gif Xshare/sams/icon/classic/ftv2node.gif Xshare/sams/icon/classic/ftv2plastnode.gif Xshare/sams/icon/classic/ftv2pnode.gif Xshare/sams/icon/classic/ftv2vertline.gif Xshare/sams/icon/classic/getpassword.jpg Xshare/sams/icon/classic/grouplog-32.gif Xshare/sams/icon/classic/grouplog.gif Xshare/sams/icon/classic/help.jpg Xshare/sams/icon/classic/ident.gif Xshare/sams/icon/classic/import.jpg Xshare/sams/icon/classic/import_32.jpg Xshare/sams/icon/classic/import_48.jpg Xshare/sams/icon/classic/input.jpg Xshare/sams/icon/classic/join.gif Xshare/sams/icon/classic/joinbottom.gif Xshare/sams/icon/classic/lframe.jpg Xshare/sams/icon/classic/line.gif Xshare/sams/icon/classic/liststat_32.jpg Xshare/sams/icon/classic/liststat_48.jpg Xshare/sams/icon/classic/loadbackup_48.jpg Xshare/sams/icon/classic/loadbase-32.jpg Xshare/sams/icon/classic/loadbase.jpg Xshare/sams/icon/classic/loadbase_32.jpg Xshare/sams/icon/classic/loadbase_48.jpg Xshare/sams/icon/classic/log.gif Xshare/sams/icon/classic/log_48.jpg Xshare/sams/icon/classic/logoff.gif Xshare/sams/icon/classic/logoff_20.gif Xshare/sams/icon/classic/logoff_20.jpg Xshare/sams/icon/classic/logoff_32.jpg Xshare/sams/icon/classic/logoff_48.jpg Xshare/sams/icon/classic/logs-32.gif Xshare/sams/icon/classic/logs.gif Xshare/sams/icon/classic/logs_squid.gif Xshare/sams/icon/classic/logs_squid_32.gif Xshare/sams/icon/classic/minus.gif Xshare/sams/icon/classic/minusbottom.gif Xshare/sams/icon/classic/monit.gif Xshare/sams/icon/classic/output.jpg Xshare/sams/icon/classic/paddressbook.gif Xshare/sams/icon/classic/passwd.gif Xshare/sams/icon/classic/password.gif Xshare/sams/icon/classic/pdf_32.jpg Xshare/sams/icon/classic/pdf_48.jpg Xshare/sams/icon/classic/pdir.gif Xshare/sams/icon/classic/pdir_002.gif Xshare/sams/icon/classic/persent_32.jpg Xshare/sams/icon/classic/persent_48.jpg Xshare/sams/icon/classic/personal.gif Xshare/sams/icon/classic/pfile.gif Xshare/sams/icon/classic/pgroup.gif Xshare/sams/icon/classic/pgroup_open.gif Xshare/sams/icon/classic/plus.gif Xshare/sams/icon/classic/plusbottom.gif Xshare/sams/icon/classic/plustop.gif Xshare/sams/icon/classic/pobject.gif Xshare/sams/icon/classic/pobject_open.gif Xshare/sams/icon/classic/porganization.gif Xshare/sams/icon/classic/printer.gif Xshare/sams/icon/classic/proxy.gif Xshare/sams/icon/classic/proxy_big.gif Xshare/sams/icon/classic/proxyes_32.jpg Xshare/sams/icon/classic/proxyes_48.jpg Xshare/sams/icon/classic/psite.gif Xshare/sams/icon/classic/puser.gif Xshare/sams/icon/classic/puser_open.gif Xshare/sams/icon/classic/puserd.gif Xshare/sams/icon/classic/quote_alarm.gif Xshare/sams/icon/classic/reark_48.jpg Xshare/sams/icon/classic/recalc_32.jpg Xshare/sams/icon/classic/recalc_48.jpg Xshare/sams/icon/classic/reconfig_48.jpg Xshare/sams/icon/classic/recsquid_32.jpg Xshare/sams/icon/classic/recsquid_48.jpg Xshare/sams/icon/classic/redir.jpg Xshare/sams/icon/classic/redirect.gif Xshare/sams/icon/classic/redirect_48.jpg Xshare/sams/icon/classic/redirect_big.gif Xshare/sams/icon/classic/roll.gif Xshare/sams/icon/classic/sams.gif Xshare/sams/icon/classic/savebase-32.jpg Xshare/sams/icon/classic/savebase.jpg Xshare/sams/icon/classic/savebase_32.jpg Xshare/sams/icon/classic/savebase_48.jpg Xshare/sams/icon/classic/shablon.jpg Xshare/sams/icon/classic/shutdown_32.jpg Xshare/sams/icon/classic/shutdown_48.jpg Xshare/sams/icon/classic/squidlog-32.gif Xshare/sams/icon/classic/squidlog.gif Xshare/sams/icon/classic/stat_32.jpg Xshare/sams/icon/classic/stat_48.jpg Xshare/sams/icon/classic/stop.gif Xshare/sams/icon/classic/stop.jpg Xshare/sams/icon/classic/stop_32.jpg Xshare/sams/icon/classic/straffic_32.jpg Xshare/sams/icon/classic/straffic_48.jpg Xshare/sams/icon/classic/switch_32.jpg Xshare/sams/icon/classic/switch_48.jpg Xshare/sams/icon/classic/tr_input.gif Xshare/sams/icon/classic/tr_input_32.jpg Xshare/sams/icon/classic/tr_input_48.jpg Xshare/sams/icon/classic/tr_output.gif Xshare/sams/icon/classic/tr_output_32.jpg Xshare/sams/icon/classic/tr_output_48.jpg Xshare/sams/icon/classic/tr_user_input_32.jpg Xshare/sams/icon/classic/tr_user_input_48.jpg Xshare/sams/icon/classic/tr_user_output_32.jpg Xshare/sams/icon/classic/tr_user_output_48.jpg Xshare/sams/icon/classic/tr_userport_input_32.jpg Xshare/sams/icon/classic/tr_userport_input_48.jpg Xshare/sams/icon/classic/tr_userport_output_32.jpg Xshare/sams/icon/classic/tr_userport_output_48.jpg Xshare/sams/icon/classic/traffic-16.jpg Xshare/sams/icon/classic/traffic-16.png Xshare/sams/icon/classic/traffic-32.jpg Xshare/sams/icon/classic/traffic.gif Xshare/sams/icon/classic/traffic.jpg Xshare/sams/icon/classic/traffic_32.jpg Xshare/sams/icon/classic/traffic_48.jpg Xshare/sams/icon/classic/trafmon-32.jpg Xshare/sams/icon/classic/trafmon-48.jpg Xshare/sams/icon/classic/trafmon-c-32.jpg Xshare/sams/icon/classic/trafmon-c-48.jpg Xshare/sams/icon/classic/trash-16.png Xshare/sams/icon/classic/trash_32.jpg Xshare/sams/icon/classic/trash_48.jpg Xshare/sams/icon/classic/tree.css Xshare/sams/icon/classic/ttraffic_32.jpg Xshare/sams/icon/classic/ttraffic_48.jpg Xshare/sams/icon/classic/user.jpg Xshare/sams/icon/classic/user_32.jpg Xshare/sams/icon/classic/user_48.jpg Xshare/sams/icon/classic/useradd.jpg Xshare/sams/icon/classic/useradd_32.jpg Xshare/sams/icon/classic/useradd_48.jpg Xshare/sams/icon/classic/usergroup_32.jpg Xshare/sams/icon/classic/usergroup_48.jpg Xshare/sams/icon/classic/userlog-32.gif Xshare/sams/icon/classic/userlog.gif Xshare/sams/icon/classic/usermon-32.jpg Xshare/sams/icon/classic/usermon-48.jpg Xshare/sams/icon/classic/usermon-c-32.jpg Xshare/sams/icon/classic/usermon-c-48.jpg Xshare/sams/icon/classic/userpasswd_32.jpg Xshare/sams/icon/classic/userpasswd_48.jpg Xshare/sams/icon/classic/warning.jpg Xshare/sams/icon/classic/web.gif Xshare/sams/icon/classic/webinterface.gif Xshare/sams/index.html Xshare/sams/install.php Xshare/sams/lang/koi8r-2-utf8 Xshare/sams/lang/koi8r-2-win1251 Xshare/sams/lang/koi8r-2-win1251.php Xshare/sams/lang/lang.EN Xshare/sams/lang/lang.KOI8-R Xshare/sams/lang/lang.UTF8 Xshare/sams/lang/lang.WIN1251 Xshare/sams/lframe.php Xshare/sams/lframe_0ident.php Xshare/sams/lframe_1webconf.php Xshare/sams/lframe_sams.php Xshare/sams/lframe_users.php Xshare/sams/lib/chart.php Xshare/sams/lib/createfont.php Xshare/sams/lib/font/Nimbus.php Xshare/sams/lib/font/Nimbus.ttf Xshare/sams/lib/font/Nimbus.z Xshare/sams/lib/font/courier.php Xshare/sams/lib/font/helvetica.php Xshare/sams/lib/font/helveticab.php Xshare/sams/lib/font/helveticabi.php Xshare/sams/lib/font/helveticai.php Xshare/sams/lib/font/makefont/cp1250.map Xshare/sams/lib/font/makefont/cp1251.map Xshare/sams/lib/font/makefont/cp1252.map Xshare/sams/lib/font/makefont/cp1253.map Xshare/sams/lib/font/makefont/cp1254.map Xshare/sams/lib/font/makefont/cp1255.map Xshare/sams/lib/font/makefont/cp1257.map Xshare/sams/lib/font/makefont/cp1258.map Xshare/sams/lib/font/makefont/cp874.map Xshare/sams/lib/font/makefont/iso-8859-1.map Xshare/sams/lib/font/makefont/iso-8859-11.map Xshare/sams/lib/font/makefont/iso-8859-15.map Xshare/sams/lib/font/makefont/iso-8859-16.map Xshare/sams/lib/font/makefont/iso-8859-2.map Xshare/sams/lib/font/makefont/iso-8859-4.map Xshare/sams/lib/font/makefont/iso-8859-5.map Xshare/sams/lib/font/makefont/iso-8859-7.map Xshare/sams/lib/font/makefont/iso-8859-9.map Xshare/sams/lib/font/makefont/koi8-r.map Xshare/sams/lib/font/makefont/koi8-u.map Xshare/sams/lib/font/makefont/makefont.php Xshare/sams/lib/font/symbol.php Xshare/sams/lib/font/times.php Xshare/sams/lib/font/timesb.php Xshare/sams/lib/font/timesbi.php Xshare/sams/lib/font/timesi.php Xshare/sams/lib/font/zapfdingbats.php Xshare/sams/lib/fpdf.php Xshare/sams/lib/rgb.php Xshare/sams/main.php Xshare/sams/menu/ftiens4.js Xshare/sams/menu/ftiens4.js.work Xshare/sams/menu/menu.js Xshare/sams/menu/script.js Xshare/sams/menu/ua.js Xshare/sams/messages/blocked.php Xshare/sams/messages/config.php Xshare/sams/messages/denied.gif Xshare/sams/messages/denied.html Xshare/sams/messages/urldenied.html Xshare/sams/mysqltools.php Xshare/sams/rgb.php Xshare/sams/src/_adldap.php Xshare/sams/src/_lffolder_6_users.php Xshare/sams/src/_usersbuttom_1_ldap.php Xshare/sams/src/adldap.php Xshare/sams/src/adminbuttom_2_chuser.php Xshare/sams/src/adminbuttom_3_addadm.php Xshare/sams/src/adminbuttom_4_chpasswd.php Xshare/sams/src/adminbuttom_5_deladmin.php Xshare/sams/src/adminbuttom_9_logoff.php Xshare/sams/src/admintray.php Xshare/sams/src/allowbuttom_1_loadlist.php Xshare/sams/src/allowbuttom_2_savelist.php Xshare/sams/src/allowbuttom_3_deletelist.php Xshare/sams/src/allowlisttray.php Xshare/sams/src/auth.php Xshare/sams/src/backupbuttom_1_savebase.php Xshare/sams/src/backupbuttom_2_loadbase.php Xshare/sams/src/backuptray.php Xshare/sams/src/configbuttom_1_prop.php Xshare/sams/src/configtray.php Xshare/sams/src/contextbuttom_1_loadlist.php Xshare/sams/src/contextbuttom_2_savelist.php Xshare/sams/src/contextbuttom_3_deletelist.php Xshare/sams/src/contextlisttray.php Xshare/sams/src/createdb.php Xshare/sams/src/dbbuttom_1_dbcheck.php Xshare/sams/src/dbbuttom_6_statdb.php Xshare/sams/src/dbbuttom_7_chname.php Xshare/sams/src/dbbuttom_9_upgr.php Xshare/sams/src/dbtray.php Xshare/sams/src/deniedbuttom_1_loadlist.php Xshare/sams/src/deniedbuttom_2_savelist.php Xshare/sams/src/deniedbuttom_3_deletelist.php Xshare/sams/src/deniedlisttray.php Xshare/sams/src/filebuttom_1_loadlist.php Xshare/sams/src/filebuttom_2_savelist.php Xshare/sams/src/filebuttom_3_deletelist.php Xshare/sams/src/filelisttray.php Xshare/sams/src/groupbuttom_0_prop.php Xshare/sams/src/groupbuttom_1_traffic.php Xshare/sams/src/groupbuttom_2_file.php Xshare/sams/src/groupbuttom_3_site.php Xshare/sams/src/groupbuttom_9_delete.php Xshare/sams/src/grouptray.php Xshare/sams/src/lffolder_1_config.php Xshare/sams/src/lffolder_2_squid.php Xshare/sams/src/lffolder_3_mysql.php Xshare/sams/src/lffolder_4_redirect.php Xshare/sams/src/lffolder_4_z0_filedenied.php Xshare/sams/src/lffolder_4_z1_urldenied.php Xshare/sams/src/lffolder_4_z2_url.php Xshare/sams/src/lffolder_4_z3_urlallow.php Xshare/sams/src/lffolder_4_z4_local.php Xshare/sams/src/lffolder_5_z1_shablon.php Xshare/sams/src/lffolder_5_z2_groups.php Xshare/sams/src/lffolder_7_z1_monitor.php Xshare/sams/src/lffolder_7_z2_log.php Xshare/sams/src/lffolder_7_z3_backup.php Xshare/sams/src/lffolder_9_help.php Xshare/sams/src/localbuttom_1_savelist.php Xshare/sams/src/localbuttom_2_loadlist.php Xshare/sams/src/locallisttray.php Xshare/sams/src/logbuttom_1.php Xshare/sams/src/logbuttom_2.php Xshare/sams/src/logbuttom_3.php Xshare/sams/src/logbuttom_4.php Xshare/sams/src/logbuttom_5.php Xshare/sams/src/logbuttom_9_delete.php Xshare/sams/src/logfunction.php Xshare/sams/src/logtray.php Xshare/sams/src/monitorbuttom_1.php Xshare/sams/src/monitorbuttom_2.php Xshare/sams/src/monitortray.php Xshare/sams/src/newgrpbuttom_1_adldap.php Xshare/sams/src/newgrpbuttom_5_addgroup.php Xshare/sams/src/newgrptray.php Xshare/sams/src/newshablon.php Xshare/sams/src/proxybuttom_1_down.php Xshare/sams/src/proxytray.php Xshare/sams/src/redirbuttom_1_loadlist.php Xshare/sams/src/redirbuttom_2_savelist.php Xshare/sams/src/redirbuttom_3_deletelist.php Xshare/sams/src/redirbuttom_4_redirstat.php Xshare/sams/src/redirlisttray.php Xshare/sams/src/script/send_email_message Xshare/sams/src/script/send_winpopup_message Xshare/sams/src/script/test_script Xshare/sams/src/shablonbuttom_1_prop.php Xshare/sams/src/shablonbuttom_9_delete.php Xshare/sams/src/shablonnew.php Xshare/sams/src/shablontray.php Xshare/sams/src/squidbuttom_0_reconfig.php Xshare/sams/src/squidbuttom_1_savebase.php Xshare/sams/src/squidbuttom_2_loadbase.php Xshare/sams/src/squidbuttom_3_delete.php Xshare/sams/src/squidbuttom_4_addcache.php Xshare/sams/src/squidbuttom_5_readcache.php Xshare/sams/src/squidtray.php Xshare/sams/src/urllistfunction.php Xshare/sams/src/user.php Xshare/sams/src/userbuttom_1_prop.php Xshare/sams/src/userbuttom_2_traffic.php Xshare/sams/src/userbuttom_3_file.php Xshare/sams/src/userbuttom_4_site.php Xshare/sams/src/userbuttom_4_time.php Xshare/sams/src/userbuttom_5_clear.php Xshare/sams/src/userbuttom_6_chpasswd.php Xshare/sams/src/userbuttom_9_delete.php Xshare/sams/src/userbuttom_9_logoff.php Xshare/sams/src/usersbuttom_1_adldap.php Xshare/sams/src/usersbuttom_1_domain.php Xshare/sams/src/usersbuttom_1_ncsa.php Xshare/sams/src/usersbuttom_1_useradd.php Xshare/sams/src/usersbuttom_2_traffic.php Xshare/sams/src/usersbuttom_3_file.php Xshare/sams/src/usersbuttom_4_percent.php Xshare/sams/src/usersbuttom_4_site.php Xshare/sams/src/usersbuttom_5_recalc.php Xshare/sams/src/usersbuttom_6_clear.php Xshare/sams/src/usersbuttom_7_pdf.php Xshare/sams/src/userstray.php Xshare/sams/src/usertray.php Xshare/sams/src/webconfigbuttom_1_prop.php Xshare/sams/src/webconfigtray.php Xshare/sams/tray.php X@dirrm share/sams/src/script X@dirrm share/sams/src X@dirrm share/sams/messages X@dirrm share/sams/menu X@dirrm share/sams/lib/font/makefont X@dirrm share/sams/lib/font X@dirrm share/sams/lib X@dirrm share/sams/lang X@dirrm share/sams/icon/classic X@dirrm share/sams/icon/bumper X@dirrm share/sams/icon X@dirrm share/sams/doc/img X@dirrm share/sams/doc/RU X@dirrm share/sams/doc/EN X@dirrm share/sams/doc X@dirrm share/sams/data X@dirrm share/sams/bin X@dirrm share/sams/backup X@dirrm share/sams END-of-/usr/ports/www/sams/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810151701.m9FH1af4064025>