From 2f95cb867be090743af9d920c846bff22f9dffc7 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Feb 27 2017 16:30:22 +0000 Subject: Update to new upstream version 7.0.0. This release drops support for unmaintainable and obsolete features. --- diff --git a/.gitignore b/.gitignore index 2f2b7a8..098b816 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ authconfig-6.1.8.tar.bz2 /authconfig-6.2.8.tar.bz2 /authconfig-6.2.9.tar.bz2 /authconfig-6.2.10.tar.bz2 +/authconfig-7.0.0.tar.bz2 diff --git a/authconfig.spec b/authconfig.spec index d45a837..75761e6 100644 --- a/authconfig.spec +++ b/authconfig.spec @@ -1,29 +1,25 @@ Summary: Command line tool for setting up authentication from network services Name: authconfig -Version: 6.2.10 -Release: 16%{?dist} +Version: 7.0.0 +Release: 1%{?dist} License: GPLv2+ ExclusiveOS: Linux Group: System Environment/Base -URL: https://fedorahosted.org/authconfig -Source: https://fedorahosted.org/releases/a/u/%{name}/%{name}-%{version}.tar.bz2 +URL: https://pagure.io/authconfig +Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 Patch1: authconfig-6.2.6-gdm-nolastlog.patch -Patch2: authconfig-6.2.10-python23.patch -Patch3: authconfig-6.2.10-cacertdir.patch -Patch4: authconfig-6.2.10-sssdprompting.patch -Patch5: authconfig-6.2.10-gettext.patch -Patch6: authconfig-6.2.10-byteconv.patch -Requires: newt-python3, pam >= 0.99.10.0, libpwquality > 0.9 +Requires: pam >= 0.99.10.0, python3, libpwquality > 0.9 Requires: python3-sssdconfig Conflicts: pam_krb5 < 1.49, samba-common < 3.0, samba-client < 3.0 Conflicts: nss_ldap < 254, sssd < 0.99.1 Conflicts: freeipa-client < 2.2.0, ipa-client < 2.2.0 BuildRequires: glib2-devel -BuildRequires: python2-devel BuildRequires: python3-devel -BuildRequires: desktop-file-utils, intltool, gettext, perl-XML-Parser +BuildRequires: intltool, gettext Requires: /usr/bin/openssl Requires: policycoreutils +# We need to obsolete the removed subpackage to avoid broken dependencies +Obsoletes: authconfig-gtk < 7.0.0 %description Authconfig is a command line utility which can configure a workstation @@ -31,69 +27,29 @@ to use shadow (more secure) passwords. Authconfig can also configure a system to be a client for certain networked user information and authentication schemes. -%package gtk -Summary: Graphical tool for setting up authentication from network services -Group: System Environment/Base -Requires: %{name} = %{version}-%{release} -Requires: pygtk2-libglade >= 2.14.0 -Requires: python-sssdconfig, python-dbus -Requires: usermode-gtk, hicolor-icon-theme - -%description gtk -Authconfig-gtk is a GUI program which can configure a workstation -to use shadow (more secure) passwords. Authconfig-gtk can also configure -a system to be a client for certain networked user information and -authentication schemes. - %prep %setup -q -n %{name}-%{version} %patch1 -p1 -b .nolastlog -%patch2 -p1 -b .python23 -%patch3 -p1 -b .cacertdir -%patch4 -p1 -b .sssdprompting -%patch5 -p1 -b .gettext -%patch6 -p1 -b .byteconv - -rm -rf %{py3dir} -cp -a . %{py3dir} %build -%configure --with-python-rev=2 -make -pushd %{py3dir} %configure --with-python-rev=3 make -popd %install make install DESTDIR=$RPM_BUILD_ROOT -pushd %{py3dir} -make install DESTDIR=$RPM_BUILD_ROOT -popd - rm $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/acutil.a rm $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/acutil.la -rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/authconfig-tui.py -ln -s authconfig.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/authconfig-tui.py %find_lang %{name} find $RPM_BUILD_ROOT%{_datadir} -name "*.mo" | xargs ./utf8ify-mo -%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 -- oddjob-mkhomedir +sed -i 's/pam_mkhomedir.so/pam_oddjob_mkhomedir.so/g' /etc/pam.d/*-auth-ac &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) -%doc COPYING NOTES TODO README.samba3 +%license COPYING +%doc NOTES TODO HOWTO.AD-client %ghost %config(noreplace) %{_sysconfdir}/sysconfig/authconfig %ghost %config(noreplace) %{_sysconfdir}/pam.d/system-auth-ac %ghost %config(noreplace) %{_sysconfdir}/pam.d/password-auth-ac @@ -102,98 +58,23 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %ghost %config(noreplace) %{_sysconfdir}/pam.d/postlogin-ac %{_sbindir}/cacertdir_rehash %{_sbindir}/authconfig -%{_sbindir}/authconfig-tui -%exclude %{_mandir}/man8/system-config-authentication.* -%exclude %{_mandir}/man8/authconfig-gtk.* %{_mandir}/man8/* %{_mandir}/man5/* -%{_libdir}/python3*/site-packages/acutil.so +%{_libdir}/python*/site-packages/acutil.so %dir %{_datadir}/%{name} %{_datadir}/%{name}/authconfig.py* -%{_datadir}/%{name}/authconfig-tui.py* %{_datadir}/%{name}/authinfo.py* %{_datadir}/%{name}/shvfile.py* %{_datadir}/%{name}/dnsclient.py* -%{_datadir}/%{name}/msgarea.py* %attr(700,root,root) %dir %{_localstatedir}/lib/%{name} -%files gtk -%defattr(-,root,root,-) -%{_bindir}/authconfig -%{_bindir}/authconfig-tui -%{_bindir}/authconfig-gtk -%{_bindir}/system-config-authentication -%{_sbindir}/authconfig-gtk -%{_sbindir}/system-config-authentication -%{_mandir}/man8/system-config-authentication.* -%{_mandir}/man8/authconfig-gtk.* -%{_datadir}/%{name}/authconfig.glade -%{_datadir}/%{name}/authconfig-gtk.py* -%{_libdir}/python2*/site-packages/acutil.so -%config(noreplace) %{_sysconfdir}/pam.d/authconfig-gtk -%config(noreplace) %{_sysconfdir}/pam.d/system-config-authentication -%config(noreplace) %{_sysconfdir}/security/console.apps/authconfig-gtk -%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-authentication -%config(noreplace) %{_sysconfdir}/pam.d/authconfig -%config(noreplace) %{_sysconfdir}/pam.d/authconfig-tui -%config(noreplace) %{_sysconfdir}/security/console.apps/authconfig -%config(noreplace) %{_sysconfdir}/security/console.apps/authconfig-tui -%{_datadir}/applications/* -%{_datadir}/icons/hicolor/16x16/apps/system-config-authentication.* -%{_datadir}/icons/hicolor/22x22/apps/system-config-authentication.* -%{_datadir}/icons/hicolor/24x24/apps/system-config-authentication.* -%{_datadir}/icons/hicolor/32x32/apps/system-config-authentication.* -%{_datadir}/icons/hicolor/48x48/apps/system-config-authentication.* -%{_datadir}/icons/hicolor/256x256/apps/system-config-authentication.* - %changelog -* Fri Feb 10 2017 Fedora Release Engineering - 6.2.10-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Dec 20 2016 Miro Hrončok - 6.2.10-15 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 6.2.10-14 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 6.2.10-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 13 2016 Tomáš Mráz - 6.2.10-12 -- add python-dbus dependency (#1297981) - -* Fri Nov 06 2015 Robert Kuska - 6.2.10-11 -- Rebuilt for Python3.5 rebuild - -* Fri Jun 26 2015 Tomáš Mráz - 6.2.10-10 -- remove stray byte literal marker - -* Wed Jun 17 2015 Fedora Release Engineering - 6.2.10-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon May 11 2015 Tomáš Mráz - 6.2.10-8 -- more Python 3 compatibility fixes -- fix IPA uninstall lockup -- supply the joinpassword to Winbind join command if available - -* Tue May 5 2015 Tomáš Mráz - 6.2.10-7 -- use gettext() instead of lgettext() (#1215284) - -* Wed Apr 1 2015 Tomáš Mráz - 6.2.10-6 -- fix regression from the python 3 compat patch - -* Tue Mar 31 2015 Tomáš Mráz - 6.2.10-5 -- set default tls_cacertdir when no ldap.conf is present - -* Fri Mar 27 2015 Tomáš Mráz - 6.2.10-4 -- make the cacertdir setup more sane (#1203024) -- support sssd prompting non-local users for password (#1195817) - -* Tue Mar 3 2015 Tomáš Mráz - 6.2.10-3 -- add python-sssdconfig requires - -* Tue Feb 24 2015 Tomáš Mráz - 6.2.10-2 -- fix the python version detection (#1195635) +* Mon Feb 27 2017 Tomáš Mráz - 7.0.0-1 +- dropped authconfig-gtk (system-config-authentication) (no GTK3 support) +- dropped authconfig-tui (deprecated long ago) +- dropped IPA domain join support (conflicts with the recommended way to + install IPA client on a machine) +- dropped support for Hesiod, Wins, AFS, and other obsolete cruft * Fri Feb 20 2015 Tomáš Mráz - 6.2.10-1 - allow multiple LDAP URIs in the setting again diff --git a/sources b/sources index e62cc86..d80e078 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d87bc626069b69e2231912407f857c94 authconfig-6.2.10.tar.bz2 +SHA512 (authconfig-7.0.0.tar.bz2) = 0c44cb8394b1d85df5d63b909ab72cd65e5c7e6a102d363a26ec89caa8af80cedf06f278f5a7c395043783cc59ba7b1d9aa816766e0b18e9a6d5b7eec9d8a900