Browse Source

updated 2 packages

libsodium-1.0.18-2

rspamd-3.0-1
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
4add4fd15a
2 changed files with 31 additions and 17 deletions
  1. 15 13
      lib/libs/libsodium/libsodium-vl.spec
  2. 16 4
      r/rspamd/rspamd-vl.spec

+ 15 - 13
lib/libs/libsodium/libsodium-vl.spec

@@ -2,8 +2,12 @@ Summary: a modern and easy-to-use crypto library
 Summary(ja): モダンで手軽に使える暗号化ライブラリー
 Summary(ja): モダンで手軽に使える暗号化ライブラリー
 Name: libsodium
 Name: libsodium
 Version: 1.0.18
 Version: 1.0.18
-Release: 1%{?_dist_release}
-Group: System Environment/Libraries
+Release: 2%{?_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
+
 License: ISC
 License: ISC
 URL: https://github.com/jedisct1/libsodium
 URL: https://github.com/jedisct1/libsodium
 Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz
 Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz
@@ -11,11 +15,6 @@ Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELE
 #BuildRequires: 
 #BuildRequires: 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: iwaim
-
-
 %description
 %description
 Sodium is a new, easy-to-use software library for encryption, decryption,
 Sodium is a new, easy-to-use software library for encryption, decryption,
 signatures, password hashing and more.
 signatures, password hashing and more.
@@ -26,10 +25,11 @@ with a compatible API, and an extended API to improve usability even further.
 Its goal is to provide all of the core operations needed to build
 Its goal is to provide all of the core operations needed to build
 higher-level cryptographic tools.
 higher-level cryptographic tools.
 
 
+
 %package devel
 %package devel
 Summary: Development files for %{name}
 Summary: Development files for %{name}
 Summary(ja): %{name} の開発ファイル
 Summary(ja): %{name} の開発ファイル
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: %{name} = %{version}-%{release}
 
 
 %description devel
 %description devel
@@ -37,6 +37,9 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 developing applications that use %{name}.
 
 
 
 
+%debug_package
+
+
 %prep
 %prep
 %setup -q
 %setup -q
 
 
@@ -62,11 +65,6 @@ developing applications that use %{name}.
 make check
 make check
 
 
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %files
 %defattr(-,root,root)
 %defattr(-,root,root)
 %license LICENSE
 %license LICENSE
@@ -84,6 +82,10 @@ make check
 
 
 
 
 %changelog
 %changelog
+* Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-2
+- rebuilt with current environment.
+- dropped ldconfig scriptlets.
+
 * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-1
 * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-1
 - new upstream release.
 - new upstream release.
 
 

+ 16 - 4
r/rspamd/rspamd-vl.spec

@@ -11,8 +11,8 @@
 
 
 Summary:        Rapid spam filtering system
 Summary:        Rapid spam filtering system
 Name:           rspamd
 Name:           rspamd
-Version:        2.7
-Release:        2%{?_dist_release}%{?with_systemd:.systemd}
+Version:        3.0
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Group:          servers
 Group:          servers
 Vendor:         Project Vine
 Vendor:         Project Vine
 Distribution:   Vine Linux
 Distribution:   Vine Linux
@@ -20,7 +20,10 @@ Distribution:   Vine Linux
 License:        ASL 2.0
 License:        ASL 2.0
 URL:            https://rspamd.com
 URL:            https://rspamd.com
 Source0:        https://github.com/rspamd/rspamd/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz
 Source0:        https://github.com/rspamd/rspamd/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz
-Patch0:         rspamd-2.7-lua54.patch
+Patch0:         rspamd-3.0-lua54.patch
+# to build with glibc-2.34+
+# https://github.com/onqtam/doctest/commit/099d5414e97244ec44cf46b14cd176b3a3dc52e3
+Patch1:         doctest-SIGSTKSZ.patch
 
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 
 
@@ -68,7 +71,11 @@ lua.
 
 
 
 
 %prep
 %prep
-%autosetup -p1
+%setup
+%patch0 -p1
+pushd contrib/doctest
+%patch1 -p1
+popd
 
 
 
 
 %build
 %build
@@ -243,6 +250,11 @@ fi
 
 
 
 
 %changelog
 %changelog
+* Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0-1
+- new upstream release.
+- updated Patch0.
+- imported Patch1 from upstream of doctest to build with glibc-2.34+.
+
 * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
 * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
 - rebuilt with icu69.
 - rebuilt with icu69.