[arch-commits] Commit in passenger/repos/community-x86_64 (4 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Nov 27 15:41:02 UTC 2018


    Date: Tuesday, November 27, 2018 @ 15:41:02
  Author: mtorromeo
Revision: 410020

archrelease: copy trunk to community-x86_64

Added:
  passenger/repos/community-x86_64/PKGBUILD
    (from rev 410019, passenger/trunk/PKGBUILD)
  passenger/repos/community-x86_64/passenger.install
    (from rev 410019, passenger/trunk/passenger.install)
Deleted:
  passenger/repos/community-x86_64/PKGBUILD
  passenger/repos/community-x86_64/passenger.install

-------------------+
 PKGBUILD          |  153 +++++++++++++++++++++++++---------------------------
 passenger.install |   64 ++++++++++-----------
 2 files changed, 106 insertions(+), 111 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-27 15:40:31 UTC (rev 410019)
+++ PKGBUILD	2018-11-27 15:41:02 UTC (rev 410020)
@@ -1,79 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgbase=passenger
-pkgname=(passenger mod_passenger nginx-mod-passenger)
-pkgver=5.3.6
-pkgrel=1
-_nginxver=1.14.1
-pkgdesc="Fast and robust web server and application server for Ruby, Python and Node.js"
-arch=('x86_64')
-url="https://www.phusionpassenger.com"
-_watch="https://github.com/phusion/passenger/releases"
-license=('MIT')
-makedepends=('ruby-rake' 'ruby-rack' 'curl' 'apache')
-options=('!emptydirs' 'staticlibs')
-validpgpkeys=('D5F0851426939232F437AB722AC745A50A212A8C'
-              '16378A33A6EF16762922526E561F9B9CAC40B2F7'
-              'B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin <mdounin at mdounin.ru>
-source=(https://s3.amazonaws.com/phusion-passenger/releases/passenger-$pkgver.tar.gz{,.asc}
-        https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
-        https://patch-diff.githubusercontent.com/raw/phusion/passenger/pull/2137.patch)
-sha256sums=('028b55d3943ad39247a164ad7f746fdc042cf5f52f1e89242f9d52c51aa24efa'
-            'SKIP'
-            'bf09974130c0d41c0a811decc17a96ec2f58cdc8bbacb771de8d38c9ba14a4a4'
-            'SKIP'
-            'ea2522d2dbf17a1bc68a6f46cfc16bad6a02602e3d49f18fea3c784be489ccea')
-
-build(){
-  cd "$srcdir"/$pkgbase-$pkgver
-  patch -p1 -i "$srcdir"/2137.patch
-
-  cd "$srcdir"/nginx-$_nginxver
-  ./configure --with-compat --add-dynamic-module=../$pkgbase-$pkgver/src/nginx_module
-  make modules
-
-  cd "$srcdir"/$pkgbase-$pkgver
-  rake nginx CACHING=false
-  ./bin/passenger-install-apache2-module -a
-}
-
-package_passenger() {
-  cd "$srcdir"/passenger-$pkgver
-  depends=('ruby' 'ruby-rack' 'curl' 'libnsl')
-
-  mkdir -p "$pkgdir"/usr/lib/passenger/
-  cp -R * "$pkgdir"/usr/lib/passenger/
-
-  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
-                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mod_passenger() {
-  pkgdesc="Passenger apache module"
-  depends=('passenger' 'apache')
-  install=passenger.install
-
-  cd "$srcdir"/passenger-$pkgver
-
-  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
-
-  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
-                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_nginx-mod-passenger() {
-  pkgdesc="Passenger nginx module"
-  depends=('passenger' "nginx=$_nginxver")
-
-  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
-                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  cd "$srcdir"/nginx-$_nginxver/objs
-  for mod in ngx_*.so; do
-    install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
-  done
-
-  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
-                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: passenger/repos/community-x86_64/PKGBUILD (from rev 410019, passenger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-27 15:41:02 UTC (rev 410020)
@@ -0,0 +1,74 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgbase=passenger
+pkgname=(passenger mod_passenger nginx-mod-passenger)
+pkgver=5.3.7
+pkgrel=1
+_nginxver=1.14.1
+pkgdesc="Fast and robust web server and application server for Ruby, Python and Node.js"
+arch=('x86_64')
+url="https://www.phusionpassenger.com"
+_watch="https://github.com/phusion/passenger/releases"
+license=('MIT')
+makedepends=('ruby-rake' 'ruby-rack' 'curl' 'apache')
+options=('!emptydirs' 'staticlibs')
+validpgpkeys=('D5F0851426939232F437AB722AC745A50A212A8C'
+              '16378A33A6EF16762922526E561F9B9CAC40B2F7'
+              'B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin <mdounin at mdounin.ru>
+source=(https://s3.amazonaws.com/phusion-passenger/releases/passenger-$pkgver.tar.gz{,.asc}
+        https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc})
+sha256sums=('ff9185257feafd6c2d982652dd1bbd06118895012f6e799ce170b7c855f7b5cb'
+            'SKIP'
+            'bf09974130c0d41c0a811decc17a96ec2f58cdc8bbacb771de8d38c9ba14a4a4'
+            'SKIP')
+
+build(){
+  cd "$srcdir"/nginx-$_nginxver
+  ./configure --with-compat --add-dynamic-module=../$pkgbase-$pkgver/src/nginx_module
+  make modules
+
+  cd "$srcdir"/$pkgbase-$pkgver
+  rake nginx CACHING=false
+  ./bin/passenger-install-apache2-module -a
+}
+
+package_passenger() {
+  cd "$srcdir"/passenger-$pkgver
+  depends=('ruby' 'ruby-rack' 'curl' 'libnsl')
+
+  mkdir -p "$pkgdir"/usr/lib/passenger/
+  cp -R * "$pkgdir"/usr/lib/passenger/
+
+  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
+                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mod_passenger() {
+  pkgdesc="Passenger apache module"
+  depends=('passenger' 'apache')
+  install=passenger.install
+
+  cd "$srcdir"/passenger-$pkgver
+
+  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
+
+  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
+                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_nginx-mod-passenger() {
+  pkgdesc="Passenger nginx module"
+  depends=('passenger' "nginx=$_nginxver")
+
+  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
+                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  cd "$srcdir"/nginx-$_nginxver/objs
+  for mod in ngx_*.so; do
+    install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+  done
+
+  install -Dm644 "$srcdir"/$pkgbase-$pkgver/LICENSE \
+                 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: passenger.install
===================================================================
--- passenger.install	2018-11-27 15:40:31 UTC (rev 410019)
+++ passenger.install	2018-11-27 15:41:02 UTC (rev 410020)
@@ -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-x86_64/passenger.install (from rev 410019, passenger/trunk/passenger.install)
===================================================================
--- passenger.install	                        (rev 0)
+++ passenger.install	2018-11-27 15:41:02 UTC (rev 410020)
@@ -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