aboutsummaryrefslogtreecommitdiff
path: root/www/sams
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-07-09 16:57:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-07-09 16:57:55 +0000
commitfa9a01888e38cf08385da7cb0db4c3fdc3b9950d (patch)
treec3e1f6e3a5ab5451f139da88231e0f24f6b9d081 /www/sams
parent66a8f0e35773d973f5da8cf2a228137f330d9b45 (diff)
downloadports-fa9a01888e38cf08385da7cb0db4c3fdc3b9950d.tar.gz
ports-fa9a01888e38cf08385da7cb0db4c3fdc3b9950d.zip
Notes
Diffstat (limited to 'www/sams')
-rw-r--r--www/sams/Makefile10
-rw-r--r--www/sams/distinfo6
-rw-r--r--www/sams/files/patch-configure12
-rw-r--r--www/sams/pkg-plist26
4 files changed, 35 insertions, 19 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 064f12ce8aaa..6de8ed8c6e6f 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -6,19 +6,17 @@
#
PORTNAME= sams
-PORTVERSION= 20060417
-PORTREVISION= 1
+DISTVERSION= 20070524
CATEGORIES= www
-MASTER_SITES= http://sams.irc.perm.ru/downloads/
+MASTER_SITES= http://sams.irc.perm.ru/downloads/ \
+ http://www.dindin.ru/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}
-MAINTAINER= dindin@FreeBSD.org.ua
+MAINTAINER= dindin@dindin.ru
COMMENT= Squid Accounting Management System
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
USE_RC_SUBR= sams.sh
USE_PHP= gd mysql ldap
diff --git a/www/sams/distinfo b/www/sams/distinfo
index c1982328a8a4..33ea1199cfba 100644
--- a/www/sams/distinfo
+++ b/www/sams/distinfo
@@ -1,3 +1,3 @@
-MD5 (sams-20060417.tar.gz) = 30334c8369ab59648f5f3047055bc8b1
-SHA256 (sams-20060417.tar.gz) = dfb01904205489bf1e2e2d99d4548f3470c4b35faa2c9b45cee2465ab28b4a2b
-SIZE (sams-20060417.tar.gz) = 1635262
+MD5 (sams-20070524.tar.gz) = f9d7a0d6b9a43133f87bc797178902b3
+SHA256 (sams-20070524.tar.gz) = 4f076537b8823e6d0935c17eabbb45a31b7d5e918db5edd0516c68fea8966b19
+SIZE (sams-20070524.tar.gz) = 1665940
diff --git a/www/sams/files/patch-configure b/www/sams/files/patch-configure
index 44c397517751..e2908b3c7dc9 100644
--- a/www/sams/files/patch-configure
+++ b/www/sams/files/patch-configure
@@ -1,15 +1,15 @@
---- configure.orig Mon Apr 10 20:59:48 2006
-+++ configure Thu Dec 21 16:33:07 2006
-@@ -6701,21 +6701,29 @@
- $ac_cs_success || { (exit 1); exit 1; }
- fi
+--- configure.orig Thu Apr 5 17:16:02 2007
++++ configure Mon Apr 23 11:46:22 2007
+@@ -6703,20 +6703,30 @@
+
+ echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
--
+CASHE_DIR=./tmp
+CASHE=${CASHE_DIR}/config.cashe
+[ -d ./tmp ] || mkdir ${CASHE_DIR}
+[ -f ./tmp/config.cashe ] && truncate ${CASHE}
+exec 7>> ${CASHE}
++
echo "$as_me:$LINENO: result: " >&5
echo "${ECHO_T}" >&6
echo "$as_me:$LINENO: result: ***** Options and locations *****" >&5
diff --git a/www/sams/pkg-plist b/www/sams/pkg-plist
index fe0a2c5b0037..4a870bd7fda6 100644
--- a/www/sams/pkg-plist
+++ b/www/sams/pkg-plist
@@ -5,9 +5,17 @@ bin/samsf
bin/samsredir
etc/sams.conf.sample
%%DATADIR%%/admin.php
+%%DATADIR%%/bin/diskspace
+%%DATADIR%%/bin/freemem
+%%DATADIR%%/bin/freeswap
+%%DATADIR%%/bin/fsusage
+%%DATADIR%%/bin/getwbinfousers
+%%DATADIR%%/bin/samsdf
+%%DATADIR%%/bin/testwbinfopasswd
+%%DATADIR%%/bin/updateuserlist
+%%DATADIR%%/bin/uptime
%%DATADIR%%/config.php
%%DATADIR%%/createpdf.php
-%%DATADIR%%/defaultpassword.php
%%DATADIR%%/doc/EN/admin.html
%%DATADIR%%/doc/EN/apache.html
%%DATADIR%%/doc/EN/faq.html
@@ -44,6 +52,7 @@ etc/sams.conf.sample
%%DATADIR%%/doc/KOI8-R/sams_conf.html
%%DATADIR%%/doc/KOI8-R/script.html
%%DATADIR%%/doc/KOI8-R/settings.html
+%%DATADIR%%/doc/KOI8-R/several.html
%%DATADIR%%/doc/KOI8-R/shablons.html
%%DATADIR%%/doc/KOI8-R/soft.html
%%DATADIR%%/doc/KOI8-R/squid.html
@@ -369,6 +378,8 @@ etc/sams.conf.sample
%%DATADIR%%/icon/classic/printer.gif
%%DATADIR%%/icon/classic/proxy.gif
%%DATADIR%%/icon/classic/proxy_big.gif
+%%DATADIR%%/icon/classic/proxyes_32.jpg
+%%DATADIR%%/icon/classic/proxyes_48.jpg
%%DATADIR%%/icon/classic/psite.gif
%%DATADIR%%/icon/classic/puser.gif
%%DATADIR%%/icon/classic/puser_open.gif
@@ -455,10 +466,12 @@ etc/sams.conf.sample
%%DATADIR%%/icon/classic/web.gif
%%DATADIR%%/icon/classic/webinterface.gif
%%DATADIR%%/index.html
+%%DATADIR%%/lang/koi8r-2-utf8
%%DATADIR%%/lang/koi8r-2-win1251
%%DATADIR%%/lang/koi8r-2-win1251.php
%%DATADIR%%/lang/lang.EN
%%DATADIR%%/lang/lang.KOI8-R
+%%DATADIR%%/lang/lang.UTF8
%%DATADIR%%/lang/lang.WIN1251
%%DATADIR%%/lframe.php
%%DATADIR%%/lframe_0ident.php
@@ -526,7 +539,6 @@ etc/sams.conf.sample
%%DATADIR%%/messages/urldenied.html
%%DATADIR%%/mysqltools.php
%%DATADIR%%/rgb.php
-%%DATADIR%%/setpassword.php
%%DATADIR%%/src/_lffolder_6_users.php
%%DATADIR%%/src/_usersbuttom_1_ldap.php
%%DATADIR%%/src/adldap.php
@@ -550,7 +562,7 @@ etc/sams.conf.sample
%%DATADIR%%/src/contextbuttom_2_savelist.php
%%DATADIR%%/src/contextbuttom_3_deletelist.php
%%DATADIR%%/src/contextlisttray.php
-%%DATADIR%%/src/createpdf.ph2
+%%DATADIR%%/src/createdb.php
%%DATADIR%%/src/dbbuttom_1_dbcheck.php
%%DATADIR%%/src/dbbuttom_6_statdb.php
%%DATADIR%%/src/dbbuttom_7_chname.php
@@ -559,6 +571,10 @@ etc/sams.conf.sample
%%DATADIR%%/src/deniedbuttom_2_savelist.php
%%DATADIR%%/src/deniedbuttom_3_deletelist.php
%%DATADIR%%/src/deniedlisttray.php
+%%DATADIR%%/src/filebuttom_1_loadlist.php
+%%DATADIR%%/src/filebuttom_2_savelist.php
+%%DATADIR%%/src/filebuttom_3_deletelist.php
+%%DATADIR%%/src/filelisttray.php
%%DATADIR%%/src/groupbuttom_0_prop.php
%%DATADIR%%/src/groupbuttom_1_traffic.php
%%DATADIR%%/src/groupbuttom_2_file.php
@@ -569,6 +585,7 @@ etc/sams.conf.sample
%%DATADIR%%/src/lffolder_2_squid.php
%%DATADIR%%/src/lffolder_3_mysql.php
%%DATADIR%%/src/lffolder_4_redirect.php
+%%DATADIR%%/src/lffolder_4_z0_filedenied.php
%%DATADIR%%/src/lffolder_4_z1_urldenied.php
%%DATADIR%%/src/lffolder_4_z2_url.php
%%DATADIR%%/src/lffolder_4_z3_urlallow.php
@@ -615,6 +632,7 @@ etc/sams.conf.sample
%%DATADIR%%/src/squidbuttom_1_savebase.php
%%DATADIR%%/src/squidbuttom_2_loadbase.php
%%DATADIR%%/src/squidbuttom_3_delete.php
+%%DATADIR%%/src/squidbuttom_4_addcache.php
%%DATADIR%%/src/squidtray.php
%%DATADIR%%/src/urllistfunction.php
%%DATADIR%%/src/user.php
@@ -642,7 +660,6 @@ etc/sams.conf.sample
%%DATADIR%%/src/usertray.php
%%DATADIR%%/src/webconfigbuttom_1_prop.php
%%DATADIR%%/src/webconfigtray.php
-%%DATADIR%%/test_redirector.php
%%DATADIR%%/tray.php
@dirrm %%DATADIR%%/src/script
@dirrm %%DATADIR%%/src
@@ -664,5 +681,6 @@ etc/sams.conf.sample
@dirrm %%DATADIR%%/doc/EN
@dirrm %%DATADIR%%/doc
@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%/bin
@dirrm %%DATADIR%%/backup
@dirrm %%DATADIR%%