Commits
Frank Schima authored 29212ef419d
16 16 | Internet and to access corporate web servers \ |
17 17 | with NTLM protection. There are many advanced \ |
18 18 | features like NTLMv2 support, password protection, \ |
19 19 | password hashing, completely mutliplatform code \ |
20 20 | (running on just about every architecture and OS \ |
21 21 | out there) and so much more. |
22 22 | homepage http://cntlm.sourceforge.net/ |
23 23 | master_sites sourceforge:project/cntlm/cntlm/cntlm%20${version} |
24 24 | use_bzip2 yes |
25 25 | |
26 - | checksums rmd160 6655738ca5f93d15f14681d3c14bbe8ec8e6a543 \ |
27 - | sha256 7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930 |
26 + | checksums rmd160 6655738ca5f93d15f14681d3c14bbe8ec8e6a543 \ |
27 + | sha256 7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930 \ |
28 + | size 78198 |
28 29 | |
29 30 | patchfiles patch-Makefile.diff |
30 31 | |
31 32 | depends_lib port:coreutils |
32 33 | |
33 34 | build.args SYSCONFDIR=${destroot}${prefix}/etc \ |
34 35 | BINDIR=${destroot}${prefix}/sbin \ |
35 36 | MANDIR=${destroot}${prefix}/share/man |
36 37 | |
37 38 | destroot.args ${build.args} |
38 39 | |
40 + | post-destroot { |
41 + | # Move conf file to sample so it does not get overwritten |
42 + | file rename ${destroot}${prefix}/etc/cntlm.conf ${destroot}${prefix}/etc/cntlm.conf.sample |
43 + | } |
44 + | |
45 + | post-activate { |
46 + | # Create initial conf file if needed |
47 + | if {![file exists ${prefix}/etc/cntlm.conf]} { |
48 + | file copy ${prefix}/etc/cntlm.conf.sample \ |
49 + | ${prefix}/etc/cntlm.conf |
50 + | } |
51 + | } |
52 + | |
39 53 | startupitem.create yes |
40 54 | startupitem.name cntlm |
41 55 | startupitem.executable ${prefix}/sbin/cntlm -f |
42 56 | |
43 57 | notes "The Cntlm configuration file -> ${prefix}/etc/cntlm.conf" |
44 58 | |
45 59 | livecheck.regex ${name} (\[0-9.\]+) |