Package autologin: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | Name: autologin Version: 1.0.0 Release: alt9 Serial: 1 Summary: Automatically log in License: GPL Group: System/Base URL: http://www.linux-easy.com/development/autologin/ Source: %name-%version.tar.bz2 Source1: %name.pamd Patch: %name-1.0.0-mdk-alt.patch Patch1: %name-1.1.0-tty-dev.patch Patch2: %name-1.0.0-alt-doc.patch Packager: Michael Shigorin <mike@altlinux.org> # Automatically added by buildreq on Wed Jan 15 2003 BuildRequires: libpam-devel %description Autologin automatically logs in as the user specified in configuration file, %_sysconfdir/sysconfig/%name, and starts the X session defined there. %prep %setup %patch -p1 %patch1 -p1 %patch2 -p1 %build %autoreconf %configure --enable-paranoid %make_build %install %makeinstall_std install -pDm644 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name %post # handle a special case: upgrading ALM2.x installed with autologin CONFIG="/etc/sysconfig/autologin" [ -s "$CONFIG" ] \ && subst 's,^EXEC=/usr/X11R6/bin/startx,EXEC=/usr/bin/startx,' "$CONFIG" \ ||: %files %_sbindir/* %config(noreplace) %_sysconfdir/pam.d/* %doc README AUTHORS %changelog * Wed Jul 17 2019 Anton Midyukov <antohami@altlinux.org> 1:1.0.0-alt9 - Not require pam_ck_connector * Thu Apr 18 2019 Anton Midyukov <antohami@altlinux.org> 1:1.0.0-alt8 - Add support session logind (elogind) * Thu Mar 15 2018 Igor Vlasenko <viy@altlinux.ru> 1:1.0.0-alt7.1 - NMU: added URL * Sun Nov 27 2011 Michael Shigorin <mike@altlinux.org> 1:1.0.0-alt7 - update README accordingly (was mentioning ancient startx path) * Thu Jan 13 2011 Lenar Shakirov <snejok@altlinux.ru> 1:1.0.0-alt6 - %name-1.0.0-alt-doc.patch: adds info about EXEC_ARGS option * Fri Apr 02 2010 Lenar Shakirov <snejok@altlinux.ru> 1:1.0.0-alt5 - %name-1.1.0-tty-dev.patch added: get true tty device * Mon Dec 07 2009 Anton Farygin <rider@altlinux.ru> 1:1.0.0-alt4 - add pam_ck_connector.so (closes #22447) * Sat Oct 17 2009 Michael Shigorin <mike@altlinux.org> 1:1.0.0-alt3 - added postinstall script to fix legacy configuration for those who upgrade from pre-3.0 installations with autologin enabled (closes: #21893) * Wed Dec 03 2008 Michael Shigorin <mike@altlinux.org> 1:1.0.0-alt2 - updated patch to fix build with current gcc/glibc - removed dead Url: - me as a Packager: - minor spec cleanup * Tue Apr 24 2007 Stanislav Ievlev <inger@altlinux.org> 1:1.0.0-alt1 - update old defaults * Thu Jan 12 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.0.0-ipl10mdk.1 - Rebuilt for new style PAM dependencies generated by rpm-build-4.0.4-alt55. * Thu Apr 14 2005 Stanislav Ievlev <inger@altlinux.org> 1.0.0-ipl10mdk - Fixed build with fresh autotools. * Sun Jan 18 2004 Dmitry V. Levin <ldv@altlinux.org> 1.0.0-ipl9mdk - Blind rebuild. * Sun Feb 23 2003 Dmitry V. Levin <ldv@altlinux.org> 1.0.0-ipl8mdk - %%configure --enable-paranoid. * Wed Jan 15 2003 Stanislav Ievlev <inger@altlinux.ru> 1.0.0-ipl7mdk - Fix build: use explicit autoconf, automake version. * Wed Oct 23 2002 Stanislav Ievlev <inger@altlinux.ru> 1.0.0-ipl6mdk - rebuild with gcc3 - update mdk patch * Fri Dec 14 2001 Dmitry V. Levin <ldv@altlinux.org> 1.0.0-ipl5mdk - Switched to pam_stack. * 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. * Fri Jan 12 2001 AEN <aen@logic.ru> 1.0.0-ipl4mdk - RE adaptations * 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 |