[arch-commits] Commit in nginx/repos (10 files)

2017-03-27 Thread Bartłomiej Piotrowski
Date: Monday, March 27, 2017 @ 10:47:28
  Author: bpiotrowski
Revision: 291721

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

Added:
  nginx/repos/community-testing-i686/
  nginx/repos/community-testing-i686/PKGBUILD
(from rev 291720, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-i686/logrotate
(from rev 291720, nginx/trunk/logrotate)
  nginx/repos/community-testing-i686/nginx.install
(from rev 291720, nginx/trunk/nginx.install)
  nginx/repos/community-testing-i686/service
(from rev 291720, nginx/trunk/service)
  nginx/repos/community-testing-x86_64/
  nginx/repos/community-testing-x86_64/PKGBUILD
(from rev 291720, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-x86_64/logrotate
(from rev 291720, nginx/trunk/logrotate)
  nginx/repos/community-testing-x86_64/nginx.install
(from rev 291720, nginx/trunk/nginx.install)
  nginx/repos/community-testing-x86_64/service
(from rev 291720, nginx/trunk/service)

+
 community-testing-i686/PKGBUILD|  126 +++
 community-testing-i686/logrotate   |   10 ++
 community-testing-i686/nginx.install   |   27 ++
 community-testing-i686/service |   17 
 community-testing-x86_64/PKGBUILD  |  126 +++
 community-testing-x86_64/logrotate |   10 ++
 community-testing-x86_64/nginx.install |   27 ++
 community-testing-x86_64/service   |   17 
 8 files changed, 360 insertions(+)

Copied: nginx/repos/community-testing-i686/PKGBUILD (from rev 291720, 
nginx/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-03-27 10:47:28 UTC (rev 291721)
@@ -0,0 +1,126 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin 
+# Contributor: Miroslaw Szot 
+# Contributor: Daniel Micay 
+
+pkgname=nginx
+pkgver=1.10.3
+pkgrel=5
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='https://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl' 'geoip')
+makedepends=('hardening-wrapper')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz{,.asc}
+service
+logrotate)
+validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin 

+md5sums=('204a20cb4f0b0c9db746c630d89ff4ea'
+ 'SKIP'
+ '09862c34cd9593bc40da81f88c5fc4b2'
+ '6a01fb17af86f03707c8ae60f98a2dc2')
+
+_common_flags=(
+  --with-pcre-jit
+  --with-file-aio
+  --with-http_addition_module
+  --with-http_auth_request_module
+  --with-http_dav_module
+  --with-http_degradation_module
+  --with-http_flv_module
+  --with-http_geoip_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_slice_module
+  --with-http_ssl_module
+  --with-http_stub_status_module
+  --with-http_sub_module
+  --with-http_v2_module
+  --with-mail
+  --with-mail_ssl_module
+  --with-stream
+  --with-stream_ssl_module
+  --with-threads
+)
+
+_stable_flags=(
+  --with-ipv6
+)
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
+--http-scgi-temp-path=/var/lib/nginx/scgi \
+--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
+${_common_flags[@]} \
+${_stable_flags[@]}
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  sed -e 's|\

[arch-commits] Commit in nginx/repos (10 files)

2017-03-09 Thread Bartłomiej Piotrowski
Date: Thursday, March 9, 2017 @ 12:04:11
  Author: bpiotrowski
Revision: 290192

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

Added:
  nginx/repos/staging-i686/
  nginx/repos/staging-i686/PKGBUILD
(from rev 290191, nginx/trunk/PKGBUILD)
  nginx/repos/staging-i686/logrotate
(from rev 290191, nginx/trunk/logrotate)
  nginx/repos/staging-i686/nginx.install
(from rev 290191, nginx/trunk/nginx.install)
  nginx/repos/staging-i686/service
(from rev 290191, nginx/trunk/service)
  nginx/repos/staging-x86_64/
  nginx/repos/staging-x86_64/PKGBUILD
(from rev 290191, nginx/trunk/PKGBUILD)
  nginx/repos/staging-x86_64/logrotate
(from rev 290191, nginx/trunk/logrotate)
  nginx/repos/staging-x86_64/nginx.install
(from rev 290191, nginx/trunk/nginx.install)
  nginx/repos/staging-x86_64/service
(from rev 290191, nginx/trunk/service)

--+
 staging-i686/PKGBUILD|  126 +
 staging-i686/logrotate   |   10 +++
 staging-i686/nginx.install   |   27 
 staging-i686/service |   17 +
 staging-x86_64/PKGBUILD  |  126 +
 staging-x86_64/logrotate |   10 +++
 staging-x86_64/nginx.install |   27 
 staging-x86_64/service   |   17 +
 8 files changed, 360 insertions(+)

Copied: nginx/repos/staging-i686/PKGBUILD (from rev 290191, 
nginx/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-03-09 12:04:11 UTC (rev 290192)
@@ -0,0 +1,126 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin 
+# Contributor: Miroslaw Szot 
+# Contributor: Daniel Micay 
+
+pkgname=nginx
+pkgver=1.10.3
+pkgrel=3
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='https://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl' 'geoip')
+makedepends=('hardening-wrapper')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz{,.asc}
+service
+logrotate)
+validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin 

+md5sums=('204a20cb4f0b0c9db746c630d89ff4ea'
+ 'SKIP'
+ '5dd4d09914a4403b9df778ec1d66167c'
+ '6a01fb17af86f03707c8ae60f98a2dc2')
+
+_common_flags=(
+  --with-pcre-jit
+  --with-file-aio
+  --with-http_addition_module
+  --with-http_auth_request_module
+  --with-http_dav_module
+  --with-http_degradation_module
+  --with-http_flv_module
+  --with-http_geoip_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_slice_module
+  --with-http_ssl_module
+  --with-http_stub_status_module
+  --with-http_sub_module
+  --with-http_v2_module
+  --with-mail
+  --with-mail_ssl_module
+  --with-stream
+  --with-stream_ssl_module
+  --with-threads
+)
+
+_stable_flags=(
+  --with-ipv6
+)
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
+--http-scgi-temp-path=/var/lib/nginx/scgi \
+--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
+${_common_flags[@]} \
+${_stable_flags[@]}
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  sed -e 's|\

[arch-commits] Commit in nginx/repos (10 files)

2016-03-02 Thread Evangelos Foutras
Date: Wednesday, March 2, 2016 @ 19:26:20
  Author: foutrelis
Revision: 260535

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

Added:
  nginx/repos/staging-i686/
  nginx/repos/staging-i686/PKGBUILD
(from rev 260534, nginx/trunk/PKGBUILD)
  nginx/repos/staging-i686/logrotate
(from rev 260534, nginx/trunk/logrotate)
  nginx/repos/staging-i686/nginx.install
(from rev 260534, nginx/trunk/nginx.install)
  nginx/repos/staging-i686/service
(from rev 260534, nginx/trunk/service)
  nginx/repos/staging-x86_64/
  nginx/repos/staging-x86_64/PKGBUILD
(from rev 260534, nginx/trunk/PKGBUILD)
  nginx/repos/staging-x86_64/logrotate
(from rev 260534, nginx/trunk/logrotate)
  nginx/repos/staging-x86_64/nginx.install
(from rev 260534, nginx/trunk/nginx.install)
  nginx/repos/staging-x86_64/service
(from rev 260534, nginx/trunk/service)

--+
 staging-i686/PKGBUILD|  117 +
 staging-i686/logrotate   |   10 +++
 staging-i686/nginx.install   |   21 +++
 staging-i686/service |   17 +
 staging-x86_64/PKGBUILD  |  117 +
 staging-x86_64/logrotate |   10 +++
 staging-x86_64/nginx.install |   21 +++
 staging-x86_64/service   |   17 +
 8 files changed, 330 insertions(+)

Copied: nginx/repos/staging-i686/PKGBUILD (from rev 260534, 
nginx/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-03-02 18:26:20 UTC (rev 260535)
@@ -0,0 +1,117 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski 
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin 
+# Contributor: Miroslaw Szot 
+# Contributor: Daniel Micay 
+
+pkgname=nginx
+pkgver=1.8.1
+pkgrel=3
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='http://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl' 'geoip')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz
+service
+logrotate)
+md5sums=('2e91695074dbdfbf1bcec0ada9fda462'
+ '5dd4d09914a4403b9df778ec1d66167c'
+ '19a26a61c8afe78defb8b4544f79a9a0')
+
+_common_flags=(
+  --with-imap 
+  --with-imap_ssl_module 
+  --with-ipv6 
+  --with-pcre-jit 
+  --with-file-aio 
+  --with-http_addition_module 
+  --with-http_auth_request_module 
+  --with-http_dav_module 
+  --with-http_degradation_module 
+  --with-http_flv_module 
+  --with-http_geoip_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
+)
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
+--http-scgi-temp-path=/var/lib/nginx/scgi \
+--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
+${_common_flags[@]} \
+${_stable_flags[@]}
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  sed -e 's|\ "$pkgdir"/usr/share/man/man8/nginx.8.gz
+
+  for i in ftdetect indent syntax; do
+install -Dm644 contrib/vim/${i}/nginx.vim \
+  

[arch-commits] Commit in nginx/repos (10 files)

2014-05-22 Thread Sébastien Luttringer
Date: Friday, May 23, 2014 @ 01:55:20
  Author: seblu
Revision: 213401

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

Added:
  nginx/repos/community-testing-i686/
  nginx/repos/community-testing-i686/PKGBUILD
(from rev 213400, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-i686/logrotate
(from rev 213400, nginx/trunk/logrotate)
  nginx/repos/community-testing-i686/nginx.install
(from rev 213400, nginx/trunk/nginx.install)
  nginx/repos/community-testing-i686/service
(from rev 213400, nginx/trunk/service)
  nginx/repos/community-testing-x86_64/
  nginx/repos/community-testing-x86_64/PKGBUILD
(from rev 213400, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-x86_64/logrotate
(from rev 213400, nginx/trunk/logrotate)
  nginx/repos/community-testing-x86_64/nginx.install
(from rev 213400, nginx/trunk/nginx.install)
  nginx/repos/community-testing-x86_64/service
(from rev 213400, nginx/trunk/service)

+
 community-testing-i686/PKGBUILD|  100 +++
 community-testing-i686/logrotate   |9 ++
 community-testing-i686/nginx.install   |   21 ++
 community-testing-i686/service |   17 +
 community-testing-x86_64/PKGBUILD  |  100 +++
 community-testing-x86_64/logrotate |9 ++
 community-testing-x86_64/nginx.install |   21 ++
 community-testing-x86_64/service   |   17 +
 8 files changed, 294 insertions(+)

Copied: nginx/repos/community-testing-i686/PKGBUILD (from rev 213400, 
nginx/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-05-22 23:55:20 UTC (rev 213401)
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Miroslaw Szot m...@czlug.icis.pcz.pl
+# Contributor: Daniel Micay danielmi...@gmail.com
+
+pkgname=nginx
+pkgver=1.6.0
+pkgrel=4
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='http://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz
+service
+logrotate)
+md5sums=('8efa354f1c3c2ccf434a50d3fbe82340'
+ '5dd4d09914a4403b9df778ec1d66167c'
+ '3441ce77cdd1aab6f0ab7e212698a8a7')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--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
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  sed -e 's|\user\s\+\w\+;|user html;|g' \
+-e '44s|html|/usr/share/nginx/html|' \
+-e '54s|html|/usr/share/nginx/html|' \
+-i $pkgdir/etc/nginx/nginx.conf
+
+  rm $pkgdir/etc/nginx/*.default
+
+  install -d $pkgdir/var/lib/nginx
+  install -dm700 $pkgdir/var/lib/nginx/proxy
+
+  chmod 750 $pkgdir/var/log/nginx
+  chown http:log $pkgdir/var/log/nginx
+
+  install -d $pkgdir/usr/share/nginx
+  mv $pkgdir/etc/nginx/html/ $pkgdir/usr/share/nginx
+
+  install -Dm644 ../logrotate $pkgdir/etc/logrotate.d/nginx
+  install -Dm644 ../service $pkgdir/usr/lib/systemd/system/nginx.service
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  rmdir $pkgdir/run
+}
+
+# vim:set ts=2 sw=2 et:

Copied: nginx/repos/community-testing-i686/logrotate (from rev 213400, 
nginx/trunk/logrotate)

[arch-commits] Commit in nginx/repos (10 files)

2014-05-20 Thread Bartłomiej Piotrowski
Date: Tuesday, May 20, 2014 @ 16:55:34
  Author: bpiotrowski
Revision: 213339

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  nginx/repos/testing-i686/
  nginx/repos/testing-i686/PKGBUILD
(from rev 213338, nginx/trunk/PKGBUILD)
  nginx/repos/testing-i686/logrotate
(from rev 213338, nginx/trunk/logrotate)
  nginx/repos/testing-i686/nginx.install
(from rev 213338, nginx/trunk/nginx.install)
  nginx/repos/testing-i686/service
(from rev 213338, nginx/trunk/service)
  nginx/repos/testing-x86_64/
  nginx/repos/testing-x86_64/PKGBUILD
(from rev 213338, nginx/trunk/PKGBUILD)
  nginx/repos/testing-x86_64/logrotate
(from rev 213338, nginx/trunk/logrotate)
  nginx/repos/testing-x86_64/nginx.install
(from rev 213338, nginx/trunk/nginx.install)
  nginx/repos/testing-x86_64/service
(from rev 213338, nginx/trunk/service)

--+
 testing-i686/PKGBUILD|  100 +
 testing-i686/logrotate   |9 +++
 testing-i686/nginx.install   |   21 
 testing-i686/service |   16 ++
 testing-x86_64/PKGBUILD  |  100 +
 testing-x86_64/logrotate |9 +++
 testing-x86_64/nginx.install |   21 
 testing-x86_64/service   |   16 ++
 8 files changed, 292 insertions(+)

Copied: nginx/repos/testing-i686/PKGBUILD (from rev 213338, 
nginx/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-20 14:55:34 UTC (rev 213339)
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Miroslaw Szot m...@czlug.icis.pcz.pl
+# Contributor: Daniel Micay danielmi...@gmail.com
+
+pkgname=nginx
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='http://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz
+service
+logrotate)
+md5sums=('8efa354f1c3c2ccf434a50d3fbe82340'
+ 'fed60747cefcf90dc9fbfa5fa93cacd1'
+ '3441ce77cdd1aab6f0ab7e212698a8a7')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--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
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  sed -e 's|\user\s\+\w\+;|user html;|g' \
+-e '44s|html|/usr/share/nginx/html|' \
+-e '54s|html|/usr/share/nginx/html|' \
+-i $pkgdir/etc/nginx/nginx.conf
+
+  rm $pkgdir/etc/nginx/*.default
+
+  install -d $pkgdir/var/lib/nginx
+  install -dm700 $pkgdir/var/lib/nginx/proxy
+
+  chmod 750 $pkgdir/var/log/nginx
+  chown http:log $pkgdir/var/log/nginx
+
+  install -d $pkgdir/usr/share/nginx
+  mv $pkgdir/etc/nginx/html/ $pkgdir/usr/share/nginx
+
+  install -Dm644 ../logrotate $pkgdir/etc/logrotate.d/nginx
+  install -Dm644 ../service $pkgdir/usr/lib/systemd/system/nginx.service
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  rmdir $pkgdir/run
+}
+
+# vim:set ts=2 sw=2 et:

Copied: nginx/repos/testing-i686/logrotate (from rev 213338, 
nginx/trunk/logrotate)
===
--- testing-i686/logrotate  (rev 0)
+++ testing-i686/logrotate  2014-05-20 14:55:34 UTC (rev 213339)
@@ -0,0 +1,9 @@
+/var/log/nginx/*log {
+ 

[arch-commits] Commit in nginx/repos (10 files)

2014-04-11 Thread Bartłomiej Piotrowski
Date: Friday, April 11, 2014 @ 21:22:18
  Author: bpiotrowski
Revision: 210208

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  nginx/repos/extra-i686/
  nginx/repos/extra-i686/PKGBUILD
(from rev 210207, nginx/trunk/PKGBUILD)
  nginx/repos/extra-i686/logrotate
(from rev 210207, nginx/trunk/logrotate)
  nginx/repos/extra-i686/nginx.install
(from rev 210207, nginx/trunk/nginx.install)
  nginx/repos/extra-i686/service
(from rev 210207, nginx/trunk/service)
  nginx/repos/extra-x86_64/
  nginx/repos/extra-x86_64/PKGBUILD
(from rev 210207, nginx/trunk/PKGBUILD)
  nginx/repos/extra-x86_64/logrotate
(from rev 210207, nginx/trunk/logrotate)
  nginx/repos/extra-x86_64/nginx.install
(from rev 210207, nginx/trunk/nginx.install)
  nginx/repos/extra-x86_64/service
(from rev 210207, nginx/trunk/service)

+
 extra-i686/PKGBUILD|  100 +++
 extra-i686/logrotate   |9 +++
 extra-i686/nginx.install   |   21 +
 extra-i686/service |   15 ++
 extra-x86_64/PKGBUILD  |  100 +++
 extra-x86_64/logrotate |9 +++
 extra-x86_64/nginx.install |   21 +
 extra-x86_64/service   |   15 ++
 8 files changed, 290 insertions(+)

Copied: nginx/repos/extra-i686/PKGBUILD (from rev 210207, nginx/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-04-11 19:22:18 UTC (rev 210208)
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Miroslaw Szot m...@czlug.icis.pcz.pl
+# Contributor: Daniel Micay danielmi...@gmail.com
+
+pkgname=nginx
+pkgver=1.4.7
+pkgrel=2
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+arch=('i686' 'x86_64')
+url='http://nginx.org'
+license=('custom')
+depends=('pcre' 'zlib' 'openssl')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+install=nginx.install
+source=($url/download/nginx-$pkgver.tar.gz
+service
+logrotate)
+md5sums=('aee151d298dcbfeb88b3f7dd3e7a4d17'
+ '5c0cd4fd992596938b2d4fd98b2bac41'
+ '3441ce77cdd1aab6f0ab7e212698a8a7')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/etc/nginx \
+--conf-path=/etc/nginx/nginx.conf \
+--sbin-path=/usr/bin/nginx \
+--pid-path=/run/nginx.pid \
+--lock-path=/run/lock/nginx.lock \
+--user=http \
+--group=http \
+--http-log-path=/var/log/nginx/access.log \
+--error-log-path=stderr \
+--http-client-body-temp-path=/var/lib/nginx/client-body \
+--http-proxy-temp-path=/var/lib/nginx/proxy \
+--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
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
+  sed -e 's|\user\s\+\w\+;|user html;|g' \
+-e '44s|html|/usr/share/nginx/html|' \
+-e '54s|html|/usr/share/nginx/html|' \
+-i $pkgdir/etc/nginx/nginx.conf
+
+  rm $pkgdir/etc/nginx/*.default
+
+  install -d $pkgdir/var/lib/nginx
+  install -dm700 $pkgdir/var/lib/nginx/proxy
+
+  chmod 750 $pkgdir/var/log/nginx
+  chown http:log $pkgdir/var/log/nginx
+
+  install -d $pkgdir/usr/share/nginx
+  mv $pkgdir/etc/nginx/html/ $pkgdir/usr/share/nginx
+
+  install -Dm644 ../logrotate $pkgdir/etc/logrotate.d/nginx
+  install -Dm644 ../service $pkgdir/usr/lib/systemd/system/nginx.service
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+  rmdir $pkgdir/run
+}
+
+# vim:set ts=2 sw=2 et:

Copied: nginx/repos/extra-i686/logrotate (from rev 210207, 
nginx/trunk/logrotate)
===
--- extra-i686/logrotate(rev 0)
+++ extra-i686/logrotate2014-04-11 19:22:18 UTC (rev 210208)
@@ -0,0 +1,9 @@
+/var/log/nginx/*log {
+   missingok
+   create 640 http log
+   

[arch-commits] Commit in nginx/repos (10 files)

2013-08-28 Thread Sébastien Luttringer
Date: Wednesday, August 28, 2013 @ 20:00:49
  Author: seblu
Revision: 96430

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

Added:
  nginx/repos/community-testing-i686/
  nginx/repos/community-testing-i686/PKGBUILD
(from rev 96429, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-i686/logrotate
(from rev 96429, nginx/trunk/logrotate)
  nginx/repos/community-testing-i686/nginx.install
(from rev 96429, nginx/trunk/nginx.install)
  nginx/repos/community-testing-i686/service
(from rev 96429, nginx/trunk/service)
  nginx/repos/community-testing-x86_64/
  nginx/repos/community-testing-x86_64/PKGBUILD
(from rev 96429, nginx/trunk/PKGBUILD)
  nginx/repos/community-testing-x86_64/logrotate
(from rev 96429, nginx/trunk/logrotate)
  nginx/repos/community-testing-x86_64/nginx.install
(from rev 96429, nginx/trunk/nginx.install)
  nginx/repos/community-testing-x86_64/service
(from rev 96429, nginx/trunk/service)

+
 community-testing-i686/PKGBUILD|  128 +++
 community-testing-i686/logrotate   |9 ++
 community-testing-i686/nginx.install   |   22 +
 community-testing-i686/service |   14 +++
 community-testing-x86_64/PKGBUILD  |  128 +++
 community-testing-x86_64/logrotate |9 ++
 community-testing-x86_64/nginx.install |   22 +
 community-testing-x86_64/service   |   14 +++
 8 files changed, 346 insertions(+)

Copied: nginx/repos/community-testing-i686/PKGBUILD (from rev 96429, 
nginx/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-28 18:00:49 UTC (rev 96430)
@@ -0,0 +1,128 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# Maintainer: Sébastien Luttringer
+# Contributor: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Miroslaw Szot m...@czlug.icis.pcz.pl
+
+pkgbase=nginx
+pkgname=(nginx nginx-extra)
+pkgver=1.5.4
+pkgrel=1
+arch=('i686' 'x86_64')
+makedepends=('pcre' 'zlib' 'openssl' 'gd' 'geoip' 'passenger')
+url='http://nginx.org'
+license=('custom')
+backup=('etc/nginx/fastcgi.conf'
+'etc/nginx/fastcgi_params'
+'etc/nginx/koi-win'
+'etc/nginx/koi-utf'
+'etc/nginx/mime.types'
+'etc/nginx/nginx.conf'
+'etc/nginx/scgi_params'
+'etc/nginx/uwsgi_params'
+'etc/nginx/win-utf'
+'etc/logrotate.d/nginx')
+source=(http://nginx.org/download/nginx-$pkgver.tar.gz;
+'http://web.iti.upv.es/~sto/nginx/ngx_http_auth_pam_module-1.2.tar.gz'
+'service'
+'logrotate')
+sha256sums=('ad21d7ee5146d5c571917574b8a8bbab658faff6ffbff7cab2e69a3afadd65dc'
+'5a85970ba61a99f55a26d2536a11d512b39bbd622f5737d25a9a8c10db81efa9'
+'05fdc0c0483410944b988d7f4beabb00bec4a44a41bd13ebc9b78585da7d3f9b'
+'272907d3213d69dac3bd6024d6d150caa23cb67d4f121e4171f34ba5581f9e98')
+
+_base_options=(
+'--prefix=/etc/nginx'
+'--conf-path=/etc/nginx/nginx.conf'
+'--sbin-path=/usr/bin/nginx'
+'--pid-path=/run/nginx.pid'
+'--lock-path=/run/lock/nginx.lock'
+'--user=http'
+'--group=http'
+'--http-log-path=/var/log/nginx/access.log'
+'--error-log-path=/var/log/nginx/error.log'
+'--http-client-body-temp-path=/var/lib/nginx/client-body'
+'--http-proxy-temp-path=/var/lib/nginx/proxy'
+'--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'
+)
+
+prepare() {
+cp -a $pkgname-$pkgver $pkgname-extra-$pkgver
+}
+
+build() {
+msg2 'Build standard version'
+cd $srcdir/$pkgname-$pkgver
+./configure ${_base_options[@]}
+make
+
+msg2 'Build extra version'
+cd $srcdir/$pkgname-extra-$pkgver
+./configure ${_base_options[@]} \
+--with-http_addition_module \
+--with-http_degradation_module \
+--with-http_flv_module \
+--with-http_geoip_module \
+--with-http_image_filter_module \
+--with-http_mp4_module \
+--with-http_secure_link_module \
+--with-http_sub_module \
+--add-module=/usr/lib/passenger/ext/nginx \
+--add-module=../ngx_http_auth_pam_module-1.2
+make
+}
+
+package_nginx() {
+pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
+conflicts=('nginx-extra')
+depends=('pcre' 'zlib' 'openssl')
+install=$pkgname.install
+
+cd $pkgname-$pkgver
+make