Date: Tuesday, April 11, 2023 @ 13:05:48
Author: mtorromeo
Revision: 1444669
archrelease: copy trunk to community-x86_64
Added:
nginx-mod-njs/repos/community-x86_64/PKGBUILD
(from rev 1444668, nginx-mod-njs/trunk/PKGBUILD)
Deleted:
nginx-mod-njs/repos/community-x86_64/PKGBUILD
nginx-mod-njs/repos/community-x86_64/stream-libxslt-fix.patch
--------------------------+
PKGBUILD | 108 ++++++++++++++++++++++-----------------------
stream-libxslt-fix.patch | 13 -----
2 files changed, 54 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-11 13:05:27 UTC (rev 1444668)
+++ PKGBUILD 2023-04-11 13:05:48 UTC (rev 1444669)
@@ -1,54 +0,0 @@
-# Maintainer: Massimiliano Torromeo <[email protected]>
-
-pkgname=nginx-mod-njs
-pkgver=0.7.11
-pkgrel=1
-
-_modname="${pkgname#nginx-mod-}"
-
-pkgdesc='nginScript module for nginx'
-arch=('x86_64')
-depends=('nginx' 'libxslt')
-makedepends=('nginx-src')
-url="https://nginx.org/en/docs/njs_about.html"
-license=('CUSTOM')
-
-source=(njs-$pkgver.tar.gz::https://hg.nginx.org/njs/archive/$pkgver.tar.gz)
-sha256sums=('6661a8e545ffadf8561f2d4a097e75fed420141eebbb06a4d09d51a507a4938f')
-
-prepare() {
- mkdir -p build
- cd build
- ln -sf /usr/src/nginx/auto
- ln -sf /usr/src/nginx/src
-}
-
-build() {
- cd "$srcdir/njs-$pkgver"
- CFLAGS="$CFLAGS -Wno-dangling-pointer" ./configure
- make njs
-
- # next configure cleans the build directory
- mv build/njs ../build/
-
- cd "$srcdir/build"
- /usr/src/nginx/configure \
- --with-compat \
- --with-stream \
- --with-http_ssl_module \
- --with-http_v2_module \
- --add-dynamic-module=../njs-$pkgver/nginx
- make modules
-}
-
-package() {
- install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- install -Dm755 build/njs "$pkgdir"/usr/bin/njs
-
- cd build/objs
- for mod in *.so; do
- install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
- done
-}
Copied: nginx-mod-njs/repos/community-x86_64/PKGBUILD (from rev 1444668,
nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-11 13:05:48 UTC (rev 1444669)
@@ -0,0 +1,54 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=nginx-mod-njs
+pkgver=0.7.12
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='nginScript module for nginx'
+arch=('x86_64')
+depends=('nginx' 'libxslt')
+makedepends=('nginx-src')
+url="https://nginx.org/en/docs/njs_about.html"
+license=('CUSTOM')
+
+source=(njs-$pkgver.tar.gz::https://hg.nginx.org/njs/archive/$pkgver.tar.gz)
+sha256sums=('af648336c236f625311edcd90b83f37702fadad160c2a5ed57b34656609e918a')
+
+prepare() {
+ mkdir -p build
+ cd build
+ ln -sf /usr/src/nginx/auto
+ ln -sf /usr/src/nginx/src
+}
+
+build() {
+ cd "$srcdir/njs-$pkgver"
+ CFLAGS="$CFLAGS -Wno-dangling-pointer" ./configure
+ make njs
+
+ # next configure cleans the build directory
+ mv build/njs ../build/
+
+ cd "$srcdir/build"
+ /usr/src/nginx/configure \
+ --with-compat \
+ --with-stream \
+ --with-http_ssl_module \
+ --with-http_v2_module \
+ --add-dynamic-module=../njs-$pkgver/nginx
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ install -Dm755 build/njs "$pkgdir"/usr/bin/njs
+
+ cd build/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
Deleted: stream-libxslt-fix.patch
===================================================================
--- stream-libxslt-fix.patch 2023-04-11 13:05:27 UTC (rev 1444668)
+++ stream-libxslt-fix.patch 2023-04-11 13:05:48 UTC (rev 1444669)
@@ -1,13 +0,0 @@
-diff --git a/nginx/config b/nginx/config
-index fb7fb92..474aaf1 100644
---- a/nginx/config
-+++ b/nginx/config
-@@ -29,7 +29,7 @@ if [ $STREAM != NO ]; then
- ngx_module_incs="$ngx_addon_dir/../src $ngx_addon_dir/../build"
- ngx_module_deps="$ngx_addon_dir/../build/libnjs.a $NJS_DEPS"
- ngx_module_srcs="$ngx_addon_dir/ngx_stream_js_module.c $NJS_SRCS"
-- ngx_module_libs="PCRE OPENSSL $ngx_addon_dir/../build/libnjs.a -lm"
-+ ngx_module_libs="PCRE OPENSSL LIBXSLT $ngx_addon_dir/../build/libnjs.a
-lm"
-
- . auto/module
- fi