Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220205 - ebuild for cntlm an ntlm authenticating proxy
Summary: ebuild for cntlm an ntlm authenticating proxy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-05-04 09:33 UTC by Simon Keimer
Modified: 2010-02-24 13:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-proxy/cntlm -0.35.1 initial ebuild (cntlm-0.35.1.ebuild,619 bytes, text/plain)
2008-05-04 09:34 UTC, Simon Keimer
Details
cntlm-0.35.1.ebuild (cntlm-0.35.1.ebuild,749 bytes, text/plain)
2008-05-22 21:48 UTC, Marek Miller
Details
proposed ebuild (cntlm-0.35.1-r1.ebuild,903 bytes, text/plain)
2008-06-18 20:52 UTC, Wojciech Porczyk
Details
sample /etc/init.d/cntlm (cntlm.initd,451 bytes, text/plain)
2008-06-18 20:54 UTC, Wojciech Porczyk
Details
sample /etc/conf.d/cntlm (cntlm.confd,223 bytes, text/plain)
2008-06-18 20:56 UTC, Wojciech Porczyk
Details
revised ebuild (cntlm-0.35.1-r1.ebuild,931 bytes, text/plain)
2010-02-24 13:04 UTC, Markus Duft (RETIRED)
Details
revised init script (cntlm.initd,438 bytes, text/plain)
2010-02-24 13:04 UTC, Markus Duft (RETIRED)
Details
revised conf.d script (cntlm.confd,150 bytes, text/plain)
2010-02-24 13:04 UTC, Markus Duft (RETIRED)
Details
again revised ebuild - moved enewuser/enewgroup to postinst. (cntlm-0.35.1-r1.ebuild,934 bytes, text/plain)
2010-02-24 13:12 UTC, Markus Duft (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Keimer 2008-05-04 09:33:47 UTC
This is the initial ebuild for net-proxy/cntlm-0.35.1
Comment 1 Simon Keimer 2008-05-04 09:34:35 UTC
Created attachment 151779 [details]
net-proxy/cntlm -0.35.1 initial ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-04 12:01:51 UTC
- stray space at the end of the description
- invalid license, have a look at /usr/portage/licenses
- keywords should be ~arch
- i've the idea r/dependencies might be missing
Comment 3 Marek Miller 2008-05-22 21:47:35 UTC
I've fixed the ebuild. And tested it on my x86.
The man page says that default configuration file for
a version compiled from source is /usr/local/etc/cntlm.conf,
so I suggest changing the Makefile and setting it to /etc/cntlm.conf 
(Without this the porgram prints error message:
     cntlm: Could not open default config file
)


I also browsed the homepage for dependencies and found:

"Cntlm has no dependencies. It uses ISO C99 and POSIX.1-2001 interface (i.e. SUSv3 / UNIX 03), and can be made POSIX.1c / SUSv2 / UNIX 98 or even older standards compliant (incl. other threading libraries). Compiles cleanly on any UNIX-like system (both little and big endian; GCC and IBM XL C/C++ being officially supported) having sane libc and POSIX threads."

Comment 4 Marek Miller 2008-05-22 21:48:42 UTC
Created attachment 153995 [details]
cntlm-0.35.1.ebuild
Comment 5 Wojciech Porczyk 2008-06-18 20:52:20 UTC
Created attachment 157495 [details]
proposed ebuild

I am submitting improved ebuild. It creates user and group 'cntlm' and also installs init.d and conf.d files.
Comment 6 Wojciech Porczyk 2008-06-18 20:54:48 UTC
Created attachment 157497 [details]
sample /etc/init.d/cntlm

sample (i.e. _very_ stupid) /etc/init.d/cntlm
probably works
Comment 7 Wojciech Porczyk 2008-06-18 20:56:23 UTC
Created attachment 157499 [details]
sample /etc/conf.d/cntlm

/etc/conf.d/cntlm compatible with my /etc/init.d/cntlm
Comment 8 svrmarty 2010-02-24 09:43:21 UTC
please add this ebuild,

it's very useful if net-proxy/ntlmaps doesn't work
Comment 9 svrmarty 2010-02-24 10:26:25 UTC
i suggest to change pid-file in init.d to directory /var/run/cntlm
to run it with user cntlm, cause it won't start without write permissions in /var/run
Comment 10 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:04:10 UTC
Created attachment 220965 [details]
revised ebuild
Comment 11 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:04:38 UTC
Created attachment 220967 [details]
revised init script
Comment 12 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:04:56 UTC
Created attachment 220969 [details]
revised conf.d script
Comment 13 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:05:40 UTC
it builds installs and works for me now.
Comment 14 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:12:13 UTC
Created attachment 220971 [details]
again revised ebuild - moved enewuser/enewgroup to postinst.
Comment 15 Markus Duft (RETIRED) gentoo-dev 2010-02-24 13:19:06 UTC
added an ebuild for it :) using it personally too now.