From 5b72e2979473611e4026dc3d5e6cf7ccd073911406df675bbb12605c13c8a585 Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Sun, 26 Jan 2025 10:35:12 +0000 Subject: [PATCH 1/2] Update to 0.12.1 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga-php-thirdparty?expand=0&rev=9 --- .gitattributes | 23 +++++++++ .gitignore | 1 + icinga-php-thirdparty-0.12.0.tar.gz | 3 ++ icinga-php-thirdparty-0.12.1.tar.gz | 3 ++ icinga-php-thirdparty-rpmlintrc | 1 + icinga-php-thirdparty.changes | 28 +++++++++++ icinga-php-thirdparty.spec | 76 +++++++++++++++++++++++++++++ 7 files changed, 135 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 icinga-php-thirdparty-0.12.0.tar.gz create mode 100644 icinga-php-thirdparty-0.12.1.tar.gz create mode 100644 icinga-php-thirdparty-rpmlintrc create mode 100644 icinga-php-thirdparty.changes create mode 100644 icinga-php-thirdparty.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/icinga-php-thirdparty-0.12.0.tar.gz b/icinga-php-thirdparty-0.12.0.tar.gz new file mode 100644 index 0000000..814dfa7 --- /dev/null +++ b/icinga-php-thirdparty-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f51f52ea17fb520682e14611563a26e532e7c42d7c61d0fb17ebc80c7c52838 +size 14204157 diff --git a/icinga-php-thirdparty-0.12.1.tar.gz b/icinga-php-thirdparty-0.12.1.tar.gz new file mode 100644 index 0000000..d6f3a5a --- /dev/null +++ b/icinga-php-thirdparty-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cc1001e47bff6484dd496d7019d0bff611c09f7548b27f8b1d828e07ea1588e +size 14301833 diff --git a/icinga-php-thirdparty-rpmlintrc b/icinga-php-thirdparty-rpmlintrc new file mode 100644 index 0000000..057d1bb --- /dev/null +++ b/icinga-php-thirdparty-rpmlintrc @@ -0,0 +1 @@ +addFilter("files-duplicate"); diff --git a/icinga-php-thirdparty.changes b/icinga-php-thirdparty.changes new file mode 100644 index 0000000..703666e --- /dev/null +++ b/icinga-php-thirdparty.changes @@ -0,0 +1,28 @@ +------------------------------------------------------------------- +Sun Jan 26 10:31:38 UTC 2025 - ecsos + +- Update to 0.12.1 + - No changelog from upstream. + +------------------------------------------------------------------- +Thu Sep 28 09:01:32 UTC 2023 - ecsos + +- Remove unneded requires and buildrequires icinga-php-common. +- Add missing requires. + +------------------------------------------------------------------- +Fri Sep 22 12:44:14 UTC 2023 - ecsos + +- Update to 0.12.0 + - No changelog from upstream. + +------------------------------------------------------------------- +Fri Jul 1 06:03:38 UTC 2022 - ecsos + +- Update to 0.11.0 + - No changelog from upstream. + +------------------------------------------------------------------- +Tue Jul 27 17:44:09 UTC 2021 - ecsos + +- Initial version 0.10.0 diff --git a/icinga-php-thirdparty.spec b/icinga-php-thirdparty.spec new file mode 100644 index 0000000..ce30a26 --- /dev/null +++ b/icinga-php-thirdparty.spec @@ -0,0 +1,76 @@ +# +# spec file +# +# Copyright (c) 2025 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 https://bugs.opensuse.org/ +# + + +%global revision 1 +%global module_name icinga-php-thirdparty +%global basedir %{_datadir}/icinga-php/vendor +Name: %{module_name} +Version: 0.12.1 +Release: %{revision}%{?dist} +Summary: Icinga PHP Thirdparty for Icinga Web 2 +License: MIT +Group: System/Monitoring +URL: https://icinga.com +Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}/%{module_name}-%{version}.tar.gz +Source99: %{name}-rpmlintrc +BuildRequires: fdupes +Requires: php-curl +Requires: php-iconv +Requires: php-json +# php extension requirements +Requires: php-soap +Requires: php-sockets +Obsoletes: icinga-php-common < %{version} +Obsoletes: icinga-php-common > %{version} +Provides: icinga-php-common = %{version} +BuildArch: noarch + +%description +This package bundles all 3rd party PHP libraries +used by Icinga Web products into one piece, +which can be integrated as library into Icinga Web 2. + +%prep +%setup -q +# rpmlintrc +find vendor/shardj -type f -name "*.php" -exec chmod -x {} \; +find vendor/predis -type f -name "*.sh" -exec chmod +x {} \; +chmod -x vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/README +chmod -x vendor/shardj/zf1-future/README-GIT.md +chmod -x vendor/shardj/zf1-future/library/Zend/Locale/Data/fy.xml + +%build +# noting to build + +%install +mkdir -vp %{buildroot}%{basedir} + +cp -vr asset %{buildroot}%{basedir} +cp -vr vendor %{buildroot}%{basedir} +cp -vr composer.* %{buildroot}%{basedir} +cp -vr VERSION %{buildroot}%{basedir} + +%fdupes %{buildroot}%{basedir} + +%files +%doc README.md +%license LICENSE +%dir %{_datadir}/icinga-php +%{basedir} + +%changelog -- 2.51.1 From 658a2441c736a7e0337b258f960112b1b52c15147d21fd429a24c9bf19ec4965 Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Fri, 26 Sep 2025 11:28:23 +0000 Subject: [PATCH 2/2] Update to 0.13.1 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga-php-thirdparty?expand=0&rev=11 --- .gitattributes | 23 +++++++++ .gitignore | 1 + icinga-php-thirdparty-0.12.1.tar.gz | 3 ++ icinga-php-thirdparty-0.13.1.tar.gz | 3 ++ icinga-php-thirdparty-rpmlintrc | 1 + icinga-php-thirdparty.changes | 34 +++++++++++++ icinga-php-thirdparty.spec | 77 +++++++++++++++++++++++++++++ 7 files changed, 142 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 icinga-php-thirdparty-0.12.1.tar.gz create mode 100644 icinga-php-thirdparty-0.13.1.tar.gz create mode 100644 icinga-php-thirdparty-rpmlintrc create mode 100644 icinga-php-thirdparty.changes create mode 100644 icinga-php-thirdparty.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/icinga-php-thirdparty-0.12.1.tar.gz b/icinga-php-thirdparty-0.12.1.tar.gz new file mode 100644 index 0000000..d6f3a5a --- /dev/null +++ b/icinga-php-thirdparty-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cc1001e47bff6484dd496d7019d0bff611c09f7548b27f8b1d828e07ea1588e +size 14301833 diff --git a/icinga-php-thirdparty-0.13.1.tar.gz b/icinga-php-thirdparty-0.13.1.tar.gz new file mode 100644 index 0000000..ed33544 --- /dev/null +++ b/icinga-php-thirdparty-0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86a51b35bf22aa6a5f184320f5f96e3a9599510c303a048e71b9b2b6ce42975c +size 14669149 diff --git a/icinga-php-thirdparty-rpmlintrc b/icinga-php-thirdparty-rpmlintrc new file mode 100644 index 0000000..057d1bb --- /dev/null +++ b/icinga-php-thirdparty-rpmlintrc @@ -0,0 +1 @@ +addFilter("files-duplicate"); diff --git a/icinga-php-thirdparty.changes b/icinga-php-thirdparty.changes new file mode 100644 index 0000000..0a57de2 --- /dev/null +++ b/icinga-php-thirdparty.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Fri Sep 26 11:13:58 UTC 2025 - ecsos + +- Update to 0.13.1 + - No changelog from upstream. + +------------------------------------------------------------------- +Sun Jan 26 10:31:38 UTC 2025 - ecsos + +- Update to 0.12.1 + - No changelog from upstream. + +------------------------------------------------------------------- +Thu Sep 28 09:01:32 UTC 2023 - ecsos + +- Remove unneded requires and buildrequires icinga-php-common. +- Add missing requires. + +------------------------------------------------------------------- +Fri Sep 22 12:44:14 UTC 2023 - ecsos + +- Update to 0.12.0 + - No changelog from upstream. + +------------------------------------------------------------------- +Fri Jul 1 06:03:38 UTC 2022 - ecsos + +- Update to 0.11.0 + - No changelog from upstream. + +------------------------------------------------------------------- +Tue Jul 27 17:44:09 UTC 2021 - ecsos + +- Initial version 0.10.0 diff --git a/icinga-php-thirdparty.spec b/icinga-php-thirdparty.spec new file mode 100644 index 0000000..8a7924c --- /dev/null +++ b/icinga-php-thirdparty.spec @@ -0,0 +1,77 @@ +# +# spec file for package icinga-php-thirdparty +# +# Copyright (c) 2025 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 https://bugs.opensuse.org/ +# + + +%global revision 1 +%global module_name icinga-php-thirdparty +%global basedir %{_datadir}/icinga-php/vendor +Name: %{module_name} +Version: 0.13.1 +Release: %{revision}%{?dist} +Summary: Icinga PHP Thirdparty for Icinga Web 2 +License: MIT +Group: System/Monitoring +URL: https://icinga.com +Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}/%{module_name}-%{version}.tar.gz +Source99: %{name}-rpmlintrc +BuildRequires: fdupes +Requires: php >= 8.2 +Requires: php-curl +Requires: php-iconv +Requires: php-json +# php extension requirements +Requires: php-soap +Requires: php-sockets +Obsoletes: icinga-php-common < %{version} +Obsoletes: icinga-php-common > %{version} +Provides: icinga-php-common = %{version} +BuildArch: noarch + +%description +This package bundles all 3rd party PHP libraries +used by Icinga Web products into one piece, +which can be integrated as library into Icinga Web 2. + +%prep +%setup -q +# rpmlintrc +find vendor/shardj -type f -name "*.php" -exec chmod -x {} \; +find vendor/predis -type f -name "*.sh" -exec chmod +x {} \; +chmod -x vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/README +chmod -x vendor/shardj/zf1-future/README-GIT.md +chmod -x vendor/shardj/zf1-future/library/Zend/Locale/Data/fy.xml + +%build +# noting to build + +%install +mkdir -vp %{buildroot}%{basedir} + +cp -vr asset %{buildroot}%{basedir} +cp -vr vendor %{buildroot}%{basedir} +cp -vr composer.* %{buildroot}%{basedir} +cp -vr VERSION %{buildroot}%{basedir} + +%fdupes %{buildroot}%{basedir} + +%files +%doc README.md +%license LICENSE +%dir %{_datadir}/icinga-php +%{basedir} + +%changelog -- 2.51.1