|
@@ -1,16 +1,21 @@
|
|
|
Summary: Command line tool for setting up authentication from network services
|
|
|
Summary(ja): ネットワークサービスからの認証を設定するためのコマンドラインツール
|
|
|
Name: authconfig
|
|
|
-Version: 5.4.10
|
|
|
-Release: 6%{?_dist_release}
|
|
|
+Version: 6.2.3
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: GPLv2+
|
|
|
ExclusiveOS: Linux
|
|
|
Group: System Environment/Base
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
URL: https://fedorahosted.org/authconfig
|
|
|
Source: https://fedorahosted.org/releases/a/u/%{name}/%{name}-%{version}.tar.bz2
|
|
|
-Patch10: authconfig-5.4.10-fprintd-pam.patch
|
|
|
-Patch11: authconfig-5.4.10-fix-broken-strings.patch
|
|
|
+
|
|
|
+Patch10: authconfig-6.2.3-fprintd-pam.patch
|
|
|
+Patch11: authconfig-6.2.3-fix-broken-strings.patch
|
|
|
+
|
|
|
+# for Vine
|
|
|
+Patch101: authconfig-6.2.3-authinfo-vine.patch
|
|
|
+
|
|
|
Requires: pam
|
|
|
Conflicts: samba-common < 3.0, samba-client < 3.0
|
|
|
Conflicts: nss_ldap < 254
|
|
@@ -45,6 +50,7 @@ authentication schemes.
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
%patch10 -p1
|
|
|
%patch11 -p1
|
|
|
+%patch101 -p1
|
|
|
|
|
|
%build
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
|
|
@@ -65,6 +71,28 @@ find $RPM_BUILD_ROOT%{_datadir} -name "*.mo" | xargs ./utf8ify-mo
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+%post gtk
|
|
|
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+
|
|
|
+%postun gtk
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+fi
|
|
|
+
|
|
|
+%posttrans gtk
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+
|
|
|
+%triggerin -- authconfig <= 6.2.3
|
|
|
+if [ ! -e %{_sysconfdir}/pam.d/postlogin-ac ]; then
|
|
|
+ authconfig --updateall --nostart >/dev/null 2>&1 || :
|
|
|
+fi
|
|
|
+if [ ! -e %{_sysconfdir}/pam.d/postlogin ]; then
|
|
|
+ cd %{_sysconfdir}/pam.d; \
|
|
|
+ ln -s postlogin-ac postlogin > /dev/null 2>&1 || :
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc COPYING NOTES TODO README.samba3
|
|
@@ -73,6 +101,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/pam.d/password-auth-ac
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/pam.d/fingerprint-auth-ac
|
|
|
%ghost %config(noreplace) %{_sysconfdir}/pam.d/smartcard-auth-ac
|
|
|
+%ghost %config(noreplace) %{_sysconfdir}/pam.d/postlogin-ac
|
|
|
%{_bindir}/authconfig
|
|
|
%{_bindir}/authconfig-tui
|
|
|
%{_sbindir}/cacertdir_rehash
|
|
@@ -87,6 +116,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/%{name}/authinfo.py*
|
|
|
%{_datadir}/%{name}/shvfile.py*
|
|
|
%{_datadir}/%{name}/dnsclient.py*
|
|
|
+%{_datadir}/%{name}/msgarea.py*
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/authconfig
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/authconfig-tui
|
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/authconfig
|
|
@@ -106,9 +136,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/authconfig-gtk
|
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-authentication
|
|
|
%{_datadir}/applications/*
|
|
|
-%{_datadir}/pixmaps/*
|
|
|
+%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Sep 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.2.3-1
|
|
|
+- update to 6.2.3
|
|
|
+- update Patch10 (authconfig-6.2.3-fprintd-pam.patch)
|
|
|
+- update Patch11 (authconfig-6.2.3-fix-broken-strings.patch)
|
|
|
+- add Patch101 (authconfig-6.2.3-authinfo-vine.patch)
|
|
|
+
|
|
|
* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.4.10-6
|
|
|
- rebuild with python-2.7.2
|
|
|
|