head	1.27;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1;
locks; strict;
comment	@# @;


1.27
date	2013.01.31.19.48.39;	author svnexp;	state Exp;
branches;
next	1.26;

1.26
date	2012.12.10.19.24.06;	author svnexp;	state Exp;
branches;
next	1.25;

1.25
date	2012.11.17.06.03.05;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.23;

1.23
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.22;

1.22
date	2012.05.20.09.06.41;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2012.05.20.08.28.51;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2012.05.16.07.37.04;	author ale;	state Exp;
branches;
next	1.19;

1.19
date	2012.01.01.16.47.41;	author ohauer;	state Exp;
branches;
next	1.18;

1.18
date	2011.08.20.17.27.51;	author ohauer;	state Exp;
branches;
next	1.17;

1.17
date	2011.03.19.13.15.34;	author ale;	state Exp;
branches;
next	1.16;

1.16
date	2010.12.29.20.04.34;	author pgollucci;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.30.16.15.53;	author garga;	state Exp;
branches;
next	1.14;

1.14
date	2010.06.06.04.50.50;	author pgollucci;	state Exp;
branches;
next	1.13;

1.13
date	2010.05.18.04.07.53;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2010.05.05.21.54.07;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2010.01.18.02.00.54;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2009.02.15.21.31.28;	author beech;	state Exp;
branches;
next	1.9;

1.9
date	2009.01.18.11.23.39;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2009.01.05.19.04.39;	author delphij;	state Exp;
branches;
next	1.7;

1.7
date	2008.11.14.00.36.58;	author wxs;	state Exp;
branches;
next	1.6;

1.6
date	2008.08.21.06.18.37;	author rafan;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.27.11.39.15;	author rafan;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.24.08.49.24;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.09.16.57.55;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.05.19.20.25.28;	author flz;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.29.20.18.35;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311324
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:  sams
# Date created:		12 December 2006
# Whom:			dindin
#
# $FreeBSD: head/www/sams/Makefile 311324 2013-01-31 19:14:08Z timur $
#

PORTNAME=	sams
DISTVERSION=	1.0.5
PORTREVISION=	6
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	http://sams.perm.ru/download/ \
		http://gateway11.ath.cx/sams/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Squid 2.x Accounting Management System

LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre

SAMBA_PORT?=	net/samba36

USE_RC_SUBR=	sams

OPTIONS_DEFINE=	APACHE NTLM GD
OPTIONS_DEFAULT=GD

INSTALLGD_DESC=	Graphic reports

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE=	22+
.endif

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_PHP=	ctype curl gettext hash iconv json mysql \
		pcre pdo pdo_sqlite posix session \
		simplexml spl sqlite tokenizer \
		xmlwriter zlib xmlreader
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5
MANUAL_PACKAGE_BUILD=	it needs an old PHP version

USE_MYSQL=	5.0

CONFIGURE_ARGS=	--with-configfile=${PREFIX}/etc/sams.conf \
		--with-rcd-locations=${PREFIX}/etc/rc.d/

SUB_FILES=	pkg-message

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MNTLM}
RUN_DEPENDS=	${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/${SAMBA_PORT}
USE_PHP+=	ldap
.endif

.if ${PORT_OPTIONS:MGD}
USE_PHP+=	pdf gd
.endif

post-extract:
	${INSTALL_SCRIPT} ${FILESDIR}/setup.sh ${WRKSRC}/

post-install:
	@@${CAT} ${PKGMESSAGE}

setup:
	@@cd ${WRKSRC}; ${WRKSRC}/setup.sh

.include <bsd.port.post.mk>
@


1.26
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308630
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308630 | mm | 2012-12-10 19:11:11 +0000 (Mon, 10 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update PCRE to 8.32
## SVN ## Introduces the UTF-32 library pcre32
## SVN ## Bump PORTREVISION in dependent ports
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/www/sams/Makefile 308630 2012-12-10 19:11:11Z mm $
d21 1
a21 1
SAMBA_PORT?=	net/samba34
d26 1
a26 1
OPTIONS_DEFAULT=GD 
@


1.25
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/sams/Makefile 302724 2012-08-18 14:29:08Z ohauer $
d10 1
a10 1
PORTREVISION=	5
@


1.24
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d25 10
a34 2
OPTIONS=	NTLM	"NTLM autorization/ActiveDirectory support"	off \
		INSTALLGD 	"Graphic reports"		on
d56 1
a56 1
.if defined(WITH_NTLM)
d61 1
a61 5
.if defined(WITH_APACHE)
USE_APACHE=	20+
.endif

.if defined(WITH_INSTALLGD)
@


1.22
log
@Set MANUAL_PACKAGE_BUILD.
@
text
@d23 1
a23 1
USE_RC_SUBR=	sams.sh
@


1.21
log
@- Reset maintainer, this email address is no longer valid
@
text
@d37 1
@


1.20
log
@Switch to default PHP 5.3, since not compatible with PHP 5.4.
@
text
@d16 1
a16 1
MAINTAINER=	uzgrishin@@mail.ru
@


1.19
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d35 2
@


1.18
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d51 1
a51 1
USE_APACHE=	13+
@


1.17
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d51 1
a51 1
USE_APACHE=	1.3+
@


1.16
log
@- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.

PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.15
log
@Change default samba dependency to 3.4

PR:		ports/150572
Submitted by:	garga@@
Approved by:	maintainer timeout (16 days)
@
text
@a14 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
@


1.14
log
@- WITH_APACHE22 is dead

PR:             ports/146902
Submitted by:   pgollucci@@ (myself)
Approved by:    maintainer timeout (uzgrishin@@mail.ru; 14 days)
@
text
@d10 1
a10 1
PORTREVISION=	3
d22 2
d47 1
a47 1
RUN_DEPENDS=	${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
@


1.13
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	2
a24 1
		APACHE22	"Use apache version 2.2"	on \
d49 2
a50 4
.if defined(WITH_APACHE22)
RUN_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
.else
RUN_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
@


1.12
log
@5/5: Chase www/apache22 (bundled apr shlib bump)

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.11
log
@- Update to 1.0.5

PR:             ports/142721
Submitted by:   Yuriy Grishin <uzgrishin@@mail.ru> (maintainer)
@
text
@d10 1
@


1.10
log
@- Bug fixes and tweaks

PR:		ports/131679
Submitted by:	Yuriy Grishin <uzgrishin@@mail.ru> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	1.0.4
d13 1
a13 1
		http://grishin.000webhost.info/sams/
d31 3
a33 3
		pcre pdf pdo pdo_sqlite posix session \
		session simplexml spl sqlite tokenizer  \
		xmlreader xmlwriter zlib
d56 1
a56 1
USE_PHP+=	gd
a62 4
	@@cp ${PREFIX}/share/sams/icon/classic/proxyes_32.jpg ${PREFIX}/share/sams/icon/bumper/proxyes_32.jpg
	@@cp ${PREFIX}/share/sams/icon/classic/cache_32.jpg ${PREFIX}/share/sams/icon/bumper/cache_32.jpg
	@@cp ${PREFIX}/share/sams/icon/classic/proxyes_48.jpg ${PREFIX}/share/sams/icon/bumper/proxyes_48.jpg
	@@cp ${PREFIX}/share/sams/icon/classic/cache_48.jpg ${PREFIX}/share/sams/icon/bumper/cache_48.jpg
@


1.9
log
@- Update to 1.0.4

PR:		129816
Submitted by:	Yuriy Grishin <uzgrishin@@mail.ru> (maintainer)
@
text
@d25 1
a25 1
		PHP5GD	"Enable constructing graphs" on
d30 5
a34 1
USE_PHP=	mysql
d37 2
a38 2
CONFIGURE_ARGS=	--with-configfile=${LOCALBASE}/etc/sams.conf \
		--with-rcd-locations=${LOCALBASE}/etc/rc.d/
d46 1
a46 5
RUN_DEPENDS+=	${LOCALBASE}/include/php/ext/ldap/php_ldap.h:${PORTSDIR}/net/php5-ldap/
.endif

.if defined(WITH_PHP5GD)
RUN_DEPENDS+=	${LOCALBASE}/include/php/ext/gd/php_gd.h:${PORTSDIR}/graphics/php5-gd/
d55 4
d63 4
@


1.8
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d9 1
a9 2
DISTVERSION=	1.0.3
PORTREVISION=	1
d24 2
a25 1
		APACHE2	"Use apache version 2"	on
d30 1
a30 1
USE_PHP=	gd mysql ldap
d34 1
a34 2
		--with-rcd-locations=${LOCALBASE}/etc/rc.d/ \
		--with-httpd-locations=${DOCUMENT_ROOT}
d41 2
a42 1
RUN_DEPENDS=	 ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
d45 7
a51 1
.if defined(WITH_APACHE2)
a52 2
.else
RUN_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
@


1.7
log
@Update to 1.0.3
Note new WWW: in pkg-descr
Pass maintainership to submitter.

PR:		ports/128124
Submitted by:	Yuri Grishin <uzgrishin@@mail.ru>
Approved by:	Denis Barov <dindin@@yandex-team.ru> (maintainer)
@
text
@d10 1
@


1.6
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d9 2
a10 2
DISTVERSION=	20070524
PORTREVISION=	2
d12 2
a13 2
MASTER_SITES=	http://sams.irc.perm.ru/downloads/ \
		http://www.dindin.ru/download/
d16 2
a17 2
MAINTAINER=	dindin@@dindin.ru
COMMENT=	Squid Accounting Management System
a22 3
USE_PHP=	gd mysql ldap
USE_MYSQL=	4.1

d24 1
a24 7
		APACHE2	"Use apache version 2"	off

OPTIONSFILE?=	${PORT_DBDIR}/${PORTNAME}/options

.if exists(${OPTIONSFILE})
.include "${OPTIONSFILE}"
.endif
d28 3
d32 3
a34 3
CONFIGURE_ARGS=--with-configfile=${LOCALBASE}/etc/sams.conf \
	       --with-rcd-locations=${LOCALBASE}/etc/rc.d/ \
	       --with-httpd-locations=${DOCUMENT_ROOT}
@


1.5
log
@- Correctly fix configure script and setup.sh breakage

PR:		ports/114961
Submitted by:	Denis Barov <dindin at dindin.ru> (maintainer)
@
text
@a37 1
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
@


1.4
log
@- Little Fixes ( s/CASHE/CACHE)

PR:		114653
Submitted by:	Denis Barov <dindin@@dindin.ru> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@- Update to 20070524
- Update maintainer mail adress

PR:		114447
Submitted by:	Denis Barov <dindin@@dindin.ru> (maintainer)
@
text
@d10 1
@


1.2
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	20060417
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	http://sams.irc.perm.ru/downloads/
d15 1
a15 1
MAINTAINER=	dindin@@FreeBSD.org.ua
a19 2
WRKSRC=		${WRKDIR}/${PORTNAME}

@


1.1
log
@SAMS (Squid Account Management System) is a WEB-based interface and tool to
manage users of SQUID proxy server. Main features are:

    * manage users access to SQUID - proxy with NTLM, NCSA authorization
      or IP address
    * manage prohibition of users to access to URL
    * manage to rewrite requested URL to graphical resources (banners,
      counters)
    * save and build reports of users statistic
    * switch of users access to SQUID proxy if his traffic quota is off
    * manage a delay pools for users groups

WWW: http://sams.irc.perm.ru/

- Dindin
dindin@@freebsd.org.ua

PR:		ports/107102
Submitted by:	Denis Barov<dindin@@freebsd.org.ua>
@
text
@d10 1
@

