# # spec file for package login # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: login #BuildRequires: audit-devel gettext-devel libnscd-devel pam-devel Url: http://www.thkukuk.de/pam/pam_login/ License: BSD3c(or similar) ; BSD4c(or similar) Group: System/Base AutoReqProv: on Version: 4.0 Release: 7.10.1 Summary: Login Program Source: pam_login-%{version}.tar.bz2 Patch: bugzilla-148065.patch Patch1: pam_login-3.35-pts.patch Patch2: bnc652633.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang BuildArch: i486 %description Unix login program that uses pam for authentication. %lang_package %prep %setup -q -n pam_login-%{version} %patch -p0 %patch1 -p0 %patch2 -p0 %build CFLAGS="$RPM_OPT_FLAGS" ./configure \ --libdir=/lib \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT # /etc/login.defs is also provided by the pwdutils package rm -f $RPM_BUILD_ROOT/etc/login.defs # # Find all translations # %{find_lang} login %clean rm -rf $RPM_BUILD_ROOT %files -f login.lang %defattr(-,root,root,755) %config(noreplace) /etc/pam.d/login %config(noreplace) /etc/pam.d/remote /bin/login /usr/bin/lastlog %doc %{_mandir}/man?/* #/usr/share/locale/* #%files -f login.lang %changelog * Wed Feb 16 2011 werner@suse.de - Add signal handler to forward SIGTERM as well as SIGHUP to the login shells (bnc#652633) * Tue Feb 1 2011 kukuk@suse.de - Update to version 4.0 - Remove faillog (doesn't work on biarch systems, nobody writes the data) - Remove RETRY option (should be configured via PAM) - Integrate btmp patch * Thu Dec 2 2010 lnussel@suse.de - mark pam config as noreplace. not using noreplace loses e.g. pam_ck_connector on update. * Thu Nov 18 2010 lnussel@suse.de - enable btmp logging again * Tue Sep 7 2010 aj@suse.de - Use Recommends for lang subpackage. * Wed Jun 30 2010 kukuk@suse.de - Create -lang subpackage * Wed Jun 30 2010 kukuk@suse.de - Update to version 3.42 - Merge patch - Update translations * Mon Jun 28 2010 jengelh@medozas.de - use %%_smp_mflags * Tue Nov 3 2009 coolo@novell.com - updated patches to apply with fuzz=0 * Tue Aug 4 2009 kukuk@suse.de - Update to version 3.40: - Incorporate GCC44 fixes - Add/Update translations - Fix handling of hushlogin [bnc#527336] - Enable PAM config for "remote" * Wed Feb 25 2009 crrodriguez@suse.de - fix build with GCC44, ident pragma is deprecated * Thu Feb 5 2009 kukuk@suse.de - Update translations * Fri Nov 21 2008 kukuk@suse.de - Update to login 3.37: - Update translations - Merge pam.d/login patch * Tue Oct 14 2008 kukuk@suse.de - Fix patch for [bnc#374299] * Wed Sep 3 2008 kukuk@suse.de - Remove pam_resmgr from pam config file [bnc#422617] * Tue May 20 2008 kukuk@suse.de - Update to login 3.36 - Use audit_log_acct_message() call [bnc#382205]. - Update translations. * Fri Apr 18 2008 werner@suse.de - Add missing setutent() in case of network login (bnc#374299) - Handle pts slave lines like utemper * Wed Feb 13 2008 rguenther@suse.de - Split from pwdutils.