2 Summary: xinetd -- A better inetd.
7 Vendor: xinetd.org (Rob Braun)
8 Group: System Environment/Daemons
9 Packager: Steve Grubb <linux_4ever@yahoo.com>
10 URL: http://www.xinetd.org/
11 Source: %{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-root
14 Prereq: /sbin/chkconfig, /sbin/service
15 BuildRequires: tcp_wrappers >= 7.6
19 Xinetd is a powerful inetd replacement. Xinetd has access control
20 mechanisms, extensive logging capabilities, the ability to make
21 services available based on time, can place limits on the number
22 of servers that can be started, and has a configurable defence
23 mechanism to protect against port scanners, among other things.
30 --sbindir=%{_sbindir} \
31 --mandir=%{_datadir}/man \
36 cp xinetd/xinetd xinetd6
39 --sbindir=$RPM_BUILD_ROOT/%{_sbindir} \
40 --mandir=$RPM_BUILD_ROOT/%{_datadir}/man \
46 rm -rf $RPM_BUILD_ROOT
47 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
48 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
49 mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
52 install -m 0755 xinetd6 $RPM_BUILD_ROOT/%{_sbindir}
53 install -m 0755 contrib/xinetd $RPM_BUILD_ROOT/etc/rc.d/init.d/xinetd
54 install -m 0600 contrib/xinetd.conf $RPM_BUILD_ROOT/etc/
55 cp contrib/xinetd.d/* $RPM_BUILD_ROOT/etc/xinetd.d
58 rm -rf $RPM_BUILD_ROOT
62 /sbin/chkconfig --add xinetd
67 /sbin/service xinetd stop > /dev/null 2>&1
68 /sbin/chkconfig --del xinetd
73 /sbin/service xinetd condrestart > /dev/null 2>&1
77 %defattr(-, root, root)
78 %doc CHANGELOG COPYRIGHT README xinetd/sample.conf contrib/empty.conf
81 %config(noreplace) /etc/rc.d/init.d/xinetd
82 %config(noreplace) /etc/xinetd.conf
83 %config(noreplace) /etc/xinetd.d/*
86 * Sun Sep 07 2003 Steve Grubb <linux_4ever@yahoo.com>
87 - Refined installation and added services.