Date: Monday, January 9, 2017 @ 19:39:21
  Author: foutrelis
Revision: 206242

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  passenger/repos/community-staging-i686/
  passenger/repos/community-staging-i686/PKGBUILD
    (from rev 206241, passenger/trunk/PKGBUILD)
  passenger/repos/community-staging-i686/passenger.install
    (from rev 206241, passenger/trunk/passenger.install)
  passenger/repos/community-staging-x86_64/
  passenger/repos/community-staging-x86_64/PKGBUILD
    (from rev 206241, passenger/trunk/PKGBUILD)
  passenger/repos/community-staging-x86_64/passenger.install
    (from rev 206241, passenger/trunk/passenger.install)

--------------------------------------------+
 community-staging-i686/PKGBUILD            |   35 +++++++++++++++++++++++++++
 community-staging-i686/passenger.install   |   32 ++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD          |   35 +++++++++++++++++++++++++++
 community-staging-x86_64/passenger.install |   32 ++++++++++++++++++++++++
 4 files changed, 134 insertions(+)

Copied: passenger/repos/community-staging-i686/PKGBUILD (from rev 206241, 
passenger/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-01-09 19:39:21 UTC (rev 206242)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+
+pkgname=passenger
+pkgver=5.0.30
+pkgrel=2
+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')
+validpgpkeys=('D5F0851426939232F437AB722AC745A50A212A8C')
+source=(https://s3.amazonaws.com/phusion-passenger/releases/passenger-$pkgver.tar.gz{,.asc})
+sha256sums=('f367e0c1d808d7356c3749222194a72ea03efe61a3bf1b682bd05d47f087b4e3'
+            'SKIP')
+
+build(){
+  cd "$srcdir"/passenger-$pkgver
+  rake nginx CACHING=false
+  ./bin/passenger-install-apache2-module -a
+}
+
+package() {
+  cd "$srcdir"/passenger-$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-staging-i686/passenger.install (from rev 
206241, passenger/trunk/passenger.install)
===================================================================
--- community-staging-i686/passenger.install                            (rev 0)
+++ community-staging-i686/passenger.install    2017-01-09 19:39:21 UTC (rev 
206242)
@@ -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"
+}

Copied: passenger/repos/community-staging-x86_64/PKGBUILD (from rev 206241, 
passenger/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-01-09 19:39:21 UTC (rev 206242)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+
+pkgname=passenger
+pkgver=5.0.30
+pkgrel=2
+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')
+validpgpkeys=('D5F0851426939232F437AB722AC745A50A212A8C')
+source=(https://s3.amazonaws.com/phusion-passenger/releases/passenger-$pkgver.tar.gz{,.asc})
+sha256sums=('f367e0c1d808d7356c3749222194a72ea03efe61a3bf1b682bd05d47f087b4e3'
+            'SKIP')
+
+build(){
+  cd "$srcdir"/passenger-$pkgver
+  rake nginx CACHING=false
+  ./bin/passenger-install-apache2-module -a
+}
+
+package() {
+  cd "$srcdir"/passenger-$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-staging-x86_64/passenger.install (from rev 
206241, passenger/trunk/passenger.install)
===================================================================
--- community-staging-x86_64/passenger.install                          (rev 0)
+++ community-staging-x86_64/passenger.install  2017-01-09 19:39:21 UTC (rev 
206242)
@@ -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"
+}

Reply via email to