# $Revision: 1.4 $ Summary: Secure replacement for inetd Summary(pl): Bezpieczny odpowiednik inetd Name: xinetd Version: 2.1.8.8p3 Release: 1 Group: Daemons Group(pl): Serwery License: GPL Source0: http://www.xinetd.org/%{name}-%{version}.tar.gz URL: http://www.xinetd.org/ BuildRequires: libwrap-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: inetdaemon Obsoletes: inetd Obsoletes: netkit-base %define _sysconfdir /etc %description xinetd is a secure and enhances replacement for inetd. Some features include built-in, libwrap based access control, resource control and native IPv6 support. %description -l pl xinetd jest bezpieczniejszym i rozbudowanym odpowiednikiem inetd. Niektóre funkcje to wbudowana kontrola dostępu (oparta o libwrap), kontrola zużycia zasobów i wbudowana obsługa IPv6. %prep %setup -q %build LDFLAGS="-s"; export LDFLAGS %configure \ --with-libwrap \ --with-inet6 \ --with-loadavg %{__make} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_sbindir} mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir} install -m 755 xinetd/xinetd $RPM_BUILD_ROOT/%{_sbindir} install -m 755 xinetd/itox $RPM_BUILD_ROOT/%{_sbindir} install -m 644 xinetd/xinetd.conf.man $RPM_BUILD_ROOT/%{_mandir}/man5/xinetd.conf.5 install -m 644 xinetd/xinetd.log.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.log.8 install -m 644 xinetd/xinetd.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.8 install -m 644 xinetd/itox.8 $RPM_BUILD_ROOT/%{_mandir}/man8/itox.8 strip $RPM_BUILD_ROOT/%{_sbindir}/* cp xinetd/sample.conf . cp xinetd/xconv.pl . gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{5,8}/* README CHANGELOG sample.conf \ itox xconv.pl %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_sbindir}/* %{_mandir}/man[158]/*