# # spec file for package mingetty # # 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: mingetty License: GPL-2.0+ Group: System/Base AutoReqProv: on Version: 1.0.8s Release: 17.4 Summary: Minimal Getty for Virtual Consoles Only Provides: sysvinit:/sbin/mingetty BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: mingetty-1.0.8s.tar.bz2 Patch: mingetty-1.0.8s.dif BuildArch: i486 %description The mingetty program is a lightweight, minimalistic getty program for use on virtual consoles only. Mingetty is not suitable for serial lines (you should use the mgetty program for this purpose). Authors: -------- Miquel van Smoorenburg Florian La Roche Werner Fink %prep %setup -q %patch %build %ifarch s390 s390x DEFTERM=dumb %else DEFTERM=linux %endif make %{?_smp_mflags} CC="%__cc" RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64" DEFTERM=${DEFTERM} %install mkdir -p ${RPM_BUILD_ROOT}{/sbin,%{_mandir}/man8} make install MANPATH=%{_mandir} DESTDIR=${RPM_BUILD_ROOT} %files %defattr(-,root,root,755) /sbin/mingetty %doc %{_mandir}/man8/mingetty.8.gz %changelog * Fri Sep 30 2011 uli@suse.com - cross-build fix: use %%__cc macro * Tue Mar 15 2011 werner@suse.de - Make hint handling on Num Lock et al smart (bnc#679287) * Wed Jan 12 2011 werner@suse.de - Fix Num Lock handling (bug #656876) * Mon Jul 26 2010 werner@suse.de - Make a clean tar ball * Sun Jul 25 2010 aj@suse.de - Remove packaged object files to fix build on non-i386 architectures. * Fri Jul 23 2010 werner@suse.de - New version mingetty 1.0.8s * Adopt loginpause feature of the other mingetty at sourceforge. * Ignore SIGQUIT and SIGINT and switch Numlock on. * Tue Dec 22 2009 jengelh@medozas.de - Enable parallel build - Change DEFTERM=dump - it probably should have been "dumb" * Thu Dec 4 2008 werner@suse.de - Do open the terminal with O_NOCTTY (bnc#447289) * Thu Dec 4 2008 werner@suse.de - Get the controlling tty only if we do not have it (bnc#447289) * Mon Jul 21 2008 werner@suse.de - Use the enlarged buffer of last change * Fri Apr 25 2008 werner@suse.de - Increase buffer size for scanning /proc//maps * Tue Apr 22 2008 werner@suse.de - Fix possible SIGSEGV in mingetty sigfholder() (bnc#382052) * Tue May 29 2007 werner@suse.de - Adopt autologin and other new feature of the other mingetty at sourceforge. * Wed May 24 2006 schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Mar 30 2004 werner@suse.de - Remove kernel include hopefully glibc does this jobs for now and in future. * Tue Mar 30 2004 werner@suse.de - More about UTF-8: enable the kernel to erease UTF-8 multi byte characters (bug #37367) - Therefore add workaround if glibc bits/termios.h is missing the IUTF8 input flag. * Fri Mar 26 2004 werner@suse.de - Not all architectures do provide KDGKBMODE ioctl (s390/s390x) * Wed Feb 18 2004 werner@suse.de - Add UTF-8 support for login name if and only if current console is in utf-8 mode (fix bug #34520) * Sat Oct 18 2003 kukuk@suse.de - Move mingetty in extra package - Build as normal user * Thu Jun 5 2003 mfabian@suse.de - if the option "--noclear" is not set, don't write a full reset because this leaves the unicode mode again if the terminal was in unicode mode and it also undos the ESC sequences in CONSOLE_MAGIC which are needed for some languages/console-fonts. Just put the cursor the home position (ESC [ H) and erase everything below the cursor (ESC [ J). * Thu Nov 14 2002 werner@suse.de - Update to mingetty 0.9.6s * Be sure to get controlling tty * Avoid overruns in string handling * Wed Nov 13 2002 werner@suse.de - Update to mingetty 0.9.5s (s stand for SuSE) * New old option for avoiding vcs/vcsa hangup, terminal reset, and the usage of the glibc for updating wtmp. * Now the default terminal type can be set at compile time as an make option. * Thu Apr 25 2002 werner@suse.de - changes on mingetty (new version 0.9.4c) * Add support for other TTY devices than virtual console * Add nohost patch from Anders ?? * Mon Apr 19 1999 werner@suse.de - mingetty: reset not only /dev/tty but /dev/vcs and /dev/vcsa also