]> git.pld-linux.org Git - SPECS.git/blob - midentd.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / midentd.spec
1 Summary:        Ident server with masquerading support
2 Summary(pl.UTF-8):      Ident serwer z obsługą maskowanych adresów IP
3 Name:           midentd
4 Version:        2.3.1
5 Release:        4
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://panorama.sth.ac.at/midentd/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  84aca797c2569667a52fa9f5d4ac3e21
10 Source1:        %{name}.inetd
11 Source2:        %{name}.logrotate
12 URL:            http://panorama.sth.ac.at/midentd/
13 BuildRequires:  files-ownership(nobody-must-not-own-any-files)
14 BuildRequires:  rpm-perlprov
15 BuildRequires:  rpmbuild(macros) >= 1.268
16 Requires:       rc-inetd
17 Provides:       identserver
18 Obsoletes:      linux-identd
19 Obsoletes:      linux-identd-inetd
20 Obsoletes:      linux-identd-standalone
21 Obsoletes:      oidentd
22 Obsoletes:      oidentd-inetd
23 Obsoletes:      oidentd-standalone
24 Obsoletes:      pidentd
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 midentd is an identd replacement with masquerading support. With your
30 average identd on a masquerading firewall, if an ident request comes
31 in for a masqueraded connection, it will return 'ERROR : NO-USER' or
32 something along those lines. This may be quite irritating at times,
33 with, for example, IRC servers that won't let you in if they don't get
34 a valid ident reply.
35
36 %description -l pl.UTF-8
37 midentd jest serwerem usługi ident z obsługą maskowania adresów.
38 Jeżeli masz zainstalowanego zwykłego identd oraz korzystasz z
39 maskowania adresów przy zapytaniu o maskowane połączenie identd zwraca
40 'ERROR : NO-USER' lub coś w tym stylu. To może być czasami irytujące,
41 na przykład jak serwery IRC-a nie chcą Cię wpuścić jeżeli nie
42 otrzymają poprawnej odpowiedzi o ident.
43
44 %prep
45 %setup -q
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,/etc/logrotate.d,%{_sbindir},/var/log}
50
51 install midentd $RPM_BUILD_ROOT%{_sbindir}
52 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/midentd
53 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/midentd
54
55 :> $RPM_BUILD_ROOT%{_sysconfdir}/midentd.conf
56 :> $RPM_BUILD_ROOT%{_sysconfdir}/midentd.mircusers
57 :> $RPM_BUILD_ROOT/var/log/midentd.log
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %service -q rc-inetd reload
64
65 %postun
66 if [ "$1" = 0 ]; then
67         %service -q rc-inetd reload
68 fi
69
70 %files
71 %defattr(644,root,root,755)
72 %doc CHANGELOG README
73 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/midentd
74 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/midentd.*
75 %attr(755,root,root) %{_sbindir}/*
76 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/midentd
77 # FIXME nobody user/group can't own files! -adapter.awk
78 %attr(600,nobody,root) %ghost /var/log/midentd.log
This page took 0.290908 seconds and 3 git commands to generate.