|
@@ -4,7 +4,7 @@ Summary: Utilities for managing accounts and shadow password files.
|
|
Summary(ja): シャドウパスワードファイルとアカウントを管理するユーティリティ
|
|
Summary(ja): シャドウパスワードファイルとアカウントを管理するユーティリティ
|
|
Name: shadow-utils
|
|
Name: shadow-utils
|
|
Epoch: 2
|
|
Epoch: 2
|
|
-Version: 4.12.3
|
|
+Version: 4.13
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -12,7 +12,8 @@ Distribution: Vine Linux
|
|
|
|
|
|
License: BSD and GPLv2+
|
|
License: BSD and GPLv2+
|
|
URL: https://github.com/shadow-maint/shadow
|
|
URL: https://github.com/shadow-maint/shadow
|
|
-Source0: https://github.com/shadow-maint/shadow/releases/download/v%{version}/shadow-%{version}.tar.xz
|
|
+Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz
|
|
|
|
+
|
|
Source1: shadow-utils.login.defs
|
|
Source1: shadow-utils.login.defs
|
|
Source2: shadow-utils.useradd
|
|
Source2: shadow-utils.useradd
|
|
Source3: shadow-bsd.txt
|
|
Source3: shadow-bsd.txt
|
|
@@ -21,30 +22,19 @@ Source4: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
### Patches ###
|
|
### Patches ###
|
|
# Misc small changes - most probably non-upstreamable
|
|
# Misc small changes - most probably non-upstreamable
|
|
Patch0: shadow-4.12.3-redhat.patch
|
|
Patch0: shadow-4.12.3-redhat.patch
|
|
-# Be more lenient with acceptable user/group names - non upstreamable
|
|
|
|
-Patch1: shadow-4.12.3-goodname.patch
|
|
|
|
# SElinux related - upstreamability unknown
|
|
# SElinux related - upstreamability unknown
|
|
-Patch3: shadow-4.9-default-range.patch
|
|
+Patch3: shadow-4.13-default-range.patch
|
|
# Misc manual page changes - non-upstreamable
|
|
# Misc manual page changes - non-upstreamable
|
|
Patch4: shadow-4.9-manfix.patch
|
|
Patch4: shadow-4.9-manfix.patch
|
|
# Date parsing improvement - could be upstreamed
|
|
# Date parsing improvement - could be upstreamed
|
|
Patch5: shadow-4.2.1-date-parsing.patch
|
|
Patch5: shadow-4.2.1-date-parsing.patch
|
|
-# Additional error message - could be upstreamed
|
|
|
|
-Patch6: shadow-4.6-move-home.patch
|
|
|
|
# Audit message changes - upstreamability unknown
|
|
# Audit message changes - upstreamability unknown
|
|
Patch7: shadow-4.11.1-audit-update.patch
|
|
Patch7: shadow-4.11.1-audit-update.patch
|
|
# Changes related to password unlocking - could be upstreamed
|
|
# Changes related to password unlocking - could be upstreamed
|
|
Patch8: shadow-4.5-usermod-unlock.patch
|
|
Patch8: shadow-4.5-usermod-unlock.patch
|
|
# Additional SElinux related changes - upstreamability unknown
|
|
# Additional SElinux related changes - upstreamability unknown
|
|
Patch9: shadow-4.12.3-selinux-perms.patch
|
|
Patch9: shadow-4.12.3-selinux-perms.patch
|
|
-# Handle NULL return from *time funcs - upstreamable
|
|
+Patch10: shadow-utils-configure-gshadow.patch
|
|
-Patch10: shadow-4.11.1-null-tm.patch
|
|
|
|
-# Handle /etc/passwd corruption - could be upstreamed
|
|
|
|
-Patch11: shadow-4.12.3-long-entry.patch
|
|
|
|
-# Limit uid/gid allocation to non-zero - could be upstreamed
|
|
|
|
-Patch12: shadow-4.6-sysugid-min-limit.patch
|
|
|
|
-# Ignore LOGIN_PLAIN_PROMPT in login.defs - upstreamability unknown
|
|
|
|
-Patch13: shadow-4.8-ignore-login-prompt.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc
|
|
@@ -108,20 +98,15 @@ Development files for shadow-utils-subid.
|
|
%prep
|
|
%prep
|
|
%setup -q -n shadow-%{version}
|
|
%setup -q -n shadow-%{version}
|
|
%patch0 -p1 -b .redhat
|
|
%patch0 -p1 -b .redhat
|
|
-%patch1 -p1 -b .goodname
|
|
|
|
%patch3 -p1 -b .default-range
|
|
%patch3 -p1 -b .default-range
|
|
%patch4 -p1 -b .manfix
|
|
%patch4 -p1 -b .manfix
|
|
%patch5 -p1 -b .date-parsing
|
|
%patch5 -p1 -b .date-parsing
|
|
-%patch6 -p1 -b .move-home
|
|
|
|
%patch7 -p1 -b .audit-update
|
|
%patch7 -p1 -b .audit-update
|
|
%patch8 -p1 -b .unlock
|
|
%patch8 -p1 -b .unlock
|
|
%if %{WITH_SELINUX}
|
|
%if %{WITH_SELINUX}
|
|
%patch9 -p1 -b .selinux-perms
|
|
%patch9 -p1 -b .selinux-perms
|
|
%endif
|
|
%endif
|
|
-%patch10 -p1 -b .null-tm
|
|
+%patch10 -p1
|
|
-%patch11 -p1 -b .long-entry
|
|
|
|
-%patch12 -p1 -b .sysugid-min-limit
|
|
|
|
-%patch13 -p1 -b .login-prompt
|
|
|
|
|
|
|
|
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
|
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
|
cp -f doc/HOWTO.utf8 doc/HOWTO
|
|
cp -f doc/HOWTO.utf8 doc/HOWTO
|
|
@@ -302,6 +287,12 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.13-1
|
|
|
|
+- updated to 4.13.
|
|
|
|
+- dropped Patch1, 6 and 10-13.
|
|
|
|
+- updated Patch3.
|
|
|
|
+- imported Patch10 from rawhide.
|
|
|
|
+
|
|
* Thu Aug 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.12.3-1
|
|
* Thu Aug 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.12.3-1
|
|
- updated to 4.12.3.
|
|
- updated to 4.12.3.
|
|
- updated all patches.
|
|
- updated all patches.
|