Browse Source

updated 4 packages

libnsl2-1.3.0-2

libtirpc-1.3.2-1

libxcrypt-4.4.24-1

pam-1.5.1-2
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
d4cb39387a

+ 4 - 1
lib/libn/libnsl2/libnsl2-vl.spec

@@ -1,7 +1,7 @@
 Summary:      Public client interface library for NIS(YP) and NIS+
 Name:         libnsl2
 Version:      1.3.0
-Release:      1%{?_dist_release}
+Release:      2%{?_dist_release}
 Group:        system
 Vendor:       Project Vine
 Distribution: Vine Linux
@@ -66,6 +66,9 @@ rm %{buildroot}/%{_libdir}/libnsl.la
 
 
 %changelog
+* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-2
+- rebuilt with current toolchain.
+
 * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
 - new upstream release.
 - dropped Patch1-4.

+ 5 - 2
lib/libt/libtirpc/libtirpc-vl.spec

@@ -1,8 +1,8 @@
 %define _root_libdir    /%{_lib}
 
 Name:		libtirpc
-Version:	1.3.1
-Release:	2%{?_dist_release}
+Version:	1.3.2
+Release:	1%{?_dist_release}
 Summary:	Transport Independent RPC Library
 Group:		system
 Vendor:		Project Vine
@@ -128,6 +128,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
+- new upstream release.
+
 * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-2
 - rebuilt with gcc-10.3.
 - dropped ldconfig scriptlets.

+ 10 - 4
lib/libx/libxcrypt/libxcrypt-vl.spec

@@ -7,7 +7,7 @@
 
 Name:           libxcrypt
 Summary:        Extended crypt library for descrypt, md5crypt, bcrypt, and others
-Version:        4.4.19
+Version:        4.4.24
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -55,7 +55,7 @@ Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 # Hash methods and API supported by libcrypt.
 # NEVER EVER touch this, if you do NOT know what you are doing!
 %if %{with new_api}
-%global hash_methods   fedora,glibc,strong
+%global hash_methods   all
 %global obsolete_api   no
 %if %{with compat_pkg}
 %global compat_methods glibc
@@ -116,6 +116,9 @@ BuildRequires:  glibc-debuginfo
 # We need a version of glibc, that doesn't build libcrypt anymore.
 Requires:       glibc%{?_isa}           >= 2.26.9000-46
 
+# libxcrypt >= 4.4.22 is not compatible with pam < 1.5.1-2
+Conflicts: pam < 1.5.1-2
+
 %if 0%{?fedora} >= 30
 Recommends:     mkpasswd
 %endif
@@ -198,7 +201,7 @@ discouraged.
 
 %package -n     compat32-%{name}
 Summary:        Extended crypt library for descrypt, md5crypt, bcrypt, and others
-Group:          system
+Group:          system,legacy
 
 %description -n compat32-%{name}
 libxcrypt is a modern library for one-way hashing of passwords.  It
@@ -229,7 +232,7 @@ that have been provided by glibc's libcrypt.so.1.
 
 %package -n     compat32-%{name}-devel
 Summary:        Development files for cpmpat32-%{name}
-Group:          programming
+Group:          programming,legacy
 
 Requires:       %{name}-devel        == %{version}-%{release}
 Requires:       compat32-glibc-devel
@@ -381,6 +384,9 @@ done
 
 
 %changelog
+* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.24-1
+- new upstream release.
+
 * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.19-1
 - new upstream release.
 - dropped ldconfig scriptlets.

+ 12 - 10
p/pam/pam-vl.spec

@@ -8,7 +8,7 @@ Summary: A security tool which provides authentication for applications
 Summary(ja): アプリケーションに認証の仕組みを提供するセキュリティツール
 Name: pam
 Version: 1.5.1
-Release: 1%{?_dist_release}%{?with_systemd:.systemd}
+Release: 2%{?_dist_release}%{?with_systemd:.systemd}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -38,6 +38,10 @@ Source18: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 Patch1:  pam-1.5.0-redhat-modules.patch
 Patch2:  pam-1.5.0-noflex.patch
 Patch3:  pam-1.3.0-unix-nomsg.patch
+# https://github.com/linux-pam/linux-pam/pull/368
+Patch4: pam-1.5.1-no_crypt_checksalt_for_pw_expiration.patch
+# https://github.com/linux-pam/linux-pam/commit/ec0e724fe53188c5c762c34ca9db6681c0de01b8
+Patch5:  pam-1.5.1-pam_filter_close_file_after_controlling_tty.patch
 
 Patch1000: pam-1.5.1-ja.po.patch
 
@@ -169,6 +173,8 @@ cp %{SOURCE18} .
 %patch1 -p1 -b .redhat-modules
 %patch2 -p1 -b .noflex
 %patch3 -p1 -b .nomsg
+%patch4 -p1 -b .no_crypt_checksalt_for_pw_expiration
+%patch5 -p1 -b .pam_filter_close_file_after_controlling_tty
 
 %patch1000 -p1 -b .ja
 
@@ -331,14 +337,6 @@ if posix.access("/etc/rc.d/init.d/sshd", "x") then
   os.execute("/etc/rc.d/init.d/sshd condrestart")
 end
 
-%preun
-
-%postun -p /sbin/ldconfig
-
-%post -n compat32-%{name} -p /sbin/ldconfig
-
-%postun -n compat32-%{name} -p /sbin/ldconfig
-
 
 %files -f Linux-PAM.lang
 %defattr(-,root,root)
@@ -367,7 +365,7 @@ end
 %attr(0700,root,root) %{_sbindir}/unix_update
 %attr(0755,root,root) %{_sbindir}/mkhomedir_helper
 %attr(0755,root,root) %{_sbindir}/pwhistory_helper
-%if %{_lib} != lib
+%if "%{_lib}" != "lib"
 %dir /lib/security
 %endif
 %dir %{_moduledir}
@@ -550,6 +548,10 @@ end
 
 
 %changelog
+* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.1-2
+- imported Patch4 from upstream for libxcrypt >= 4.4.22.
+- imported Patch5 from upstream.
+
 * Wed Dec 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.1-1
 - updated to 1.5.1.
 - updated pam-redhat to 1.1.4.