Commit graph

21 commits

Author SHA1 Message Date
xtraeme
431c865de4 * Use apache.mk to be compatible with the new apache22 pkg.
* Use PKG_APACHE_ACCEPTED.
2006-12-08 23:34:10 +00:00
jschauma
bb75615363 update to 3.2.10 to address PR pkg/34963 by Bartosz Luczynski:
bash 3.1.x gets shell quoting wrong, causing configure to fail on platforms
 that use this shell

New in this version according to
http://www.modpython.org/live/mod_python-3.2.10/doc-html/node98.html:
- Added support for Apache 2.2.
- New req.is_https() and req.ssl_var_lookup() methods. These communicate
  direct with the Apache mod_ssl module, allowing it to be determined if
  the connection is using SSL/TLS and what the values of internal ssl
  variables are.
- New req.server.get_options() method. This returns the subset of Python
  options set at global scope within the Apache configuration. That is,
  outside of the context of any VirtualHost, Location, Directory or Files
  directives.
- The directory used for mutex locks can now be specified at at compile
  time using ./configure --with-mutex-dir value or at run time with
  PythonOption mod_python.mutex_directory value.
- The number of mutex locks can now be specified at run time with
  PythonOption mod_python.mutex_locks value.
- Fixed three memory leaks that were found in _apachemodule.parse_qsl,
  req.readlines and util.cfgtree_walk.

- Third party C modules that use the simplified API for the Global Interpreter
  Lock (GIL), as described in PEP 311, can now be used. The only requirement
  is that such modules can only be used in the context of the "main_interpreter".
- DbmSession unit test no longer uses the default directory for the dbm file,
  so the test will not interfer with the user's current apache instance.
- Added additional debugging and logging output for where mod_python cannot
  initialise itself properly due to Python or mod_python version mismatches or
  missing Python module code files.

- Fixed configure problem when using bash 3.1.x.
- Fixed DbmSession to create db file with mode 0640.
- Fixed request.sendfile() bug for symlinked files on Win32.
2006-11-18 18:43:00 +00:00
reed
478fff1a23 Remove the @exec apxs lines. Don't let this package
modify Apache's config.

If someone wants to add a MESSAGE they may.

This was discussed in May and June.

This is to close PR #29300.
2006-10-07 21:01:16 +00:00
darcy
68e7206496 Update to 3.2.8.
Mainly this is to fix a security vulnerability.  Other changes:

Mod_python 3.0 no longer works with Apache 1.3, only Apache 2.x is supported.
Mod_python no longer works with Python versions less than 2.2.1
Mod_python now supports Apache filters.
Mod_python now supports Apache connection handlers.
Request object supports internal_redirect().
Connection object has read(), readline() and write().
Server object has get_config().
  Httpdapi handler has been deprecated.
  Zpublisher handler has been deprecated.
Username is now in req.user instead of req.connection.user
2006-06-13 18:04:29 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
baea2ba98f Fixed it again after checking if it really exists. 2005-11-03 13:30:50 +00:00
rillig
13ab28407a Fixed unknown MASTER_SITE_APACHE_HTTPD. 2005-11-03 13:29:27 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
grant
2b6fc0348e whitespace cleanup 2005-03-03 21:15:53 +00:00
grant
61d631fdd3 set USE_LIBTOOL, which allows mod_python.so to build.
reported by Sebastian Prause on tech-pkg.
2005-03-03 21:14:36 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
darcy
6cff385968 These packages all work with the latest version of Python. 2005-01-05 20:50:07 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
recht
fb24ba2536 Set the correct PYTHONBIN for configure.
Should fix kristerw's bulk build.
2004-07-17 17:34:30 +00:00
darcy
405f23f2d9 Initial import of ap2-python
Version 3.1.3
Apache module that embeds the Python interpreter

As discussed on the mailing list, this package builds and runs for the
most part but fails if the web server has too many backends.  Adding it
breaks nothing and does add functionality.  I will file a PR to keep
track of the remaining issue.
2004-07-17 01:11:36 +00:00