From ba8d4f028580cb1c6972b85b50f4fd9887705061 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 16 Apr 2016 14:53:38 -0400 Subject: pcr/nginx-passenger: bump _passengerver, format to be like community/nginx --- pcr/nginx-passenger/PKGBUILD | 68 +++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 32 deletions(-) (limited to 'pcr') diff --git a/pcr/nginx-passenger/PKGBUILD b/pcr/nginx-passenger/PKGBUILD index abaefc18d..09bc0e4f7 100644 --- a/pcr/nginx-passenger/PKGBUILD +++ b/pcr/nginx-passenger/PKGBUILD @@ -9,7 +9,7 @@ pkgname=nginx-passenger _nginxver=1.8.1 -_passengerver=5.0.25 +_passengerver=5.0.27 pkgver=$_nginxver.passenger.$_passengerver pkgrel=1 pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server' @@ -38,10 +38,34 @@ source=($url/download/nginx-$_nginxver.tar.gz passenger-$_passengerver.tar.gz::https://github.com/phusion/passenger/archive/release-$_passengerver.tar.gz service logrotate) -sha512sums=('546eba1749af0034cb8b924d2432be2f0e82a75c545aa929391ef7234103c3f29376235a2ef1363b120e1825cda15aeb085a05f9ce3596c88466e112e82aa882' - 'd9ed92ab49d3a67b6e489036d9336d244379a1a8132ac835b75b5ccd67aaace294b6f50e7fc7db647b3d7f5b37398258654d2011f17da2f55914860f80fb6bac' - '9ac172be150903c086e6cad0da27363b60e54629ce6a1330d58db0653f89ba301ae07c82441f17b8a5b85d0ff36ba2b6090e11b2a2194760e0dd7fb84cf27ea5' - 'ece7bb0c31232b40c80b03eb51b36c62eec2ec8ad5a454c284bbe5dff47af1cfcfe28dc01727c701a4568e89ae3fcfe69a25d737207f21dae362d1e7647d7d99') +md5sums=('2e91695074dbdfbf1bcec0ada9fda462' + '58e204f52260d3c4afd8c81f252cefe7' + '5dd4d09914a4403b9df778ec1d66167c' + '19a26a61c8afe78defb8b4544f79a9a0') + +_common_flags=( + --with-ipv6 + --with-pcre-jit + --with-file-aio + --with-http_addition_module + --with-http_dav_module + --with-http_degradation_module + --with-http_flv_module + --with-http_gunzip_module + --with-http_gzip_static_module + --with-http_mp4_module + --with-http_realip_module + --with-http_secure_link_module + --with-http_ssl_module + --with-http_stub_status_module + --with-http_sub_module +) + +_stable_flags=( + --with-http_spdy_module + --with-imap + --with-imap_ssl_module +) build() { cd "$srcdir/passenger-release-$_passengerver" @@ -63,24 +87,8 @@ build() { --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ --http-scgi-temp-path=/var/lib/nginx/scgi \ --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \ - --with-imap \ - --with-imap_ssl_module \ - --with-ipv6 \ - --with-pcre-jit \ - --with-file-aio \ - --with-http_dav_module \ - --with-http_gunzip_module \ - --with-http_gzip_static_module \ - --with-http_realip_module \ - --with-http_spdy_module \ - --with-http_ssl_module \ - --with-http_stub_status_module \ - --with-http_addition_module \ - --with-http_degradation_module \ - --with-http_flv_module \ - --with-http_mp4_module \ - --with-http_secure_link_module \ - --with-http_sub_module \ + ${_common_flags[@]} \ + ${_stable_flags[@]} \ --add-module="$_nginx_addon_dir" make @@ -90,13 +98,6 @@ package() { cd "$srcdir/nginx-$_nginxver" make DESTDIR="$pkgdir" install - install -Dm644 contrib/vim/ftdetect/nginx.vim \ - "$pkgdir"/usr/share/vim/vimfiles/ftdetect/nginx.vim - install -Dm644 contrib/vim/syntax/nginx.vim \ - "$pkgdir"/usr/share/vim/vimfiles/syntax/nginx.vim - install -Dm644 contrib/vim/indent/nginx.vim \ - "$pkgdir"/usr/share/vim/vimfiles/indent/nginx.vim - sed -e 's|\ "$pkgdir"/usr/share/man/man8/nginx.8.gz -} -# vim:set ts=2 sw=2 et: + for i in ftdetect indent syntax; do + install -Dm644 contrib/vim/${i}/nginx.vim \ + "${pkgdir}/usr/share/vim/vimfiles/${i}/nginx.vim" + done +} -- cgit v1.2.3-2-g168b