Summary: | ebuild for cntlm an ntlm authenticating proxy | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simon Keimer <skeimer> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | mlm, svrmarty, wojciech |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-proxy/cntlm -0.35.1 initial ebuild
cntlm-0.35.1.ebuild proposed ebuild sample /etc/init.d/cntlm sample /etc/conf.d/cntlm revised ebuild revised init script revised conf.d script again revised ebuild - moved enewuser/enewgroup to postinst. |
Description
Simon Keimer
2008-05-04 09:33:47 UTC
Created attachment 151779 [details]
net-proxy/cntlm -0.35.1 initial ebuild
- 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 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." Created attachment 153995 [details]
cntlm-0.35.1.ebuild
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.
Created attachment 157497 [details]
sample /etc/init.d/cntlm
sample (i.e. _very_ stupid) /etc/init.d/cntlm
probably works
Created attachment 157499 [details]
sample /etc/conf.d/cntlm
/etc/conf.d/cntlm compatible with my /etc/init.d/cntlm
please add this ebuild, it's very useful if net-proxy/ntlmaps doesn't work 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 Created attachment 220965 [details]
revised ebuild
Created attachment 220967 [details]
revised init script
Created attachment 220969 [details]
revised conf.d script
it builds installs and works for me now. Created attachment 220971 [details]
again revised ebuild - moved enewuser/enewgroup to postinst.
added an ebuild for it :) using it personally too now. |