Compare commits
11 Commits
d9a8215a96
...
deff4bffbd
Author | SHA1 | Date | |
---|---|---|---|
deff4bffbd | |||
98a26cc773 | |||
cfb5cc9fd8 | |||
2e91e79694 | |||
7ed28e7db5 | |||
ef5bb36157 | |||
67e18b7f32 | |||
bf38c68048 | |||
b2198a9b48 | |||
711ad4ee76 | |||
a3f4811e5d |
@ -3,7 +3,7 @@
|
||||
|
||||
Name: arqiver
|
||||
Version: 0.12.0
|
||||
Release: 1
|
||||
Release: 3%{dist}
|
||||
Summary: A simple Qt archive manager
|
||||
Group: Archiving/Other
|
||||
License: GPLv3
|
||||
@ -66,8 +66,11 @@ export CXX=clang++
|
||||
%{_datadir}/%{name}/
|
||||
|
||||
%changelog
|
||||
* Fri May 17 2024 Raven <raven@sysadmins.ws> - 0.12.0-2
|
||||
- rebuilt for new qt6
|
||||
|
||||
* Wed Dec 20 2023 Raven <raven@sysadmins.ws> - 0.12.0-1
|
||||
- update to 0.12.0
|
||||
|
||||
* Tue Nov 7 2023 Raven <raven@sysadmins.ws> - 0.11.0-1
|
||||
- initial build
|
||||
- initial build
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
Name: feathernotes
|
||||
|
||||
Version: 1.1.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Lightweight Qt hierarchical notes-manager for Linux
|
||||
|
||||
License: GPLv3+
|
||||
@ -75,6 +75,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 24 2024 Raven <raven@sysadmins.ws> - 1.3.0-1
|
||||
- version update
|
||||
|
||||
* Mon May 20 2024 Raven <raven@sysadmins.ws> - 1.2.0-1
|
||||
- version update
|
||||
|
||||
* Wed Dec 20 2023 Raven <raven@sysadmins.ws> - 1.1.1-2
|
||||
- Qt6 build is default now
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
Name: featherpad
|
||||
Version: 1.4.1
|
||||
Version: 1.5.1
|
||||
Release: 2%{?dist}
|
||||
Summary: Lightweight %{_qt} Plain-Text Editor
|
||||
|
||||
@ -97,6 +97,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/metainfo/featherpad.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Thu Jun 27 2024 Raven <raven@sysadmins.ws> - 1.5.1-2
|
||||
- rebuild for qt6 (el8)
|
||||
|
||||
* Mon May 20 2024 Raven <raven@sysadmins.ws> - 1.5.1-1
|
||||
- update to 1.5.1
|
||||
|
||||
* Wed Dec 20 2023 Raven <raven@sysadmins.ws> - 1.4.1-2
|
||||
- Qt6 build is default now
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
%define nanorc_ver master
|
||||
Summary: A small text editor
|
||||
Name: nano
|
||||
Version: 7.2
|
||||
Release: 3%{?dist}
|
||||
Version: 8.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+ MIT
|
||||
URL: https://www.nano-editor.org
|
||||
Source: https://www.nano-editor.org/dist/v3/%{name}-%{version}.tar.xz
|
||||
Source: https://www.nano-editor.org/dist/v8/%{name}-%{version}.tar.xz
|
||||
Source2: nanorc
|
||||
# https://github.com/davidhcefx/nanorc/archive/refs/heads/master.tar.gz#/nanorc-master.tar.gz
|
||||
Source3: nanorc-%{nanorc_ver}.tar.gz
|
||||
@ -121,6 +121,9 @@ exit 0
|
||||
%{_datadir}/nano-syntax-highlighting
|
||||
|
||||
%changelog
|
||||
* Thu May 2 2024 Raven <raven@sysadmins.ws> - 8.0-1
|
||||
- update to 8.0
|
||||
|
||||
* Thu Feb 8 2024 Raven <raven@sysadmins.ws> - 7.2-3
|
||||
- use default html highlighing for twig and j2 files
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
--- ImageLounge/xgd-data/CMakeLists.txt.orig 2020-07-17 10:05:29.000000000 +0300
|
||||
+++ ImageLounge/xgd-data/CMakeLists.txt 2020-07-23 14:53:16.095891902 +0300
|
||||
@@ -3,11 +3,12 @@
|
||||
org.nomacs.ImageLounge.appdata.xml)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.nomacs.ImageLounge.appdata.xml
|
||||
- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo)
|
||||
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo
|
||||
+ RENAME nomacs.appdata.xml)
|
||||
|
||||
install(FILES org.nomacs.ImageLounge.desktop
|
||||
- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|
||||
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
|
||||
+ RENAME nomacs.desktop)
|
||||
|
||||
install(FILES ../nomacs.svg
|
||||
- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
|
||||
- RENAME org.nomacs.ImageLounge.svg)
|
||||
\ В конце файла нет новой строки
|
||||
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps)
|
||||
--- ImageLounge/xgd-data/org.nomacs.ImageLounge.desktop.orig 2020-07-17 10:05:29.000000000 +0300
|
||||
+++ ImageLounge/xgd-data/org.nomacs.ImageLounge.desktop 2020-07-23 14:53:16.096891913 +0300
|
||||
@@ -4,7 +4,7 @@
|
||||
Comment=nomacs is a free, open source image viewer.
|
||||
Exec=nomacs %F
|
||||
Terminal=false
|
||||
-Icon=org.nomacs.ImageLounge
|
||||
+Icon=nomacs
|
||||
Type=Application
|
||||
Categories=Graphics;RasterGraphics;Viewer;2DGraphics;
|
||||
MimeType=image/gif;image/jpeg;image/png;image/bmp;image/tiff;image/x-eps;image/x-ico;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;
|
@ -1,19 +0,0 @@
|
||||
--- ImageLounge/src/DkCore/DkPluginManager.cpp.orig 2020-07-17 10:05:29.000000000 +0300
|
||||
+++ ImageLounge/src/DkCore/DkPluginManager.cpp 2020-07-23 17:11:39.917568015 +0300
|
||||
@@ -62,6 +62,7 @@
|
||||
#include <QAction>
|
||||
#include <QMenu>
|
||||
#include <QJsonValue>
|
||||
+#include <QLibraryInfo>
|
||||
#pragma warning(pop) // no warnings from includes - end
|
||||
|
||||
#ifdef QT_NO_DEBUG_OUTPUT
|
||||
@@ -1309,7 +1310,7 @@
|
||||
#ifdef Q_OS_WIN
|
||||
QDir pluginsDir = QCoreApplication::applicationDirPath() + "/plugins";
|
||||
#else
|
||||
- QDir pluginsDir = QCoreApplication::applicationDirPath() + "/../lib/nomacs-plugins/";
|
||||
+ QDir pluginsDir = QLibraryInfo::location(QLibraryInfo::LibrariesPath) + "/nomacs-plugins/";
|
||||
#endif // Q_OS_WIN
|
||||
|
||||
if (!pluginsDir.exists())
|
@ -1,5 +1,5 @@
|
||||
--- ImageLounge/plugins/cmake/Utils.cmake.orig 2020-07-23 15:59:47.628622696 +0300
|
||||
+++ ImageLounge/plugins/cmake/Utils.cmake 2020-07-23 16:03:52.361236635 +0300
|
||||
--- a/ImageLounge/plugins/cmake/Utils.cmake 2020-07-23 15:59:47.628622696 +0300
|
||||
+++ b/ImageLounge/plugins/cmake/Utils.cmake 2020-07-23 16:03:52.361236635 +0300
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
elseif(UNIX)
|
||||
|
@ -4,18 +4,14 @@
|
||||
|
||||
Name: nomacs
|
||||
Summary: Lightweight image viewer
|
||||
Version: 3.16
|
||||
Release: 6%{?dist}
|
||||
Version: 3.17.2295
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+ and CC-BY
|
||||
Url: http://nomacs.org
|
||||
Source0: https://github.com/%{github_owner}/%{name}/archive/%{version}.%{build}.tar.gz/%{name}-%{version}.%{git_build}.tar.gz
|
||||
Source1: https://github.com/%{github_owner}/%{name}-plugins/archive/%{version}.tar.gz/%{name}-plugins-%{version}.tar.gz
|
||||
# desktop entries rename (https://github.com/nomacs/nomacs/issues/528)
|
||||
Patch0: %{name}-%{version}.%{git_build}-desktop.diff
|
||||
# plugins search path (https://github.com/nomacs/nomacs/issues/531)
|
||||
Patch1: %{name}-%{version}.%{git_build}-pluginspath.diff
|
||||
Source0: https://github.com/%{github_owner}/%{name}/releases/tag/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/%{github_owner}/%{name}-plugins/archive/refs/tags/%{name}-plugins-3.16.tar.gz
|
||||
# plugins install path (https://github.com/nomacs/nomacs-plugins/issues/34)
|
||||
Patch2: %{name}-plugins-%{version}-instpath.diff
|
||||
Patch0: nomacs-plugins-3.16-instpath.diff
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -36,8 +32,11 @@ BuildRequires: pkgconfig(libwebp)
|
||||
# quazip-qt5-devel >= 0.7
|
||||
BuildRequires: quazip-qt5-devel
|
||||
# libheif-devel (rpmfusion-free)
|
||||
# BuildRequires: pkgconfig(libheif)
|
||||
BuildRequires: pkgconfig(libheif)
|
||||
|
||||
BuildRequires: pkgconfig(libavif)
|
||||
BuildRequires: lcov
|
||||
Recommends: qt5-qtimageformats
|
||||
|
||||
%description
|
||||
nomacs is image viewer based on Qt5 library.
|
||||
@ -61,27 +60,25 @@ Some usefull plugins for nomacs:
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}.%{git_build}
|
||||
%patch0
|
||||
%patch1
|
||||
%setup -T -D -a 1 -n %{name}-%{version}.%{git_build}
|
||||
%setup
|
||||
%setup -T -D -a 1 -n %{name}-%{version}
|
||||
# plug them in
|
||||
mv nomacs-plugins-%{version}/* ImageLounge/plugins/
|
||||
%patch2
|
||||
mv nomacs-plugins-3.16/* ImageLounge/plugins/
|
||||
|
||||
%patch0 -p1
|
||||
# Be sure
|
||||
rmdir {3rd-party/*,3rd-party}
|
||||
# wrong lang code (https://github.com/nomacs/nomacs/issues/529)
|
||||
rm -fv ImageLounge/translations/nomacs_als.ts
|
||||
|
||||
|
||||
%build
|
||||
%cmake ImageLounge \
|
||||
%cmake -S ImageLounge \
|
||||
-DCMAKE_BUILD_TYPE=Release\
|
||||
-DENABLE_RAW=1 \
|
||||
-DUSE_SYSTEM_WEBP=ON \
|
||||
-DUSE_SYSTEM_QUAZIP=ON \
|
||||
-DENABLE_TRANSLATIONS=ON
|
||||
# -DENABLE_HEIF=1
|
||||
-DENABLE_TRANSLATIONS=ON \
|
||||
-DENABLE_AVIF=1 \
|
||||
-DENABLE_HEIF=1
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
@ -93,7 +90,7 @@ sed -i -e 's|Image Lounge|Image?Lounge|g' %{name}.lang
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.nomacs.ImageLounge.desktop
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
@ -105,9 +102,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}/Image?Lounge/themes/
|
||||
%dir %{_datadir}/%{name}/Image?Lounge/
|
||||
%dir %{_datadir}/%{name}/Image?Lounge/translations/
|
||||
%{_metainfodir}/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_metainfodir}/*.appdata.xml
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%{_mandir}/man1/%{name}.*
|
||||
|
||||
%files plugins
|
||||
@ -116,6 +113,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 20 2024 Raven <raven@sysadmins.ws> - 3.17.2295-1
|
||||
- Version bump
|
||||
|
||||
* Thu Apr 28 2022 Raven <raven@sysadmins.ws> - 3.16-6
|
||||
- Rebuild for quazip
|
||||
|
||||
|
@ -275,16 +275,17 @@ diff --git a/test/evp_test.c b/test/evp_test.c
|
||||
index 70996195f0cb..6ae862b04403 100644
|
||||
--- a/test/evp_test.c
|
||||
+++ b/test/evp_test.c
|
||||
@@ -2639,6 +2639,12 @@ static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx,
|
||||
TEST_info("skipping, '%s' is disabled", p);
|
||||
@@ -2800,6 +2800,13 @@ static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx,
|
||||
t->skip = 1;
|
||||
}
|
||||
|
||||
+ if (p != NULL
|
||||
+ && (strcmp(name, "mac") == 0)
|
||||
+ && is_mac_disabled(p)) {
|
||||
+ TEST_info("skipping, '%s' is disabled", p);
|
||||
+ t->skip = 1;
|
||||
+ }
|
||||
+
|
||||
OPENSSL_free(name);
|
||||
return 1;
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ diff -up openssl-3.0.1/crypto/ec/ecdsa_ossl.c.fips_kat_signature openssl-3.0.1/c
|
||||
#define MIN_ECDSA_SIGN_ORDERBITS 64
|
||||
/*
|
||||
* It is highly unlikely that a retry will happen,
|
||||
@@ -137,6 +141,12 @@
|
||||
@@ -142,6 +146,12 @@
|
||||
goto err;
|
||||
|
||||
do {
|
||||
@ -69,16 +69,17 @@ diff -up openssl-3.0.1/crypto/ec/ecdsa_ossl.c.fips_kat_signature openssl-3.0.1/c
|
||||
/* get random k */
|
||||
do {
|
||||
if (dgst != NULL) {
|
||||
@@ -152,6 +162,9 @@
|
||||
}
|
||||
@@ -158,6 +168,10 @@
|
||||
}
|
||||
} while (BN_is_zero(k));
|
||||
} while (ossl_bn_is_word_fixed_top(k, 0));
|
||||
|
||||
+#ifdef FIPS_MODULE
|
||||
+ }
|
||||
+#endif
|
||||
|
||||
+
|
||||
/* compute r the x-coordinate of generator * k */
|
||||
if (!EC_POINT_mul(group, tmp_point, k, NULL, NULL, ctx)) {
|
||||
ERR_raise(ERR_LIB_EC, ERR_R_EC_LIB);
|
||||
diff -up openssl-3.0.1/crypto/ec/ec_key.c.fips_kat_signature openssl-3.0.1/crypto/ec/ec_key.c
|
||||
--- openssl-3.0.1/crypto/ec/ec_key.c.fips_kat_signature 2022-04-04 13:48:52.231172299 +0200
|
||||
+++ openssl-3.0.1/crypto/ec/ec_key.c 2022-04-04 14:00:35.077368605 +0200
|
||||
|
@ -47,9 +47,9 @@ diff --git a/providers/implementations/kdfs/hkdf.c b/providers/implementations/k
|
||||
index afdb7138e1..9d28d292d8 100644
|
||||
--- a/providers/implementations/kdfs/hkdf.c
|
||||
+++ b/providers/implementations/kdfs/hkdf.c
|
||||
@@ -298,6 +298,56 @@ static int kdf_hkdf_get_ctx_params(void *vctx, OSSL_PARAM params[])
|
||||
return 0;
|
||||
return OSSL_PARAM_set_size_t(p, sz);
|
||||
@@ -347,6 +347,56 @@
|
||||
}
|
||||
return OSSL_PARAM_set_octet_string(p, ctx->info, ctx->info_len);
|
||||
}
|
||||
+
|
||||
+#ifdef FIPS_MODULE
|
||||
@ -104,10 +104,10 @@ index afdb7138e1..9d28d292d8 100644
|
||||
return -2;
|
||||
}
|
||||
|
||||
@@ -306,6 +356,9 @@ static const OSSL_PARAM *kdf_hkdf_gettable_ctx_params(ossl_unused void *ctx,
|
||||
{
|
||||
@@ -356,6 +406,9 @@
|
||||
static const OSSL_PARAM known_gettable_ctx_params[] = {
|
||||
OSSL_PARAM_size_t(OSSL_KDF_PARAM_SIZE, NULL),
|
||||
OSSL_PARAM_octet_string(OSSL_KDF_PARAM_INFO, NULL, 0),
|
||||
+#ifdef FIPS_MODULE
|
||||
+ OSSL_PARAM_int(OSSL_KDF_PARAM_HKDF_REDHAT_FIPS_INDICATOR, NULL),
|
||||
+#endif /* defined(FIPS_MODULE) */
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
Summary: Utilities from the general purpose cryptography library with TLS implementation
|
||||
Name: openssl3
|
||||
Version: 3.0.13
|
||||
Version: 3.0.14
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
@ -541,6 +541,9 @@ rm -f %{buildroot}%{_bindir}/{make,renew}-dummy-cert
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%changelog
|
||||
* Fri Jun 7 2024 Raven <raven@sysadmins.ws> - 1:3.0.14-1
|
||||
- update to 3.0.14
|
||||
|
||||
* Tue Feb 6 2024 Raven <raven@sysadmins.ws> - 1:3.0.13-1
|
||||
- update to 3.0.13
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
Name: qbittorrent
|
||||
Summary: A Bittorrent Client
|
||||
Epoch: 1
|
||||
Version: 4.6.4
|
||||
Version: 4.6.6
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://www.qbittorrent.org
|
||||
@ -48,7 +48,7 @@ BuildRequires: qt5-linguist
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: rb_libtorrent-devel >= 1.2.12
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: boost-devel >= 1.60
|
||||
BuildRequires: boost1.81-devel
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
Requires: python3
|
||||
@ -123,13 +123,13 @@ desktop-file-install \
|
||||
--dir=%{buildroot}%{_datadir}/applications/ \
|
||||
%{buildroot}%{_datadir}/applications/org.qbittorrent.qBittorrent.desktop
|
||||
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.qbittorrent.qBittorrent.appdata.xml
|
||||
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.qbittorrent.qBittorrent.metainfo.xml
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md AUTHORS Changelog
|
||||
%{_bindir}/qbittorrent
|
||||
%{_metainfodir}/org.qbittorrent.qBittorrent.appdata.xml
|
||||
%{_metainfodir}/org.qbittorrent.qBittorrent.metainfo.xml
|
||||
%{_datadir}/applications/org.qbittorrent.qBittorrent.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/qbittorrent.*
|
||||
%{_datadir}/icons/hicolor/*/status/qbittorrent-tray*
|
||||
@ -143,6 +143,18 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.qbittorren
|
||||
%{_mandir}/man1/qbittorrent-nox.1*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 21 2024 Raven <raven@sysadmins.ws> - 1:4.6.6-1
|
||||
- Update to 4.6.6
|
||||
|
||||
* Thu Jun 27 2024 Raven <raven@sysadmins.ws> - 1:4.6.5-2
|
||||
- rebuilt for qt6 (el8)
|
||||
|
||||
* Tue May 28 2024 Raven <raven@sysadmins.ws> - 1:4.6.5-1
|
||||
- Update to 4.6.5
|
||||
|
||||
* Fri May 17 2024 Raven <raven@sysadmins.ws> - 1:4.6.4-2
|
||||
- rebuilt for new qt6 (el8)
|
||||
|
||||
* Mon Mar 25 2024 Raven <raven@sysadmins.ws> - 1:4.6.4-1
|
||||
- Update to 4.6.4
|
||||
- use the same compiler
|
||||
|
12
base/rspamd/fix-fasttext-model-path.patch
Normal file
12
base/rspamd/fix-fasttext-model-path.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur a/conf/lang_detection.inc b/conf/lang_detection.inc
|
||||
--- a/conf/lang_detection.inc 2024-07-23 16:37:27.000000000 +0600
|
||||
+++ b/conf/lang_detection.inc 2024-08-19 09:35:00.113184366 +0600
|
||||
@@ -21,7 +21,7 @@
|
||||
# languages_disable = ["fr", "es"]
|
||||
|
||||
# Use the following fasttext model for language detection (if Fasttext support is compiled in)
|
||||
-# fasttext_model = "${SHAREDIR}/languages/fasttext_model.ftz"
|
||||
+# fasttext_model = "${SHAREDIR}/fasttext_model.ftz"
|
||||
|
||||
# Prefer fasttext over all other methods
|
||||
# prefer_fasttext = true;
|
BIN
base/rspamd/lid.176.ftz
Normal file
BIN
base/rspamd/lid.176.ftz
Normal file
Binary file not shown.
@ -21,18 +21,18 @@
|
||||
%undefine __cmake_in_source_build
|
||||
%endif
|
||||
|
||||
|
||||
Name: rspamd
|
||||
Conflicts: rspamd-asan
|
||||
|
||||
Provides: rspamd
|
||||
Version: 3.8.4
|
||||
Version: 3.9.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Rapid spam filtering system
|
||||
Group: System Environment/Daemons
|
||||
License: Apache-2.0
|
||||
URL: https://rspamd.com
|
||||
Source0: https://github.com/rspamd/rspamd/archive/%{version}/rspamd-%{version}.tar.gz
|
||||
|
||||
Source0: https://github.com/rspamd/rspamd/archive/refs/tags/%{version}.tar.gz#/rspamd-%{version}.tar.gz
|
||||
Source1: %{name}.logrotate
|
||||
Source2: 80-rspamd.preset
|
||||
Source3: %{name}.init
|
||||
@ -41,6 +41,7 @@ Source4: LuaJIT-2.1.ROLLING.tar.gz
|
||||
%endif
|
||||
# https://github.com/rspamd/fastText.git
|
||||
Source5: fasttext.tar.gz
|
||||
Source6: lid.176.ftz
|
||||
|
||||
%if 0%{?rhel} == 6
|
||||
# revert usage of g_abort() back to abort()
|
||||
@ -49,6 +50,9 @@ Patch0: rspamd-get-rid-of-g_abort.patch
|
||||
Patch1: rspamd-define-static_assert.patch
|
||||
%endif
|
||||
|
||||
%if %{with fasttext}
|
||||
Patch2: fix-fasttext-model-path.patch
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: cmake3 >= 3.12
|
||||
@ -68,6 +72,7 @@ BuildRequires: file-devel
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
BuildRequires: pkgconfig(libsodium)
|
||||
BuildRequires: pkgconfig(libarchive) >= 3.0
|
||||
|
||||
|
||||
%ifarch x86_64
|
||||
@ -217,19 +222,20 @@ export LDFLAGS="$LDFLAGS -Wl,-rpath=%{_libdir}/rspamd/fasttext"
|
||||
%if %{with fasttext}
|
||||
mkdir -p %{buildroot}%{_libdir}/rspamd/fasttext
|
||||
cp %{_builddir}/fasttext-bin/lib/libfasttext.so.0 %{buildroot}%{_libdir}/rspamd/fasttext/
|
||||
install -m 0644 %{SOURCE6} %{buildroot}%{_datadir}/%{name}/fasttext_model.ftz
|
||||
%endif
|
||||
|
||||
%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/rspamd
|
||||
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/rspamd
|
||||
%if 0%{?rhel} >= 7
|
||||
%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_presetdir}/80-rspamd.preset
|
||||
install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_presetdir}/80-rspamd.preset
|
||||
%endif
|
||||
%{__install} -d -p -m 0755 %{buildroot}%{_localstatedir}/log/rspamd
|
||||
%{__install} -d -p -m 0755 %{buildroot}%{_localstatedir}/lib/rspamd
|
||||
%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/rspamd/local.d/
|
||||
%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/rspamd/override.d/
|
||||
install -d -p -m 0755 %{buildroot}%{_localstatedir}/log/rspamd
|
||||
install -d -p -m 0755 %{buildroot}%{_localstatedir}/lib/rspamd
|
||||
install -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/rspamd/local.d/
|
||||
install -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/rspamd/override.d/
|
||||
%if 0%{?rhel} < 7
|
||||
%{__install} -p -D -m 0755 %{SOURCE3} %{buildroot}%{_initrddir}/%{name}
|
||||
%{__install} -d -p -m 0755 %{buildroot}%{_localstatedir}/run/rspamd
|
||||
install -p -D -m 0755 %{SOURCE3} %{buildroot}%{_initrddir}/%{name}
|
||||
install -d -p -m 0755 %{buildroot}%{_localstatedir}/run/rspamd
|
||||
%endif
|
||||
|
||||
%clean
|
||||
@ -319,4 +325,4 @@ fi
|
||||
- update to 3.7.4
|
||||
|
||||
* Tue Oct 3 2023 Raven <raven@sysadmins.ws> - 3.6-1
|
||||
- initial build
|
||||
- initial build
|
||||
|
@ -18,6 +18,7 @@
|
||||
%bcond_without brotli
|
||||
%bcond_without fancyindex
|
||||
%bcond_without vts
|
||||
%bcond_without echo
|
||||
%bcond_with http3
|
||||
|
||||
%if 0%{?rhel} >= 8
|
||||
@ -29,21 +30,27 @@
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# specific package versions
|
||||
%if %{with lua}
|
||||
%define luamod_ver 0.10.26
|
||||
%define ndk_ver 0.3.1
|
||||
%global _suffix -cp
|
||||
%if %{with http3}
|
||||
%global _suffix -h3
|
||||
%endif
|
||||
|
||||
%define openssl_ver 3.0
|
||||
%define fi_ver 0.5.2
|
||||
%define hm_ver 0.34
|
||||
%define geoip2_ver 3.4
|
||||
%define vts_ver 0.2.2
|
||||
# specific package versions
|
||||
%if %{with lua}
|
||||
%global luamod_ver 0.10.26
|
||||
%global ndk_ver 0.3.1
|
||||
%endif
|
||||
|
||||
Name: nginx-cp
|
||||
%global openssl_ver 3.0
|
||||
%global fi_ver 0.5.2
|
||||
%global hm_ver 0.34
|
||||
%global geoip2_ver 3.4
|
||||
%global vts_ver 0.2.2
|
||||
%global echo_ver 0.63
|
||||
|
||||
Name: nginx%{_suffix}
|
||||
Epoch: 1
|
||||
Version: 1.26.0
|
||||
Version: 1.26.2
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A high performance web server and reverse proxy server
|
||||
@ -88,7 +95,11 @@ Source321: ngx_brotli-master.zip
|
||||
%endif
|
||||
|
||||
%if %{with vts}
|
||||
Source322: https://github.com/vozlt/nginx-module-vts/archive/refs/tags/v0.2.2.tar.gz#/nginx-module-vts-%{vts_ver}.tar.gz
|
||||
Source322: https://github.com/vozlt/nginx-module-vts/archive/refs/tags/v%{vts_ver}.tar.gz#/nginx-module-vts-%{vts_ver}.tar.gz
|
||||
%endif
|
||||
|
||||
%if %{with echo}
|
||||
Source323: https://github.com/openresty/echo-nginx-module/archive/refs/tags/v%{echo_ver}.tar.gz
|
||||
%endif
|
||||
|
||||
# removes -Werror in upstream build scripts. -Werror conflicts with
|
||||
@ -189,7 +200,16 @@ Provides: webserver
|
||||
Modularitylabel: %{name}:stable:%{version}:latest
|
||||
%endif
|
||||
Provides: nginx
|
||||
Provides: nginx%{_isa} = %{epoch}:%{version}-%{release}
|
||||
Provides: nginx(abi) = %{epoch}:%{version}-%{release}
|
||||
Provides: config(nginx) = %{epoch}:%{version}-%{release}
|
||||
|
||||
Obsoletes: nginx <= %{epoch}:%{version}-%{release}
|
||||
%if %{with http3}
|
||||
Conflicts: nginx-cp
|
||||
%else
|
||||
Conflicts: nginx-h3
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} >= 7
|
||||
BuildRequires: systemd
|
||||
@ -253,14 +273,27 @@ for the Nginx server including the correct permissions for the
|
||||
directories.
|
||||
%endif
|
||||
|
||||
%if %{with vts}
|
||||
%package module-vts
|
||||
Summary: Nginx virtual host traffic status module
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: ngx_http_vhost_traffic_status_module == %{vts_ver}
|
||||
Conflicts: %{real_name}-module-vts
|
||||
%if %{with echo}
|
||||
%package -n nginx-module-echo
|
||||
Summary: Brings "echo", "sleep", "time", "exec" and more shell-style goodies to Nginx config file.
|
||||
Requires: nginx(abi) = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: nginx-cp-modile-echo <= %{epoch}:%{version}-%{release}
|
||||
Obsoletes: nginx-h3-modile-echo <= %{epoch}:%{version}-%{release}
|
||||
|
||||
%description module-vts
|
||||
%description -n nginx-module-echo
|
||||
%{summary}.
|
||||
%endif
|
||||
|
||||
%if %{with vts}
|
||||
%package -n nginx-module-vts
|
||||
Summary: Nginx virtual host traffic status module
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Provides: ngx_http_vhost_traffic_status_module == %{vts_ver}
|
||||
Requires: nginx(abi) = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: nginx-cp-modile-vts <= %{epoch}:%{version}-%{release}
|
||||
Obsoletes: nginx-h3-modile-vts <= %{epoch}:%{version}-%{release}
|
||||
|
||||
%description -n nginx-module-vts
|
||||
This is an Nginx module that provides access to virtual host status
|
||||
information. It contains the current status such as servers, upstreams,
|
||||
caches.
|
||||
@ -302,6 +335,10 @@ unzip -qq %{SOURCE321}
|
||||
tar -xf %{SOURCE322}
|
||||
%endif
|
||||
|
||||
%if %{with echo}
|
||||
tar -xf %{SOURCE323}
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} < 8
|
||||
sed -i -e 's#KillMode=.*#KillMode=process#g' %{SOURCE10}
|
||||
sed -i -e 's#PROFILE=SYSTEM#HIGH:!aNULL:!MD5#' %{SOURCE12}
|
||||
@ -420,6 +457,9 @@ export DESTDIR=%{buildroot}
|
||||
%endif
|
||||
%if %{with brotli}
|
||||
--add-dynamic-module=ngx_brotli-master \
|
||||
%endif
|
||||
%if %{with echo}
|
||||
--add-dynamic-module=echo-nginx-module-%{echo_ver} \
|
||||
%endif
|
||||
--with-ld-opt="$ngx_ldflags" \
|
||||
--with-cc-opt="$ngx_cflags"
|
||||
@ -532,6 +572,10 @@ echo -e 'load_module "%{_libdir}/nginx/modules/ngx_http_vhost_traffic_status_mod
|
||||
> %{buildroot}%{_datadir}/nginx/modules/mod-http-vhost-traffic-status.conf
|
||||
%endif
|
||||
|
||||
%if %{with echo}
|
||||
echo -e 'load_module "%{_libdir}/nginx/modules/ngx_http_echo_module.so";' \
|
||||
> %{buildroot}%{_datadir}/nginx/modules/mod-http-echo.conf
|
||||
%endif
|
||||
|
||||
mv -f %{buildroot}%{_sysconfdir}/nginx/*.default %{buildroot}%{_sysconfdir}/nginx/default.d/
|
||||
|
||||
@ -663,13 +707,28 @@ fi
|
||||
%dir %{_sysconfdir}/nginx/users
|
||||
%dir %{_sysconfdir}/nginx/ssl
|
||||
|
||||
%if %{with echo}
|
||||
%files -n nginx-module-echo
|
||||
%{_libdir}/nginx/modules/ngx_http_echo_module.so
|
||||
%{_datadir}/nginx/modules/mod-http-echo.conf
|
||||
%endif
|
||||
|
||||
%if %{with vts}
|
||||
%files module-vts
|
||||
%files -n nginx-module-vts
|
||||
%{_libdir}/nginx/modules/ngx_http_vhost_traffic_status_module.so
|
||||
%{_datadir}/nginx/modules/mod-http-vhost-traffic-status.conf
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2024 Raven <raven@sysadmins.ws> - 1.26.2-1
|
||||
- new stable version
|
||||
|
||||
* Sat Jun 1 2024 Raven <raven@sysadmins.ws> - 1.26.1-1
|
||||
- new stable version
|
||||
|
||||
* Tue May 14 2024 Raven <raven@sysadmins.ws> - 1.26.0-2
|
||||
- add conditional build of echo module
|
||||
|
||||
* Wed Apr 24 2024 Raven <raven@sysadmins.ws> - 1.26.0-1
|
||||
- new stable version
|
||||
- get rid of http2 HPACK
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
Summary: High-performance HTTP accelerator
|
||||
Name: varnish
|
||||
Version: 7.3.1
|
||||
Version: 7.3.2
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: https://www.varnish-cache.org/
|
||||
@ -58,7 +58,7 @@ Provides: vmod(vtc)%{_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: python34 python34-sphinx python34-docutils
|
||||
BuildRequires: python36 python36-sphinx python36-docutils
|
||||
%else
|
||||
BuildRequires: python3, python3-sphinx, python3-docutils
|
||||
%endif
|
||||
@ -278,6 +278,7 @@ chmod 644 lib/libvmod_*/*.h
|
||||
|
||||
|
||||
%pre
|
||||
echo "WARNING!!! Varnish 7.3 is discontinued. Consider upgrading to a newer version"
|
||||
getent group varnish >/dev/null || groupadd -r varnish
|
||||
getent passwd varnish >/dev/null || \
|
||||
useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
|
||||
@ -300,6 +301,9 @@ test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.3.2-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.3.1-1
|
||||
- New upstream release
|
||||
|
||||
|
1239
modular/varnish/varnish-7.4.spec
Normal file
1239
modular/varnish/varnish-7.4.spec
Normal file
File diff suppressed because it is too large
Load Diff
@ -12,8 +12,8 @@
|
||||
|
||||
%global __provides_exclude_from ^%{_libdir}/varnish/vmods
|
||||
|
||||
%global abi 84d79120b6d17b11819a663a93160743f293e63f
|
||||
%global vrt 17.0
|
||||
%global abi eef25264e5ca5f96a77129308edb83ccf84cb1b1
|
||||
%global vrt 19.0
|
||||
|
||||
# Package scripts are now external
|
||||
# https://github.com/varnishcache/pkg-varnish-cache
|
||||
@ -37,7 +37,7 @@
|
||||
|
||||
Summary: High-performance HTTP accelerator
|
||||
Name: varnish
|
||||
Version: 7.4.2
|
||||
Version: 7.5.0
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
URL: https://www.varnish-cache.org/
|
||||
@ -79,6 +79,10 @@ BuildRequires: make
|
||||
BuildRequires: ncurses-devel >= 5.9
|
||||
BuildRequires: pcre2-devel
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?epel} == 6
|
||||
# epel6 requires newer libunwind than system one
|
||||
BuildRequires: llvm-libunwind-devel
|
||||
%endif
|
||||
%if 0%{?rhel} >= 7
|
||||
BuildRequires: systemd-units
|
||||
%endif
|
||||
@ -182,6 +186,9 @@ export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
|
||||
export CFLAGS="$CFLAGS -Wno-error=free-nonheap-object"
|
||||
%endif
|
||||
|
||||
%if 0%{?epel} == 6
|
||||
export CFLAGS="-I /usr/include/llvm-libunwind $CFLAGS"
|
||||
%endif
|
||||
|
||||
# What gcc version is this?
|
||||
gcc --version
|
||||
@ -283,7 +290,11 @@ chmod 644 lib/libvmod_*/*.h
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_mandir}/man3/*.3*
|
||||
%{_mandir}/man7/*.7*
|
||||
%if 0%{?rhel} >= 7
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc README.rst ChangeLog
|
||||
%doc etc/builtin.vcl etc/example.vcl
|
||||
%dir %{_sysconfdir}/varnish/
|
||||
@ -301,7 +312,11 @@ chmod 644 lib/libvmod_*/*.h
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%if 0%{?rhel} >= 7
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc README.rst
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/%{name}
|
||||
@ -310,7 +325,11 @@ chmod 644 lib/libvmod_*/*.h
|
||||
%{_datadir}/aclocal/*.m4
|
||||
|
||||
%files docs
|
||||
%if 0%{?rhel} >= 7
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc doc/html
|
||||
%doc doc/changes*.html
|
||||
|
||||
@ -355,6 +374,12 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.5.0-1
|
||||
- New upstream release
|
||||
|
||||
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.4.3-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.4.2-1
|
||||
- New upstream release
|
||||
- Revert an ability to build for el6
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: qmmp
|
||||
Version: 2.1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 2.1.7
|
||||
Release: 3%{?dist}
|
||||
Summary: Qt-based multimedia player
|
||||
|
||||
License: GPLv2+ and CC-BY-SAv4+
|
||||
@ -32,7 +32,7 @@ BuildRequires: libsndfile-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libxmp-devel
|
||||
BuildRequires: mpg123-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: opusfile-devel
|
||||
BuildRequires: pipewire-devel
|
||||
BuildRequires: qt6-qtmultimedia-devel
|
||||
@ -43,7 +43,11 @@ BuildRequires: wavpack-devel
|
||||
BuildRequires: wildmidi-devel
|
||||
|
||||
# /usr/share/solid/actions owner
|
||||
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
|
||||
Requires: kde-filesystem
|
||||
%elif %{undefined flatpak}
|
||||
Requires: kf5-filesystem
|
||||
%endif
|
||||
|
||||
Recommends: qmmp-plugin-pack
|
||||
# some external tools listed in
|
||||
@ -147,6 +151,15 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-enqueue.desk
|
||||
%{_libdir}/libqmmp*.so
|
||||
|
||||
%changelog
|
||||
* Thu Jun 27 2024 Raven <raven@sysadmins.ws> - 2.1.7-3
|
||||
- Rebuild for qt 6.7.2
|
||||
|
||||
* Wed May 29 2024 Raven <raven@sysadmins.ws> - 2.1.7-2
|
||||
- Rebuild for qt 6.7
|
||||
|
||||
* Mon May 20 2024 Raven <raven@sysadmins.ws> - 2.1.7-1
|
||||
- new version 2.1.7
|
||||
|
||||
* Thu Aug 31 2023 Karel Volný <kvolny@redhat.com> 2.1.5-1
|
||||
- new version 2.1.5 (rhbz#2235874)
|
||||
- enabled MMS support (rhbz#2235608)
|
||||
|
Loading…
x
Reference in New Issue
Block a user