-Summary: Secure replacement for inetd
-Summary(pl): Bezpieczny odpowiednik inetd
+Summary: Xinetd - a powerful replacement for inetd
+Summary(pl): Xinetd - rozbudowany zamiennik inetd
+Summary(pt_BR): O xinetd é um substituto poderoso e seguro para o inetd
+Summary(ru): xinetd - ÂÏÇÁÔÁÑ ×ÏÚÍÏÖÎÏÓÔÑÍÉ ÚÁÍÅÎÁ inetd
+Summary(uk): xinetd - ÂÁÇÁÔÁ ÍÏÖÌÉ×ÏÓÔÑÍÉ ÚÁͦÎÁ inetd
Name: xinetd
-Version: 2.3.0
-Release: 1
+Version: 2.3.13
+Release: 2
Group: Daemons
-Group(de): Server
-Group(pl): Serwery
-License: Distributable (BSD-like)
+License: BSD-like
Source0: http://www.xinetd.org/%{name}-%{version}.tar.gz
+# Source0-md5: 4295b5fe12350f09b5892b363348ac8b
Source1: %{name}.inet.sh
+Patch0: %{name}-no_libnsl.patch
URL: http://www.xinetd.org/
-BuildRequires: libwrap-devel
BuildRequires: autoconf
-Requires: rc-inetd
-Prereq: rc-scripts
-Requires: /etc/rc.d/init.d/rc-inetd
+BuildRequires: automake
+BuildRequires: libwrap-devel
+PreReq: rc-inetd
Provides: inetdaemon
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: inetdaemon
Obsoletes: inetd
Obsoletes: rlinetd
Obsoletes: netkit-base
-
-%define _sysconfdir /etc
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Xinetd is a secure replacement for inetd, the Internet services
-daemon. Xinetd provides access control for all services based on the
-address of the remote host and/or on time of access and can prevent
-denial-of-access attacks. Xinetd provides extensive logging, has no
-limit on the number of server arguments and you can bind specific
-services to specific IP addresses on your host machine.
+xinetd is a powerful replacement for inetd. xinetd has access control
+machanisms, extensive logging capabilities, the ability to make
+services available based on time, and can place limits on the number
+of servers that can be started, among other things.
+
+xinetd has the ability to redirect TCP streams to a remote host and
+port. This is useful for those of that use ip masquerading, or NAT,
+and want to be able to reach your internal hosts.
+
+xinetd also has the ability to bind specific services to specific
+interfaces. This is useful when you want to make services available
+for your internal network, but not the rest of the world. Or to have a
+different service running on the same port, but different interfaces.
%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.
+%description -l pt_BR
+O xinetd é um substituto poderoso para o inetd.
+
+Tem mecanismos de controle de acesso, capacidades extensivas de
+registro de ocorrências, possibilita tornar serviços disponíveis de
+acordo com horários e pode limitar o número de servidores que podem
+ser iniciados, entre outras coisas.
+
+Também possibilita redirecionar fluxos TCP para uma máquina e porta
+remota. Isto é útil para aqueles que usam ip masquerading ou NAT e
+querem poder acessar máquinas na rede interna.
+
+Também possibilita associar serviços específicos a interfaces
+específicas. Isto é útil quando você quer disponibilizar serviços para
+sua rede interna, mas não para o resto do mundo. Ou ter um serviço
+diferente rodando na mesma porta, mas em interfaces diferentes.
+
+%description -l uk
+xinetd - ÚÁͦÎÁ inetd Ú ÂÁÇÁÔÉÍÉ ÍÏÖÌÉ×ÏÓÔÑÍÉ.
+
+óÅÒÅÄ ¦ÎÛÏÇÏ, xinetd ÍÁ¤ ÍÅÈÁΦÚÍÉ ÕÐÒÁ×̦ÎÎÑ ÄÏÓÔÕÐÏÍ, ÂÁÇÁÔ¦
+ÍÏÖÌÉ×ÏÓÔ¦ ÐÒÏÔÏËÏÌÀ×ÁÎÎÑ, ÚÄÁÔΦÓÔØ ÒÅÇÕÌÀ×ÁÔÉ ÄÏÓÔÕÐΦÓÔØ ÓÅÒ×¦Ó¦× ×
+ÚÁÌÅÖÎÏÓÔ¦ ×¦Ä ÞÁÓÕ, ÍÏÖÅ ÏÂÍÅÖÕ×ÁÔÉ Ë¦ÌØ˦ÓÔØ ÏÄÎÏÞÁÓÎÏ ÐÒÁÃÀÀÞÉÈ
+ÓÅÒ×ÅÒ¦×.
+
+xinetd ÍÁ¤ ÍÏÖÌÉצÓÔØ ÐÅÒÅÎÁÐÒÁ×ÌÑÔÉ TCP ÐÏÔÏËÉ ÎÁ ¦ÎÛÉÊ ÈÏÓÔ ÔÁ ÐÏÒÔ.
+ãÅ ËÏÒÉÓÎÏ ÄÌÑ ÔÉÈ, ÈÔÏ ×ÉËÏÒÉÓÔÏ×Õ¤ ip ÍÁÓËÁÒÁÄÉÎÇ ÞÉ NAT ÔÁ ÈÏÞÅ
+ÍÁÔÉ ÍÏÖÌÉצÓÔØ ÄÏÓÔÕÐÕ ÄÏ ×ÎÕÔÒ¦ÛÎ¦È ÈÏÓÔ¦×.
+
+xinetd ÔÁËÏÖ ÍÁ¤ ÍÏÖÌÉצÓÔØ ÐÒÉ×'ÑÚÕ×ÁÔÉ ËÏÎËÒÅÔΦ ÓÅÒצÓÉ ÄÏ
+ËÏÎËÒÅÔÎÉÈ ¦ÎÔÅÒÆÅÊÓ¦×. ãÅ ËÏÒÉÓÎÏ, ËÏÌÉ ×É ÈÏÞÅÔÅ ÚÒÏÂÉÔÉ ÓÅÒצÓÉ
+ÄÏÓÔÕÐÎÉÍÉ ÌÉÛÅ ÄÌÑ ×ÎÕÔÒ¦ÛÎØϧ ÍÅÒÅÖ¦, ÁÌÅ ÎÅ ÄÌÑ ÒÅÛÔÉ ¶ÎÔÅÒÎÅÔÕ.
+áÂÏ Ö ÍÁÔÉ Ò¦ÚΦ ÓÅÒצÓÉ ÎÁ ÔÏÍÕ Ö ÎÏÍÅÒ¦ ÐÏÒÔÁ, ÁÌÅ Ò¦ÚÎÉÈ
+¦ÎÔÅÒÆÅÊÓÁÈ.
+
+%description -l ru
+xinetd - ÚÁÍÅÎÁ inetd Ó ÂÏÇÁÔÙÍÉ ×ÏÚÍÏÖÎÏÓÔÑÍÉ.
+
+óÒÅÄÉ ÐÒÏÞÅÇÏ, xinetd ÉÍÅÅÔ ÍÅÈÁÎÉÚÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÄÏÓÔÕÐÏÍ, ÂÏÇÁÔÙÅ
+×ÏÚÍÏÖÎÏÓÔÉ ÐÒÏÔÏËÏÌÉÒÏ×ÁÎÉÑ, ÓÐÏÓÏÂÎÏÓÔØ ÒÅÇÕÌÉÒÏ×ÁÔØ ÄÏÓÔÕÐÎÏÓÔØ
+ÓÅÒ×ÉÓÏ× × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ×ÒÅÍÅÎÉ, ÍÏÖÅÔ ÏÇÒÁÎÉÞÉ×ÁÔØ ËÏÌÉÞÅÓÔ×Ï
+ÏÄÎÏ×ÒÅÍÅÎÎÏ ÒÁÂÏÔÁÀÝÉÈ ÓÅÒ×ÅÒÏ×.
+
+xinetd ÉÍÅÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÐÅÒÅÎÁÐÒÁ×ÌÑÔØ TCP ÐÏÔÏËÉ ÎÁ ÄÒÕÇÏÊ ÈÏÓÔ É
+ÐÏÒÔ. üÔÏ ÐÏÌÅÚÎÏ ÄÌÑ ÔÅÈ, ËÔÏ ÉÓÐÏÌØÚÕÅÔ ip ÍÁÓËÁÒÁÄÉÎÇ ÉÌÉ NAT É
+ÈÏÞÅÔ ÉÍÅÔØ ×ÏÚÍÏÖÎÏÓÔØ ÄÏÓÔÕÐÁ Ë ×ÎÕÔÒÅÎÎÉÍ ÈÏÓÔÁÍ.
+
+xinetd ÔÁËÖÅ ÉÍÅÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÐÒÉ×ÑÚÙ×ÁÔØ ËÏÎËÒÅÔÎÙÅ ÓÅÒ×ÉÓÙ Ë
+ËÏÎËÒÅÔÎÙÍ ÉÎÔÅÒÆÅÊÓÁÍ. üÔÏ ÐÏÌÅÚÎÏ, ÅÓÌÉ ×Ù ÈÏÔÉÔÅ ÓÄÅÌÁÔØ ÓÅÒ×ÉÓÙ
+ÄÏÓÔÕÐÎÙÍÉ ÔÏÌØËÏ ÄÌÑ ×ÎÕÔÒÅÎÎÅÊ ÓÅÔÉ, ÎÏ ÎÅ ÄÌÑ ÏÓÔÁÌØÎÏÇÏ éÎÔÅÒÎÅÔÁ.
+éÌÉ ÖÅ ÉÍÅÔØ ÒÁÚÎÙÅ ÓÅÒ×ÉÓÙ ÎÁ ÔÏÍ ÖÅ ÎÏÍÅÒÅ ÐÏÒÔÁ, ÎÏ ÒÁÚÎÙÈ
+ÉÎÔÅÒÆÅÊÓÁÈ.
+
%prep
%setup -q
+%patch0 -p1
%build
-autoconf
+%{__aclocal}
+%{__autoconf}
+cp -f /usr/share/automake/config.sub .
%configure \
--with-libwrap \
- %{?!_without_ipv6:--with-inet6} \
--with-loadavg
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_sbindir} \
- $RPM_BUILD_ROOT/%{_mandir}/man{5,8} \
- $RPM_BUILD_ROOT/%{_sysconfdir}/{rc.d/init.d,sysconfig}
-
-install xinetd/xinetd $RPM_BUILD_ROOT/%{_sbindir}
-install xinetd/itox $RPM_BUILD_ROOT/%{_sbindir}
-install xinetd/xinetd.conf.man $RPM_BUILD_ROOT/%{_mandir}/man5/xinetd.conf.5
-install xinetd/xinetd.log.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.log.8
-install xinetd/xinetd.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.8
-install xinetd/itox.8 $RPM_BUILD_ROOT/%{_mandir}/man8/itox.8
+install -d $RPM_BUILD_ROOT%{_sbindir} \
+ $RPM_BUILD_ROOT%{_mandir}/man{5,8} \
+ $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig}
+
+install xinetd/xinetd $RPM_BUILD_ROOT%{_sbindir}
+install xinetd/itox $RPM_BUILD_ROOT%{_sbindir}
+install xinetd/xinetd.conf.man $RPM_BUILD_ROOT%{_mandir}/man5/xinetd.conf.5
+install xinetd/xinetd.log.man $RPM_BUILD_ROOT%{_mandir}/man8/xinetd.log.8
+install xinetd/xinetd.man $RPM_BUILD_ROOT%{_mandir}/man8/xinetd.8
+install xinetd/itox.8 $RPM_BUILD_ROOT%{_mandir}/man8/itox.8
install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inet.script
:> $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.conf
cp xinetd/sample.conf .
cp xinetd/xconv.pl .
-gzip -9nf README CHANGELOG sample.conf xconv.pl
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README CHANGELOG sample.conf xconv.pl
%attr(755,root,root) %{_sbindir}/*
%attr(640,root,root) %ghost %{_sysconfdir}/xinetd.conf
%attr(640,root,root) /etc/sysconfig/rc-inet.script