[arch-commits] Commit in passenger/repos/community-i686 (4 files)
Sergej Pupykin
spupykin at archlinux.org
Wed Apr 22 08:44:49 UTC 2015
Date: Wednesday, April 22, 2015 @ 10:44:48
Author: spupykin
Revision: 131915
archrelease: copy trunk to community-i686
Added:
passenger/repos/community-i686/PKGBUILD
(from rev 131914, passenger/trunk/PKGBUILD)
passenger/repos/community-i686/passenger.install
(from rev 131914, passenger/trunk/passenger.install)
Deleted:
passenger/repos/community-i686/PKGBUILD
passenger/repos/community-i686/passenger.install
-------------------+
PKGBUILD | 94 ++++++++++++++++++++++++++--------------------------
passenger.install | 64 +++++++++++++++++------------------
2 files changed, 79 insertions(+), 79 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-22 08:44:40 UTC (rev 131914)
+++ PKGBUILD 2015-04-22 08:44:48 UTC (rev 131915)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=passenger
-pkgver=5.0.4
-pkgrel=1
-pkgdesc="mod_rails passenger"
-arch=('i686' 'x86_64')
-url="http://www.modrails.com"
-_watch="https://github.com/phusion/passenger/releases"
-license=('GPL')
-depends=('ruby' 'ruby-rack' 'curl')
-makedepends=('apache')
-install=passenger.install
-options=('!emptydirs' 'staticlibs')
-source=($pkgname-$pkgver.tar.gz::https://github.com/FooBarWidget/passenger/archive/release-$pkgver.tar.gz)
-md5sums=('60c3775da8f952b58d820d2f843825ae')
-
-prepare() {
- cd $srcdir/passenger-release-$pkgver
- sed -i '1,1i#include <stdint.h>' \
- ext/common/Utils/MD5.cpp \
- ext/common/Logging.cpp \
- ext/common/Utils/StrIntUtils.cpp \
- ext/common/Utils.cpp \
- ext/common/ApplicationPool2/AppTypes.cpp \
- ext/boost/libs/thread/src/pthread/once.cpp \
- ext/boost/libs/thread/src/pthread/once_atomic.cpp \
- ext/boost/libs/thread/src/pthread/thread.cpp \
- ext/boost/atomic/atomic.hpp
-}
-
-build(){
- cd $srcdir/passenger-release-$pkgver
- ./bin/passenger-install-apache2-module -a
- rake nginx
-}
-
-package() {
- cd $srcdir/passenger-release-$pkgver
-
- mkdir -p $pkgdir/usr/lib/passenger/
- cp -R * $pkgdir/usr/lib/passenger/
-
- mkdir -p $pkgdir/usr/lib/httpd/modules
- ln -sf /usr/lib/passenger/buildout/apache2/mod_passenger.so $pkgdir/usr/lib/httpd/modules/mod_passenger.so
-}
Copied: passenger/repos/community-i686/PKGBUILD (from rev 131914, passenger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-22 08:44:48 UTC (rev 131915)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=passenger
+pkgver=5.0.6
+pkgrel=1
+pkgdesc="mod_rails passenger"
+arch=('i686' 'x86_64')
+url="http://www.modrails.com"
+_watch="https://github.com/phusion/passenger/releases"
+license=('GPL')
+depends=('ruby' 'ruby-rack' 'curl')
+makedepends=('apache')
+install=passenger.install
+options=('!emptydirs' 'staticlibs')
+source=($pkgname-$pkgver.tar.gz::https://github.com/FooBarWidget/passenger/archive/release-$pkgver.tar.gz)
+md5sums=('9729a6831476e8161d6cd51ecd140a60')
+
+prepare() {
+ cd $srcdir/passenger-release-$pkgver
+ sed -i '1,1i#include <stdint.h>' \
+ ext/common/Utils/MD5.cpp \
+ ext/common/Logging.cpp \
+ ext/common/Utils/StrIntUtils.cpp \
+ ext/common/Utils.cpp \
+ ext/common/ApplicationPool2/AppTypes.cpp \
+ ext/boost/libs/thread/src/pthread/once.cpp \
+ ext/boost/libs/thread/src/pthread/once_atomic.cpp \
+ ext/boost/libs/thread/src/pthread/thread.cpp \
+ ext/boost/atomic/atomic.hpp
+}
+
+build(){
+ cd $srcdir/passenger-release-$pkgver
+ ./bin/passenger-install-apache2-module -a
+ rake nginx
+}
+
+package() {
+ cd $srcdir/passenger-release-$pkgver
+
+ mkdir -p $pkgdir/usr/lib/passenger/
+ cp -R * $pkgdir/usr/lib/passenger/
+
+ mkdir -p $pkgdir/usr/lib/httpd/modules
+ ln -sf /usr/lib/passenger/buildout/apache2/mod_passenger.so $pkgdir/usr/lib/httpd/modules/mod_passenger.so
+}
Deleted: passenger.install
===================================================================
--- passenger.install 2015-04-22 08:44:40 UTC (rev 131914)
+++ passenger.install 2015-04-22 08:44:48 UTC (rev 131915)
@@ -1,32 +0,0 @@
-post_install() {
- echo "Please edit your Apache configuration file, and add these lines:"
- echo ""
- echo "LoadModule passenger_module /usr/lib/httpd/modules/mod_passenger.so"
- echo "PassengerRoot /usr/lib/passenger"
- echo "PassengerRuby /usr/bin/ruby"
- echo ""
- echo "After you restart Apache, you are ready to deploy any number of Ruby on Rails"
- echo "applications on Apache, without any further Ruby on Rails-specific"
- echo "configuration!"
- echo ""
- echo ""
- echo "Deploying a Ruby on Rails application: an example"
- echo ""
- echo "Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host"
- echo "to your Apache configuration file, and set its DocumentRoot to"
- echo "/somewhere/public, like this:"
- echo ""
- echo "<VirtualHost *:80>"
- echo " ServerName www.yourhost.com"
- echo " DocumentRoot /somewhere/public # <-- be sure to point to 'public'!"
- echo " <Directory /somewhere/public>"
- echo " AllowOverride all # <-- relax Apache security settings"
- echo " Options -MultiViews # <-- MultiViews must be turned off"
- echo " </Directory>"
- echo "</VirtualHost>"
- echo ""
- echo "And that's it! You may also want to check the Users Guide for security and"
- echo "optimization tips, troubleshooting and other useful information:"
- echo ""
- echo "/usr/lib/passenger/doc/Users guide Apache.html"
-}
Copied: passenger/repos/community-i686/passenger.install (from rev 131914, passenger/trunk/passenger.install)
===================================================================
--- passenger.install (rev 0)
+++ passenger.install 2015-04-22 08:44:48 UTC (rev 131915)
@@ -0,0 +1,32 @@
+post_install() {
+ echo "Please edit your Apache configuration file, and add these lines:"
+ echo ""
+ echo "LoadModule passenger_module /usr/lib/httpd/modules/mod_passenger.so"
+ echo "PassengerRoot /usr/lib/passenger"
+ echo "PassengerRuby /usr/bin/ruby"
+ echo ""
+ echo "After you restart Apache, you are ready to deploy any number of Ruby on Rails"
+ echo "applications on Apache, without any further Ruby on Rails-specific"
+ echo "configuration!"
+ echo ""
+ echo ""
+ echo "Deploying a Ruby on Rails application: an example"
+ echo ""
+ echo "Suppose you have a Ruby on Rails application in /somewhere. Add a virtual host"
+ echo "to your Apache configuration file, and set its DocumentRoot to"
+ echo "/somewhere/public, like this:"
+ echo ""
+ echo "<VirtualHost *:80>"
+ echo " ServerName www.yourhost.com"
+ echo " DocumentRoot /somewhere/public # <-- be sure to point to 'public'!"
+ echo " <Directory /somewhere/public>"
+ echo " AllowOverride all # <-- relax Apache security settings"
+ echo " Options -MultiViews # <-- MultiViews must be turned off"
+ echo " </Directory>"
+ echo "</VirtualHost>"
+ echo ""
+ echo "And that's it! You may also want to check the Users Guide for security and"
+ echo "optimization tips, troubleshooting and other useful information:"
+ echo ""
+ echo "/usr/lib/passenger/doc/Users guide Apache.html"
+}
More information about the arch-commits
mailing list