2 Summary: Secure replacement for inetd
3 Summary(pl): Bezpieczny odpowiednik inetd
10 Source0: http://www.xinetd.org/%{name}-%{version}.tar.gz
11 URL: http://www.xinetd.org/
12 BuildRequires: libwrap-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Obsoletes: netkit-base
18 %define _sysconfdir /etc
21 xinetd is a secure and enhances replacement for inetd. Some features
22 include built-in, libwrap based access control, resource control
23 and native IPv6 support.
26 xinetd jest bezpieczniejszym i rozbudowanym odpowiednikiem inetd. Niektóre
27 funkcje to wbudowana kontrola dostêpu (oparta o libwrap), kontrola zu¿ycia
28 zasobów i wbudowana obs³uga IPv6.
34 LDFLAGS="-s"; export LDFLAGS
42 rm -rf $RPM_BUILD_ROOT
44 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
45 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5
46 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
47 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
48 install -m 755 xinetd/xinetd $RPM_BUILD_ROOT/%{_sbindir}
49 install -m 755 xinetd/itox $RPM_BUILD_ROOT/%{_sbindir}
50 install -m 644 xinetd/xinetd.conf.man $RPM_BUILD_ROOT/%{_mandir}/man5/xinetd.conf.5
51 install -m 644 xinetd/xinetd.log.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.log.8
52 install -m 644 xinetd/xinetd.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.8
53 install -m 644 xinetd/itox.8 $RPM_BUILD_ROOT/%{_mandir}/man8/itox.8
55 strip $RPM_BUILD_ROOT/%{_sbindir}/*
57 cp xinetd/sample.conf .
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{5,8}/* README CHANGELOG sample.conf \
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_sbindir}/*