Ticket #38856: Portfile-dansguardian.2.diff

File Portfile-dansguardian.2.diff, 2.1 KB (added by mroman@…, 12 years ago)
Line 
17,8c7
2< version         2.10.1.1
3< revision        1
4---
5> version         2.12.0.3
610a10
7> license         GPL-2
818,24c18,24
9< master_sites    http://dansguardian.org/downloads/2/Stable/ \
10<                 http://usmirror.dansguardian.org/downloads/2/Stable/ \
11<                 http://mirrors.evis.net.ph/dansguardian/downloads/2/Stable/
12<
13< checksums       md5     0987a1c9bfbdf398118386f10279611a \
14<                 sha1    ff3012e01130b2269582c21c3eeb4ea013dc9679 \
15<                 rmd160  dc15ca9779a5084c5e4248545c730f25fff241a3
16---
17> master_sites    sourceforge
18>
19> checksums           md5     2a88d0392cd28eaec02b7ee727b2e253 \
20>                     sha1    c5d8175910310f9a03efc2e6cb440ea418adb896 \
21>                     rmd160  312db0ce2db9d1b2ed537807f9b2eca5d76a4123
22>
23> use_bzip2     yes
2432,34c32,34
25<               --disable-clamav
26<
27< use_parallel_build  yes
28---
29>               --disable-clamd \
30>               --enable-avastd \
31>               --enable-kavd
3240c40
33< variant clamav description {Enable support for libclamav av scanner} {
34---
35> variant clamav description {Enable support for clamav av scanner} {
3643,46d42
37<       # enable --enable-clamav in the next version if it works with >=clamav-0.95
38<       #configure.args-delete  --disable-clamav
39<       #configure.args-append  --enable-clamav
40<       
4159c55
42< post-destroot {
43---
44> post-activate {
4572,77c68,72
46<               
47<       # by default dansguardian runs as nobody and writes log to /var/log/dansguardian/access.log
48<       # !!! when user rebuilds dansguardian with clamav variant var/log/dansguardian/access.log has old owner and access is denied
49<       # the solution is to rm -rf ${prefix}/var/log/dansguardian and port activate dansguardian
50<       xinstall -d -o ${runas_user} -g ${runas_group} -m 755 ${destroot}${prefix}/var/log/dansguardian
51<       destroot.keepdirs-append ${destroot}${prefix}/var/log/dansguardian
52---
53>       
54>       set log_path ${prefix}/var/log/dansguardian
55>       exec mkdir -p ${log_path}
56>       exec chown -R ${runas_user}:${runas_group} ${log_path}
57>       exec chmod -R 755 ${log_path}
5879,83d73
59<
60< livecheck.type  regex
61< livecheck.url   "http://dansguardian.org/?page=news"
62< livecheck.regex "DansGuardian&nbsp;(.*)&nbsp;is.*released!"
63<