head	1.27;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.7;
locks; strict;
comment	@# @;


1.27
date	2013.02.15.20.09.04;	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.09;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.06.21.06.07.16;	author vanilla;	state Exp;
branches;
next	1.23;

1.23
date	2012.05.11.20.38.09;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2012.03.24.07.26.38;	author lwhsu;	state Exp;
branches;
next	1.21;

1.21
date	2012.02.20.23.49.12;	author jgh;	state Exp;
branches;
next	1.20;

1.20
date	2012.02.14.12.45.34;	author mm;	state Exp;
branches;
next	1.19;

1.19
date	2012.01.27.17.39.48;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2012.01.09.15.41.08;	author tabthorpe;	state Exp;
branches;
next	1.17;

1.17
date	2011.11.10.05.38.32;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2011.09.23.22.26.06;	author amdmi3;	state Exp;
branches;
next	1.15;

1.15
date	2011.09.10.13.43.47;	author zi;	state Exp;
branches;
next	1.14;

1.14
date	2011.07.16.05.41.45;	author linimon;	state Exp;
branches;
next	1.13;

1.13
date	2011.06.17.15.10.31;	author lwhsu;	state Exp;
branches;
next	1.12;

1.12
date	2011.06.15.03.58.43;	author lwhsu;	state Exp;
branches;
next	1.11;

1.11
date	2011.02.25.06.15.44;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2011.02.12.13.35.42;	author lwhsu;	state Exp;
branches;
next	1.9;

1.9
date	2011.01.30.21.59.31;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2010.12.04.07.34.01;	author ade;	state Exp;
branches;
next	1.7;

1.7
date	2010.11.17.11.35.43;	author sunpoet;	state Exp;
branches;
next	1.6;

1.6
date	2010.10.16.11.52.44;	author ade;	state Exp;
branches;
next	1.5;

1.5
date	2010.10.05.19.57.53;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2010.09.15.18.35.21;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2010.08.23.16.59.35;	author lwhsu;	state Exp;
branches;
next	1.2;

1.2
date	2010.08.20.20.48.16;	author lwhsu;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.16.15.43.57;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312305
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	trafficserver
# Date created:		2010-08-15
# Whom:			Jui-Nan Lin <jnlin@@csie.nctu.edu.tw>
#
# $FreeBSD: head/www/trafficserver/Makefile 312305 2013-02-15 19:16:34Z lwhsu $
#

PORTNAME=	trafficserver
PORTVERSION=	3.2.4
CATEGORIES=	www
MASTER_SITES=	APACHE/${PORTNAME}

MAINTAINER=	jnlin@@csie.nctu.edu.tw
COMMENT=	A fast, scalable and extensible HTTP proxy server

LICENSE=	AL2

LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo \
		expat:${PORTSDIR}/textproc/expat2 \
		pcre:${PORTSDIR}/devel/pcre

MAN1=		traffic_shell.1

USE_AUTOTOOLS=	autoconf automake libtool
USE_BZIP2=	yes
USE_ICONV=	yes
USE_OPENSSL=	yes
USE_SQLITE=	yes
USE_TCL=	yes
USE_RC_SUBR=	${PORTNAME}
USE_LDCONFIG=	yes

LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--with-expat=${LOCALBASE} \
		--with-pcre=${LOCALBASE}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
BUILD_DEPENDS=	xz>0:${PORTSDIR}/archivers/xz
RUN_DEPENDS=	xz>0:${PORTSDIR}/archivers/xz
.endif

.if ${OSVERSION} < 800000 && ${ARCH} == "amd64"
BROKEN=		does not compile on 7.X/amd64
.endif

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=		Does not compile on ia64, powerpc, or sparc64
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's,|| mv,|| cp -p,' ${WRKSRC}/proxy/config/Makefile.am

pre-configure:
	@@${FIND} ${WRKSRC}/example ${WRKSRC}/plugins/conf_remap \
	    -name Makefile.am | ${XARGS} ${REINPLACE_CMD} \
		-e 's,CFLAGS+=,AM_CFLAGS=,' \
		-e 's,CXXFLAGS+=,AM_CXXFLAGS=,'
	@@cd ${WRKSRC} && ${AUTORECONF} -i

post-configure:
	@@${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} \
	    -e 's,LIBTOOL_LINK_FLAGS = -R -R,LIBTOOL_LINK_FLAGS = -R,' \
	    -e 's,LDFLAGS = -rdynamic  *-R -R,LDFLAGS = -rdynamic -R,'

.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/trafficserver/Makefile 308630 2012-12-10 19:11:11Z mm $
d9 1
a9 2
PORTVERSION=	3.0.5
PORTREVISION=	1
d18 5
a22 3
LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo \
		expat.6:${PORTSDIR}/textproc/expat2 \
		pcre.3:${PORTSDIR}/devel/pcre
@


1.25
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/trafficserver/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
d21 1
a21 1
		pcre.1:${PORTSDIR}/devel/pcre
@


1.24
log
@Upgrade to 3.0.5.

Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@Update autoconf to 2.69 and automake to 1.12

PR:		166836
Tested by:	Multiple -exp runs (pav)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.4
@


1.22
log
@- Update to 3.0.4
- Security fix for CVE-2012-0256

PR:		ports/166366
Submitted by:	lwhsu
Approved by:	Jui-Nan Lin <jnlin@@csie.nctu.edu.tw> (maintainer)
Security:	acab2f88-7490-11e1-865f-00e0814cab4e
Feature safe:	yes
@
text
@d51 8
a58 1
	${REINPLACE_CMD} -e 's,|| mv,|| cp -p,' ${WRKSRC}/proxy/config/Makefile.am
@


1.21
log
@- don't clobber configs on upgrades

PR:	ports/164740
Submitted by:	jgh,rflynn@@acsalaska.net
Approved by:	maintainer timeout (17 days)
@
text
@d9 1
a9 2
PORTVERSION=	3.0.2
PORTREVISION=	2
@


1.20
log
@Bump pcre library dependency due to 8.30 update
@
text
@d10 1
a10 1
PORTREVISION=	1
d51 3
@


1.19
log
@- Update to 3.0.2

PR:		163166
Submitted by:	farrokhi@@
Approved by:	maintainer timeout
@
text
@d10 1
d21 1
a21 1
		pcre.0:${PORTSDIR}/devel/pcre
@


1.18
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	3.0.1
@


1.17
log
@Mark broken on powerpc as well as sparc64.  (In fact, on all the tier-2s.)

Hat:		portmgr
@
text
@d16 1
a16 1
LICENSE=	ASL
@


1.16
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d46 2
a47 2
.if ${ARCH} == "sparc64"
BROKEN=		Does not configure on sparc64
@


1.15
log
@Update to 3.0.1
Fix build with custom LOCALBASE/PREFIX
Add LICENSE

PR:		ports/159973
Submitted by:	Radim Kolar <hsn@@sendmail.cz>
Approved by:	wxs, tabthorpe (mentors, implicit), maintainer timeout
@
text
@d31 1
a31 1
LDFLAGS=	-L${LOCALBASE}/lib
@


1.14
log
@Mark as broken on sparc64: does not configure.
@
text
@d9 1
a9 1
PORTVERSION=	3.0.0
d16 2
a21 2
LICENSE=	ASL

d29 5
d43 1
a43 1
BROKEN=		does not compile on 7.X
@


1.13
log
@- Use one ${FIND} command and ${REINPLACE_CMD} to patch
- Remove unneeded DISTNAME

Submitted by:	maintainer
@
text
@d41 4
@


1.12
log
@- Update to 3.0.0

PR:		ports/157870
Submitted by:	Jui-Nan Lin <jnlin@@csie.nctu.edu.tw> (maintainer)
@
text
@a11 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
d42 3
a44 4
	@@${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -e \
	    's,LIBTOOL_LINK_FLAGS = -R -R/usr/local/lib,LIBTOOL_LINK_FLAGS = -R/usr/local/lib,'
	@@${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -e \
	    's,LDFLAGS = -rdynamic  *-R -R,LDFLAGS = -rdynamic -R,'
@


1.11
log
@Update to libtool 2.4

Tested by:	pav (multiple -exp runs)
@
text
@d9 1
a9 1
PORTVERSION=	2.1.5
d12 1
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-unstable
a41 7
pre-configure:
	@@cd ${WRKSRC} && ${AUTORECONF} -i

# XXX: no, I don't know why this is needed for libtool > 2.2.10 but it's
#      the only one, and a dirty hack will suffice.  Of course, using both
#      autoreconf and the bsd.autotools.mk targets is bad too.
#
d43 4
a46 1
	@@${CP} ${LIBTOOL} ${WRKSRC}/libtool
@


1.10
log
@- Update to 2.1.5

PR:		ports/154234
Submitted by:	lwhsu
Approved by:	Jui-Nan Lin <jnlin AT csie.nctu.edu.tw> (maintainer)
@
text
@d45 7
@


1.9
log
@- Mark BROKEN on amd64/7: does not compile

Reported by:	pointyhat
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2.1.4
a16 2
LICENSE=	ASL

d21 2
@


1.8
log
@Sync to new bsd.autotools.mk
@
text
@d38 2
a39 2
.if ${OSVERSION} < 700000
IGNORE=		only supports 7.0 and above
@


1.7
log
@- Update to 2.1.4 (maintainer submitted a new patch via IRC)
- Use DATADIR and ETCDIR
- Sort PLIST

Changes:	http://svn.apache.org/viewvc/trafficserver/traffic/trunk/CHANGES?revision=1033178&view=markup
PR:		ports/151793 (based on)
Submitted by:	rellik <rellik@@pixnet.tw>
Approved by:	Jui-Nan Lin <jnlin@@csie.nctu.edu.tw> (maintainer)
@
text
@d23 1
a23 1
USE_AUTOTOOLS=	autoconf:268 automake:111 libtool:22
@


1.6
log
@Punt autoconf267->autoconf268
@
text
@d9 1
a9 2
PORTVERSION=	2.1.1
PORTREVISION=	2
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	trafficserver
d17 5
a21 4
BUILD_DEPENDS=	expat>0:${PORTSDIR}/textproc/expat2 \
		pcre>0:${PORTSDIR}/devel/pcre
LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo
RUN_DEPENDS:=	${BUILD_DEPENDS}
d34 2
a35 2
BUILD_DEPENDS+=	xz>0:${PORTSDIR}/archivers/xz
RUN_DEPENDS+=	xz>0:${PORTSDIR}/archivers/xz
@


1.5
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	autoconf:267 automake:111 libtool:22
@


1.4
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	autoconf:267 automake:110 libtool:22
@


1.3
log
@- Mark IGNORE on < 7.x, official support only 7.0 and above

Submitted by:	Jui-Nan Lin <jnlin AT csie.nctu.edu.tw> (maintainer)
Notified by:	pointyhat via pav
@
text
@d10 1
a10 1
PORTREVISION=	1
d24 1
a24 1
USE_AUTOTOOLS=	autoconf:262 automake:110 libtool:22
@


1.2
log
@- Tweak rc.d script:
  * We prefer ports scripts to REQUIRE: LOGIN
  * KEYWORD: shutdown is preferred for scripts that start persistent services
  * Remove "empty default" variable assignment, which is neither necessary
    nor desirable

Submitted by:	dougb
Approved by:	Jui-Nan Lin <jnlin AT csie.nctu.edu.tw> (maintainer)
@
text
@d39 4
@


1.1
log
@Add trafficserver 2.1.1, a fast, scalable and extensible HTTP proxy
server.

PR:		ports/149676
Submitted by:	Jui-Nan Lin <jnlin at csie.nctu.edu.tw>
@
text
@d10 1
@

