]> git.pld-linux.org Git - SPECS.git/blob - pidentd.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / pidentd.spec
1 Summary:        Internet Daemon: Authorization, User Identification
2 Summary(de.UTF-8):      Internet-Dämon: Autorisierung, User-Identifikation
3 Summary(fr.UTF-8):      Démon Internet : autorisation, identification de l'utilisateur
4 Summary(pl.UTF-8):      Demon Internetowy: autoryzacja, identyfikacja użytkownika
5 Summary(tr.UTF-8):      Internet kullanıcı saptama süreci
6 Name:           pidentd
7 Version:        3.1a25
8 Release:        3
9 License:        Public Domain
10 Group:          Networking/Daemons
11 Source0:        ftp://ftp.lysator.liu.se/pub/ident/servers/test/%{name}-%{version}.tar.gz
12 # Source0-md5:  cdb1a8a9d881233cf52400d4f0e3a6e1
13 Source1:        %{name}.inetd
14 Patch0:         %{name}-DESTDIR.patch
15 Patch1:         %{name}-ac_fix.patch
16 Patch2:         %{name}-segv.patch
17 Patch3:         %{name}-config.patch
18 URL:            http://www.lysator.liu.se/~pen/pidentd/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  rpmbuild(macros) >= 1.268
22 Requires:       rc-inetd >= 0.8.1
23 Provides:       identserver
24 Obsoletes:      linux-identd
25 Obsoletes:      linux-identd-inetd
26 Obsoletes:      linux-identd-standalone
27 Obsoletes:      midentd
28 Obsoletes:      oidentd
29 Obsoletes:      oidentd-inetd
30 Obsoletes:      oidentd-standalone
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 identd is a program that implements the RFC1413 identification server.
35 identd operates by looking up specific TCP/IP connections and
36 returning the user name of the process owning the connection.
37
38 %description -l de.UTF-8
39 identd ist ein Programm, das den RFC1413-Identifikations-Server
40 implementiert. identd untersucht bestimmte TCP/IP-Verbindungen und
41 gibt dann den Benutzernamen des Prozesses aus, der die Verbindung
42 besitzt.
43
44 %description -l fr.UTF-8
45 identd est un programme qui implante le RFC1413 serveur
46 d'identication. Il agit en regardant des connexions TCP/IP spécifiques
47 et en renvoyant le nom de l'utilisateur du processus qui possède la
48 connexion.
49
50 %description -l pl.UTF-8
51 Identd jest programem zgodnym z RFC1413 (serwer identyfikacji). Demon
52 ten sprawdza połączenia TCP/IP i weryfikuje nazwę użytkownika procesu
53 który tworzy połączenie.
54
55 Gdy używasz pidentda w wersji wykorzystującej wątki (threads) pamiętaj
56 o uruchamianiu go z inetd w trybie 'wait'.
57
58 %description -l tr.UTF-8
59 identd RFC1413 ile tanımlanmış sunucuyu gerçekleyen bir programdır.
60 Bağlantı kuran sürecin kullanıcı ismini geri döndürür.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66 %patch2 -p1
67 %patch3 -p1
68
69 %build
70 cp -f /usr/share/automake/config.* aux
71 cp -f /usr/share/automake/config.* plib/aux
72 cd plib
73 %{__autoconf}
74 %{__autoheader}
75 cd ..
76 %{__autoconf}
77 %configure
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 install etc/identd.conf $RPM_BUILD_ROOT%{_sysconfdir}
88 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/pidentd
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 %service -q rc-inetd reload
95
96 %postun
97 if [ "$1" = 0 ]; then
98         %service -q rc-inetd reload
99 fi
100
101 %files
102 %defattr(644,root,root,755)
103 %doc ChangeLog FAQ README TODO
104 %attr(755,root,root) %{_sbindir}/*
105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/identd.conf
106 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/pidentd
107 %{_mandir}/man*/*
This page took 1.072622 seconds and 3 git commands to generate.