1
0

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
This commit is contained in:
2022-05-31 16:28:58 +00:00
committed by Git OBS Bridge
commit 20fff1c6b2
6 changed files with 133 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">nginx-module-vts</param>
<param name="scm">git</param>
<param name="url">https://github.com/vozlt/nginx-module-vts</param>
<param name="revision">3c6cf41315bfcb48c35a3a0be81ddba6d0d01dac</param>
<param name="parent-tag">v0.1.18</param>
<param name="versionformat">0.1.18+g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:308080baca344995a8392632d4df943dea546ea39556af364a618f147df13859
size 255740

35
nginx-module-vts.changes Normal file
View File

@@ -0,0 +1,35 @@
-------------------------------------------------------------------
Tue Jan 4 16:44:35 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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

56
nginx-module-vts.spec Normal file
View File

@@ -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