- Update to 1.0.4

PR:		129816
Submitted by:	Yuriy Grishin <uzgrishin@mail.ru> (maintainer)
This commit is contained in:
Martin Wilke 2009-01-18 11:23:39 +00:00
parent 97f8ae2f6f
commit 713ffaeef7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226366
3 changed files with 17 additions and 16 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= sams
DISTVERSION= 1.0.3
PORTREVISION= 1
DISTVERSION= 1.0.4
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://sams.perm.ru/download/ \
@ -22,30 +21,35 @@ LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
USE_RC_SUBR= sams.sh
OPTIONS= NTLM "NTLM autorization/ActiveDirectory support" off \
APACHE2 "Use apache version 2" on
APACHE22 "Use apache version 2.2" on \
PHP5GD "Enable constructing graphs" on
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_PHP= gd mysql ldap
USE_PHP= mysql
USE_MYSQL= 5.0
CONFIGURE_ARGS= --with-configfile=${LOCALBASE}/etc/sams.conf \
--with-rcd-locations=${LOCALBASE}/etc/rc.d/ \
--with-httpd-locations=${DOCUMENT_ROOT}
--with-rcd-locations=${LOCALBASE}/etc/rc.d/
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_NTLM)
RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
RUN_DEPENDS+= ${LOCALBASE}/include/php/ext/ldap/php_ldap.h:${PORTSDIR}/net/php5-ldap/
.endif
.if defined(WITH_APACHE2)
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
.else
.if defined(WITH_PHP5GD)
RUN_DEPENDS+= ${LOCALBASE}/include/php/ext/gd/php_gd.h:${PORTSDIR}/graphics/php5-gd/
.endif
.if defined(WITH_APACHE22)
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
.else
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
.endif
post-extract:

View File

@ -1,3 +1,3 @@
MD5 (sams-1.0.3.tar.bz2) = 78782acf45dc8d69976f23f5a9de816f
SHA256 (sams-1.0.3.tar.bz2) = 0369e1397eccb2e32f6132069b8a45638d8507214ebd935084d0a871ca1ad05d
SIZE (sams-1.0.3.tar.bz2) = 1561538
MD5 (sams-1.0.4.tar.bz2) = e0aad64098968bd4159687d2d569dcea
SHA256 (sams-1.0.4.tar.bz2) = 6f770008cb910418011118198f0a6d211588cc24e9d567a2dee49f78f29681ec
SIZE (sams-1.0.4.tar.bz2) = 1561524

View File

@ -33,7 +33,6 @@ etc/sams.conf.sample
%%DATADIR%%/doc/RU/script.html
%%DATADIR%%/doc/RU/settings.html
%%DATADIR%%/doc/RU/samba.html
%%DATADIR%%/doc/RU/weather.php
%%DATADIR%%/doc/RU/apache.html
%%DATADIR%%/doc/RU/groups.html
%%DATADIR%%/doc/RU/users.html
@ -478,7 +477,6 @@ etc/sams.conf.sample
%%DATADIR%%/install.php
%%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
@ -616,7 +614,6 @@ etc/sams.conf.sample
%%DATADIR%%/src/newgrpbuttom_1_adldap.php
%%DATADIR%%/src/newgrpbuttom_5_addgroup.php
%%DATADIR%%/src/newgrptray.php
%%DATADIR%%/src/newshablon.php
%%DATADIR%%/src/proxybuttom_1_down.php
%%DATADIR%%/src/proxytray.php
%%DATADIR%%/src/redirbuttom_1_loadlist.php