21 次代码提交 cec0437743 ... 200ee507c3

作者 SHA1 备注 提交日期
  Tomohiro "Tomo-p" KATO 200ee507c3 docker-compose-2.10.2-1 2 年之前
  Tomohiro "Tomo-p" KATO a52083c485 docker-ce-20.10.18-1 2 年之前
  Tomohiro "Tomo-p" KATO 239f91cce5 inkscape-1.2.1-1 2 年之前
  Tomohiro "Tomo-p" KATO d7a3af6352 poppler-22.09.0-1 2 年之前
  Tomohiro "Tomo-p" KATO 51def4081c golang-1.19.1-1 2 年之前
  Tomohiro "Tomo-p" KATO f1e211e7d7 meson-0.63.2-1 2 年之前
  Tomohiro "Tomo-p" KATO fc51885b16 libmodsecurity-3.0.8-1 2 年之前
  Tomohiro "Tomo-p" KATO 14101212f7 kernel-5.10.142-1 2 年之前
  Tomohiro "Tomo-p" KATO 09c19e6f95 gzip-1.12-1 2 年之前
  Tomohiro "Tomo-p" KATO 6eae714554 fribidi-1.0.12-1 2 年之前
  Tomohiro "Tomo-p" KATO 01fcf23966 vim-9.0.0437-1 2 年之前
  Tomohiro "Tomo-p" KATO aa3169b6c7 rsync-3.2.5-1 2 年之前
  Tomohiro "Tomo-p" KATO b6f5cb99fd gdb-12.1-1 2 年之前
  Tomohiro "Tomo-p" KATO 3256a8b21b valgrind-3.19.0-1 2 年之前
  Tomohiro "Tomo-p" KATO 818b5899fb elfutils-0.187-1 2 年之前
  Tomohiro "Tomo-p" KATO acb5dcd102 libtool-2.4.7-1 2 年之前
  Tomohiro "Tomo-p" KATO d7f8f99e97 perl-gettext-1.07-2 2 年之前
  Tomohiro "Tomo-p" KATO 1cae449924 help2man-1.49.2-1 2 年之前
  Tomohiro "Tomo-p" KATO 1d0e78ca2c updated 3 packages 2 年之前
  Tomohiro "Tomo-p" KATO e1791b0653 updated 6 packages 2 年之前
  Tomohiro "Tomo-p" KATO 3f83ea2b87 vim-9.0.0354-1 2 年之前

+ 252 - 173
b/binutils/binutils-vl.spec

@@ -3,61 +3,86 @@
 # --without testsuite: Do not run the testsuite.  Default is to run it.
 # --with testsuite: Run the testsuite.  Default --with debug is not to run it.
 
+%bcond_with    debug
+%bcond_with    debuginfod
+%bcond_without gprofng
+%bcond_without testsuite
+%bcond_without docs
+
+#---Start of Configure Options-----------------------------------------------
+
+# Create deterministic archives (ie ones without timestamps).
+# Default is off because of BZ 1195883.
+%define enable_deterministic_archives 0
+
 # Enable support for GCC LTO compilation.
+# Disable if it is necessary to work around bugs in LTO.
 %define enable_lto 1
 
 # Enable support for generating new dtags in the linker
 # Disable if it is necessary to use RPATH instead.
 %define enable_new_dtags 1
 
-# Disable the default generation of compressed debug sections.
+# Enable the compression of debug sections as default behaviour of the
+# assembler and linker.  This option is disabled for now.  The assembler and
+# linker have command line options to override the default behaviour.
 %define default_compress_debug 0
 
 # Default to read-only-relocations (relro) in shared binaries.
+# This is enabled as a security feature.
 %define default_relro 1
 
-# Disable the default generation of GNU Build notes by the assembler.
-# This has turned out to be problematic for the i686 architecture.
-# although the exact reason has not been determined.  (See BZ 1572485)
-# It also breaks building EFI binaries on AArch64, as these cannot have
-# relocations against absolute symbols.
+# Enable the default generation of GNU Build notes by the assembler.
+# This option is disabled as it has turned out to be problematic for the i686
+# architecture, although the exact reason has not been determined.  (See
+# BZ 1572485).  It also breaks building EFI binaries on AArch64, as these
+# cannot have relocations against absolute symbols.
 %define default_generate_notes 0
 
-# Enable thread support in the GOLD linker.  This is particularly
-# important if plugins to the linker intend to use threads themselves.
-# See BZ 1636479 for more details.  This option is made configurable
-# in case there is ever a need to disable thread support.
+# Enable thread support in the GOLD linker (if it is being built).  This is
+# particularly important if plugins to the linker intend to use threads
+# themselves.  See BZ 1636479 for more details.  This option is made
+# configurable in case there is ever a need to disable thread support.
 %define enable_threading 1
 
+# Enable the use of separate code and data segments for all architectures,
+# not just x86/x86_64.
+%define enable_separate_code 1
+
+#----End of Configure Options------------------------------------------------
+
 %define binutils_target %{_target_platform}
 %define isnative 1
 %define enable_shared 1
 
-%bcond_without testsuite
-%bcond_without docs
+%undefine _strict_symbol_defs_build
+%undefine __brp_strip_static_archive
+
+%if %{with debug}
+%undefine with_testsuite
+%endif
 
 Summary:        A GNU collection of binary utilities.
 Summary(ja):    GNU 版バイナリユーティリティ集
 Name:           binutils
-Version:        2.37
-Release:        4%{?_dist_release}
+Version:        2.39
+Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
 Distribution:   Vine Linux
 Packager:       kenta, shaolin, inagaki
 
 License:        GPLv3+
-URL:            http://sources.redhat.com/binutils
-# Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-# The ftp.kernel.org/pub/linux/devel/binutils/ page is (temporarily) unavailable
-# so we use the GNU site instead.
-# Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
+URL:            https://sourceware.org/binutils
+# Note - the Linux Kernel binutils releases are too unstable and contain
+# too many controversial patches so we stick with the official FSF version
+# instead.
 Source:         https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
 Source2:        binutils-2.19.50.0.1-output-format.sed
 
 #----------------------------------------------------------------------------
 
-Patch00: binutils-2.37-20220129.patch
+Patch00: binutils-%{version}-20220908.patch
 
 # Purpose:  Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
 #           default library search path of 64-bit targets.
@@ -125,101 +150,76 @@ Patch08: binutils-2.27-aarch64-ifunc.patch
 Patch09: binutils-do-not-link-with-static-libstdc++.patch
 
 # Purpose:  Allow OS specific sections in section groups.
-# Lifetime: Fixed in 2.38 (maybe)
+# Lifetime: Fixed in 2.39 (maybe)
 Patch10: binutils-special-sections-in-groups.patch
 
 # Purpose:  Fix linker testsuite failures.
-# Lifetime: Fixed in 2.37 (maybe)
+# Lifetime: Fixed in 2.39 (maybe)
 Patch11: binutils-fix-testsuite-failures.patch
 
 # Purpose:  Stop gold from aborting when input sections with the same name
 #            have different flags.
-# Lifetime: Fixed in 2.38 (maybe)
+# Lifetime: Fixed in 2.39 (maybe)
 Patch12: binutils-gold-mismatched-section-flags.patch
 
-# Purpose:  Add a check to the GOLD linker for a corrupt input file
-#            with a fuzzed section offset.
-# Lifetime: Fixed in 2.38 (maybe)
-Patch13: binutils-CVE-2019-1010204.patch
-
 # Purpose:  Change the gold configuration script to only warn about
 #            unsupported targets.  This allows the binutils to be built with
 #            BPF support enabled.
 # Lifetime: Permanent.
-Patch14: binutils-gold-warn-unsupported.patch
-
-# Purpose:  Use the "unsigned long long" type for pointers on hosts where
-#           long is a 32-bit type but pointers are a 64-bit type.  Necessary
-#           because users expect to be able to install both the i686- and
-#           x86_64 versions of binutils-devel on the same machine, so they
-#           need to identical versions of the bfd.h header file.
-# Lifetime: Permanent.
-Patch15: binutils-use-long-long.patch
+Patch13: binutils-gold-warn-unsupported.patch
 
 # Purpose:  Fix testsuite failures due to the patches applied here.
 # Lifetime: Permanent, but varying with each new rebase.
-Patch16: binutils-testsuite-fixes.patch
+Patch14: binutils-testsuite-fixes.patch
 
 # Purpose:  Enable the creation of .note.gnu.property sections by the GOLD
 #            linker for x86 binaries.
 # Lifetime: Fixed in 2.38 maybe
-Patch17: binutils-gold-i386-gnu-property-notes.patch
-
-# Purpose:  Ensure that the 0'th entry in DWARF-5 directory tables generated
-#            by gas contains the current working directory.
-# Lifetime: Fixed in 2.38
-Patch18: binutils-dwarf-5-dir0.patch
-
-# Purpose:  Ensure that the manual pages are generated.
-# Lifetime: Fixed in 2.38
-#Patch19: binutils-missing-man-pages.patch
-
-# Purpose: Close the file descriptor if there is no archive plugin file
-#          descriptor to avoid running out of file descriptors on thin archives
-#          with many archive members.
-# Lifetime: Fixed in 2.38
-#Patch20: binutils-bfd-close-fds.patch
-
-# Purpose: Allow the binutils to be configured with any (recent) version of
-#          autoconf.
-# Lifetime: Fixed in 2.38 (maybe ?)
-Patch21: binutils-autoconf-version.patch
-
-# Purpose:  Set the entry address of shared libraries to 0, so that they can
-#           be detected by the loader and not run as an executable.
-# Lifetime: Permanent.
-Patch22: binutils-ld-default-entry-of-0-for-shared.patch
+Patch15: binutils-gold-i386-gnu-property-notes.patch
 
-# Purpose:  Fix a seg-fault compiling the efivar libraries.
-# Lifetime: Fixed in 2.38.
-Patch23: binutils-empty-MIND-string.patch
+# Purpose:  Allow the binutils to be configured with any (recent) version of
+#            autoconf.
+# Lifetime: Fixed in 2.39 (maybe ?)
+Patch16: binutils-autoconf-version.patch
 
-# Purpose:  Fix ccache test failure introduced with 2.37
-# Lifetime: Fixed in 2.38.
-Patch24: binutils-gas-Use-the-directory-name-in-.file-0.patch
+# Purpose:  Stop libtool from inserting useless runpaths into binaries.
+# Lifetime: Who knows.
+Patch17: binutils-libtool-no-rpath.patch
 
-#----------------------------------------------------------------------------
+%if %{enable_new_dtags}
+# Purpose:  Change ld man page so that it says that --enable-new-dtags is the default.
+# Lifetime: Permanent
+Patch18: binutils-update-linker-manual.patch
+%endif
+
+# Purpose:  Add a --package-metadata option to the linkers.
+# Lifetime: Fixed in 2.40
+Patch19: binutils-package-metadata.patch
+
+# Purpose:  Stop the assembler from generating DIE information for zero-sized functions.
+# Lifetime: Fixed in 2.40
+#Patch20: binutils-gas-dwarf-skip-empty-functions.patch
 
-Patch1001: binutils-2.26-uio-vine.patch
-Patch2000: CVE-2021-45078.patch
+# Purpose:  Stop an infinite loop in the binutils DWARF decoder.  (CVE 2022-38128)
+# Lifetime: Fixed in 2.40
+Patch21: binutils-CVE-38128-dwarf-abbrev-parsing.patch
+
+#----------------------------------------------------------------------------
 
 %define gold_arches %ix86 x86_64
 
-%if 0%{?_with_debug:1}
+%if %{with debug}
 # Define this if you want to skip the strip step and preserve debug info.
 # Useful for testing.
 %define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
 %define debug_package %{nil}
-%define run_testsuite 0%{?_with_testsuite:1}
-%else
-%define run_testsuite 0%{!?_without_testsuite:1}
 %endif
 
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: texinfo >= 4.0, gettext, flex, bison, zlib-devel
 # Required for: ld-bootstrap/bootstrap.exp bootstrap with --static
 # It should not be required for: ld-elf/elf.exp static {preinit,init,fini} array
-%if %{run_testsuite}
+%if %{with testsuite}
 BuildRequires: dejagnu, zlib-static, glibc-devel, sharutils
 #BuildRequires: dejagnu, zlib-static, glibc-static, sharutils
 %endif
@@ -280,6 +280,19 @@ have a stable ABI.  Developers starting new projects are strongly encouraged
 to consider using libelf instead of BFD.
 
 
+%if %{with gprofng}
+
+%package gprofng
+Summary: Next Generating code profiling tool
+Provides: gprofng = %{version}-%{release}
+Requires: binutils >= %{version}
+
+%description gprofng
+Gprofng is the GNU Next Generation profiler for analyzing the performance 
+of Linux applications.  Gprofng allows you to:
+%endif
+
+
 %debug_package
 
 
@@ -287,8 +300,6 @@ to consider using libelf instead of BFD.
 %setup -q -n binutils-%{version}
 %autopatch -p1
 
-# We cannot run autotools as there is an exact requirement of autoconf-2.59.
-
 # On ppc64 and aarch64, we might use 64KiB pages
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*aarch64.c
@@ -311,19 +322,17 @@ do
   sed -i -e "2aDEJATOOL = $tool" $tool/Makefile.am
   sed -i -e "s/^DEJATOOL = .*/DEJATOOL = $tool/" $tool/Makefile.in
 done
-touch */configure
 # Touch the .info files so that they are newer then the .texi files and
 # hence do not need to be rebuilt.  This eliminates the need for makeinfo.
 # The -print is there just to confirm that the command is working.
 %if %{without docs}
   find . -name *.info -print -exec touch {} \;
 %endif
-
-# revert development mode
-sed -i -e 's/development=true/development=false/' bfd/development.sh
-
-# use newer autoconf
-sed -i -e 's/2\.69/2.71/' config/override.m4
+# If we are creating the docs, touch the texi files so that the info and
+# man pages will be rebuilt.
+%if %{with docs}
+  find . -name *.texi -print -exec touch {} \;
+%endif
 
 
 %build
@@ -331,24 +340,33 @@ echo target is %{binutils_target}
 
 %set_build_flags
 
-# BZ 1541027 - include the linker flags from redhat-rpm-config as well.
-export LDFLAGS=$RPM_LD_FLAGS
+%if %{with debug}
+export CFLAGS="$CFLAGS -O0 -ggdb2 -Wno-error -D_FORTIFY_SOURCE=0"
+%define enable_shared 0
+%endif
+
 %if %{enable_new_dtags}
-export LDFLAGS="$LD_FLAGS -Wl,--enable-new-dtags"
+export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
 %endif
 
-export CFLAGS="$RPM_OPT_FLAGS"
 CARGS=
 
-case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*)
-  CARGS="$CARGS --enable-64-bit-bfd"
-  ;;
-esac
+%if %{with debuginfod}
+CARGS="$CARGS --with-debuginfod"
+%endif
+
+%ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm aarch64 riscv64
+CARGS="$CARGS --enable-64-bit-bfd"
+%endif
 
-case %{binutils_target} in x86_64*|i?86*|arm*|aarch64*)
-  CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
-  ;;
-esac
+# Extra targets to build along with the default one.
+#
+# BZ 1920373: Enable PEP support for all targets as the PERF package's
+# testsuite expects to be able to read PE format files ragrdless of
+# the host's architecture.
+#
+# Also enable the BPF target so that strip will work on BPF files.
+CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
 
 %if %{default_relro}
   CARGS="$CARGS --enable-relro=yes"
@@ -356,22 +374,6 @@ esac
   CARGS="$CARGS --enable-relro=no"
 %endif
 
-%if 0%{?_with_debug:1}
-CFLAGS="$CFLAGS -O0 -ggdb2 -Wno-error -D_FORTIFY_SOURCE=0"
-%define enable_shared 0
-%endif
-
-# Dependencies are not set up to rebuild the configure files
-# in the subdirectories.  So we just rebuild the ones we care
-# about after applying the configure patches
-pushd libiberty
-autoconf
-sed -i -e 's/^ac_aux_dir_candidates=.*$/ac_aux_dir_candidates=../' configure
-popd
-pushd intl
-autoconf
-popd
-
 # We could optimize the cross builds size by --enable-shared but the produced
 # binaries may be less convenient in the embedded environment.
 %configure \
@@ -391,11 +393,21 @@ popd
   --program-prefix=%{cross} \
 %endif
   --with-system-zlib \
+%if %{with gprofng}
+  --enable-gprofng=yes \
+%else
+  --enable-gprofng=no \
+%endif
 %if %{enable_shared}
   --enable-shared \
 %else
   --disable-shared \
 %endif
+%if %{enable_deterministic_archives}
+  --enable-deterministic-archives \
+%else
+  --enable-deterministic-archives=no \
+%endif
 %if %{enable_lto}
   --enable-lto \
 %endif
@@ -417,6 +429,9 @@ popd
   --enable-threads=yes \
 %else
   --enable-threads=no \
+%endif
+%if %{enable_separate_code}
+  --enable-separate-code=yes \
 %endif
   $CARGS \
   --enable-plugins \
@@ -431,20 +446,23 @@ make %{_smp_mflags} tooldir=%{_prefix} info
 %make_build %{_smp_mflags} tooldir=%{_prefix} MAKEINFO=true all
 %endif
 
-# Do not use %%check as it is run after %%install where libbfd.so is rebuild
+# Do not use %%check as it is run after %%install where libbfd.so is rebuilt
 # with -fvisibility=hidden no longer being usable in its shared form.
-%if !%{run_testsuite}
+%if %{without testsuite}
 echo ====================TESTSUITE DISABLED=========================
 %else
+# The GOLD testsuite has lots of problems...
 make -k check < /dev/null || :
 echo ====================TESTING=========================
 cat {gas/testsuite/gas,ld/ld,binutils/binutils}.sum
+%if %{with gold}
 if [ -f gold/test-suite.log ]; then
     cat gold/test-suite.log
 fi
 if [ -f gold/testsuite/test-suite.log ]; then
     cat gold/testsuite/*.log
 fi
+%endif
 echo ====================TESTING END=====================
 for file in {gas/testsuite/gas,ld/ld,binutils/binutils}.{sum,log}
 do
@@ -453,20 +471,22 @@ done
 tar cjf binutils-%{_target_platform}.tar.xz  binutils-%{_target_platform}-*.{sum,log}
 uuencode binutils-%{_target_platform}.tar.xz binutils-%{_target_platform}.tar.xz
 rm -f binutils-%{_target_platform}.tar.xz    binutils-%{_target_platform}-*.{sum,log}
+%if %{with gold}
 if [ -f gold/testsuite/test-suite.log ]; then
   tar cjf  binutils-%{_target_platform}-gold.log.tar.xz gold/testsuite/*.log
   uuencode binutils-%{_target_platform}-gold.log.tar.xz binutils-%{_target_platform}-gold.log.tar.xz
   rm -f    binutils-%{_target_platform}-gold.log.tar.xz
 fi
 %endif
+%endif
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with docs}
-%make_install DESTDIR=%{buildroot}
+%make_install
 %else
-%make_install DESTDIR=%{buildroot} MAKEINFO=true
+%make_install MAKEINFO=true
 %endif
 
 %if %{isnative}
@@ -476,8 +496,9 @@ make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
 
 # Rebuild libiberty.a with -fPIC.
 # Future: Remove it together with its header file, projects should bundle it.
-make -C libiberty clean
-make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
+%make_build -C libiberty clean
+%set_build_flags
+%make_build CFLAGS="-g -fPIC $CFLAGS" -C libiberty
 
 # Rebuild libbfd.a with -fPIC.
 # Without the hidden visibility the 3rd party shared libraries would export
@@ -485,13 +506,25 @@ make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
 make -C bfd clean
 make CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
 
+%if %{enable_new_dtags}
+export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
+%endif
+
+# Rebuild libbfd.a with -fPIC.
+# Without the hidden visibility the 3rd party shared libraries would export
+# the bfd non-stable ABI.
+%make_build -C bfd clean
+%set_build_flags
+%make_build CFLAGS="-g -fPIC $CFLAGS -fvisibility=hidden" -C bfd
+
 # Rebuild libopcodes.a with -fPIC.
-make -C opcodes clean
-make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
+%make_build -C opcodes clean
+%set_build_flags
+%make_build CFLAGS="-g -fPIC $CFLAGS" -C opcodes
 
-install -m 644 bfd/libbfd.a $RPM_BUILD_ROOT%{_libdir}
-install -m 644 libiberty/libiberty.a $RPM_BUILD_ROOT%{_libdir}
-install -m 644 include/libiberty.h $RPM_BUILD_ROOT%{_prefix}/include
+install -m 644 bfd/libbfd.a %{buildroot}%{_libdir}
+install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
+install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
 install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
 # Remove Windows/Novell only man pages
 rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
@@ -501,20 +534,20 @@ rm -f %{buildroot}%{_infodir}/{as,bfd,binutils,gprof,ld}*
 %endif
 
 %if %{enable_shared}
-chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so*
+chmod +x %{buildroot}%{_libdir}/lib*.so*
 %endif
 
 # Prevent programs from linking against libbfd and libopcodes
-# dynamically, as they are change far too often.
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
+# dynamically, as they are changed far too often.
+rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
 
 # Remove libtool files, which reference the .so libs
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bfd,ctf,ctf-nobfd,opcodes}.la
+rm -f %{buildroot}%{_libdir}/*.la
 
+# Fix multilib conflicts of generated values by __WORDSIZE-based expressions.
+%ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm aarch64 riscv64
 # Sanity check --enable-64-bit-bfd really works.
 grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h
-# Fix multilib conflicts of generated values by __WORDSIZE-based expressions.
-%ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm
 sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include <bits/wordsize.h>~;}' \
     -e 's/^#define BFD_DEFAULT_TARGET_SIZE \(32\|64\) *$/#define BFD_DEFAULT_TARGET_SIZE __WORDSIZE/' \
     -e 's/^#define BFD_HOST_64BIT_LONG [01] *$/#define BFD_HOST_64BIT_LONG (__WORDSIZE == 64)/' \
@@ -537,7 +570,7 @@ OUTPUT_FORMAT="\
    on a multi-architecture system.  */
 $(gcc $CFLAGS $LDFLAGS -shared -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | sed -n -f "%{SOURCE2}")"
 
-tee $RPM_BUILD_ROOT%{_libdir}/libbfd.so <<EOH
+tee %{buildroot}%{_libdir}/libbfd.so <<EOH
 /* GNU ld script */
 
 $OUTPUT_FORMAT
@@ -557,26 +590,26 @@ EOH
 %endif # !isnative
 
 # This one comes from gcc
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-rm -rf $RPM_BUILD_ROOT%{_prefix}/%{binutils_target}
-
-%find_lang binutils
-%find_lang opcodes
-%find_lang bfd
-%find_lang gas
-%find_lang gprof
-cat opcodes.lang >> binutils.lang
-cat bfd.lang >> binutils.lang
-cat gas.lang >> binutils.lang
-cat gprof.lang >> binutils.lang
+rm -f %{buildroot}%{_infodir}/dir
+rm -rf %{buildroot}%{_prefix}/%{binutils_target}
+
+%find_lang %{?cross}binutils
+%find_lang %{?cross}opcodes
+%find_lang %{?cross}bfd
+%find_lang %{?cross}gas
+%find_lang %{?cross}gprof
+cat %{?cross}opcodes.lang >> %{?cross}binutils.lang
+cat %{?cross}bfd.lang >> %{?cross}binutils.lang
+cat %{?cross}gas.lang >> %{?cross}binutils.lang
+cat %{?cross}gprof.lang >> %{?cross}binutils.lang
 
 if [ -x ld/ld-new ]; then
-  %find_lang ld
-  cat ld.lang >> binutils.lang
+  %find_lang %{?cross}ld
+  cat %{?cross}ld.lang >> %{?cross}binutils.lang
 fi
 if [ -x gold/ld-new ]; then
-  %find_lang gold
-  cat gold.lang >> binutils.lang
+  %find_lang %{?cross}gold
+  cat %{?cross}gold.lang >> %{?cross}binutils.lang
 fi
 
 /bin/ls %{buildroot}%{_bindir} | sed -e 's|^|%{_bindir}/|' -e '/\/ld$/d' > binutils.list
@@ -586,56 +619,102 @@ fi
 rm -rf $RPM_BUILD_ROOT
 
 
-%post
-%ifarch %gold_arches
-%__rm -f %{_bindir}/ld
-  /sbin/alternatives --install %{_bindir}/ld ld \
-  %{_bindir}/ld.bfd %{ld_bfd_priority}
-  /sbin/alternatives --install %{_bindir}/ld ld \
-  %{_bindir}/ld.gold %{ld_gold_priority}
-  /sbin/alternatives --auto ld 
-%endif
-
 %preun
 %ifarch %gold_arches
 if [ $1 = 0 ]; then
-  /sbi/alternatives --remove ld %{_bindir}/ld.gold
+  /sbin/alternatives --remove ld %{_bindir}/ld.gold
   /sbin/alternatives --remove ld %{_bindir}/ld.bfd
 fi
 %endif
 
+%post
+%__rm -f %{_bindir}/%{?cross}ld
+/sbin/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
+  %{_bindir}/%{?cross}ld.bfd %{ld_bfd_priority}
+%ifarch %gold_arches
+  /sbin/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
+  %{_bindir}/%{?cross}ld.gold %{ld_gold_priority}
+%endif
+
+# Do not run "alternatives --auto ld" here.  Leave the setting to
+# however the user previously had it set.  See BZ 1592069 for more details.
+
+/sbin/ldconfig
+
+exit 0
 
-%files -f binutils.lang -f binutils.list
+
+%files -f binutils.lang
 %license COPYING COPYING3 COPYING3.LIB COPYING.LIB
 %defattr(-,root,root,-)
 %doc README
+%{_bindir}/%{?cross}[!l]*
+%exclude %{_bindir}/gp-*
+%exclude %{_bindir}/gprofng
+# %%verify(symlink) does not work for some reason, so using "owner" instead.
+%verify(owner) %{_bindir}/%{?cross}ld
+%{_bindir}/%{?cross}ld.bfd
 %ifarch %gold_arches
-%ghost %{_bindir}/ld
-%else
-%{_bindir}/ld
+%{_bindir}/%{?cross}ld.gold
+%endif
+
+# # Do not export any Windows tools (if they were built)
+# %%exclude %%{_bindir}/%%{?cross}dll*
+# %%exclude %%{_bindir}/%%{?cross}wind*
+
+%if %{with docs}
+%{_mandir}/man1/
+%exclude %{_mandir}/man1/gp-*
+%exclude %{_mandir}/man1/gprofng*
+%if %{isnative}
+%{_infodir}/as.info.*
+%{_infodir}/binutils.info.*
+%{_infodir}/gprof.info.*
+%{_infodir}/ld.info.*
+%{_infodir}/bfd.info.*
+%{_infodir}/ctf-spec.info.*
+%endif
 %endif
-%{_mandir}/man1/*
+
 %if %{enable_shared}
 %{_libdir}/lib*.so
-%{_libdir}/libctf*.so.*
+%{_libdir}/libctf*
 %exclude %{_libdir}/libbfd.so
 %exclude %{_libdir}/libopcodes.so
-%dir %{_libdir}/bfd-plugins
-%{_libdir}/bfd-plugins/*.so
+%exclude %{_libdir}/libctf.a
+%exclude %{_libdir}/libctf-nobfd.a
+%{_libdir}/bfd-plugins/libdep.so
+%exclude %{_exec_prefix}/lib/debug/%{_libdir}/bfd-plugins/libdep.so-*
 %endif
-%{_infodir}/[^b]*info*
-%{_infodir}/binutils*info*
 
 %files devel
 %defattr(-,root,root)
 %{_prefix}/include/*
+%{_libdir}/lib*.a
 %{_libdir}/libbfd.so
 %{_libdir}/libopcodes.so
-%{_libdir}/lib*.a
-%{_infodir}/bfd*info*
+
+%if %{with gprofng}
+%files gprofng
+%{_bindir}/gp-*
+%{_bindir}/gprofng
+%{_mandir}/man1/gp-*
+%{_mandir}/man1/gprofng*
+%{_infodir}/gprofng.info.*
+%dir %{_libdir}/gprofng
+%{_libdir}/gprofng/*
+%dir %{_exec_prefix}/lib/debug/%{_libdir}/gprofng
+%{_exec_prefix}/lib/debug/%{_libdir}/gprofng/libgp*
+%{_sysconfdir}/gprofng.rc
+%endif
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.39-1
+- updated to 2.39.
+- updated Patch00.
+- re-imported patches from rawhide.
+
 * Sat Jan 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.37-4
 - updated Patch00.
 

+ 5 - 2
c/clang/clang-vl.spec

@@ -14,7 +14,7 @@
 Summary:        A C language family front-end for LLVM
 Summary(ja):    LLVM の C 言語フロントエンド
 Name:           clang
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -152,7 +152,7 @@ A set of extra tools built using Clang's tooling API.
 rm unittests/clang-tidy/ReadabilityModuleTest.cpp
 
 # failing test case
-rm test/clang-tidy/checkers/altera-struct-pack-align.cpp
+#rm test/clang-tidy/checkers/altera-struct-pack-align.cpp
 
 pathfix%{python3_version}.py -i %{__python3} -pn \
 	clang-tidy/tool/*.py \
@@ -352,6 +352,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Wed Jun 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 - dropped patch5.

+ 4 - 1
c/compiler-rt/compiler-rt-vl.spec

@@ -9,7 +9,7 @@
 Summary:        LLVM "compiler-rt" runtime libraries
 Summary(ja):    LLVM "compiler-rt" ランタイムライブラリ
 Name:           compiler-rt
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -113,6 +113,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 - dropped Patch0.

+ 4 - 1
d/docker-ce/docker-ce-vl.spec

@@ -7,7 +7,7 @@
 
 Name: docker-ce
 Summary: The open-source application container engine
-Version: 20.10.12
+Version: 20.10.18
 Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: system,virtualization
 Vendor: Project Vine
@@ -172,6 +172,9 @@ fi
 
 
 %changelog
+* Mon Sep 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.10.18-1
+- new upstream release.
+
 * Tue Dec 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.10.12-1
 - new upstream release.
 

+ 4 - 1
d/docker-compose/docker-compose-vl.spec

@@ -6,7 +6,7 @@
 
 Name: docker-compose
 Summary: Define and run multi-container applications with Docker
-Version: 2.2.2
+Version: 2.10.2
 Release: 1%{?_dist_release}
 Group: admin-tools,virtualization
 Vendor: Project Vine
@@ -54,6 +54,9 @@ install -p -m 755 %{SOURCE2} ./
 
 
 %changelog
+* Mon Sep 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.2-1
+- new upstream release.
+
 * Tue Dec 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.2-1
 - new upstream release.
 

+ 4 - 1
e/elfutils/elfutils-vl.spec

@@ -5,7 +5,7 @@
 Summary: A collection of utilities and DSOs to handle compiled objects
 Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
 Name: elfutils
-Version:        0.185
+Version:        0.187
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -311,6 +311,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.187-1
+- new upstream release.
+
 * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.185-1
 - new upstream release.
 

+ 23 - 21
f/fribidi/fribidi-vl.spec

@@ -1,15 +1,18 @@
 Name: fribidi
-Version: 1.0.9
+Summary: Library implementing the Unicode Bidirectional Algorithm
+Version: 1.0.12
 Release: 1%{?_dist_release}
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: LGPL
 URL: https://github.com/fribidi/fribidi
 Source: https://github.com/fribidi/fribidi/releases/download/v%{version}/%{name}-%{version}.tar.xz
-Summary: Library implementing the Unicode Bidirectional Algorithm
-Group: System Environment/Libraries
+Patch0: fribidi-drop-bundled-gnulib.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: meson
 
 %description
 A library to handle bidirectional scripts (eg. hebrew, arabic), so that
@@ -28,33 +31,30 @@ for the fribidi package.
 Install if you want to develop programs which will use fribidi.
 
 
+%debug_package
+
+
 %prep
-%setup -q
+%autosetup -p1
 
 
 %build
-%configure --disable-static
- 
-make
+%meson -Ddocs=false
+%meson_build
 
 
-%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+%check
+%meson_test
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-# remove empty (compressed) man pages
-find $RPM_BUILD_ROOT%{_mandir}/man3 -type f -empty -exec rm {} \;
+%install
+rm -rf %{buildroot}
+%meson_install
+rm -f %{buildroot}%{_libdir}/*.la
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+rm -rf %{buildroot}
 
 
 %files
@@ -68,11 +68,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root)
 %{_libdir}/*.so
 %{_includedir}/*
-%{_libdir}/pkgconfig/%{name}.pc
-%{_mandir}/man3/%{name}_*.gz
+%{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.12-1
+- new upstream release.
+
 * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
 - new upstream release.
 

+ 60 - 51
g/gcc/gcc-vl.spec

@@ -1,16 +1,16 @@
 %bcond_with check
 
 # version of tarball
-%global gcc_version 11.2.0
-%global gcc_major 11
+%global gcc_version 12.2.0
+%global gcc_major 12
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
-%global gcc_release 3
+%global gcc_release 1
 
 Summary:        GNU Compiler Collection (C, C++, Objective-C, ...)
 Summary(ja):    GNU コンパイラコレクション (C, C++, Objective-C, ...)
 Name:           gcc
-Version:        11.2.1
+Version:        12.2.1
 Release:        %{gcc_release}%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -35,7 +35,7 @@ Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.ta
 %global build_java 0
 %ifarch %{ix86} x86_64 %{arm}
 %global build_go 1
-%global go_soversion 19
+%global go_soversion 21
 %else
 %global build_go 0
 %endif
@@ -115,7 +115,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 # Need binutils which support %gnu_unique_object >= 2.19.51.0.14
 # Need binutils which support .cfi_sections >= 2.19.51.0.14-33
 # Need binutils which support --no-add-needed >= 2.20.51.0.2-12
-BuildRequires: binutils >= 2.20.51.0.2-12
+# Need binutils which support -plugin
+# Need binutils which support .loc view >= 2.30
+# Need binutils which support --generate-missing-build-notes=yes >= 2.31
+BuildRequires: binutils >= 2.31
 # While gcc doesn't include statically linked binaries, during testing
 # -static is used several times.
 BuildRequires: glibc-static
@@ -205,21 +208,21 @@ Obsoletes: libmpx-static < %{version}
 Provides: gcc4 = %{version}-%{release}
 AutoReq: true
 
-Patch0: gcc11-hack.patch
-Patch2: gcc11-sparc-config-detection.patch
-Patch3: gcc11-libgomp-omp_h-multilib.patch
-Patch4: gcc11-libtool-no-rpath.patch
-Patch5: gcc11-isl-dl.patch
-Patch6: gcc11-isl-dl2.patch
-Patch7: gcc11-libstdc++-docs.patch
-Patch8: gcc11-no-add-needed.patch
-Patch9: gcc11-foffload-default.patch
-Patch10: gcc11-Wno-format-security.patch
-Patch11: gcc11-rh1574936.patch
-Patch12: gcc11-d-shared-libphobos.patch
-Patch13: gcc11-pr99341-revert.patch
-
-Patch10000: gcc-11.2-20220129.patch
+Patch0: gcc12-hack.patch
+Patch2: gcc12-sparc-config-detection.patch
+Patch3: gcc12-libgomp-omp_h-multilib.patch
+Patch4: gcc12-libtool-no-rpath.patch
+Patch5: gcc12-isl-dl.patch
+Patch6: gcc12-isl-dl2.patch
+Patch7: gcc12-libstdc++-docs.patch
+Patch8: gcc12-no-add-needed.patch
+Patch9: gcc12-Wno-format-security.patch
+Patch10: gcc12-rh1574936.patch
+Patch11: gcc12-d-shared-libphobos.patch
+Patch12: gcc12-p2327r1.patch
+Patch13: gcc12-pr106590.patch
+
+Patch10000: gcc-12.2-20220908.patch
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
@@ -978,13 +981,12 @@ Go dynamically linked programs.
 %patch7 -p0 -b .libstdc++-docs~
 %endif
 %patch8 -p0 -b .no-add-needed~
-%patch9 -p0 -b .foffload-default~
-%patch10 -p0 -b .Wno-format-security~
-%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
-%patch11 -p0 -b .rh1574936~
-%endif
-%patch12 -p0 -b .d-shared-libphobos~
-%patch13 -p0 -b .pr99341-revert~
+%patch9 -p0 -b .Wno-format-security~
+%patch10 -p0 -b .rh1574936~
+%patch11 -p0 -b .d-shared-libphobos~
+# fixed in upstream
+#patch12 -p0 -b .p2327r1~
+#patch13 -p0 -b .pr106590~
 
 echo 'Vine Linux %{version}-%{gcc_release}' > gcc/DEV-PHASE
 
@@ -1037,7 +1039,7 @@ ISL_FLAG_PIC=-fPIC
 ISL_FLAG_PIC=-fpic
 %endif
 cd isl-build
-sed -i 's|libisl|libgcc11privateisl|g' \
+sed -i 's|libisl|libgcc12privateisl|g' \
   ../../isl-%{isl_version}/Makefile.{am,in}
 ../../isl-%{isl_version}/configure \
   CC=/usr/bin/gcc CXX=/usr/bin/g++ \
@@ -1045,8 +1047,8 @@ sed -i 's|libisl|libgcc11privateisl|g' \
 make %{?_smp_mflags}
 make install
 cd ../isl-install/lib
-rm libgcc11privateisl.so{,.15}
-mv libgcc11privateisl.so.15.3.0 libisl.so.15
+rm libgcc12privateisl.so{,.15}
+mv libgcc12privateisl.so.15.3.0 libisl.so.15
 ln -sf libisl.so.15 libisl.so
 cd ../..
 %endif
@@ -1390,11 +1392,11 @@ ln -sf ../../../libitm.so.1.* libitm.so
 ln -sf ../../../libatomic.so.1.* libatomic.so
 %endif
 %if %{build_libasan}
-ln -sf ../../../libasan.so.6.* libasan.so
+ln -sf ../../../libasan.so.?.* libasan.so
 mv ../../../libasan_preinit.o libasan_preinit.o
 %endif
 %if %{build_libubsan}
-ln -sf ../../../libubsan.so.1.* libubsan.so
+ln -sf ../../../libubsan.so.?.* libubsan.so
 %endif
 else
 %if %{build_objc}
@@ -1416,20 +1418,20 @@ ln -sf ../../../../%{_lib}/libitm.so.1.* libitm.so
 ln -sf ../../../../%{_lib}/libatomic.so.1.* libatomic.so
 %endif
 %if %{build_libasan}
-ln -sf ../../../../%{_lib}/libasan.so.6.* libasan.so
+ln -sf ../../../../%{_lib}/libasan.so.?.* libasan.so
 mv ../../../../%{_lib}/libasan_preinit.o libasan_preinit.o
 %endif
 %if %{build_libubsan}
-ln -sf ../../../../%{_lib}/libubsan.so.1.* libubsan.so
+ln -sf ../../../../%{_lib}/libubsan.so.?.* libubsan.so
 %endif
 %if %{build_libtsan}
 rm -f libtsan.so
-echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.0.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
+echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.?.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
 mv ../../../../%{_lib}/libtsan_preinit.o libtsan_preinit.o
 %endif
 %if %{build_liblsan}
 rm -f liblsan.so
-echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/liblsan.so.0.* | sed 's,^.*libl,libl,'`' )' > liblsan.so
+echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/liblsan.so.?.* | sed 's,^.*libl,libl,'`' )' > liblsan.so
 mv ../../../../%{_lib}/liblsan_preinit.o liblsan_preinit.o
 %endif
 fi
@@ -1561,14 +1563,14 @@ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,
 %endif
 %if %{build_libasan}
 rm -f libasan.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.6.* | sed 's,^.*liba,liba,'`' )' > libasan.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.6.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.?.* | sed 's,^.*liba,liba,'`' )' > libasan.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.?.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
 mv ../../../../lib/libasan_preinit.o 32/libasan_preinit.o
 %endif
 %if %{build_libubsan}
 rm -f libubsan.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libubsan.so.1.* | sed 's,^.*libu,libu,'`' )' > libubsan.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libubsan.so.1.* | sed 's,^.*libu,libu,'`' )' > 32/libubsan.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libubsan.so.?.* | sed 's,^.*libu,libu,'`' )' > libubsan.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libubsan.so.?.* | sed 's,^.*libu,libu,'`' )' > 32/libubsan.so
 %endif
 %if %{build_objc}
 mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
@@ -1697,16 +1699,16 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libitm.so.1.*
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/libatomic.so.1.*
 %endif
 %if %{build_libasan}
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.6.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.?.*
 %endif
 %if %{build_libubsan}
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.?.*
 %endif
 %if %{build_libtsan}
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.?.*
 %endif
 %if %{build_liblsan}
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.*
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.?.*
 %endif
 %if %{build_go}
 # Avoid stripping these libraries and binaries.
@@ -2060,6 +2062,8 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/keylockerintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxvnniintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mwaitintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16vlintrin.h
 %endif
 %ifarch ia64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -2658,7 +2662,7 @@ fi
 %if %{build_libasan}
 %files -n libasan
 %defattr(-,root,root,-)
-%{_prefix}/%{_lib}/libasan.so.6*
+%{_prefix}/%{_lib}/libasan.so.*
 
 %files -n libasan-static
 %defattr(-,root,root,-)
@@ -2684,7 +2688,7 @@ fi
 %if %{build_libtsan}
 %files -n libtsan
 %defattr(-,root,root,-)
-%{_prefix}/%{_lib}/libtsan.so.0*
+%{_prefix}/%{_lib}/libtsan.so.*
 
 %files -n libtsan-static
 %defattr(-,root,root,-)
@@ -2700,7 +2704,7 @@ fi
 %if %{build_libubsan}
 %files -n libubsan
 %defattr(-,root,root,-)
-%{_prefix}/%{_lib}/libubsan.so.1*
+%{_prefix}/%{_lib}/libubsan.so.*
 
 %files -n libubsan-static
 %defattr(-,root,root,-)
@@ -2726,7 +2730,7 @@ fi
 %if %{build_liblsan}
 %files -n liblsan
 %defattr(-,root,root,-)
-%{_prefix}/%{_lib}/liblsan.so.0*
+%{_prefix}/%{_lib}/liblsan.so.*
 
 %files -n liblsan-static
 %defattr(-,root,root,-)
@@ -2909,12 +2913,12 @@ fi
 
 %if %{build_libasan}
 %files -n libasan-32bit
-%{_prefix}/lib/libasan.so.6*
+%{_prefix}/lib/libasan.so.*
 %endif
 
 %if %{build_libubsan}
 %files -n libubsan-32bit
-%{_prefix}/lib/libubsan.so.1*
+%{_prefix}/lib/libubsan.so.*
 %endif
 
 %if %{build_go}
@@ -2926,6 +2930,11 @@ fi
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.2.1-1
+- updated tarball to 12.2.0.
+- re-imported patches from rawhide.
+- imported Patch10000 from upstream (12.2.1).
+
 * Sat Jan 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.2.1-3
 - updated Patch10000.
 

+ 4 - 2
g/gdb/gdb-vl.spec

@@ -1,7 +1,7 @@
 Summary: A GNU source-level debugger for C, C++ and other languages.
 Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
 Name: gdb
-Version: 11.1
+Version: 12.1
 Release: 1%{?_dist_release}
 Group: programming
 Vendor: Project Vine
@@ -16,7 +16,6 @@ BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo expat-devel
 BuildRequires: python3-devel python3-rpm-macros
 BuildRequires: gmp-devel
 BuildRequires: zlib-devel
-Requires: install-info
 
 %description
 GDB, the GNU debugger, allows you to debug programs written in C, C++,
@@ -104,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.1-1
+- new upstream release.
+
 * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.1-1
 - new upstream release.
 - dropped install-info scriptlets.

+ 21 - 19
g/glibc/glibc-vl.spec

@@ -11,14 +11,14 @@
 %define build_compat32 0
 %endif
 
-%define glibcversion 2.34
+%define glibcversion 2.36
 %define glibcsrcdir glibc-%{glibcversion}
 
 Summary: The GNU libc libraries
 Summary(ja): GNU libc ライブラリ
 Name: %{?compat32_prefix}glibc
 Version: %{glibcversion}
-Release: 6%{?_dist_release}%{?with_systemd:.systemd}
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: system%{?compat32_group}
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -65,26 +65,18 @@ rpm.define("__debug_install_post bash " .. wrapper
 %undefine _unique_build_ids
 
 # patch from upstream
-Patch0: glibc-2.34-20220122.patch
+Patch0: glibc-2.36-20220908.patch
 
 # patches from Fedora
-#Patch1: glibc-post_upgrade.patch
-Patch2: glibc-fedora-nscd.patch
 Patch4: glibc-fedora-linux-tcsetattr.patch
-Patch6: glibc-fedora-localedef.patch
 Patch8: glibc-fedora-manual-dircategory.patch
 Patch9: glibc-rh827510.patch
-# needed by build-locale-archive.c
-Patch10: glibc-fedora-locarchive.patch
 Patch13: glibc-fedora-localedata-rh61908.patch
-Patch15: glibc-rh1070416.patch
-Patch16: glibc-nscd-sysconfig.patch
 Patch17: glibc-cs-path.patch
-Patch18: glibc-c-utf8-locale.patch
 Patch23: glibc-python3.patch
-Patch29: glibc-fedora-nsswitch.patch
 
 # patch for Vine
+Patch1000: glibc-fedora-locarchive.patch
 #Patch10001: glibc-2.18-vine-build-env.patch
 
 # security
@@ -191,8 +183,8 @@ BuildRequires: libstdc++-static
 
 BuildRequires: tzdata
 
-%define __find_provides %{SOURCE10}
-%define __find_requires %{SOURCE11}
+#define __find_provides %{SOURCE10}
+#define __find_requires %{SOURCE11}
 %define _filter_GLIBC_PRIVATE 1
 
 %description
@@ -442,7 +434,6 @@ cp -f %{SOURCE1000} ./
 
 
 %build
-
 # We build using the native system compilers.
 GCC=gcc
 GXX=g++
@@ -480,6 +471,7 @@ rpm_inherit_flags \
 	"-Wp,-D_GLIBCXX_ASSERTIONS" \
 	"-fasynchronous-unwind-tables" \
 	"-fstack-clash-protection" \
+	"-fno-omit-frame-pointer" \
 	"-funwind-tables" \
 	"-m31" \
 	"-m32" \
@@ -501,6 +493,7 @@ rpm_inherit_flags \
 	"-mcpu=power8" \
 	"-mcpu=power9" \
 	"-mfpmath=sse" \
+	"-mno-omit-leaf-frame-pointer" \
 	"-msse2" \
 	"-mstackrealign" \
 	"-mtune=generic" \
@@ -626,8 +619,11 @@ pushd build-%{target}
 # Do not use a parallel make here because the hardlink optimization in
 # localedef is not fully reproducible when running concurrently.
 %make_build install_root=%{glibc_sysroot} \
-	install-locales -C ../localedata objdir=`pwd`
+	install-locale-files -C ../localedata objdir=`pwd`
 popd
+# Locale creation via install-locale-files does not group identical files
+# via hardlinks, so we must group them ourselves.
+hardlink -c %{glibc_sysroot}/usr/lib/locale
 %endif
 
 # install_different:
@@ -750,19 +746,21 @@ rm -f locale-archive
 $olddir/build-%{target}/elf/ld.so \
         --library-path $olddir/build-%{target}/ \
         $olddir/build-%{target}/locale/localedef \
+        --alias-file=$olddir/intl/locale.alias \
         --prefix %{glibc_sysroot} --add-to-archive \
-        eo *_*
+        eo syr *_*
 # Setup the locale-archive template for use by glibc-all-langpacks.
 mv locale-archive{,-extra.tmpl}
 $olddir/build-%{target}/elf/ld.so \
         --library-path $olddir/build-%{target}/ \
         $olddir/build-%{target}/locale/localedef \
+        --alias-file=$olddir/intl/locale.alias \
         --prefix %{glibc_sysroot} --add-to-archive \
         ja_JP* en_US*
 mv locale-archive{,.tmpl}
 cp -a locale-archive{.tmpl,-ja.tmpl}
 # Create the file lists for the language specific sub-packages:
-for i in eo *_*
+for i in eo syr *_*
 do
     lang=${i%%_*}
 #    if [ ! -e langpack-${lang}.filelist ]; then
@@ -797,7 +795,7 @@ install -m 644 nscd/nscd.conf %{glibc_sysroot}/etc
 mkdir -p %{glibc_sysroot}%{_tmpfilesdir}
 install -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}
 mkdir -p %{glibc_sysroot}%{_unitdir}
-install -m 644 nscd/nscd.service nscd/nscd.socket %{glibc_sysroot}%{_unitdir}/
+install -m 644 nscd/nscd.service %{glibc_sysroot}%{_unitdir}/
 %else
 mkdir -p %{glibc_sysroot}/etc/rc.d/init.d
 install -m 755 nscd/nscd.init %{glibc_sysroot}/etc/rc.d/init.d/nscd
@@ -1064,6 +1062,7 @@ cat master.filelist \
 	-e 'glibc-benchtests' \
 	-e 'aux-cache' \
 	-e 'build-locale-archive' \
+	-e '/sbin/ldconfig' \
 	> glibc.filelist
 
 # Add specific files:
@@ -1771,6 +1770,9 @@ rm -f *.filelist*
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.36-1
+- updated to 2.36.
+
 * Sat Jan 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.34-6
 - updated Patch0.
 

+ 4 - 1
g/golang/golang-vl.spec

@@ -80,7 +80,7 @@
 Summary:        The Go Programming Language
 Summary(ja):    プログラミング言語 Go
 Name:           golang
-Version:        1.19
+Version:        1.19.1
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -414,6 +414,9 @@ fi
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.19.1-1
+- new upstream release.
+
 * Tue Aug 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.19-1
 - new upstream release.
 

+ 4 - 3
g/gzip/gzip-vl.spec

@@ -1,7 +1,7 @@
 Summary: The GNU data compression program.
 Summary(ja): GNU データ圧縮プログラム
 Name: gzip
-Version: 1.11
+Version: 1.12
 Release: 1%{?_dist_release}
 Group: accessories
 Vendor: Project Vine
@@ -18,8 +18,6 @@ Source101: colorzgrep.sh
 
 Patch1: gnulib.patch
 
-Requires(post): install-info
-Requires(preun): install-info
 Requires: mktemp, less, coreutils
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: texinfo
@@ -113,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12-1
+- new upstream release.
+
 * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11-1
 - new upstream release.
 - dropped install-info scriptlets.

+ 6 - 3
h/help2man/help2man-vl.spec

@@ -1,7 +1,7 @@
 Name:           help2man
 Summary:        Create simple man pages from --help output
 Summary(ja):    --help の出力から簡単なマニュアルページを生成するツール
-Version:        1.48.5
+Version:        1.49.2
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -13,10 +13,9 @@ URL:            https://www.gnu.org/software/help2man/
 Source:         https://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
-Requires:       /sbin/install-info
 Requires:       perl-gettext
 BuildRequires:  perl-gettext
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+#Requires:       perl(:MODULE_COMPAT_%%{perl_abi_version})
 
 %description
 help2man is a script to create simple man pages from the --help and
@@ -91,6 +90,7 @@ rm -fr $RPM_BUILD_ROOT
 %lang(nb) %{_mandir}/nb/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 %lang(pt_BR) %{_mandir}/pt_BR/man1/*
+%lang(ro) %{_mandir}/ro/man1/*
 %lang(ru) %{_mandir}/ru/man1/*
 %lang(sr) %{_mandir}/sr/man1/*
 %lang(sv) %{_mandir}/sv/man1/*
@@ -101,6 +101,9 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.49.2-1
+- new upstream release.
+
 * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.5-1
 - new upstream release.
 - dropped install-info scriptlets.

+ 21 - 44
i/inkscape/inkscape-vl.spec

@@ -1,26 +1,20 @@
-%global page_id  23820
-%global src_suffix 2021-01-15_e86c870879
+%global src_suffix 2022-07-14_9c6d41e410
 
 Name:           inkscape
 Summary:        A Vector Drawing Application
 Summary(ja):    ベクター描画アプリケーション
-Version:        1.0.2
-Release:        2%{?_dist_release}
+Version:        1.2.1
+Release:        1%{?_dist_release}
 Group:          graphics
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        GPLv2+
 URL:            https://inkscape.org/
-Source0:        https://inkscape.org/ja/gallery/item/%{page_id}/inkscape-%{version}.tar.xz
+Source0:        https://media.inkscape.org/dl/resources/file/inkscape-%{version}.tar.xz
 
-# # to fix compile error with poppler>=0.58
-# Patch1000:  poppler-0.58.x.patch
-# Patch1001:  poppler-0.58.x-autotools.patch
-
-# # to fix compile error with poppler>=0.76.0
-# https://gitlab.com/inkscape/inkscape/issues/220
-#Patch1002:  poppler-0.76.x.patch
+# to build with poppler-22.09.0
+Patch1000:      poppler-22.09.0.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
@@ -36,6 +30,7 @@ BuildRequires: gtkmm3-devel
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: lcms2-devel
 BuildRequires: libboost-devel
+BuildRequires: libboost-filesystem
 BuildRequires: libexif-devel
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libpng-devel >= 1.2.0
@@ -71,10 +66,7 @@ Linux/Unix/Windows/Mac で動作します。
 
 %prep
 %setup -q -n %{name}-%{version}_%{src_suffix}
-
-# %patch1000 -p1
-# %patch1001 -p1
-#patch1002 -p1 -b .poppler0.76.x
+%autopatch -p1
 
 # https://bugs.launchpad.net/inkscape/+bug/314381
 # A couple of files have executable bits set,
@@ -88,30 +80,27 @@ dos2unix -k -q share/extensions/*.py
 
 
 %build
-cmake \
-        -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
-        -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-        -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \
+%cmake \
         -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-        -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-        -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
-        -DLIB_INSTALL_DIR:PATH=%{_libdir} \
-        -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-        -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \
 %if "%{_lib}" == "lib64" 
         -DLIB_SUFFIX=64 \
 %endif 
-        -DBUILD_SHARED_LIBS:BOOL=OFF .
+        -DBUILD_SHARED_LIBS:BOOL=OFF
 
-make %{?_smp_mflags}
+%cmake_build
 
 
 %install
 rm -rf %{buildroot}
 
-make install DESTDIR=%{buildroot}
+%cmake_install
 find %{buildroot} -type f -name 'lib*.a' -delete
 
+# Don't install development files for bundled libraries
+rm -r $RPM_BUILD_ROOT%{_includedir}/2geom-1.1.0/
+rm -r $RPM_BUILD_ROOT%{_libdir}/cmake/2Geom
+rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/2geom.pc
+
 rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
 
 %find_lang %{name} --with-man
@@ -125,22 +114,6 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright
 rm -rf %{buildroot}
 
 
-%post 
-/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
-    update-desktop-database -q &> /dev/null
-    touch --no-create %{_iconsdir}/icons/hicolor &> /dev/null
-    gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
-fi
-
-%posttrans
-update-desktop-database -q &> /dev/null
-gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
-
-
 %files -f %{name}.lang -f inkview.lang
 %defattr(-, root, root)
 %license COPYING
@@ -151,6 +124,7 @@ gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
 %{_datadir}/metainfo/org.inkscape.Inkscape.appdata.xml
 %{_datadir}/applications/org.inkscape.Inkscape.desktop
 %{_datadir}/icons/hicolor/*/*/*.png
+%{_datadir}/icons/hicolor/*/*/*.svg
 %{_mandir}/man1/*
 %dir %{_datadir}/bash-completion
 %dir %{_datadir}/bash-completion/completions
@@ -158,6 +132,9 @@ gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
+- new upstream release.
+
 * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-2
 - rebuilt with poppler-21.03.0.
 

+ 16 - 1
k/kernel/kernel-vl.spec

@@ -40,7 +40,7 @@
 # adding some text to the end of the version number.
 #
 %define sublevel 10
-%define patchlevel 140
+%define patchlevel 142
 %define kversion 5.%{sublevel}
 %define rpmversion 5.%{sublevel}.%{patchlevel}
 %define release 1%{?_dist_release}%{?with_systemd:.systemd}
@@ -281,6 +281,13 @@ Patch2301: linux-2.6.23-VMWare5-fix-LSI_emulation.patch
 Patch10000: linux-5.10-LINUX_COMPILER-LANG_C.patch
 Patch10010: linux-5.4_tmon_Makefile.patch
 
+# https://github.com/gregkh/linux/commit/a45b3d6926231c3d024ea0de4f7bd967f83709ee
+Patch10020: libbfd1.patch
+# https://github.com/gregkh/linux/commit/600b7b26c07a070d0153daa76b3806c1e52c9e00
+Patch10021: libbfd2.patch
+# https://github.com/gregkh/linux/commit/cfd59ca91467056bb2c36907b2fa67b8e1af9952
+Patch10022: libbfd3.patch
+
 # Security fix patches
 
 # END OF PATCH DEFINITIONS
@@ -556,6 +563,11 @@ cd linux-%{kversion}
 
 %patch10010 -p1 
 
+# for binutils-2.39
+%patch10020 -p1 
+%patch10021 -p1 
+%patch10022 -p1 
+
 # security fix
 
 
@@ -1194,6 +1206,9 @@ fi
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.142-1
+- updated to 5.10.142.
+
 * Thu Sep 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.140-1
 - updated to 5.10.140.
 

+ 4 - 1
l/lld/lld-vl.spec

@@ -9,7 +9,7 @@
 Summary:        The LLVM Linker
 Summary(ja):    LLVMリンカー
 Name:           lld
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -161,6 +161,9 @@ fi
 
 
 %changelog
+* Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 

+ 4 - 1
l/lldb/lldb-vl.spec

@@ -7,7 +7,7 @@
 Summary:        Next generation high-performance debugger
 Summary(ja):    高性能デバッガー
 Name:           lldb
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -146,6 +146,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 

+ 8 - 2
l/llvm/llvm-vl.spec

@@ -26,7 +26,7 @@
 Summary:        The Low Level Virtual Machine
 Summary(ja):    LLVM - 低レベルバーチャルマシン
 Name:           llvm
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -35,6 +35,7 @@ Distribution:   Vine Linux
 License:        NCSA
 URL:            https://llvm.org/
 Source0:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
+Source1:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
 
 # multilib fixes
 Source10:        llvm-config.h
@@ -133,9 +134,11 @@ Shared libraries for the LLVM compiler infrastructure.
 
 
 %prep
-%setup -q -n llvm-%{version}.src 
+%setup -q -n llvm-%{version}.src -a 1
 %autopatch -p2
 
+mv -f cmake-%{version}.src/Modules/* cmake/modules/
+
 pathfix%{python3_version}.py -i %{__python3} -pn \
 	test/BugPoint/compile-custom.ll.py \
 	tools/opt-viewer/*.py \
@@ -304,6 +307,9 @@ exit 0
 
 
 %changelog
+* Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Wed Jun 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 

+ 4 - 1
lib/libm/libmodsecurity/libmodsecurity-vl.spec

@@ -1,6 +1,6 @@
 Summary:        A library that loads/interprets rules written in the ModSecurity SecRules
 Name:           libmodsecurity
-Version:        3.0.7
+Version:        3.0.8
 Release:        1%{?_dist_release}
 Group:          security
 Vendor:         Project Vine
@@ -98,6 +98,9 @@ applications that use %{name}.
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.8-1
+- new upstream release.
+
 * Tue May 31 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.7-1
 - new upstream release.
 

+ 34 - 7
lib/libo/libomp/libomp-vl.spec

@@ -7,7 +7,7 @@
 Summary:        OpenMP runtime for clang
 Summary(ja):    clang用OpenMPランタイム
 Name:           libomp
-Version:        14.0.5
+Version:        15.0.0
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -16,6 +16,7 @@ Distribution:   Vine Linux
 License:        NCSA
 URL:            https://llvm.org/
 Source0:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/openmp-%{version}.src.tar.xz
+Source1:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
 
 # patches
 Patch0:         0001-PATCH-openmp-CMake-Make-LIBOMP_HEADERS_INSTALL_PATH-.patch
@@ -26,6 +27,7 @@ BuildRequires:  cmake
 BuildRequires:  ninja
 BuildRequires:  libffi-devel >= 3.3
 BuildRequires:  elfutils-libelf-devel
+BuildRequires:  clang-tools-extra
 # The AMDGCN device RTL requires clang and llvm-link to build
 BuildRequires:  clang
 BuildRequires:  llvm
@@ -51,7 +53,9 @@ The package contains the OpenMP header files.
 
 
 %prep
-%autosetup -p2 -n openmp-%{version}.src 
+%autosetup -p2 -n openmp-%{version}.src -a 1
+
+mv -f cmake-%{version}.src/Modules/* cmake/
 
 
 %build
@@ -92,20 +96,40 @@ rm -f %{buildroot}%{_libdir}/libarcher_static.a
 rm -rf %{buildroot}
 
 
+%pre
+if [ -e %{_libdir}/libomptarget.so ]; then
+    rm -f %{_libdir}/libomptarget.so
+fi
+%ifnarch %{ix86} %{arm}
+for f in \
+    %{_libdir}/libomptarget.rtl.amdgpu.so \
+    %{_libdir}/libomptarget.rtl.cuda.so \
+    %{_libdir}/libomptarget.rtl.%{_arch}.so
+do
+    if [ -e $f ]; then
+        rm -f $f
+    fi
+done
+%endif
+
+
 %files
 %license LICENSE.TXT
 %{_libdir}/libarcher.so
 %{_libdir}/libomp.so
 %{_libdir}/libompd.so
-%{_libdir}/libomptarget.so
+%{_libdir}/libomptarget.so*
 %ifnarch %{ix86} %{arm}
-%{_libdir}/libomptarget-new-*.bc
-%{_libdir}/libomptarget.rtl.amdgpu.so
-%{_libdir}/libomptarget.rtl.cuda.so
-%{_libdir}/libomptarget.rtl.%{_arch}.so
+%{_libdir}/libomptarget-*.bc
+%{_libdir}/libomptarget.rtl.amdgpu.so*
+%{_libdir}/libomptarget.rtl.cuda.so*
+%{_libdir}/libomptarget.rtl.%{_arch}.so*
 %endif
 
 %files devel
+%ifnarch %{ix86} %{arm}
+%{_libdir}/libomptarget.devicertl.a
+%endif
 %{_libdir}/clang/%{version}/include/omp.h
 %{_libdir}/clang/%{version}/include/omp-tools.h
 %{_libdir}/clang/%{version}/include/ompt.h
@@ -114,6 +138,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Sep 08 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
+- new upstream release.
+
 * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
 - new upstream release.
 - updated Patch0.

+ 33 - 40
lib/libt/libtool/libtool-vl.spec

@@ -1,12 +1,12 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
-%define gcc_version 11.2.1
+%define gcc_version 12.2.1
 
 Summary: The GNU Portable Library Tool
 Summary(ja): GNU ポータブルライブラリツール
 Name:    libtool
-Version: 2.4.6
-Release: 9%{?_dist_release}
+Version: 2.4.7
+Release: 1%{?_dist_release}
 Group: programming
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -14,27 +14,32 @@ Distribution: Vine Linux
 License: GPLv2+ and LGPLv2+ and GFDL
 URL:     http://www.gnu.org/software/libtool/
 Source:  http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
-Patch0:  libtool-2.4.6-rpath.patch
 
-# ~> downstream (TODO)
-Patch1: libtool-2.4.6-am-1.16-test.patch
-
-# ~> upstream 702a97fbb
-Patch2: libtool-2.4.6-specs.patch
+# ~> downstream
+# ~> remove possibly once #1158915 gets fixed somehow
+Patch0:  libtool-2.4.5-rpath.patch
 
 # See the rhbz#1289759 and rhbz#1214506.  We disable hardening namely because
 # that bakes the CFLAGS/LDFLAGS into installed /bin/libtool and ltmain.sh files.
-
 # At the same time we want to have libltdl.so hardened.  Downstream-only patch.
 %undefine _hardened_build
-Patch3: libtool-2.4.6-hardening.patch
-
-# rhbz#1622611, upstream 350082b6aa89f9ef603fcebbb4cf33f15a743f2f
-Patch4: libtool-2.4.6-fatal-handler.patch
+Patch1: libtool-2.4.6-hardening.patch
+
+# The testsuite seems to not properly handle template instantiation and as
+# a result fails.  libtool itself appears to be OK from my by-hand testing. (by Jeff Law)
+# Disable LTO for link-order2 test (Related: #1988112)
+Patch2: libtool-2.4.6-disable-lto-link-order2.patch
+# non-PIC libraries are not supported on ARMv7
+# Since we removed "-fPIC" from global CFLAGS this test fails on this arch (as expected)
+# Please refer to the following ticket regarding PIC support on ARM:
+# https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/503448
+Patch3: libtool-2.4.6-disable_non-pic_arm.patch
+
+# rhbz#2047389, patch sent upstream
+# https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html
+Patch4: libtool-2.4.6-keep-compiler-deps.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires(post):  /sbin/install-info
-Requires(preun): /sbin/install-info
 
 BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo, help2man
 Requires: autoconf >= 2.58, automake >= 1.4
@@ -141,25 +146,18 @@ Static libraries and header files for development with ltdl.
 
 
 %prep
-%setup -q
-%patch0 -p1 
-%patch1 -p1 
-%patch2 -p1 
-%patch3 -p1 
-%patch4 -p1 
+%autosetup -p1
+
+autoreconf -v
 
 
 %build
-autoreconf -v
 
-export CC=gcc
-export CXX=g++
-export F77=gfortran
-export CFLAGS="$RPM_OPT_FLAGS -fPIC"
-# dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead:
-./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
-# build not smp safe:
-make #%{?_smp_mflags}
+%configure
+
+%make_build \
+    CUSTOM_LTDL_CFLAGS="%{?_hardening_cflags}" \
+    CUSTOM_LTDL_LDFLAGS="%{?_hardening_ldflags}"
 
 
 #check
@@ -177,15 +175,6 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
 rm -rf %{buildroot}
 
 
-%post
-/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :
-
-%preun
-if [ "$1" = 0 ]; then
-   /sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir || :
-fi
-
-
 %files
 %defattr(-,root,root)
 %license COPYING
@@ -223,6 +212,10 @@ fi
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
+- new upstream release.
+- dropped install-info scriptltes.
+
 * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-9
 - rebuilt with gcc-11.2.1.
 

+ 4 - 1
m/meson/meson-vl.spec

@@ -5,7 +5,7 @@
 Name:           meson
 Summary:        High productivity build system
 Summary(ja):    高生産性ビルドシステム
-Version:        0.63.1
+Version:        0.63.2
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -85,6 +85,9 @@ python3 ./run_tests.py ||:
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.63.2-1
+- new upstream release.
+
 * Thu Aug 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.63.1-1
 - new upstream release.
 

+ 29 - 20
p/perl-gettext/perl-gettext-vl.spec

@@ -1,38 +1,42 @@
 %define PackageName gettext
 
-Name: perl-%{PackageName}
-Version: 1.07
-Release: 1%{?_dist_release}
-Summary: Interface to gettext family of functions
-
-Group: Development/Libraries
-License: GPL or Artistic
-Source: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
-URL:    http://search.cpan.org/~pvandry/gettext/
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gettext
-Requires:	gettext
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-Obsoletes: perl-Locale-gettext <= 1.05
-
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: daisuke, inagaki, iwaim
+Name:           perl-%{PackageName}
+Summary:        Interface to gettext family of functions
+Version:        1.07
+Release:        2%{?_dist_release}
+Group:          programming
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Packager:       daisuke, inagaki, iwaim
+
+License:        GPL or Artistic
+Source:         http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
+URL:            http://search.cpan.org/~pvandry/gettext/
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  gettext
+Requires:       gettext
+Requires:       perl(:MODULE_COMPAT_%{perl_abi_version})
+
+Obsoletes:      perl-Locale-gettext <= 1.05
 
 %description
 Perl module gettext - This module give acces to the C library functions
 for internatialization gettext.
 
 
+%debug_package
+
+
 %prep
 %setup -q -n Locale-%{PackageName}-%{version}
 
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
+
 %install
 rm -rf %{buildroot}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -41,6 +45,7 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
+
 %check
 unset LC_MESSAGES
 case "$LANG" in
@@ -49,6 +54,7 @@ case "$LANG" in
 esac
 make test
 
+
 %clean
 rm -rf %{buildroot}
 
@@ -62,6 +68,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-2
+- rebuilt with perl-5.34.
+
 * Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-1
 - new upstream release.
 - rebuilt with perl-5.26.

+ 6 - 6
p/poppler/poppler-vl.spec

@@ -3,7 +3,7 @@
 Name:           poppler
 Summary:        PDF rendering library.
 Summary(ja):    PDF レンダリング用ライブラリ
-Version:        21.03.0
+Version:        22.09.0
 Release:        1%{?_dist_release}
 Group:          system
 
@@ -16,7 +16,6 @@ URL:            https://poppler.freedesktop.org/
 Source0:        https://poppler.freedesktop.org/%{name}-%{version}.tar.xz
 
 # https://bugzilla.redhat.com/show_bug.cgi?id=1185007
-Patch4:         poppler-0.30.0-rotated-words-selection.patch
 Patch5:         poppler-0.90.0-position-independent-code.patch
 Patch6:         poppler-21.01.0-glib-introspection.patch
 
@@ -148,10 +147,6 @@ chmod -x poppler/CairoFontEngine.cc
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 
-%ldconfig_scriptlets
-%ldconfig_scriptlets qt5
-
-
 %files
 %defattr(-,root,root)
 %license COPYING*
@@ -190,6 +185,11 @@ chmod -x poppler/CairoFontEngine.cc
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 22.09.0-1
+- new upstream release.
+- dropped Patch4.
+- dropped ldconfig scriptlets.
+
 * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.03.0-1
 - new upstream release.
 - dropped Qt4 support.

+ 4 - 1
r/rsync/rsync-vl.spec

@@ -1,7 +1,7 @@
 %bcond_with systemd
 
 %define ver 3.2.5
-%define prerelease pre2
+#define prerelease pre2
 
 Summary:     A program for synchronizing files over a network.
 Summary(ja): ネットワーク越しにファイルを同期させるプログラム
@@ -151,6 +151,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.5-1
+- updated to 3.2.5.
+
 * Wed Aug 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.5~pre2-1
 - updated to 3.2.5pre2.
 - dropped Patch0.

+ 15 - 8
v/valgrind/valgrind-vl.spec

@@ -29,8 +29,8 @@
 Summary:        Tool for finding memory management bugs in programs
 Summary(ja):    プログラムのメモリ管理バグを発見するためのツール
 Name:           valgrind
-Version:        3.17.0
-Release:        2%{?_dist_release}
+Version:        3.19.0
+Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -42,17 +42,20 @@ Source0:        https://sourceware.org/pub/valgrind/%{name}-%{version}.tar.bz2
 # Needs investigation and pushing upstream
 Patch1: valgrind-3.9.0-cachegrind-improvements.patch
 
-# KDE#211352 - helgrind races in helgrind's own mythread_wrapper
-Patch2: valgrind-3.9.0-helgrind-race-supp.patch
-
 # Make ld.so supressions slightly less specific.
-Patch3: valgrind-3.9.0-ldso-supp.patch
+Patch2: valgrind-3.9.0-ldso-supp.patch
 
 # Add some stack-protector
-Patch4: valgrind-3.16.0-some-stack-protector.patch
+Patch3: valgrind-3.16.0-some-stack-protector.patch
 
 # Add some -Wl,z,now.
-Patch5: valgrind-3.16.0-some-Wl-z-now.patch
+Patch4: valgrind-3.16.0-some-Wl-z-now.patch
+
+# KDE#434764 # iconv_open causes ld.so v2.28+ to execute optimised strncmp
+Patch5: valgrind-3.19.0-ld-so-strncmp.patch
+
+# KDE#454040 s390x: False-positive memcheck:cond in memmem on arch13 systems
+Patch6: valgrind-3.19.0-s390x-memmem.patch
 
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 %if %{build_multilib}
@@ -365,6 +368,10 @@ echo ===============END TESTING===============
 
 
 %changelog
+* Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.19.0-1
+- new upstream release.
+- re-imported all patches from rawhide.
+
 * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.17.0-2
 - rebuilt with current environment.
 

+ 8 - 2
v/vim/vim-vl.spec

@@ -2,8 +2,8 @@
 
 # version, patch version
 %define vimversion	9.0
-%define vimsrcpversion	0260
-%define vimpversion	0260
+%define vimsrcpversion	0437
+%define vimpversion	0437
 
 %define vimsubdir	vim%(echo %{vimversion} | sed -e's/\\.//')
 #define vimdir		%{vimsubdir}
@@ -787,6 +787,12 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Sep 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0437-1
+- new upstream release.
+
+* Fri Sep 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0354-1
+- new upstream release.
+
 * Thu Aug 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0260-1
 - new upstream release.