Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37748316
en ru br
ALT Linux repos
S:0.92.3-alt2
5.0: 0.35.1-alt3
4.1: 0.35.1-alt3

Group :: System/Servers
RPM: cntlm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Version:        0.35.1
Release:        alt3

Summary:        Fast NTLM authentication proxy with tunneling
Name:           cntlm
License:        GPL-2
Group: System/Servers
URL:            http://cntlm.sourceforge.net/


Source0:        %name-%version.tar.bz2
Source1:        cntlm.init

%description
Cntlm is a fast and efficient NTLM proxy, with support for TCP/IP tunneling,
authenticated connection caching, ACLs, proper daemon logging and behaviour
and much more. It has up to ten times faster responses than similar NTLM
proxies, while using by orders or magnitude less RAM and CPU. Manual page
contains detailed information.

%prep
%setup
%__subst 's!\-o root \-g root \-m [[:digit:]]\+!!g' Makefile

%build
%configure
%make_build SYSCONFDIR=%_sysconfdir \
BINDIR=%_bindir \
MANDIR=%_mandir

%install
%makeinstall SYSCONFDIR=%buildroot/%_sysconfdir \
BINDIR=%buildroot/%_bindir \
MANDIR=%buildroot/%_mandir

%__install -D -m 755 %SOURCE1 %buildroot/%_initrddir/cntlmd

%files
%doc LICENSE README COPYRIGHT
%_bindir/cntlm
%_man1dir/cntlm.1*
%config(noreplace) %_sysconfdir/cntlm.conf
%config(noreplace) %_initrddir/cntlmd

%pre
%_sbindir/useradd -s /sbin/nologin -m -r -k /var/empty -d /var/run/cntlm cntlm >/dev/null 2>&1 ||:

%post
%post_service cntlmd

%preun
%preun_service cntlmd

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin