The NetBSD Project

CVS log for pkgsrc/www/ap2-python/Makefile

[BACK] Up to [] / pkgsrc / www / ap2-python

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 28 09:47:46 2023 UTC (5 months, 3 weeks ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.42: +12 -8 lines
Diff to previous 1.42 (colored)

www/ap2-python: Update to

Upstream has taggeed a pseudo-release at our request!

packaging changes:

  - switch to github for distfiles and HOMEPAGE

  - remove explanation about non-threaded apache from MESSAGE, as
    there is no longer any such thing in pkgsrc

  - remove 3 hunks from MESSAGE that duplicate upstream documentation

  - remove empty MESSAGE

Upstream NEWS:

Aug  18 2023 - released. It addresses compatibility issues with
                Python 3.11.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Aug 15 18:33:13 2023 UTC (6 months, 1 week ago) by gdt
Branch: MAIN
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored)

ap2-python: Note upstream bug report about no-release policy

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 14 07:40:41 2023 UTC (6 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.40: +6 -2 lines
Diff to previous 1.40 (colored)

ap2-python: hack around issue when setuptools is installed

Just depend on it.


Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 14 05:25:28 2023 UTC (6 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

*: recursive bump for Python 3.11 as new default

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 30 11:18:57 2022 UTC (19 months, 3 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

*: Revbump packages that use Python at runtime without a PKGNAME prefix

Revision 1.38 / (download) - annotate - [select for diffs], Fri Dec 4 20:45:47 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 7 05:41:33 2020 UTC (3 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

www/ap2-python: omit unknown configure option

This fixes the build with GNU_CONFIGURE_STRICT=yes.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 21 11:40:37 2019 UTC (4 years, 3 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.35: +7 -1 lines
Diff to previous 1.35 (colored)

ap2-python: Adjust optimization to be consistent with other Python packages is invoked internally hardcoding `--optimize 2' that leads to PLIST
mismatches when Python 3 is used.  Substitute it to `--optimize 1' to be
consistent with other Python packages.

Thanks to <martin> for spotting this problem and testing this patch!

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 1 10:23:07 2018 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.34: +1 -3 lines
Diff to previous 1.34 (colored)

apache22: remove, it was eol'd in June 2017

Remove packages that only work with apache22.
Remove apache22 references.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 20 03:07:05 2014 UTC (9 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Add rpath flag to LDFLAGS if supported.
Fixes PR pkg/49021


Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 10 15:22:17 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Retire Apache 1.3 and 2.0.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 23 11:40:00 2014 UTC (10 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)


Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 17 17:20:28 2014 UTC (10 years ago) by adam
Branch: MAIN
Changes since 1.30: +12 -15 lines
Diff to previous 1.30 (colored)

Changes 3.5.0:
* Support for Python 3.3
* Simpler, faster and up-to-date with latest Python code for creating/maintaining interpreter and thread state.
* A much faster WSGI implementation (start_response now implemented in C)

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 25 10:30:26 2014 UTC (10 years ago) by wiz
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
respectively, please use the same style for other packages,
and check during updates.

Use where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 9 13:02:02 2013 UTC (10 years, 6 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

mod_python was moved to the Apache Attic in June 2010.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 28 06:30:08 2012 UTC (11 years, 3 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 16 06:12:46 2012 UTC (11 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)


Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 15 21:20:23 2008 UTC (15 years, 5 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Updated www/ap2-python to 3.3.1

Includes build fix from FreeBSD's ports:

New Features

    * (MODPYTHON-103) New req.add_output_filter(), req.add_input_filter(), req.register_output_fiter(), req.register_input_filter() methods. These allows the dynamic registration of filters and the attaching of filters to the current request.
    * (MODPYTHON-104) Support added for using Python in content being passed through "INCLUDES" output filter, or as more commonly referred to server side include (SSI) mechanism.
    * (MODPYTHON-108) Added support to cookies for httponly attribute, an extension originally created by Microsoft, but now getting more widespread use in the battle against cross site-scripting attacks.
    * (MODPYTHON-118) Now possible using the PythonImport directive to specify the name of a function contained in the module to be called once the designated module has been imported.
    * (MODPYTHON-124) New req.auth_name() and req.auth_type() methods. These return the values associated with the AuthName and AuthType directives respectively. The req.ap_auth_type has now also been made writable so that it can be set by an authentication handler.
    * (MODPYTHON-130) Added req.set_etag(), req.set_last_modified() and req.update_mtime() functions as wrappers for similar functions provided by Apache C API. These are required to effectively use the req.meets_condition() function. The documentation for req.meets_condition() has also been updated as what it previously described probably wouldn't actually work.
    * (MODPYTHON-132) New req.construct_url() method. Used to construct a fully qualified URI string incorporating correct scheme, server and port.
    * (MODPYTHON-144) The "apache.interpreter" and "apache.main_server" attributes have been made publically available. These were previously private and not part of the public API.
    * (MODPYTHON-149) Added support for session objects that span domains.
    * (MODPYTHON-153) Added req.discard_request_body() function as wrapper for similar function provided by Apache C API. The function tests for and reads any message body in the request, simply discarding whatever it receives.
    * (MODPYTHON-164) The req.add_handler(), req.register_input_filter() and req.register_output_filter() methods can now take a direct reference to a callable object as well a string which refers to a module or module::function combination by name.
    * (MODPYTHON-165) Exported functions from mod_python module to be used in other third party modules for Apache. The purpose of these functions is to allow those other modules to access the mechanics of how mod_python creates interpreters, thereby allowing other modules to also embed Python and for there not to be a conflict with mod_python.
    * (MODPYTHON-170) Added req._request_rec, server._server_rec and conn._conn_rec semi private members for getting accessing to underlying Apache struct as a Python CObject. These can be used for use in implementing SWIG bindings for lower level APIs of Apache. These members should be regarded as experimental and there are no guarantees that they will remain present in this specific form in the future.
    * (MODPYTHON-193) Added new attribute available as req.hlist.location. For a handler executed directly as the result of a handler directive within a Location directive, this will be set to the value of the Location directive. If LocationMatch, or wildcards or regular expressions are used with Location, the value will be the matched value in the URL and not the pattern.


    * (MODPYTHON-27) When using mod_python.publisher, the __auth__() and __access__() functions and the __auth_realm__ string can now be nested within a class method as a well a normal function.
    * (MODPYTHON-90) The PythonEnablePdb configuration option will now be ignored if Apache hasn't been started up in single process mode.
    * (MODPYTHON-91) If running Apache in single process mode with PDB enabled and the "quit" command is used to exit that debug session, an exception indicating that the PDB session has been aborted is raised rather than None being returned with a subsequent error complaining about the handler returning an invalid value.
    * (MODPYTHON-93) Improved util.FieldStorage efficiency and made the interface more dictionary like.
    * (MODPYTHON-101) Force an exception when handler evaluates to something other than None but is otherwise not callable. Previously an exception would not be generated if the handler evaluated to False.
    * (MODPYTHON-107) Neither mod_python.publisher nor mod_python.psp explicitly flush output after writing the content of the response back to the request object. By not flushing output it is now possible to use the "CONTENT_LENGTH" output filter to add a "Content-Length" header.
    * (MODPYTHON-111) Note made in session documentation that a save is required to avoid session timeouts.
    * (MODPYTHON-125) The req.handler attribute is now writable. This allows a handler executing in a phase prior to the response phase to specify which Apache module will be responsible for generating the content.
    * (MODPYTHON-128) Made the req.canonical_filename attribute writable. Changed the req.finfo attribute from being a tuple to an actual object. For backwards compatibility the attributes of the object can still be accessed as if they were a tuple. New code however should access the attributes as member data. The req.finfo attribute is also now writable and can be assigned to using the result of calling the new function apache.stat(). This function is a wrapper for apr_stat().
    * (MODPYTHON-129) When specifying multiple handlers for a phase, the status returned by each handler is now treated the same as how Apache would treat the status if the handler was registered using the low level C API. What this means is that whereas stacked handlers of any phase would in turn previously be executed as long as they returned apache.OK, this is no longer the case and what happens is dependent on the phase. Specifically, a handler returning apache.DECLINED no longer causes the execution of subsequent handlers for the phase to be skipped. Instead, it will move to the next of the stacked handlers. In the case of PythonTransHandler, PythonAuthenHandler, PythonAuthzHandler and PythonTypeHandler, as soon as apache.OK is returned, subsequent handlers for the phase will be skipped, as the result indicates that any processing pertinent to that phase has been completed. For other phases, stacked handlers will continue to be executed if apache.OK is returned as well as when apache.DECLINED is returned. This new interpretation of the status returned also applies to stacked content handlers listed against the PythonHandler directive even though Apache notionally only ever calls at most one content handler. Where all stacked content handlers in that phase run, the status returned from the last handler becomes the overall status from the content phase.
    * (MODPYTHON-141) The req.proxyreq and req.uri attributes are now writable. This allows a handler to setup these values and trigger proxying of the current request to a remote server.
    * (MODPYTHON-142) The req.no_cache and req.no_local_copy attributes are now writable.
    * (MODPYTHON-143) Completely reimplemented the module importer. This is now used whenever modules are imported corresponding to any of the Python*Handler, Python*Filter and PythonImport directives. The module importer is still able to be used directly using the apache.import_module() function. The new module importer no longer supports automatic reloading of packages/modules that appear on the standard Python module search path as defined by the PythonPath directive or within an application by direct changes to sys.path. Automatic module reloading is however still performed on file based modules (not packages) which are located within the document tree where handlers are located. Locations within the documentree are however no longer added to the standard Python module search path automatically as they are maintained within a distinct importer search path. The PythonPath directive MUST not be used to point at directories within the document tree. To have additional directories be searched by the module importer, they should be listed in the mod_python.importer.path option using the PythonOption directive. This is a path similar to how PythonPath argument is supplied, but MUST not reference sys.path nor contain any directories also listed in the standard Python module search path. If an application does not appear to work under the module importer, the old module importer can be reenabled by setting the mod_python.legacy.importer option using the PythonOption directive to the value '*'. This option must be set in the global Apache configuration.
    * (MODPYTHON-152) When in a sub request, when a request is the result of an internal redirect, or when when returning from such a request, the req.main, req.prev members now correctly return a reference to the original Python request object wrapper first created for the specific request_rec instance rather than creating a new distinct Python request object. This means that any data added explicitly to a request object can be passed between such requests.
    * (MODPYTHON-178) When using mod_python.psp, if the PSP file which is the target of the request doesn't actually exist, an apache.HTTP_NOT_FOUND server error is now returned to the client rather than raising a ValueError exception which results in a 500 internal server error. Note that if using SetHandler and the request is against the directory and no DirectoryIndex directive is specified which lists a valid PSP index file, then the same apache.HTTPT_FOUND server error is returned to the client.
    * (MODPYTHON-196) For completeness, added req.server.log_error() and req.connection.log_error(). The latter wraps ap_log_cerror() (when available), allowing client information to be logged along with message from a connection handler.
    * (MODPYTHON-206) The attribute req.used_path_info is now modifiable and can be set from within handlers. This is equivalent to having used the AcceptPathInfo directive.
    * (MODPYTHON-207) The attribute req.args is now modifiable and can be set from within handlers.

Bug Fixes

    * (MODPYTHON-38) Fixed issue when using PSP pages in conjunction with publisher handler or where a PSP error page was being triggered, that form parameters coming from content of a POST request weren't available or only available using a workaround. Specifically, the PSP page will now use any FieldStorage object instance cached as req.form left there by preceding code.
    * (MODPYTHON-43) Nested __auth__() functions in mod_python.publisheow execute in context of globals from the file the function is in and not that of mod_python.publisher itself.
    * (MODPYTHON-47) Fixed mod_python.publisher so it will not return a HTTP Bad Request response when mod_auth is being used to provide Digest authentication.
    * (MODPYTHON-63) When handler directives are used within Directory or DirectoryMatch directives where wildcards or regular expressions are used, the handler directory will be set to the shortest directory matched by the directory pattern. Handler directives can now also be used within Files and FilesMatch directives and the handler directory will correctly resolve to the directory corresponding to the enclosing Directory or DirectoryMatch directive, or the directory the .htaccess file  contained in.
    * (MODPYTHON-76) The FilterDispatch callback should not flush the filter if it has already been closed.
    * (MODPYTHON-84) The original change to fix the symlink issue for req.sendfile() was causing problems on Win32, plus code needed to be changed to work with APR 1.2.7.
    * (MODPYTHON-100) When using stacked handlers and a SERVER_RETURN exception was used to return an OK status for that handler, any following handlers weren't being run if appropriate for the phase.
    * (MODPYTHON-109) The Py_Finalize() function was being called on child process shutdown. This was being done though from within the context of a signal handler, which is generally unsafe and would cause the process to lock up. This function is no longer called on ch process shutdown.
    * (MODPYTHON-112) The req.phase attribute is no longer overwritten by an input or output filter. The filter.is_input member should be used to determine if a filter is an input or output filter.
    * (MODPYTHON-113) The PythonImport directive now uses the apache.import_module() function to import modules to avoid reloading problems when same module is imported from a handler.
    * (MODPYTHON-114) Fixed race conditions on setting sys.path when the PythonPath directive is being used as well as problems with infinite extension of path.
    * (MODPYTHON-120) (MODPYTHON-121) Fixes to test suite so it will work on virtual hosting environments where localhost doesn't resolve to but the actual IP address of the host.
    * (MODPYTHON-126) When Python*Handler or Python*Filter directive is used inside of a Files directive container, the handler/filter directory value will now correctly resolve to the directory corresponding to any parent Directory directive or the location of the .ccess file the Files directive is contained in.
    * (MODPYTHON-133) The table object returned by req.server.get_config() was not being populated correctly to be the state of directives set at global scope for the server.
    * (MODPYTHON-134) Setting PythonDebug to Off, wasn't overriding On setting in parent scope.
    * (MODPYTHON-140) The util.redirect() function should be returning server status of apache.DONE and not apache.OK otherwise it will not give desired result if used in non content handler phase or where there are stacked content handlers.
    * (MODPYTHON-147) Stopped directories being added to sys.path multiple times when PythonImport and PythonPath directive used.
    * (MODPYTHON-148) Added missing Apache contants apache.PROXYREQ_RESPONand apache.HTTP_UPGRADE_REQUIRED. Also added new constants for Apache magic mime types and values for interpreting the req.connection.keepalive and req.read_body members.
    * (MODPYTHON-150) In a multithread MPM, the apache.init() function could be called more than once for a specific interpreter instance whereas it should only be called once.
    * (MODPYTHON-151) Debug error page returned to client when an exception in a handler occurred wasn't escaping special HTML characters in the traceback or the details of the exception.
    * (MODPYTHON-157) Wrong interpreter name used for fixup handler phase and earlier, when PythonInterpPerDirectory was enabled and request was against a directory but client didn't provide the trailing slash.
    * (MODPYTHON-1) Fix FieldStorage class so that it can handle multiline headers.
    * (MODPYTHON-160) Using PythonInterpPerDirective when setting content handler to run dynamically with req.add_handler() would cause Apache to crash.
    * (MODPYTHON-161) Directory argument supplied to req.add_handler() is canonicalized and a trailing slash added automatically. This is needed to ensure that the directory is always in POSIX path style as used by Apache and that convention where directories associated with directives always have trailing slash is adhered to. If this is not done, a different interpreter can be chosen to that expected when the PythonInterpPerDirective is used.
    * (MODPYTHON-166) PythonHandlerModule was not setting up registration of the PythonFixupHandler or PythonAuthenHandler. For the latter this meant that using Require directive with PythonHandlerModule would cause a 500 error and complaint in error log about "No groups file".
    * (MODPYTHON-167) When PythonDebug was On and and exception occurred,  response to the client had a status of 200 when it really should have been a 500 error status indicating that an internal error occurred. A 500 error status was correctly being returned when PythonDebug was Off.
    * (MODPYTHON-168) Fixed psp_parser error when CR is used as a line terminator in psp code. This may occur with some older editors such as GoLive on Mac OS X.
    * (MODPYTHON-175) Fixed problem whereby a main PSP page and an error page triggered from that page both accessing the session object would cause a deadlock.
    * (MODPYTHON-176) Fixed issue whereby PSP code would unlock session object which it had inherited from the caller meaning caller could no longer use it safely. PSP code will now only unlock session if it created it in the firplace.
    * (MODPYTHON-179) Fixed the behaviour of req.readlines() when a size hint was provided. Previously, it would always return a single line when a size hint was provided.
    * (MODPYTHON-180) Publisher would wrongly output a warning about nothing to publish if req.write() or req.sendfile() used and data not flushed, and then published function returned None.
    * (MODPYTHON-181) Fixed memory leak when mod_python handlers are defined for more than one phase at the same time.
    * (MODPYTHON-182) Fixed memory leak in req.readline().
    * (MODPYTHON-184) Fix memory leak in apache.make_table(). This was used by util.FieldStorage class so affected all code using forms.
    * (MODPYTHON-185) Fixed segfault in psp.parsestring(src_string) when src_str is empty.
    * (MODPYTHON-187) Table objects could crash in various ways when the value of an item was NULL. This could occur for SCRIPT_FILENAME when the req.subprocess_env table was accessed in the post read request handler phase.
    * (MODPYTHON-189) Fixed representation returned by calling repr() on a table object.
    * (MODPYTHON-191) Session class will no longer accept a normal cookie if a signed cookie was expected.
    * (MODPYTHON-194) Fixed potential memory leak due to not clearing the state of thread state objects before deleting them.
    * (MODPYTHON-195) Fix potential Win32 resource leaks in parent Apache process when process restarts occur.
    * (MODPYTHON-198) Python 2.5 broke nested __auth__/__access__/__auth_realm__ in mod_python.publisher.
    * (MODPYTHON-200) Fixed problem whereby signed and marshalled cookies could not be used at the same time. When expecting marshalled cookie, any signed, but not marshalled cookies will be returned as normal cookies.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:54 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Add DESTDIR support.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 25 20:39:13 2008 UTC (15 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

- assume that Python 2.4 and 2.5 are compatible and allow checking for
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 16 13:42:40 2008 UTC (15 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)


Revision 1.22 / (download) - annotate - [select for diffs], Thu Sep 27 16:53:58 2007 UTC (16 years, 4 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)


Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 30 16:09:09 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Change naming of Apache 2.2 modules to use ap22 prefix.
Allow apache22 in some more case and add a hack to devel/subversion
to determine the module by the state of the apache22 option.
This comes from www/ap2-subversion and should be fixed to properly
use build options or so.

OK agc@

Revision 1.20 / (download) - annotate - [select for diffs], Fri Dec 8 23:34:11 2006 UTC (17 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

* Use to be compatible with the new apache22 pkg.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 18 18:43:00 2006 UTC (17 years, 3 months ago) by jschauma
Branch: MAIN
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 7 21:01:16 2006 UTC (17 years, 4 months ago) by reed
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 13 18:04:29 2006 UTC (17 years, 8 months ago) by darcy
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 4 21:30:57 2006 UTC (17 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Point MAINTAINER to 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

Revision 1.15 / (download) - annotate - [select for diffs], Sun Feb 5 23:11:18 2006 UTC (18 years ago) by joerg
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Recursive revision bump / recommended bump for gettext ABI change.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 24 07:32:43 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 29 06:22:21 2005 UTC (18 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

Remove USE_PKGINSTALL from pkgsrc now that mk/install/
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Dec 5 23:55:22 2005 UTC (18 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Ran "pkglint --autofix", which corrected some of the quoting issues in

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 3 13:30:50 2005 UTC (18 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Fixed it again after checking if it really exists.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 3 13:29:27 2005 UTC (18 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)


Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:51 2005 UTC (18 years, 10 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 24 21:13:03 2005 UTC (18 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 3 21:15:53 2005 UTC (18 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.6: +12 -13 lines
Diff to previous 1.6 (colored)

whitespace cleanup

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 3 21:14:36 2005 UTC (18 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

set USE_LIBTOOL, which allows to build.

reported by Sebastian Prause on tech-pkg.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 23 20:41:49 2005 UTC (19 years, 1 month ago) by recht
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 5 20:50:07 2005 UTC (19 years, 1 month ago) by darcy
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

These packages all work with the latest version of Python.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 3 00:18:24 2004 UTC (19 years, 4 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 17 17:34:30 2004 UTC (19 years, 7 months ago) by recht
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Set the correct PYTHONBIN for configure.
Should fix kristerw's bulk build.

Revision / (download) - annotate - [select for diffs] (vendor branch), Sat Jul 17 01:11:36 2004 UTC (19 years, 7 months ago) by darcy
CVS Tags: FreeBSD-current-20040716
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 17 01:11:36 2004 UTC (19 years, 7 months ago) by darcy
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>