From 20fff1c6b2e7086c6c7d8919483727edf60667a747b183447b671416809622ac Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 31 May 2022 16:28:58 +0000 Subject: [PATCH] Accepting request 943814 from home:jengelh:branches:server:http OBS-URL: https://build.opensuse.org/request/show/943814 OBS-URL: https://build.opensuse.org/package/show/server:http/nginx-module-vts?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 15 ++++++++ nginx-module-vts-0.1.18+g41.tar.xz | 3 ++ nginx-module-vts.changes | 35 +++++++++++++++++++ nginx-module-vts.spec | 56 ++++++++++++++++++++++++++++++ 6 files changed, 133 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 nginx-module-vts-0.1.18+g41.tar.xz create mode 100644 nginx-module-vts.changes create mode 100644 nginx-module-vts.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..42d66bf --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + nginx-module-vts + git + https://github.com/vozlt/nginx-module-vts + 3c6cf41315bfcb48c35a3a0be81ddba6d0d01dac + v0.1.18 + 0.1.18+g@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/nginx-module-vts-0.1.18+g41.tar.xz b/nginx-module-vts-0.1.18+g41.tar.xz new file mode 100644 index 0000000..c68578e --- /dev/null +++ b/nginx-module-vts-0.1.18+g41.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:308080baca344995a8392632d4df943dea546ea39556af364a618f147df13859 +size 255740 diff --git a/nginx-module-vts.changes b/nginx-module-vts.changes new file mode 100644 index 0000000..4716411 --- /dev/null +++ b/nginx-module-vts.changes @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Tue Jan 4 16:44:35 UTC 2022 - Jan Engelhardt + +- Update to snapshot 0.1.18+g41 (3c6cf41) + * Features: + * Added vhost_traffic_status_filter_max_node directive to limit + the size of filters. + * Added vhost_traffic_status_histogram_buckets directive to set + the histogram type of request processing time in + format/(json|prometheus). + * Added request_time_counter, response_time_counter section to + support accumulated request processing time. + * Added TiB unit in format/html. + * Fixed an XSS vulnerability in the HTML page. + +------------------------------------------------------------------- +Tue Jul 24 09:12:58 UTC 2018 - mrostecki@suse.de + +- Adjust configure parameters for binary compatibility with nginx + binary package + +------------------------------------------------------------------- +Tue Jul 3 16:07:09 UTC 2018 - mrostecki@suse.com + +- Provide explanation why %configure macro cannot be used + +------------------------------------------------------------------- +Mon Jun 25 15:30:03 UTC 2018 - mrostecki@suse.com + +- Make use of %license macro + +------------------------------------------------------------------- +Mon Jun 4 16:09:09 UTC 2018 - mrostecki@suse.com + +- Initial release diff --git a/nginx-module-vts.spec b/nginx-module-vts.spec new file mode 100644 index 0000000..0341339 --- /dev/null +++ b/nginx-module-vts.spec @@ -0,0 +1,56 @@ +# +# spec file for package nginx-module-vts +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define project_name nginx-module-vts +Name: nginx-module-vts +Version: 0.1.18+g41 +Release: 0 +Summary: Nginx virtual host traffic status module +License: BSD-2-Clause +Group: Productivity/Networking/Web/Proxy +URL: https://github.com/vozlt/nginx-module-vts +Source: %name-%version.tar.xz +BuildRequires: nginx-source +BuildRequires: pcre-devel +%ngx_conditionals +%ngx_requires + +%description +This is an Nginx module that provides access to virtual host status +information. It contains the current status such as servers, upstreams, caches. +This is similar to the live activity monitoring of nginx plus. The built-in html +is also taken from the demo page of old version. + +%prep +%autosetup -p1 +cp -r /usr/src/nginx . + +%build +cd nginx +%ngx_configure --add-dynamic-module=.. +%make_build modules + +%install +mkdir -p %buildroot/%ngx_module_dir +install -D -m 0644 nginx/objs/ngx_http_vhost_traffic_status_module.so %buildroot/%ngx_module_dir + +%files +%license LICENSE +%ngx_module_dir/*.so + +%changelog