head	1.25;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3;
locks; strict;
comment	@# @;


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

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

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

1.22
date	2012.01.09.15.41.07;	author tabthorpe;	state Exp;
branches;
next	1.21;

1.21
date	2012.01.01.16.47.39;	author ohauer;	state Exp;
branches;
next	1.20;

1.20
date	2011.08.20.17.27.48;	author ohauer;	state Exp;
branches;
next	1.19;

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

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

1.17
date	2010.09.10.01.44.26;	author pgollucci;	state Exp;
branches;
next	1.16;

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

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

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

1.13
date	2010.05.19.10.50.34;	author wen;	state Exp;
branches;
next	1.12;

1.12
date	2009.12.13.16.27.57;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2009.12.11.07.50.31;	author pav;	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.25
log
@Switch exporter over
@
text
@# Created by: Douglas Thrift
# $FreeBSD: head/www/mod_wsgi/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_wsgi
PORTVERSION=	2.8
PORTREVISION=	2
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
		http://apt.douglasthrift.net/files/${PORTNAME}/ \
		http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

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

LICENSE=	AL2

MAKE_JOBS_SAFE=	yes

LATEST_LINK=	mod_wsgi2
CONFLICTS=	${PKGNAMEPREFIX}mod_wsgi-3.* mod_wsgi-3.*

PROJECTHOST=	modwsgi

USE_APACHE=	22
USE_PYTHON=	2.5-2.7

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

SUB_FILES=	pkg-message

PORTSCOUT=	limit:^2\.

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.mk>
@


1.24
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.23
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
@d1 1
a1 4
# New ports collection makefile for:	mod_wsgi
# Date created:				07 April 2008
# Whom:					Douglas Thrift
#
a2 1
#
d25 1
a25 1
USE_APACHE=	22+
@


1.22
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.21
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.20
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d29 1
a29 1
USE_APACHE=	13+
@


1.19
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.18
log
@- Works with python 2.7

PR:             ports/151092
Submitted by:   John Hein <jhein@@symmetricom.com>
Approved by:    Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d10 1
d30 1
a30 1
USE_PYTHON=	2.4-2.7
@


1.17
log
@- Fix CONFLICTS

Reported by:    Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d29 1
a29 1
USE_PYTHON=	2.4-2.6
@


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

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


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

Reported by:    Freshports via d
@
text
@d19 2
d24 1
a24 1
CONFLICTS=	mod_wsgi-3.*
d35 1
d38 8
@


1.14
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.13
log
@- Added PORTSCOUT limit to only show updates for 2.X versions.

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


1.12
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
@d32 1
@


1.11
log
@- Set LATEST_LINK

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


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

PR:		ports/140958
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d20 1
a20 1
LATEST_LINK=	mod_wsgi
@


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
@

