|
@@ -3,8 +3,8 @@
|
|
Summary: Utilities for managing accounts and shadow password files.
|
|
Summary: Utilities for managing accounts and shadow password files.
|
|
Summary(ja): シャドウパスワードファイルとアカウントを管理するユーティリティ
|
|
Summary(ja): シャドウパスワードファイルとアカウントを管理するユーティリティ
|
|
Name: shadow-utils
|
|
Name: shadow-utils
|
|
-Version: 4.1.4.2
|
|
+Version: 4.1.5.1
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
Epoch: 2
|
|
Epoch: 2
|
|
URL: http://pkg-shadow.alioth.debian.org/
|
|
URL: http://pkg-shadow.alioth.debian.org/
|
|
License: BSD
|
|
License: BSD
|
|
@@ -13,10 +13,23 @@ Group: System Environment/Base
|
|
Source0: http://pkg-shadow.alioth.debian.org/shadow-%{version}.tar.bz2
|
|
Source0: http://pkg-shadow.alioth.debian.org/shadow-%{version}.tar.bz2
|
|
Source1: shadow-4.0.17-login.defs
|
|
Source1: shadow-4.0.17-login.defs
|
|
Source2: shadow-utils.useradd
|
|
Source2: shadow-utils.useradd
|
|
-Patch0: shadow-4.1.4.2-redhat.patch
|
|
+Patch0: shadow-4.1.5-redhat.patch
|
|
-Patch1: shadow-4.1.4.1-goodname.patch
|
|
+Patch1: shadow-4.1.5.1-goodname.patch
|
|
-Patch2: shadow-4.1.4.2-leak.patch
|
|
+Patch2: shadow-4.1.5.1-info-parent-dir.patch
|
|
-Patch3: shadow-4.1.4.2-fixes.patch
|
|
+Patch3: shadow-4.1.5-uflg.patch
|
|
|
|
+Patch6: shadow-4.1.5.1-selinux.patch
|
|
|
|
+Patch7: shadow-4.1.5-2ndskip.patch
|
|
|
|
+Patch8: shadow-4.1.5.1-backup-mode.patch
|
|
|
|
+Patch9: shadow-4.1.5.1-merge-group.patch
|
|
|
|
+Patch10: shadow-4.1.5.1-orig-context.patch
|
|
|
|
+Patch11: shadow-4.1.5.1-logmsg.patch
|
|
|
|
+Patch12: shadow-4.1.5.1-errmsg.patch
|
|
|
|
+Patch13: shadow-4.1.5.1-audit-owner.patch
|
|
|
|
+Patch14: shadow-4.1.5.1-default-range.patch
|
|
|
|
+Patch15: shadow-4.1.5.1-manfix.patch
|
|
|
|
+Patch16: shadow-4.1.5.1-crypt-null.patch
|
|
|
|
+Patch17: shadow-4.1.5.1-userdel-helpfix.patch
|
|
|
|
+Patch18: shadow-4.1.5.1-group-alloc.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
#BuildRequires: autoconf, automake, libtool, gettext
|
|
#BuildRequires: autoconf, automake, libtool, gettext
|
|
@@ -50,14 +63,33 @@ pwconvコマンドはパスワードをシャドウパスワードフォーマ
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n shadow-%{version}
|
|
%setup -q -n shadow-%{version}
|
|
-%patch0 -p1 -b .redhat-vine
|
|
+%patch0 -p1 -b .redhat
|
|
%patch1 -p1 -b .goodname
|
|
%patch1 -p1 -b .goodname
|
|
-%patch2 -p1 -b .leak
|
|
+%patch2 -p1 -b .info-parent-dir
|
|
-%patch3 -p1 -b .fixes
|
|
+%patch3 -p1 -b .uflg
|
|
|
|
+%if %{WITH_SELINUX}
|
|
|
|
+%patch6 -p1 -b .selinux
|
|
|
|
+%endif
|
|
|
|
+%patch7 -p1 -b .2ndskip
|
|
|
|
+%patch8 -p1 -b .backup-mode
|
|
|
|
+%patch9 -p1 -b .merge-group
|
|
|
|
+%patch10 -p1 -b .orig-context
|
|
|
|
+%patch11 -p1 -b .logmsg
|
|
|
|
+%patch12 -p1 -b .errmsg
|
|
|
|
+%patch13 -p1 -b .audit-owner
|
|
|
|
+%patch14 -p1 -b .default-range
|
|
|
|
+%patch15 -p1 -b .manfix
|
|
|
|
+%patch16 -p1 -b .crypt-null
|
|
|
|
+%patch17 -p1 -b .userdel
|
|
|
|
+%patch18 -p1 -b .group-alloc
|
|
|
|
|
|
#autoreconf -f -i
|
|
#autoreconf -f -i
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+
|
|
|
|
+export CFLAGS="$RPM_OPT_FLAGS -fpie"
|
|
|
|
+export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
|
|
|
+
|
|
%configure \
|
|
%configure \
|
|
--enable-shadowgrp \
|
|
--enable-shadowgrp \
|
|
--without-libcrack \
|
|
--without-libcrack \
|
|
@@ -203,6 +235,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_mandir}/*/man8/vigr.8*
|
|
%{_mandir}/*/man8/vigr.8*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2:4.1.5.1-1
|
|
|
|
+- update to 4.1.5.1
|
|
|
|
+
|
|
* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2:4.1.4.2-2
|
|
* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2:4.1.4.2-2
|
|
- rebuilt with rpm-4.8.1-3
|
|
- rebuilt with rpm-4.8.1-3
|
|
|
|
|