ソースを参照

updated 5 packages

duktape-2.7.0-1

gjs-1.81.1-1

kernel-6.6.41-1

mozjs115-115.13.0-1

polkit-124-1
Tomohiro "Tomo-p" KATO 4 ヶ月 前
コミット
0e1fb24582
5 ファイル変更140 行追加50 行削除
  1. 70 0
      d/duktape/duktape-vl.spec
  2. 5 8
      g/gjs/gjs-vl.spec
  3. 4 1
      k/kernel/kernel-vl.spec
  4. 19 2
      m/mozjs115/mozjs115-vl.spec
  5. 42 39
      p/polkit/polkit-vl.spec

+ 70 - 0
d/duktape/duktape-vl.spec

@@ -0,0 +1,70 @@
+Name:           duktape
+Version:        2.7.0
+Release:        1%{?_dist_release}
+Summary:        Embeddable Javascript engine
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        MIT
+URL:            http://duktape.org/
+Source0:        http://duktape.org/%{name}-%{version}.tar.xz
+Source1000:     ChangeLog.fedora
+Patch0:         duktape-2.7.0-link-against-libm.patch
+
+BuildRequires:  gcc
+BuildRequires:  pkgconfig
+BuildRequires:  make
+
+%description
+Duktape is an embeddable Javascript engine, with a focus on portability and
+compact footprint.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          programming
+Requires:       %{name} = %{version}
+
+%description    devel
+Embeddable Javascript engine.
+
+This package contains header files and libraries needed to develop
+application that use %{name}.
+
+
+%debug_package
+
+
+%prep
+%autosetup -p1
+
+cp -f %{SOURCE1000} ./
+
+
+%build
+%make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
+
+
+%install
+%make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
+
+
+%files
+%license LICENSE.txt
+%doc AUTHORS.rst ChangeLog.fedora
+%{_libdir}/libduktape.so.*
+%{_libdir}/libduktaped.so.*
+
+%files devel
+%doc examples/ README.rst
+%{_includedir}/duk_config.h
+%{_includedir}/duktape.h
+%{_libdir}/libduktape.so
+%{_libdir}/libduktaped.so
+%{_libdir}/pkgconfig/duktape.pc
+
+
+%changelog
+* Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7.0-1
+- initial build for Vine Linux.

+ 5 - 8
g/gjs/gjs-vl.spec

@@ -1,9 +1,9 @@
-%define mozjs mozjs102
+%define mozjs mozjs115
 
 Summary:        Javascript binding for GNOME
 Summary(ja):    GNOME 向け JavaScript バインディング
 Name:           gjs
-Version:        1.75.1
+Version:        1.81.1
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -69,12 +69,7 @@ Development files of the gjs library.
 #{__make} %{?_smp_mflags} check
 
 
-%clean
-%{__rm} -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root)
 %license COPYING
 %doc ChangeLog NEWS README
 %{_bindir}/gjs*
@@ -82,7 +77,6 @@ Development files of the gjs library.
 %{_libdir}/gjs/*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/gjs-1.0
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
@@ -94,6 +88,9 @@ Development files of the gjs library.
 
 
 %changelog
+* Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.81.1-1
+- new upstream release.
+
 * Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.75.1-1
 - new upstream release.
 

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

@@ -44,7 +44,7 @@
 #
 %define majorver 6
 %define sublevel 6
-%define patchlevel 40
+%define patchlevel 41
 %define kversion %{majorver}.%{sublevel}
 %define rpmversion %{majorver}.%{sublevel}.%{patchlevel}
 %define release 1%{?_dist_release}%{?with_systemd:.systemd}
@@ -1192,6 +1192,9 @@ fi
 
 
 %changelog
+* Fri Jul 19 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.6.41-1
+- updated to 6.6.41.
+
 * Mon Jul 15 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.6.40-1
 - updated to 6.6.40.
 

+ 19 - 2
m/mozjs115/mozjs115-vl.spec

@@ -1,7 +1,13 @@
 %global major 115
 
+%bcond_with bootstrap
+%if %{with bootstrap}
+%define bootstrap_number 1
+%else
 # LTO - Enable in Release builds, but consider disabling for development as it increases compile time
 %global build_with_lto    1
+%endif
+
 
 # Require tests to pass?
 %global require_tests     0
@@ -18,8 +24,8 @@
 %endif
 
 Name:           mozjs%{major}
-Version:        115.4.0
-Release:        1%{?_dist_release}
+Version:        115.13.0
+Release:        1%{?with_bootstrap:~bootstrap%{bootstrap_number}}%{?_dist_release}
 Summary:        SpiderMonkey JavaScript library
 
 License:        MPL-2.0 AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0-or-later
@@ -55,6 +61,9 @@ Patch20:        spidermonkey_checks_disable.patch
 # s390x/ppc64 fixes
 Patch21:        0001-Skip-failing-tests-on-ppc64-and-s390x.patch
 
+# Tests Fixes
+Patch30:        tests-Replace-pipes-with-shlex-for-Python-3.13.patch
+
 BuildRequires:  cargo
 BuildRequires:  ccache
 BuildRequires:  clang-devel
@@ -80,6 +89,11 @@ BuildRequires:  readline-devel
 BuildRequires:  wget
 BuildRequires:  zip
 
+%if %{without bootstrap}
+Obsoletes: mozjs78 < 115.0.0
+Obsoletes: mozjs102 < 115.0.0
+%endif
+
 %description
 SpiderMonkey is the code-name for Mozilla Firefox's C++ implementation of
 JavaScript. It is intended to be embedded in other applications
@@ -237,6 +251,9 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
 
 
 %changelog
+* Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 115.13.0-1
+- new upstream release.
+
 * Wed Nov 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 115.4.0-1
 - new upstream release.
 

+ 42 - 39
p/polkit/polkit-vl.spec

@@ -3,24 +3,27 @@
 Summary: PolicyKit Authorization Framework
 Summary(ja): PolicyKit 認証フレームワーク
 Name: polkit
-Version: 0.120
-Release: 2%{?_dist_release}%{?with_systemd:.systemd}
+Version: 124
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: LGPLv2+
 URL: https://www.freedesktop.org/wiki/Software/polkit
-Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.gz
-Patch0: polkit-0.115-elogind.patch
-Patch1001: CVE-2021-4034.patch
-Patch1002: CVE-2021-4115.patch
+Source0: https://github.com/polkit-org/polkit/archive/refs/tags/%{version}.tar.gz
+Source1: polkit.sysusers
+Patch1: no-session-for-cookie.patch
+Patch2: pkttyagent-coredump-after-eof.patch
+Patch3: session-monitor-watch-sessions-only.patch
+Patch4: pkpermission-watch-changed-ssn-only.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: meson
 BuildRequires: glib2-devel
 BuildRequires: expat-devel
 BuildRequires: pam-devel
-BuildRequires: mozjs78-devel
+BuildRequires: duktape-devel
 BuildRequires: gtk-doc
 BuildRequires: intltool
 BuildRequires: gobject-introspection-devel
@@ -77,50 +80,50 @@ Development documentation for PolicyKit.
 
 
 %prep
-%setup -q
-%if !%{with systemd}
-%patch0 -p1
+%autosetup -p1
+
+%if %{without systemd}
+sed -i -e '/systemd_sysusers_dir = /d' meson.build
 %endif
-%patch1001 -p1
-%patch1002 -p1
 
 
 %build
-autoreconf -vif
-%configure \
-	--with-os-type=redhat \
-	--enable-gtk-doc \
-	--disable-static \
-	--libexecdir=%{_libexecdir}/polkit-1 \
-	--enable-introspection \
+%meson \
+	-D authfw=pam \
+	-D examples=false \
+	-D gtk_doc=true \
+	-D introspection=true \
+	-D man=true \
 %if %{with systemd}
-	--enable-libsystemd-login=yes \
+	-D session_tracking=libsystemd-login \
 %else
-	--enable-libelogind=yes \
+	-D session_tracking=libelogind \
 %endif
-	--enable-examples
+	-D tests=false
 
-make %{?_smp_mflags}
+%meson_build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%meson_install
+%if %{with systemd}
+install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/polkit.conf
+%endif
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
+mv -f %{buildroot}%{_prefix}/lib/pam.d %{buildroot}%{_sysconfdir}/
+rm -f %{buildroot}%{_libdir}/*.la
 
 %find_lang polkit-1
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %pre
+%if %{with systemd}
+%sysusers_create_compat %{SOURCE1}
+%else
 groupadd -g 27 -r polkitd >/dev/null 2>&1 || :
 useradd -u 27 -g polkitd -r -d '/' -s /sbin/nologin -c "User for polkitd" polkitd >/dev/null 2>&1 || :
 exit 0
+%endif
 
 %post
 %if %{with systemd}
@@ -139,22 +142,23 @@ exit 0
 
 
 %files -f polkit-1.lang
-%defattr(-,root,root,-)
 %license COPYING
-%doc NEWS README
+%doc NEWS.md README.md
 %{_libdir}/lib*.so.*
 %{_datadir}/man/man1/*
 %{_datadir}/man/man8/*
 %{_datadir}/dbus-1/system-services/*
 %if %{with systemd}
 %{_unitdir}/polkit.service
+%{_sysusersdir}/polkit.conf
 %endif
 %dir %{_datadir}/polkit-1/
 %dir %{_datadir}/polkit-1/actions
-%attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
 %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy
+%attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
+%{_datadir}/polkit-1/rules.d/50-default.rules
+%{_datadir}/polkit-1/policyconfig-1.dtd
 %dir %{_sysconfdir}/polkit-1
-%{_sysconfdir}/polkit-1/rules.d/50-default.rules
 %attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
 %dir %{_datadir}/dbus-1
 %dir %{_datadir}/dbus-1/system.d
@@ -172,23 +176,22 @@ exit 0
 %attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
 
 %files devel
-%defattr(-,root,root,-)
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
 %{_datadir}/gir-1.0/*.gir
 %{_includedir}/*
-%{_bindir}/pk-example-frobnicate
-%{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
 %dir %{_datadir}/gettext
 %dir %{_datadir}/gettext/its
 %{_datadir}/gettext/its/*
 
 %files docs
-%defattr(-,root,root,-)
 %{_datadir}/gtk-doc/html/*
 
 
 %changelog
+* Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 124-1
+- new upstream release.
+
 * Sat Mar 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.120-2
 - imported Patch1002 from upstream to fix CVE-2021-4115.