Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > c76213d9ce2dd91a3d03703d900d3afb > files > 3

autologin-1.0.0-8mdk.src.rpm

Name: autologin
Summary: Automatically log in
Version: 1.0.0
Release: 8mdk
Source: %{name}-%{version}.tar.bz2
Source1: startx.autologin
Patch0: autologin-1.0.0-mdk.patch.bz2
Group: System/Base
URL: http://www.linux-easy.com/development/autologin/
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: pam-devel
License: GPL
Requires: initscripts >= 5.15
Prefix: /usr

%description
Autologin automatically logs in as the user specified in
/etc/sysconfig/autologin and starts the X session defined there.

Install autologin if you want to bypass the login screen.

%prep
%setup -q
%patch0 -p1 -b .fred

%build
make -f Makefile.cvs
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/bin/startx.autologin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,0755)
%doc README AUTHORS
%{_sbindir}/autologin
/usr/X11R6/bin/startx.autologin
%config(noreplace) /etc/pam.d/autologin

%changelog
* Mon Oct 20 2003 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-8mdk
- rebuild for rewriting /etc/pam.d file

* Fri Mar  7 2003 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-7mdk
- launch startx.autologin instead of startx

* Tue Apr  9 2002 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-6mdk
- prefix all error messages by "autologin " for better spotting (Sitsofe Wheeler).

* Fri Jun  1 2001 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-5mdk
- use pam_stack in pam file.

* Tue Feb  6 2001 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-4mdk
- don't report an error if the user is not set, just exit properly.

* Wed Oct  4 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-3mdk
- set path to /usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin (close bug #558).

* Fri Sep 22 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-2mdk
- kill the child when autologin receive SIGTERM to work nicely with init.
- corrected the init of groups.
- log output to /var/log/autologin.log.

* Fri Aug 25 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.0-1mdk
- first Mandrake rpm

* Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- initial public RPM