summaryrefslogtreecommitdiffstats
path: root/autologin.spec
blob: d770d730314e4a025b8ac4a2431dfedc62ab6986 (plain)
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
%define name		autologin
%define version		0.02
%define release		1

Summary: Auto Login Utility
Name: %{name}
Version: %{version}
Release: %{release}
License: GPLv2
Group: Security Violations
Source: autologin.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
This is a program you can use to automatically log in on a workstation when
it boots. This program is normally run from /etc/inittab replacing one of
your mingetty lines. This program is a huge security hole.

%prep
%setup -n %{name}

%build
make

%install

mkdir -p $RPM_BUILD_ROOT/sbin/
mkdir -p $RPM_BUILD_ROOT/usr/man/man8/
install autologin $RPM_BUILD_ROOT/sbin/
cat autologin.8 | gzip > $RPM_BUILD_ROOT/usr/man/man8/autologin.8.gz

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README TODO
%attr(711,root,root) /sbin/autologin
/usr/man/man8/autologin.8.gz

%changelog
* Thu Mar 16 2000 Dale Lovelace <dale@redhat.com>
- First RPM build