]> git.pld-linux.org Git - packages/xinetd.git/blob - xinetd.spec
- 2.3.12
[packages/xinetd.git] / xinetd.spec
1 Summary:        Xinetd - a powerful replacement for inetd
2 Summary(pl):    Xinetd - rozbudowany zamiennik inetd
3 Summary(pt_BR): O xinetd é um substituto poderoso e seguro para o inetd
4 Summary(ru):    xinetd - ÂÏÇÁÔÁÑ ×ÏÚÍÏÖÎÏÓÔÑÍÉ ÚÁÍÅÎÁ inetd
5 Summary(uk):    xinetd - ÂÁÇÁÔÁ ÍÏÖÌÉ×ÏÓÔÑÍÉ ÚÁͦÎÁ inetd
6 Name:           xinetd
7 Version:        2.3.12
8 Release:        1
9 Group:          Daemons
10 License:        BSD-like
11 Source0:        http://www.xinetd.org/%{name}-%{version}.tar.gz
12 # Source0-md5:  16154191731b6449d934eecacef647dd
13 Source1:        %{name}.inet.sh
14 Patch0:         %{name}-no_libnsl.patch
15 URL:            http://www.xinetd.org/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libwrap-devel
19 Requires:       rc-inetd
20 Prereq:         rc-scripts
21 Requires:       /etc/rc.d/init.d/rc-inetd
22 Provides:       inetdaemon
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes:      inetdaemon
25 Obsoletes:      inetd
26 Obsoletes:      rlinetd
27 Obsoletes:      netkit-base
28
29 %define         _sysconfdir     /etc
30
31 %description
32 xinetd is a powerful replacement for inetd. xinetd has access control
33 machanisms, extensive logging capabilities, the ability to make
34 services available based on time, and can place limits on the number
35 of servers that can be started, among other things.
36
37 xinetd has the ability to redirect TCP streams to a remote host and
38 port. This is useful for those of that use ip masquerading, or NAT,
39 and want to be able to reach your internal hosts.
40
41 xinetd also has the ability to bind specific services to specific
42 interfaces. This is useful when you want to make services available
43 for your internal network, but not the rest of the world. Or to have a
44 different service running on the same port, but different interfaces.
45
46 %description -l pl
47 xinetd jest bezpieczniejszym i rozbudowanym odpowiednikiem inetd.
48 Niektóre funkcje to wbudowana kontrola dostêpu (oparta o libwrap),
49 kontrola zu¿ycia zasobów i wbudowana obs³uga IPv6.
50
51 %description -l pt_BR
52 O xinetd é um substituto poderoso para o inetd.
53
54 Tem mecanismos de controle de acesso, capacidades extensivas de
55 registro de ocorrências, possibilita tornar serviços disponíveis de
56 acordo com horários e pode limitar o número de servidores que podem
57 ser iniciados, entre outras coisas.
58
59 Também possibilita redirecionar fluxos TCP para uma máquina e porta
60 remota. Isto é útil para aqueles que usam ip masquerading ou NAT e
61 querem poder acessar máquinas na rede interna.
62
63 Também possibilita associar serviços específicos a interfaces
64 específicas. Isto é útil quando você quer disponibilizar serviços para
65 sua rede interna, mas não para o resto do mundo. Ou ter um serviço
66 diferente rodando na mesma porta, mas em interfaces diferentes.
67
68 %description -l uk
69 xinetd - ÚÁͦÎÁ inetd Ú ÂÁÇÁÔÉÍÉ ÍÏÖÌÉ×ÏÓÔÑÍÉ.
70
71 óÅÒÅÄ ¦ÎÛÏÇÏ, xinetd ÍÁ¤ ÍÅÈÁΦÚÍÉ ÕÐÒÁ×̦ÎÎÑ ÄÏÓÔÕÐÏÍ, ÂÁÇÁÔ¦
72 ÍÏÖÌÉ×ÏÓÔ¦ ÐÒÏÔÏËÏÌÀ×ÁÎÎÑ, ÚÄÁÔΦÓÔØ ÒÅÇÕÌÀ×ÁÔÉ ÄÏÓÔÕÐΦÓÔØ ÓÅÒצӦנ×
73 ÚÁÌÅÖÎÏÓÔ¦ ×¦Ä ÞÁÓÕ, ÍÏÖÅ ÏÂÍÅÖÕ×ÁÔɠ˦ÌØ˦ÓÔØ ÏÄÎÏÞÁÓÎÏ ÐÒÁÃÀÀÞÉÈ
74 ÓÅÒ×ÅÒ¦×.
75
76 xinetd ÍÁ¤ ÍÏÖÌÉצÓÔØ ÐÅÒÅÎÁÐÒÁ×ÌÑÔÉ TCP ÐÏÔÏËÉ ÎÁ ¦ÎÛÉÊ ÈÏÓÔ ÔÁ ÐÏÒÔ.
77 ãÅ ËÏÒÉÓÎÏ ÄÌÑ ÔÉÈ, ÈÔÏ ×ÉËÏÒÉÓÔÏ×Õ¤ ip ÍÁÓËÁÒÁÄÉÎÇ ÞÉ NAT ÔÁ ÈÏÞÅ
78 ÍÁÔÉ ÍÏÖÌÉצÓÔØ ÄÏÓÔÕÐÕ ÄÏ ×ÎÕÔÒ¦ÛΦȠÈÏÓÔ¦×.
79
80 xinetd ÔÁËÏÖ ÍÁ¤ ÍÏÖÌÉצÓÔØ ÐÒÉ×'ÑÚÕ×ÁÔÉ ËÏÎËÒÅÔΦ ÓÅÒצÓÉ ÄÏ
81 ËÏÎËÒÅÔÎÉÈ ¦ÎÔÅÒÆÅÊÓ¦×. ãÅ ËÏÒÉÓÎÏ, ËÏÌÉ ×É ÈÏÞÅÔÅ ÚÒÏÂÉÔÉ ÓÅÒצÓÉ
82 ÄÏÓÔÕÐÎÉÍÉ ÌÉÛÅ ÄÌÑ ×ÎÕÔÒ¦ÛÎØϧ ÍÅÒÅÖ¦, ÁÌÅ ÎÅ ÄÌÑ ÒÅÛÔÉ ¶ÎÔÅÒÎÅÔÕ.
83 áÂÏ Ö ÍÁÔÉ Ò¦ÚΦ ÓÅÒצÓÉ ÎÁ ÔÏÍÕ Ö ÎÏÍÅÒ¦ ÐÏÒÔÁ, ÁÌÅ Ò¦ÚÎÉÈ
84 ¦ÎÔÅÒÆÅÊÓÁÈ.
85
86 %description -l ru
87 xinetd - ÚÁÍÅÎÁ inetd Ó ÂÏÇÁÔÙÍÉ ×ÏÚÍÏÖÎÏÓÔÑÍÉ.
88
89 óÒÅÄÉ ÐÒÏÞÅÇÏ, xinetd ÉÍÅÅÔ ÍÅÈÁÎÉÚÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÄÏÓÔÕÐÏÍ, ÂÏÇÁÔÙÅ
90 ×ÏÚÍÏÖÎÏÓÔÉ ÐÒÏÔÏËÏÌÉÒÏ×ÁÎÉÑ, ÓÐÏÓÏÂÎÏÓÔØ ÒÅÇÕÌÉÒÏ×ÁÔØ ÄÏÓÔÕÐÎÏÓÔØ
91 ÓÅÒ×ÉÓÏ× × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÔ ×ÒÅÍÅÎÉ, ÍÏÖÅÔ ÏÇÒÁÎÉÞÉ×ÁÔØ ËÏÌÉÞÅÓÔ×Ï
92 ÏÄÎÏ×ÒÅÍÅÎÎÏ ÒÁÂÏÔÁÀÝÉÈ ÓÅÒ×ÅÒÏ×.
93
94 xinetd ÉÍÅÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÐÅÒÅÎÁÐÒÁ×ÌÑÔØ TCP ÐÏÔÏËÉ ÎÁ ÄÒÕÇÏÊ ÈÏÓÔ É
95 ÐÏÒÔ. üÔÏ ÐÏÌÅÚÎÏ ÄÌÑ ÔÅÈ, ËÔÏ ÉÓÐÏÌØÚÕÅÔ ip ÍÁÓËÁÒÁÄÉÎÇ ÉÌÉ NAT É
96 ÈÏÞÅÔ ÉÍÅÔØ ×ÏÚÍÏÖÎÏÓÔØ ÄÏÓÔÕÐÁ Ë ×ÎÕÔÒÅÎÎÉÍ ÈÏÓÔÁÍ.
97
98 xinetd ÔÁËÖÅ ÉÍÅÅÔ ×ÏÚÍÏÖÎÏÓÔØ ÐÒÉ×ÑÚÙ×ÁÔØ ËÏÎËÒÅÔÎÙÅ ÓÅÒ×ÉÓÙ Ë
99 ËÏÎËÒÅÔÎÙÍ ÉÎÔÅÒÆÅÊÓÁÍ. üÔÏ ÐÏÌÅÚÎÏ, ÅÓÌÉ ×Ù ÈÏÔÉÔÅ ÓÄÅÌÁÔØ ÓÅÒ×ÉÓÙ
100 ÄÏÓÔÕÐÎÙÍÉ ÔÏÌØËÏ ÄÌÑ ×ÎÕÔÒÅÎÎÅÊ ÓÅÔÉ, ÎÏ ÎÅ ÄÌÑ ÏÓÔÁÌØÎÏÇÏ éÎÔÅÒÎÅÔÁ.
101 éÌÉ ÖÅ ÉÍÅÔØ ÒÁÚÎÙÅ ÓÅÒ×ÉÓÙ ÎÁ ÔÏÍ ÖÅ ÎÏÍÅÒÅ ÐÏÒÔÁ, ÎÏ ÒÁÚÎÙÈ
102 ÉÎÔÅÒÆÅÊÓÁÈ.
103
104 %prep
105 %setup -q
106 %patch0 -p1
107
108 %build
109 %{__aclocal}
110 %{__autoconf}
111 %configure  \
112         --with-libwrap \
113         --with-inet6  \
114         --with-loadavg
115 %{__make}
116 cp xinetd/xinetd xinetd/xinetd-ipv6
117 %{__make} clean
118 rm -f config.cache
119 %configure  \
120         --with-libwrap \
121         --with-loadavg
122 %{__make}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT%{_sbindir} \
127         $RPM_BUILD_ROOT%{_mandir}/man{5,8} \
128         $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig}
129
130 install xinetd/xinetd $RPM_BUILD_ROOT%{_sbindir}
131 install xinetd/xinetd-ipv6 $RPM_BUILD_ROOT%{_sbindir}
132 install xinetd/itox $RPM_BUILD_ROOT%{_sbindir}
133 install xinetd/xinetd.conf.man $RPM_BUILD_ROOT%{_mandir}/man5/xinetd.conf.5
134 install xinetd/xinetd.log.man $RPM_BUILD_ROOT%{_mandir}/man8/xinetd.log.8
135 install xinetd/xinetd.man $RPM_BUILD_ROOT%{_mandir}/man8/xinetd.8
136 install xinetd/itox.8 $RPM_BUILD_ROOT%{_mandir}/man8/itox.8
137 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inet.script
138 :> $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.conf
139
140 cp xinetd/sample.conf .
141 cp xinetd/xconv.pl .
142
143 %clean
144 rm -rf $RPM_BUILD_ROOT
145
146 %post
147 if [ -f /var/lock/subsys/rc-inetd ]; then
148         /etc/rc.d/init.d/rc-inetd restart 1>&2
149 else
150         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start xinetd" 1>&2
151 fi
152
153 %preun
154 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
155         /etc/rc.d/init.d/rc-inetd stop
156 fi
157
158 %files
159 %defattr(644,root,root,755)
160 %doc README CHANGELOG sample.conf xconv.pl
161 %attr(755,root,root) %{_sbindir}/*
162 %attr(640,root,root) %ghost %{_sysconfdir}/xinetd.conf
163 %attr(640,root,root) /etc/sysconfig/rc-inet.script
164 %{_mandir}/man[158]/*
This page took 0.044484 seconds and 4 git commands to generate.