[arch-commits] Commit in (6 files)

Andrea Scarpino andrea at archlinux.org
Wed Oct 28 09:40:23 UTC 2009


    Date: Wednesday, October 28, 2009 @ 05:40:23
  Author: andrea
Revision: 56832

this replace mod_python

Added:
  mod_wsgi/
  mod_wsgi/repos/
  mod_wsgi/trunk/
  mod_wsgi/trunk/PKGBUILD
  mod_wsgi/trunk/mod_wsgi.install
Modified:
  ktorrent/trunk/PKGBUILD

---------------------------------+
 ktorrent/trunk/PKGBUILD         |   22 +++++++++-------------
 mod_wsgi/trunk/PKGBUILD         |   24 ++++++++++++++++++++++++
 mod_wsgi/trunk/mod_wsgi.install |   22 ++++++++++++++++++++++
 3 files changed, 55 insertions(+), 13 deletions(-)

Modified: ktorrent/trunk/PKGBUILD
===================================================================
--- ktorrent/trunk/PKGBUILD	2009-10-28 09:38:24 UTC (rev 56831)
+++ ktorrent/trunk/PKGBUILD	2009-10-28 09:40:23 UTC (rev 56832)
@@ -4,34 +4,30 @@
 # Contributor: Georg Grabler <ggrabler at gmail.com>
 
 pkgname=ktorrent
-pkgver=3.2.4
+pkgver=3.2.5
 pkgrel=1
 pkgdesc="A BitTorrent program for KDE"
 arch=('i686' 'x86_64')
 url="http://ktorrent.org"
 license=('GPL2')
-depends=('kdelibs>4' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib' 'hicolor-icon-theme')
+depends=('kdelibs>4' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib')
 # 'kdebase-runtime' is needed for some of the icons in the interface to show
 makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kdebase-workspace')
 # 'kdebase-workspace' is needed to enable plasmoid building
-source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2 \
-	httpserver.patch)
+source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
 install=ktorrent.install
 options=('libtool')
-md5sums=('e3c595c9ac667985764058902a1489ea'
-         '1f25b94615b0bbfa0457c99fb20de3e6')
+md5sums=('0b0c3ebd2e0125ef65dbf67a584d1295')
 
 build() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-
-	# build time patch
-	patch -Np0 -i ${srcdir}/httpserver.patch || return 1
-
-	cmake .	-DCMAKE_BUILD_TYPE=Release \
+	cd ${srcdir}
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
 		-DENABLE_MEDIAPLAYER_PLUGIN=false
 	make || return 1
-	make DESTDIR=${pkgdir} install 
+	make DESTDIR=${pkgdir} install
 }

Added: mod_wsgi/trunk/PKGBUILD
===================================================================
--- mod_wsgi/trunk/PKGBUILD	                        (rev 0)
+++ mod_wsgi/trunk/PKGBUILD	2009-10-28 09:40:23 UTC (rev 56832)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+
+pkgname=mod_wsgi
+pkgver=2.6
+pkgrel=1
+pkgdesc="Python WSGI adapter module for Apache"
+arch=('i686' 'x86_64')
+url="http://www.modwsgi.org/"
+license=('APACHE')
+depends=('apache' 'python')
+install=$pkgname.install
+source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+md5sums=('c313cd7a662024866ce3376cb5a76cf6')
+
+build() { 
+    cd ${srcdir}/${pkgname}-${pkgver}
+    ./configure --prefix=/usr \
+      --with-apxs=/usr/sbin/apxs \
+      --with-python=/usr/bin/python || return 1
+    make || return 1
+    make DESTDIR=${pkgdir} install || return 1
+}

Added: mod_wsgi/trunk/mod_wsgi.install
===================================================================
--- mod_wsgi/trunk/mod_wsgi.install	                        (rev 0)
+++ mod_wsgi/trunk/mod_wsgi.install	2009-10-28 09:40:23 UTC (rev 56832)
@@ -0,0 +1,22 @@
+post_install() {
+/bin/cat << ENDOFMESSAGE
+==>
+==>
+==>  To install mod_wsgi, add the following line in 
+==>  /etc/httpd/conf/httpd.conf file :
+==>
+==>  LoadModule wsgi_module modules/mod_wsgi.so
+==>
+==>  and restart/reload Apache.
+==>
+==>
+ENDOFMESSAGE
+}
+
+post_upgrade() {
+post_install
+}
+
+op=$1
+shift
+$op $*




More information about the arch-commits mailing list