aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-04-02 14:11:57 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-04-02 14:11:57 +0000
commite7a00d7ba667242ec5e4d34f6da30bae8bf363b0 (patch)
treee1219d733ad6f4503f7c167739c58a21ab8e54f9 /dev
parent42ed6fd6e1ce86b9b6866f122cfff81158ed635a (diff)
downloadmkbuilds-e7a00d7ba667242ec5e4d34f6da30bae8bf363b0.tar.gz
mkbuilds-e7a00d7ba667242ec5e4d34f6da30bae8bf363b0.tar.bz2
mod_python: adding mkbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@407 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'dev')
-rw-r--r--dev/python/mod_python/Manifest25
-rw-r--r--dev/python/mod_python/mod_python-3.3.1.diff12
-rw-r--r--dev/python/mod_python/mod_python.mkbuild181
3 files changed, 218 insertions, 0 deletions
diff --git a/dev/python/mod_python/Manifest b/dev/python/mod_python/Manifest
new file mode 100644
index 0000000..240d6af
--- /dev/null
+++ b/dev/python/mod_python/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST mod_python-3.3.1.tgz 447954 MD5 a3b0150176b726bd2833dac3a7837dc5 RMD160 f78f93172963317f4318f8f2455419743c8fb4f5 SHA1 e538170fd78e09408b6d8593da980b126a0fef93 SHA256 ad2331fd5fcfd720ef9e3482973fc2d06eff36ba0c44693cfa42056a62175a6b SHA512 b3c3d5ed624e0152d8904a7566be80c04622889b79350bb981e8adfbcc62a22cde6ebe609d76a67c57096b8d3fcdfd6c59e47aac39b73e614f8192e3061164f9
+DIST mod_python-3.3.tgz
+MKBUILD mod_python.mkbuild 5003 MD5 2cd617be92015f20e80a06fac22b3a8c RMD160 0bf5a13fc0bfa4272585f015a858b8d75a58e6b5 SHA1 a1800ab4ac071b42642a8bc40ff592e5babe233f SHA256 ae25a066c50faff979b80652f497f3e5c22bc0dc7a58569921ac0d01be1b2069 SHA512 f1a0c2ede525b207636207457b7ea76ef3f6ba10957c0fcd79a607c412e05bddbebc0c86ea6c33428d6b0df8750be7d51b30fcf414374dfbd0159dd31b5d9f90
+PATCH mod_python-3.3.1.diff 516 MD5 9adc3977ca7110b2f293622bfbf21b16 RMD160 24348d48af36f13f171e0b050395ccbd663727e4 SHA1 2fe2fee84becc11fa38942147e984b0b4d05166a SHA256 df323c28ba04cc30a9ddf1d9b0e9f0d2abeb15f961533ef941e6180dab1de0c7 SHA512 605bf82f9216b842deb65823dfe70961ac5593150291ee7559f6768bde1fa7eac30d0074f3c273d286ee3cc152cf7f805503910246455375e994479561bd2065
+SLACKBUILD mod_python.SlackBuild 9532 MD5 a6bdc9f7da9dd5ca2144c240ff69a897 RMD160 d15fe0c29bc2152cd5d10003517f506ca15d2d5f SHA1 3ba9686db4dc6a0acfefc8e558a607516ec7b5f8 SHA256 bdd86c71a94e1a12ba167715e99c41ba0e463ce34969188ff1ed4994ad812657 SHA512 f716d0ee5d1ecc72d2299978b32d2807f07b2fb5d2b3cf208ba95073d49b2a95ed96707c5931b2e587c69079512b7802982b3f19d4f0e6012a3b5d03fd7aadf3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iQIcBAEBAgAGBQJJ1MhFAAoJEEHL93ESzgei/44P+gKe0J2U7nwf4y5P+r5co2zu
+k2gwPFzEMz6BA3amFbXIADpYkEIl/cANDIIqh4vrvzedyJzFQbw1VUxuNTak5Zd6
+kwQOH/Q2S2XbFSqxzqEazxZCdQjHZ5RVoUb5cSCc0Aba+Aza1RKqpi2MWxy0LkWB
+bBVkcEqK8IoOoqdjT08QKxIikTocTlWRYQasWt2LXnFdSnANpZHK+OSeDnfhSjcm
+CC4MoLfaP1zIWvKTV9SQX1ixNgTTq0CFrQmFm+JxOEZ43MKTJQx7SvDahxLO7COX
+mEAcUR6yKNaturLObRYMA64ktdD7JCSByK0RUWTrQBaWX1oI44Sti5aV7dOw3Tks
+h5o3vdFOIcm+rZFdRy0PKaj0hBs5P14N+SV2yTD01Z1dkUqqIJ1qP9p/Waog/YWo
+Baa44Zjbx0F+iJwwFed0i3Uy0Yls3H7kTmp9GG6S7eLwxNMTiz5zUqXucQxq/47g
+4xmvDvuX32obB0lvm8qipkrQ6fYi0CnbdGrZkxonWzRnbI/W74mQZ8OJIzpNtvm6
+/Khi96A4x6fWytHwAnQGsq+rHB0IyAjXoKa6deQNza/K6/eZXz57FeArJ4u4u1OK
+/YBEU1ZMlyXyvABicxgNJIvTYiYwYvN+pccGjeARvqxlRIU9r7H2/dtHV+lmlaho
+XdMVBVFV/1kgiPvzFJnC
+=ZwwU
+-----END PGP SIGNATURE-----
diff --git a/dev/python/mod_python/mod_python-3.3.1.diff b/dev/python/mod_python/mod_python-3.3.1.diff
new file mode 100644
index 0000000..216b049
--- /dev/null
+++ b/dev/python/mod_python/mod_python-3.3.1.diff
@@ -0,0 +1,12 @@
+diff -rNu mod_python-3.3.1/src/connobject.c mod_python-3.3.1-atomix/src/connobject.c
+--- mod_python-3.3.1/src/connobject.c 2006-12-03 05:36:37.000000000 +0100
++++ mod_python-3.3.1-atomix/src/connobject.c 2008-10-02 14:10:02.000000000 +0200
+@@ -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;
diff --git a/dev/python/mod_python/mod_python.mkbuild b/dev/python/mod_python/mod_python.mkbuild
new file mode 100644
index 0000000..b1f488a
--- /dev/null
+++ b/dev/python/mod_python/mod_python.mkbuild
@@ -0,0 +1,181 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+# Version $Rev: 803 $ - $Author: rhatto $
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]="3.3.1"
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompressor
+[[DECOMPRESSOR]]="gzip"
+
+#
+# Decompressor test flag
+[[DECOMPRESSOR TEST FLAG]]="-t"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]="COPYRIGHT CREDITS LICENSE NEWS NOTICE README"
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]=""
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+[[SIGNING KEY ID]]="A879FCF5"
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[REST OF DOINST.SH]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="dev/python/mod_python"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: download_patches
+off: svn_source
+off: git_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+ on: gpg_signature_check
+ on: manifest_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+off: slack_required
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+mod_python: mod_python (Apache/Python Integration)
+mod_python:
+mod_python: Mod_python is an Apache module that embeds the Python interpreter
+mod_python: within the server. With mod_python you can write web-based
+mod_python: applications in Python that will run many times faster than
+mod_python: traditional CGI and will have access to advanced features such as
+mod_python: ability to retain database connections and other data between hits
+mod_python: and access to Apache internals
+mod_python:
+mod_python:
+mod_python:
+#<slackdesc