|
@@ -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.13
|
|
|
|
|
|
+Version: 4.14.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -18,23 +18,15 @@ Source1: shadow-utils.login.defs
|
|
Source2: shadow-utils.useradd
|
|
Source2: shadow-utils.useradd
|
|
Source3: shadow-bsd.txt
|
|
Source3: shadow-bsd.txt
|
|
Source4: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
Source4: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
|
|
+Source6: shadow-utils.HOME_MODE.xml
|
|
|
|
|
|
### Patches ###
|
|
### Patches ###
|
|
-# Misc small changes - most probably non-upstreamable
|
|
|
|
-Patch0: shadow-4.12.3-redhat.patch
|
|
|
|
-# SElinux related - upstreamability unknown
|
|
|
|
-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
|
|
|
|
|
|
+Patch0: shadow-4.14.0-manfix.patch
|
|
# Date parsing improvement - could be upstreamed
|
|
# Date parsing improvement - could be upstreamed
|
|
-Patch5: shadow-4.2.1-date-parsing.patch
|
|
|
|
-# Audit message changes - upstreamability unknown
|
|
|
|
-Patch7: shadow-4.11.1-audit-update.patch
|
|
|
|
-# Changes related to password unlocking - could be upstreamed
|
|
|
|
-Patch8: shadow-4.5-usermod-unlock.patch
|
|
|
|
-# Additional SElinux related changes - upstreamability unknown
|
|
|
|
-Patch9: shadow-4.12.3-selinux-perms.patch
|
|
|
|
-Patch10: shadow-utils-configure-gshadow.patch
|
|
|
|
|
|
+Patch1: shadow-4.2.1-date-parsing.patch
|
|
|
|
+# Audit message changes - partially upstreamed
|
|
|
|
+Patch2: shadow-4.14.0-audit-update.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc
|
|
@@ -97,24 +89,16 @@ Development files for shadow-utils-subid.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n shadow-%{version}
|
|
%setup -q -n shadow-%{version}
|
|
-%patch0 -p1 -b .redhat
|
|
|
|
-%patch3 -p1 -b .default-range
|
|
|
|
-%patch4 -p1 -b .manfix
|
|
|
|
-%patch5 -p1 -b .date-parsing
|
|
|
|
-%patch7 -p1 -b .audit-update
|
|
|
|
-%patch8 -p1 -b .unlock
|
|
|
|
-%if %{WITH_SELINUX}
|
|
|
|
-%patch9 -p1 -b .selinux-perms
|
|
|
|
-%endif
|
|
|
|
-%patch10 -p1
|
|
|
|
|
|
+%autopatch -p1 -M 99
|
|
|
|
|
|
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
|
|
|
|
|
|
cp -a %{SOURCE3} %{SOURCE4} .
|
|
cp -a %{SOURCE3} %{SOURCE4} .
|
|
|
|
+cp -a %{SOURCE6} man/login.defs.d/HOME_MODE.xml
|
|
|
|
|
|
# Force regeneration of getdate.c
|
|
# Force regeneration of getdate.c
|
|
-rm libmisc/getdate.c
|
|
|
|
|
|
+rm lib/getdate.c
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -134,10 +118,13 @@ autoreconf -ivf
|
|
%else
|
|
%else
|
|
--without-selinux \
|
|
--without-selinux \
|
|
%endif
|
|
%endif
|
|
|
|
+ --without-libbsd \
|
|
--without-libcrack \
|
|
--without-libcrack \
|
|
--without-libpam \
|
|
--without-libpam \
|
|
--enable-shared \
|
|
--enable-shared \
|
|
- --with-group-name-max-length=32
|
|
|
|
|
|
+ --with-group-name-max-length=32 \
|
|
|
|
+ --enable-lastlog \
|
|
|
|
+ %{nil}
|
|
make %{_smp_mflags}
|
|
make %{_smp_mflags}
|
|
|
|
|
|
|
|
|
|
@@ -148,7 +135,6 @@ install -d -m 755 %{buildroot}/etc/default
|
|
install -c -m 0644 %{SOURCE1} %{buildroot}/etc/login.defs
|
|
install -c -m 0644 %{SOURCE1} %{buildroot}/etc/login.defs
|
|
install -c -m 0600 %{SOURCE2} %{buildroot}/etc/default/useradd
|
|
install -c -m 0600 %{SOURCE2} %{buildroot}/etc/default/useradd
|
|
|
|
|
|
-
|
|
|
|
ln -s useradd %{buildroot}%{_sbindir}/adduser
|
|
ln -s useradd %{buildroot}%{_sbindir}/adduser
|
|
ln -s useradd.8 %{buildroot}/%{_mandir}/man8/adduser.8
|
|
ln -s useradd.8 %{buildroot}/%{_mandir}/man8/adduser.8
|
|
for subdir in %{buildroot}/%{_mandir}/{??,??_??,??_??.*}/man* ; do
|
|
for subdir in %{buildroot}/%{_mandir}/{??,??_??,??_??.*}/man* ; do
|
|
@@ -287,6 +273,13 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Oct 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.14.2-1
|
|
|
|
+- updated to 4.14.2.
|
|
|
|
+
|
|
|
|
+* Thu Oct 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.14.1-1
|
|
|
|
+- updated to 4.14.1.
|
|
|
|
+- re-imported patches from rawhide.
|
|
|
|
+
|
|
* Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.13-1
|
|
* Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:4.13-1
|
|
- updated to 4.13.
|
|
- updated to 4.13.
|
|
- dropped Patch1, 6 and 10-13.
|
|
- dropped Patch1, 6 and 10-13.
|