Browse Source

updated 7 packages

file-5.45-1

fmt-11.0.1-1

gmime-3.2.15-1

libevent-2.1.12-3

libsodium-1.0.20-1

libunwind-1.8.1-1

rspamd-3.9.0-1
Tomohiro "Tomo-p" KATO 4 months ago
parent
commit
1fb0238a84

+ 22 - 28
f/file/file-vl.spec

@@ -3,7 +3,7 @@
 Summary:        A utility for determining file types.
 Summary(ja):    ファイルの種類を判別するユーティリティー
 Name:           file
-Version:        5.43
+Version:        5.45
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -11,7 +11,7 @@ Distribution:   Vine Linux
 Packager:       daisuke
 
 License:        BSD
-URL:            http://www.darwinsys.com/file/
+URL:            https://www.darwinsys.com/file/
 # master site is toooooooooooooooooo slow
 Source0:        http://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
 
@@ -25,13 +25,21 @@ Patch0: file-localmagic.patch
 Patch1: file-4.17-rpm-name.patch
 Patch2: file-5.04-volume_key.patch
 
+# revert upstream commits (rhbz#2167964)
+# 1. https://github.com/file/file/commit/e1233247bbe4d2d66b891224336a23384a93cce1
+# 2. https://github.com/file/file/commit/f7a65dbf1739a8f8671621e41c5648d1f7e9f6ae
+Patch3: file-5.45-readelf-limit-revert.patch
+
+# upstream commit: https://github.com/file/file/commit/218fdf813fd5ccecbb8887a1b62509cd1c6dd3a1
+Patch4: file-5.45-time-t.patch
+
 # Vine
 Patch1000: file-5.14-magicbuild-fix.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 #BuildRequires: automake
 #BuildRequires: autoconf
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig(zlib)
 Obsoletes: file-static
 
 %description
@@ -113,7 +121,7 @@ CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 export LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{name}-%{version}/src/.libs
-make
+%make_build
 
 cd python
 %py_build
@@ -129,11 +137,15 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/misc
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/file
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+
+# local magic in /etc/magic
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}
+cp -a ./magic/magic.local ${RPM_BUILD_ROOT}%{_sysconfdir}/magic
 
 cat magic/Magdir/* > ${RPM_BUILD_ROOT}%{_datadir}/misc/magic
 ln -s misc/magic ${RPM_BUILD_ROOT}%{_datadir}/magic
-##ln -s file/magic.mime ${RPM_BUILD_ROOT}%{_datadir}/magic.mime
 ln -s ../magic ${RPM_BUILD_ROOT}%{_datadir}/file/magic
 
 cd python
@@ -142,20 +154,6 @@ cd python
 
 %{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name}
 
-# LIBTOOL=/usr/bin/libtool
-#ln -s file/magic ${RPM_BUILD_ROOT}%{_datadir}/magic
-#ln -s file/magic.mime ${RPM_BUILD_ROOT}%{_datadir}/magic.mime
-
-#ln -s ../magic ${RPM_BUILD_ROOT}%{_datadir}/misc/magic 
-
-#{ cd ${RPM_BUILD_ROOT}
-#  strip .%{_bindir}/file
-#  cp %SOURCE1 .%{_datadir}/magic.mime
-#}
-
-# remove unused files
-rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
-
 
 %ifarch x86_64
 %check
@@ -164,14 +162,10 @@ make -C tests check
 %endif
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root)
 %license COPYING
 %doc ChangeLog README
+%config(noreplace) %{_sysconfdir}/magic
 %{_bindir}/*
 %{_libdir}/libmagic.so.*
 %{_datadir}/file/*
@@ -180,14 +174,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man[15]/*
 
 %files devel
-%defattr(-,root,root,-)
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*
 %{_includedir}/magic.h
 %{_mandir}/man3/*
 
 %files -n python-magic
-%defattr(-, root, root, -)
 %license python/LICENSE
 %doc python/README* python/example.py
 %{python_sitelib}/magic.py
@@ -196,13 +188,15 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/*egg-info
 
 %files -n python3-magic
-%defattr(-, root, root, -)
 %license python/LICENSE
 %doc python/README* python/example.py
 %{python3_sitelib}/*
 
 
 %changelog
+* Fri Jul 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.45-1
+- new upstream release.
+
 * Sun Oct 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.43-1
 - new upstream release.
 

+ 6 - 3
f/fmt/fmt-vl.spec

@@ -2,7 +2,7 @@
 
 Name:           fmt
 Summary:        Small, safe and fast formatting library for C++
-Version:        9.1.0
+Version:        11.0.1
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -71,8 +71,8 @@ sed -i "s/'--clean-css',//" doc/build.py
 
 
 %files
-%license LICENSE.rst
-%doc ChangeLog.rst README.rst
+%license LICENSE
+%doc ChangeLog.md README.md
 %{_libdir}/lib%{name}.so.*
 
 %files devel
@@ -83,6 +83,9 @@ sed -i "s/'--clean-css',//" doc/build.py
 
 
 %changelog
+* Sat Jul 13 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 11.0.1-1
+- new upstream release.
+
 * Sun Oct 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 9.1.0-1
 - new upstream release.
 

+ 27 - 26
g/gmime/gmime-vl.spec

@@ -5,22 +5,25 @@
 Summary:        Library for creating and parsing MIME messages
 Summary(ja):	MIMEメッセージを生成またパースするためのライブラリ
 Name:           gmime
-Version:        3.2.7
+Version:        3.2.15
 Release:        1%{?_dist_release}
-Group:          System Environment/Libraries
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        GPL
 URL:            https://github.com/jstedfast/gmime
 %global         shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
-Source0:        https://download.gnome.org/sources/gmime/%{shortver}/%{name}-%{version}.tar.xz
+Source0:        https://github.com/jstedfast/gmime/releases/download/%{version}/gmime-%{version}.tar.xz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  glib2-devel >= 2.26.0
 BuildRequires:  gpgme-devel
-BuildRequires:  zlib-devel >= 1.2.1.1
+BuildRequires:  libgpg-error-devel
+BuildRequires:  pkgconfig(zlib)
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  vala
 BuildRequires:  automake, libtool, gettext, gtk-doc
 
 # Mono only availible on these:
@@ -41,7 +44,7 @@ Internet Mail Extension (MIME).
 
 %package        devel
 Summary:        Header files to develop libgmime applications
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 Requires:       glib2-devel
 
@@ -55,7 +58,7 @@ to develop applications that use libgmime.
 %ifarch %mono_archs
 %package        sharp
 Summary:        mono bindings for gmime
-Group:          Development/Libraries
+Group:          system
 Requires:       %{name} = %{version}-%{release}
 Requires:       gtk-sharp2
 
@@ -67,27 +70,26 @@ for developing mono applications that use libgmime.
 %endif
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
 
 %build
-cp %{_datadir}/gettext/config.rpath .
-## autoreconf --force --install
-
 %ifarch %mono_archs
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 MONO_ARGS="--enable-mono"
 %endif
 
-%configure $MONO_ARGS
-make %{?_smp_mflags}
+%configure --disable-static $MONO_ARGS
+%make_build V=1
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
 
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
@@ -96,29 +98,25 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 #mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
-%defattr(-,root,root,-)
 %license COPYING
-%doc AUTHORS README.md TODO
+%doc AUTHORS README* TODO
 #%{_bindir}/gmime-uu??code
 %{_libdir}/lib*.so.*
+%dir %{_libdir}/girepository-1.0
+%{_libdir}/girepository-1.0/GMime-3.0.typelib
 
 %files devel
-%defattr(-,root,root,-)
-%{_libdir}/lib*.a
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/gmime-%{apiver}.pc
 %{_includedir}/gmime-%{apiver}
+%dir %{_datadir}/gir-1.0
+%{_datadir}/gir-1.0/GMime-3.0.gir
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
 %{_datadir}/gtk-doc/html/gmime-%{docver}
+%dir %{_datadir}/vala
+%{_datadir}/vala/*
 
 %ifarch %mono_archs
 %files sharp
@@ -131,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.15-1
+- new upstream release.
+
 * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.7-1
 - new upstream release.
 

+ 6 - 5
lib/libe/libevent/libevent-vl.spec

@@ -4,7 +4,7 @@ Summary:        Abstract asynchronous event notification library
 Summary(ja):	非同期イベント通知ライブラリ
 Name:           libevent
 Version:        2.1.12
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -39,7 +39,7 @@ you will need to install %{name}-devel.
 %package -n compat32-%{name}
 Summary:        Abstract asynchronous event notification library
 Summary(ja):	非同期イベント通知ライブラリ
-Group:          system
+Group:          system,legacy
 Requires: %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -76,13 +76,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root,0755)
+%license LICENSE
 %doc README
 %{_bindir}/*
 %{_libdir}/lib*.so.*
 
 %files devel
-%defattr(-,root,root,0755)
 %doc sample/*.c
 %{_includedir}/*
 %{_libdir}/lib*.so
@@ -90,7 +89,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{build_compat32}
 %files -n compat32-%{name}
-%defattr(-,root,root,0755)
 %doc README
 %{_bindir}/*
 %{_libdir}/lib*.so.*
@@ -98,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-3
+- rebuilt with current environment.
+
 * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-2
 - rebuilt with openssl-3.0.0.
 - dropped ldconfig scriptlets.

+ 5 - 8
lib/libs/libsodium/libsodium-vl.spec

@@ -1,8 +1,8 @@
 Summary: a modern and easy-to-use crypto library
 Summary(ja): モダンで手軽に使える暗号化ライブラリー
 Name: libsodium
-Version: 1.0.18
-Release: 2%{?_dist_release}
+Version: 1.0.20
+Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -57,22 +57,16 @@ developing applications that use %{name}.
 %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/libsodium.la
 
 
-%clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
-
-
 %check
 make check
 
 
 %files
-%defattr(-,root,root)
 %license LICENSE
 %doc AUTHORS ChangeLog THANKS README.*
 %{_libdir}/libsodium.so.*
 
 %files devel
-%defattr(-,root,root)
 %license LICENSE
 %doc AUTHORS ChangeLog THANKS README.*
 %{_libdir}/pkgconfig/libsodium.pc
@@ -82,6 +76,9 @@ make check
 
 
 %changelog
+* Fri Jul 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.20-1
+- new upstream release.
+
 * Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-2
 - rebuilt with current environment.
 - dropped ldconfig scriptlets.

+ 25 - 12
lib/libu/libunwind/libunwind-vl.spec

@@ -1,18 +1,21 @@
 Summary: An unwinding library
 Name: libunwind
-Version: 1.6.2
+Version: 1.8.1
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: BSD
-URL: http://savannah.nongnu.org/projects/libunwind
-Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
+URL: https://savannah.nongnu.org/projects/libunwind
+Source: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 ExclusiveArch: %{ix86} x86_64 ia64
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig(zlib)
+
+# host != target would cause REMOTE_ONLY build even if building i386 on x86_64.
+%global _host %{_target_platform}
 
 %description
 Libunwind provides a C ABI to determine the call-chain of a program.
@@ -32,17 +35,27 @@ libunwind.
 
 
 %prep
-%setup -q
+%autosetup -p1
 
 
 %build
-%configure --enable-static --enable-shared --enable-setjmp=no
-%__make %{?_smp_mflags}
+%global optflags %{optflags} -fcommon
+autoreconf -fiv
+%configure \
+	--enable-static \
+	--enable-shared \
+	--enable-setjmp=no \
+%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
+	--enable-tests \
+%else
+	--disable-tests \
+%endif
+	%{nil}
+%make_build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall
+%make_install
 
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
@@ -63,9 +76,6 @@ echo ====================TESTING END=====================
 echo ====================TESTSUITE DISABLED=========================
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
 %defattr(-,root,root)
@@ -84,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Jul 13 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.1-1
+- new upstream release.
+
 * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.2-1
 - new upstream release.
 - dropped ldconfig scriptlets.

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

@@ -13,7 +13,7 @@
 
 Summary:        Rapid spam filtering system
 Name:           rspamd
-Version:        3.8.4
+Version:        3.9.0
 Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Group:          servers
 Vendor:         Project Vine
@@ -32,14 +32,13 @@ BuildRequires:  cmake
 BuildRequires:  file-devel
 BuildRequires:  fmt-devel
 BuildRequires:  glib2-devel
-BuildRequires:  gmime-devel
 %ifarch x86_64
 BuildRequires:  hyperscan-devel
 %endif
 %if %{with jemalloc}
 BuildRequires:  jemalloc-devel
 %endif
-BuildRequires:  libevent-devel
+BuildRequires:  libarchive-devel
 BuildRequires:  libicu-devel
 BuildRequires:  libsodium-devel
 BuildRequires:  libunwind-devel
@@ -49,6 +48,7 @@ BuildRequires:  pcre2-devel
 BuildRequires:	perl
 BuildRequires:  ragel
 BuildRequires:  sqlite3-devel
+BuildRequires:  xxhash-devel
 %if %{with systemd}
 BuildRequires:  systemd
 %endif
@@ -95,7 +95,7 @@ lua.
         -DMANDIR=%{_mandir} \
         -DSHAREDIR=%{_datadir}/rspamd \
         -DDBDIR=%{_localstatedir}/lib/rspamd \
-        -DRUNDIR=%{_localstatedir}/run/rspamd \
+        -DRUNDIR=%{_rundir}/rspamd \
         -DLOGDIR=%{_localstatedir}/log/rspamd \
         -DEXAMPLESDIR=%{_datadir}/examples/rspamd \
         -DNO_SHARED=ON \
@@ -114,6 +114,7 @@ lua.
 %endif
         -DSYSTEM_FMT=ON \
         -DSYSTEM_ZSTD=ON \
+        -DSYSTEM_XXHASH=ON \
         -DENABLE_LIBUNWIND=ON \
         -DENABLE_LUAJIT=OFF \
         -DENABLE_PCRE2=ON \
@@ -266,6 +267,9 @@ fi
 
 
 %changelog
+* Sat Jul 13 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.9.0-1
+- new upstream release.
+
 * Mon Feb 26 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.4-1
 - new upstream release.