Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/web
In directory vz-cvs-3.sog:/tmp/cvs-serv26003

Added Files:
        libapache2-mod-python-doc.info libapache2-mod-python-py.info 
        libapache2-mod-python-py.patch 
Log Message:
sync. w/ 10.!4/stable, -py27 validated on powerpc-darwin8


--- NEW FILE: libapache2-mod-python-py.info ---
Info2: <<

#=========================================================================
# $Id: libapache2-mod-python-py.info 512 2007-05-14 04:20:20Z matt $
Package: libapache2-mod-python-py%type_pkg[python]
Version: 3.3.1
Revision: 3
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, 
(%type_pkg[python] = 24) 10.5
Type: python (2.3 2.4 2.5 2.6 2.7)
Description: Embeds the Python interpreter within Apache
License: OSI-Approved
Homepage: http://modpython.org/
Maintainer: Matthew Bogosian <mt...@columbia.edu>
#=========================================================================

#---- Dependencies -------------------------------------------------------

Depends: python%type_pkg[python] | python%type_pkg[python]-nox, apache2 (>= 
2.2.9-2)
BuildDepends: apache2-dev (>= 2.2.9-2), libapr.0-dev, libaprutil.0-dev, 
flex-devel (>= 2.5.31), fink (>= 0.24.12-1)

#---- Unpack phase -------------------------------------------------------

Source: http://www.apache.org/dist/httpd/modpython/mod_python-%v.tgz
Source-MD5: a3b0150176b726bd2833dac3a7837dc5

PatchFile: %{ni}.patch
PatchFile-MD5: db33801579755c374dab950e54b2894b

#---- Compile phase ------------------------------------------------------

CompileScript: <<
#!/bin/sh -ex
./configure --prefix='%p' --with-apxs='%p/bin/apxs2' \
    --with-python='%p/bin/python%type_raw[python]' \
    --with-flex=%p/lib/flex/bin/flex

make
<<

#---- Install phase ------------------------------------------------------

DocFiles: COPYRIGHT CREDITS LICENSE NEWS NOTICE README

InstallScript: <<
#!/bin/sh -ex
make DESTDIR='%d' install
mv '%i/lib/apache2/modules/mod_python.so' 
'%i/lib/apache2/modules/mod_python%type_raw[python].so'
(
cat <<EOF
LoadModule python_module %p/lib/apache2/modules/mod_python%type_raw[python].so
EOF
) >'python%type_raw[python].load'
chmod 600 'python%type_raw[python].load'
install -d -m 700 '%i/etc/apache2/mods-available'
cp 'python%type_raw[python].load' '%i/etc/apache2/mods-available'
chmod -R go-rstwx,a+Xr '%i/etc/apache2/mods-available'
<<

#---- Documentation ------------------------------------------------------

DescDetail: <<
>From http://modpython.org/:

Mod_python is an Apache module that embeds the Python interpreter within
the server. With mod_python you can write web-based applications in Python
that will run many times faster than traditional CGI and will have access
to advanced features such as ability to retain database connections and
other data between hits and access to Apache internals.
<<
DescPort: <<
        Fix bug in connobject.c that became build error with newer
        apr. See:
        http://bugs.gentoo.org/show_bug.cgi?id=230211
        https://issues.apache.org/jira/browse/MODPYTHON-249
<<

<<

--- NEW FILE: libapache2-mod-python-py.patch ---
diff -Nurd -x'*~' mod_python-3.3.1.orig/src/connobject.c 
mod_python-3.3.1/src/connobject.c
--- mod_python-3.3.1.orig/src/connobject.c      2006-12-02 23:36:37.000000000 
-0500
+++ mod_python-3.3.1/src/connobject.c   2008-09-09 01:07:05.000000000 -0400
@@ -139,7 +139,7 @@
     bytes_read = 0;
 
     while ((bytes_read < len || len == 0) &&
-           !(b == APR_BRIGADE_SENTINEL(b) ||
+           !(b == APR_BRIGADE_SENTINEL(bb) ||
              APR_BUCKET_IS_EOS(b) || APR_BUCKET_IS_FLUSH(b))) {
 
         const char *data;

--- NEW FILE: libapache2-mod-python-doc.info ---
Info2: <<

#=========================================================================
# $Id: libapache2-mod-python-doc.info 483 2007-02-27 22:32:05Z matt $
Package: libapache2-mod-python-doc
Version: 3.3.1
Revision: 2
Description: Documentation for mod_python
Conflicts: libapache2-mod-python-doc, libapache2-mod-python-py23-doc, 
libapache2-mod-python-py23-ssl-doc, libapache2-mod-python-py24-doc, 
libapache2-mod-python-py24-ssl-doc
Replaces: libapache2-mod-python-doc, libapache2-mod-python-py23-doc, 
libapache2-mod-python-py23-ssl-doc, libapache2-mod-python-py24-doc, 
libapache2-mod-python-py24-ssl-doc
Suggests: libapache2-mod-python-py26 | libapache2-mod-python-py25 | 
libapache2-mod-python-py24 | libapache2-mod-python-py23
License: OSI-Approved
Homepage: http://modpython.org/
Maintainer: Matthew Bogosian <mt...@columbia.edu>
#=========================================================================

#---- Unpack phase -------------------------------------------------------

Source: http://www.apache.org/dist/httpd/modpython/mod_python-%v.tgz
Source-MD5: a3b0150176b726bd2833dac3a7837dc5

#---- Compile phase ------------------------------------------------------

CompileScript: <<
#!/bin/sh -ex
<<

#---- Install phase ------------------------------------------------------

DocFiles: COPYRIGHT CREDITS LICENSE NEWS NOTICE README

InstallScript: <<
#!/bin/sh -ex
install -d -m 700 '%i/share/doc/mod-python'
cp -Rp doc-html examples '%i/share/doc/mod-python'
chmod -R go-rstwx,a+Xr '%i/share/doc/mod-python'
<<

#---- Documentation ------------------------------------------------------

DescDetail: <<
>From http://modpython.org/:

Mod_python is an Apache module that embeds the Python interpreter within
the server. With mod_python you can write web-based applications in Python
that will run many times faster than traditional CGI and will have access
to advanced features such as ability to retain database connections and
other data between hits and access to Apache internals.
<<

<<


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to