/[packages]/cauldron/cntlm/current/SPECS/cntlm.spec
ViewVC logotype

Annotation of /cauldron/cntlm/current/SPECS/cntlm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1418778 - (hide annotations) (download)
Fri Jul 5 14:21:47 2019 UTC (5 years, 6 months ago) by wally
File size: 1877 byte(s)
- move pid file to /run/cntlm/ (mga#25050)
1 matteo 1016587 %define debug_package %{nil}
2    
3     Summary: Fast NTLM authentication proxy with tunneling
4     Name: cntlm
5     Version: 0.92.3
6 wally 1418778 Release: %mkrel 3
7 matteo 1016587 License: GPLv2
8     Group: System/Networking
9     URL: http://cntlm.sourceforge.net/
10     Source0: %{name}-%{version}.tar.bz2
11 matteo 1016597 Source1: %{name}.service
12     Source2: %{name}-tmpfiles.conf
13 matteo 1016587
14 matteo 1016597 BuildRequires: gcc-c++
15 matteo 1016587
16     Requires(pre): rpm-helper >= %{rpmhelper_required_version}
17     Requires(post): rpm-helper >= %{rpmhelper_required_version}
18     Requires(preun): rpm-helper >= %{rpmhelper_required_version}
19     Requires(postun): rpm-helper >= %{rpmhelper_required_version}
20    
21     Provides: cntlm = %{version}
22    
23     %description
24     Cntlm is a fast and efficient NTLM proxy, with support for TCP/IP tunneling,
25     authenticated connection caching, ACLs, proper daemon logging and behaviour
26     and much more. It has up to ten times faster responses than similar NTLM
27     proxies, while using by orders or magnitude less RAM and CPU. Manual page
28     contains detailed information.
29    
30     %prep
31 ovitters 1143760 %setup -q
32 matteo 1016587
33     %build
34     %configure
35     %make SYSCONFDIR=%{_sysconfdir} \
36     BINDIR=%{_sbindir} \
37     MANDIR=%{_mandir}
38    
39     %install
40    
41     mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
42    
43     %makeinstall SYSCONFDIR=%{buildroot}/%{_sysconfdir} \
44     BINDIR=%{buildroot}/%{_sbindir} \
45     MANDIR=%{buildroot}/%{_mandir}
46    
47     install -D -m 755 %{SOURCE1} %{buildroot}/%{_unitdir}/cntlm.service
48     install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
49    
50     %pre
51     %_pre_useradd %{name} /dev/null /bin/false
52    
53     %post
54     %_tmpfilescreate %{name}
55     %_post_service %{name}
56    
57     %preun
58     %_preun_service %{name}
59    
60     %postun
61     %_postun_userdel %{name}
62    
63     %files
64     %doc LICENSE README COPYRIGHT
65     %{_sbindir}/cntlm
66     %{_mandir}/man1/cntlm.1*
67     %{_unitdir}/cntlm.service
68     %config(noreplace) %{_sysconfdir}/cntlm.conf
69     %{_tmpfilesdir}/%{name}.conf
70    

  ViewVC Help
Powered by ViewVC 1.1.30