aboutsummaryrefslogtreecommitdiff
path: root/riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec
diff options
context:
space:
mode:
Diffstat (limited to 'riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec')
-rw-r--r--riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec55
1 files changed, 55 insertions, 0 deletions
diff --git a/riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec b/riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec
new file mode 100644
index 0000000..ea44c25
--- /dev/null
+++ b/riemann.fmi.uni-sofia.bg/ngetty/ngetty-1.1/ngetty-1.1.spec
@@ -0,0 +1,55 @@
+Summary: getty replacement - one single daemon for all consoles
+Name: ngetty
+Version: 1.1
+Release: 1
+Group: System Environment/Daemons
+Packager: Blair Lowe <[email protected]>
+Source: http://riemann.fmi.uni-sofia.bg/ngetty/ngetty-%{version}.tar.gz
+URL: http://riemann.fmi.uni-sofia.bg/ngetty/
+License: GPL
+Prefix: /
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%description
+
+Ngetty is a daemon that starts login sessions on virtual console
+terminals, on demand. It is a good replacement for all those getty
+processes started from init that, most of the time, are only taking up
+memory. When compiled statically with dietlibc, the ngetty binary
+size is only about 2k and uses considerably less memory than a getty.
+
+You have to edit /etc/inittab to make ngetty default. See the
+manual page or the examples on ngetty home page.
+
+%prep
+
+%setup -q
+
+%build
+make CC='diet -Os gcc -W' prefix=${RPM_BUILD_ROOT}
+
+%install
+make install install_other prefix=${RPM_BUILD_ROOT}
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%post
+( cd /etc/ngetty && test -x setup && ./setup ) || true
+
+%postun
+
+%files
+%defattr(-,root,root)
+/sbin
+/usr
+/etc
+%doc README
+
+%changelog
+* Thu Apr 10 2008 Nikola Vladov <[email protected]>
+- remove /usr prefix
+- add option for dietlibc
+
+* Fri Mar 12 2008 Blair Lowe <[email protected]>
+- Create rpm for Nikola Vladov