diff options
author | Allen Zhong | 2015-08-26 15:33:50 +0800 |
---|---|---|
committer | Allen Zhong | 2015-08-26 15:33:50 +0800 |
commit | 669f8d692f0335d6725ae38e62850e5f3a1c3b14 (patch) | |
tree | 2c3441782cbea6070c7a778fc75cce3ae8fa18a5 | |
parent | e068c1205d5118174db910609e2c67898906784d (diff) | |
download | aur-669f8d692f0335d6725ae38e62850e5f3a1c3b14.tar.gz |
upgpkg: tengine-extra 2.1.1-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | logrotate | 6 |
4 files changed, 47 insertions, 19 deletions
@@ -1,21 +1,23 @@ pkgbase = tengine-extra pkgdesc = A web server based on Nginx and has many advanced features, originated by Taobao. Some extra modules enabled. - pkgver = 2.1.0 - pkgrel = 5 + pkgver = 2.1.1 + pkgrel = 1 url = http://tengine.taobao.org install = tengine.install arch = i686 arch = x86_64 license = custom + makedepends = hardening-wrapper makedepends = lua51 - makedepends = geoip depends = pcre depends = zlib depends = openssl depends = gperftools + depends = geoip optdepends = lua51: needed by http_lua_module - optdepends = geoip: needed by http_geoip_module optdepends = memcached: needed by http_memcached_module + provides = nginx + provides = tengine conflicts = tengine backup = etc/tengine/fastcgi.conf backup = etc/tengine/fastcgi_params @@ -27,12 +29,12 @@ pkgbase = tengine-extra backup = etc/tengine/uwsgi_params backup = etc/tengine/win-utf backup = etc/logrotate.d/tengine - source = http://tengine.taobao.org/download/tengine-2.1.0.tar.gz + source = http://tengine.taobao.org/download/tengine-2.1.1.tar.gz source = service source = logrotate - sha256sums = 6d98e217deb6676438f0704eb51736239e390624479fedb8c59ebf7a8a30e7b3 + sha256sums = 7729d3a51a5f267c6d39bec957d242b626b798ce0546f207bd0f1a8df86ed570 sha256sums = 7abffe0f1ba1ea4d6bd316350a03257cc840a9fbb2e1b640c11e0eb9351a9044 - sha256sums = 22d7f8f7d8f3c320d3c6af8a76e6cc5b64451670cdeecb9f400000ceea91b4cb + sha256sums = 4e2a1835d1e65e6c18b0c76699ff76f8c905124143e66bb686e4795f6b770a8c pkgname = tengine-extra diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c987d4c2bc5b --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +build/ +test/ +src/ +pkg/ +*.xz +*.gz +*.zip +*.bz2 +*.tgz +*.sig +*.asc +*.swp + +*.c +*.cpp +*.h +*.hpp +*.o @@ -6,14 +6,14 @@ # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> pkgname=tengine-extra -pkgver=2.1.0 -pkgrel=5 +pkgver=2.1.1 +pkgrel=1 pkgdesc='A web server based on Nginx and has many advanced features, originated by Taobao. Some extra modules enabled.' arch=('i686' 'x86_64') url='http://tengine.taobao.org' license=('custom') -depends=('pcre' 'zlib' 'openssl' 'gperftools') -makedepends=('lua51' 'geoip') +depends=('pcre' 'zlib' 'openssl' 'gperftools' 'geoip') +makedepends=('hardening-wrapper' 'lua51') backup=('etc/tengine/fastcgi.conf' 'etc/tengine/fastcgi_params' 'etc/tengine/koi-win' @@ -26,16 +26,16 @@ backup=('etc/tengine/fastcgi.conf' 'etc/logrotate.d/tengine') install=tengine.install conflicts=('tengine') +provides=('nginx' 'tengine') optdepends=( 'lua51: needed by http_lua_module' - 'geoip: needed by http_geoip_module' 'memcached: needed by http_memcached_module') source=($url/download/tengine-$pkgver.tar.gz service logrotate) -sha256sums=('6d98e217deb6676438f0704eb51736239e390624479fedb8c59ebf7a8a30e7b3' +sha256sums=('7729d3a51a5f267c6d39bec957d242b626b798ce0546f207bd0f1a8df86ed570' '7abffe0f1ba1ea4d6bd316350a03257cc840a9fbb2e1b640c11e0eb9351a9044' - '22d7f8f7d8f3c320d3c6af8a76e6cc5b64451670cdeecb9f400000ceea91b4cb') + '4e2a1835d1e65e6c18b0c76699ff76f8c905124143e66bb686e4795f6b770a8c') build() { cd tengine-$pkgver @@ -64,7 +64,7 @@ build() { --with-file-aio \ --with-google_perftools_module \ --with-http_dav_module \ - --with-http_geoip_module=shared \ + --with-http_geoip_module \ --with-http_gunzip_module \ --with-http_gzip_static_module \ --with-http_lua_module=shared \ @@ -79,7 +79,8 @@ build() { --with-http_flv_module=shared \ --with-http_mp4_module=shared \ --with-http_sub_module=shared \ - --with-http_sysguard_module=shared + --with-http_sysguard_module=shared \ + --with-http_reqstat_module=shared make } @@ -89,6 +90,13 @@ package() { make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" dso_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|\<user\s\+\w\+;|user html;|g' \ -e '44s|html|/usr/share/tengine/html|' \ -e '54s|html|/usr/share/tengine/html|' \ diff --git a/logrotate b/logrotate index 829e6dab64d7..0ced9c6d36f1 100644 --- a/logrotate +++ b/logrotate @@ -1,10 +1,10 @@ /var/log/tengine/*log { missingok - create 640 http log - su http log + create 640 http log + su http log sharedscripts compress postrotate - test -r /run/tengine.pid && kill -USR1 `cat /var/run/tengine.pid` + test -r /run/tengine.pid && kill -USR1 `cat /run/tengine.pid` endscript } |