head	1.27;
access;
symbols
	RELEASE_8_3_0:1.24
	RELEASE_9_0_0:1.22
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.13
	old_RELEASE_8_0_0:1.6
	old_RELEASE_7_2_0:1.3
	old_RELEASE_7_1_0:1.3
	old_RELEASE_6_4_0:1.3;
locks; strict;
comment	@# @;


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

1.26
date	2012.09.11.20.04.28;	author ohauer;	state Exp;
branches;
next	1.25;

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

1.24
date	2012.01.09.15.41.07;	author tabthorpe;	state Exp;
branches;
next	1.23;

1.23
date	2012.01.01.16.47.39;	author ohauer;	state Exp;
branches;
next	1.22;

1.22
date	2011.08.20.17.27.48;	author ohauer;	state Exp;
branches;
next	1.21;

1.21
date	2011.02.25.04.40.28;	author miwi;	state Exp;
branches;
next	1.20;

1.20
date	2010.09.14.01.52.46;	author pgollucci;	state Exp;
branches;
next	1.19;

1.19
date	2010.09.10.01.45.26;	author pgollucci;	state Exp;
branches;
next	1.18;

1.18
date	2010.09.09.03.31.20;	author pgollucci;	state Exp;
branches;
next	1.17;

1.17
date	2010.07.15.22.29.46;	author delphij;	state Exp;
branches;
next	1.16;

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

1.15
date	2010.05.25.20.17.37;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2010.03.10.13.04.10;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2009.12.13.16.27.58;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2009.12.08.06.55.21;	author wen;	state Exp;
branches;
next	1.11;

1.11
date	2009.12.07.13.31.00;	author wen;	state Exp;
branches;
next	1.10;

1.10
date	2009.11.28.11.38.52;	author wen;	state Exp;
branches;
next	1.9;

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

1.8
date	2009.11.21.10.51.19;	author miwi;	state Exp;
branches;
next	1.7;

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

1.6
date	2009.05.21.20.45.34;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2009.05.14.08.18.55;	author beat;	state Exp;
branches;
next	1.4;

1.4
date	2009.04.22.15.09.03;	author wxs;	state Exp;
branches;
next	1.3;

1.3
date	2008.09.02.21.55.40;	author lippe;	state Exp;
branches;
next	1.2;

1.2
date	2008.07.16.23.23.54;	author wxs;	state Exp;
branches;
next	1.1;

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


desc
@@


1.27
log
@Switch exporter over
@
text
@# $FreeBSD: head/www/mod_wsgi3/Makefile 304120 2012-09-11 20:04:28Z ohauer $

PORTNAME=	mod_wsgi
PORTVERSION=	3.4
CATEGORIES=	www python
MASTER_SITES=	GOOGLE_CODE
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	douglas@@douglasthrift.net
COMMENT=	Python WSGI adapter module for Apache

LICENSE=	AL2

MAKE_JOBS_SAFE=	yes

#LATEST_LINK=	mod_wsgi
CONFLICTS=	${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*

PROJECTHOST=	modwsgi

USE_APACHE=	22+
USE_PYTHON=	2.5+

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"

SUB_FILES=	pkg-message

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} >= 300 && ${PYTHON_REL} < 310
IGNORE=		is unsupported with Python 3.0
.endif

pre-everything::
	@@${ECHO_MSG} "======================= ATTENTION! ======================"
	@@${ECHO_MSG}
	@@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
	@@${ECHO_MSG} "Apache and APR include thread support."
	@@${ECHO_MSG}
	@@${ECHO_MSG} "========================================================="

post-install:
	@@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
	@@${CAT} ${PKGMESSAGE}

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


1.26
log
@SVN rev 304120 on 2012-09-11 20:04:28Z by ohauer

- Upgrade www/mod_wsgi3 to 3.4.
- adopt new Makefile header.

PR:		171549
Submitted by:	Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.25
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
@a0 4
# New ports collection makefile for:	mod_wsgi
# Date created:				07 April 2008
# Whom:					Douglas Thrift
#
a1 1
#
d4 1
a4 2
PORTVERSION=	3.3
PORTREVISION=	2
d6 1
a6 3
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
		http://apt.douglasthrift.net/files/${PORTNAME}/ \
		http://code.douglasthrift.net/files/${PORTNAME}/
@


1.24
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
@d29 1
a29 1
USE_APACHE=	20+
@


1.23
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
@d20 1
a20 1
LICENSE=	ASL
@


1.22
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d29 1
a29 1
USE_APACHE=	13+
@


1.21
log
@- Move over to py25
- while here drop md5 support
- Small cleanups
@
text
@d10 1
a10 1
PORTREVISION=	1
d29 1
a29 1
USE_APACHE=	1.3+
@


1.20
log
@- Actually apply the 3.3 update in ports/148982

PR:             ports/148982
@
text
@d10 1
d30 1
a30 1
USE_PYTHON=	2.4+
@


1.19
log
@- Fix CONFLICTS

Reported by:    Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	3.2
PORTREVISION=	1
@


1.18
log
@- Update to mod_wsgi3 to 3.3
- Add LICENSE
- Update CONFLICTS

PR:             ports/148982
Submitted by:   Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d25 1
a25 1
CONFLICTS=	${PKGNAMEPREFIX}mod_wsgi-2.*www/mod_wsgi-2.*
@


1.17
log
@Apply a vendor fix to mod_wsgi ticket 197.

With newer Python version, mod_wsgi gives error messages like this:

[error] Exception KeyError: KeyError(139934492751712,) in <module
'threading' from '/usr/local/lib/python2.6/threading.pyc'> ignored

This is a backport for svn revision 1605.

PR:		ports/148651
Approved by:	maintainer
@
text
@d20 2
d25 1
a25 1
CONFLICTS=	mod_wsgi-2.*
d43 8
@


1.16
log
@- Fix 2 minor glitches in www/mod_wsgi and www/mod_wsgi3

Reported by:    Freshports via d
@
text
@d10 1
@


1.15
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@a11 1
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
d14 1
@


1.14
log
@- Update to 3.2

PR:		144611
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d12 1
@


1.13
log
@- Get rip python 2.3+

Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
@
text
@d9 1
a9 1
PORTVERSION=	3.1
@


1.12
log
@- Update to 3.1

PR:		ports/141265
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d26 1
a26 1
USE_PYTHON=	2.3+
@


1.11
log
@- Force Repocopy Commit.
@
text
@d9 1
a9 1
PORTVERSION=	2.8
d20 2
a21 2
LATEST_LINK=	mod_wsgi
CONFLICTS=	mod_wsgi-3.*
d26 1
a26 1
USE_PYTHON=	2.3-2.6
d33 6
d43 1
a43 1
.include <bsd.port.mk>
@


1.10
log
@- Update to 2.8
- Remove the unneeded patch

PR:		ports/140958
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@@


1.9
log
@- Update to 2.7

PR:		140805
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7
d26 1
a26 1
USE_PYTHON=	2.5-2.6
@


1.8
log
@- Update MASTER_SITE

PR:		140748
@
text
@d9 1
a9 1
PORTVERSION=	2.6
d20 3
d26 1
a26 1
USE_PYTHON=	2.3+
@


1.7
log
@- Update to 2.6
- Add new MASTER_SITE
- Whitespace fix

PR:		ports/139257
Submitted by:	douglas@@douglasthrift.net (maintainer)
@
text
@d12 1
@


1.6
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d9 1
a9 1
PORTVERSION=	2.5
d11 2
a12 1
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
d17 1
a17 1
MAKE_JOBS_SAFE=  yes
@


1.5
log
@- Update to 2.5

PR:		ports/134523
Submitted by:	Douglas William Thrift <douglas AT douglasthrift.net> (maintainer)
Approved by:	miwi (mentor, implicit)
@
text
@d16 2
@


1.4
log
@- Update to 2.4

PR:		ports/133767
Submitted by:	Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.4
@


1.3
log
@- Update to 2.3.
- Move pkg-message to FILESDIR.

PR:		ports/127025
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net>
Approved by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3
@


1.2
log
@Update to 2.1

PR:		ports/125660
Submitted by:	Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.1
d24 2
@


1.1
log
@The mod_wsgi adapter is an Apache module that provides a WSGI compliant
interface for hosting Python based web applications within Apache. The
adapter is written completely in C code against the Apache C runtime and
for hosting WSGI applications within Apache has a lower overhead than using
existing WSGI adapters for mod_python or CGI.

WWW: http://www.modwsgi.org/

PR:		ports/122612
Submitted by:	Douglas Thrift
@
text
@d9 1
a9 1
PORTVERSION=	2.0
@

