Ticket #16000: Portfile.diff

File Portfile.diff, 2.4 KB (added by usx303@…, 16 years ago)

final Portfile patch

  • (a) Portfile-whitespaces vs. (b) Portfile

    a b  
    44PortSystem      1.0
    55
    66name            prelude-manager
    7 version         0.9.10
     7version         0.9.13
    88categories      security
    9 maintainers     nomaintainer
     9maintainers     openmaintainer \
     10                usx303@googlemail.com
    1011
    1112description     Prelude Network Intrusion Detection System central logging point
    1213
     
    1920
    2021homepage        http://www.prelude-ids.org
    2122
    22 master_sites    http://www.prelude-ids.org/download/releases/ \
    23                 http://www.prelude-ids.org/download/releases/old/
     23master_sites    http://www.prelude-ids.org/download/releases/prelude-manager/ \
    2424
    2525platforms       darwin
    26 checksums       md5 7f164d7ec6ffbfc6ab065165ea39b6fd
     26
     27checksums       md5 b83b6bf8ce7ca3976446c830c0602ce2 \
     28                sha1 d6fd59e4e918399ae78d2539b0563f77a12fc41d \
     29                rmd160 c4333c23fa9e55afdad558ce19d56869c5cf4d8b
     30
    2731build.type      gnu
    2832
    2933configure.args  --mandir=${prefix}/share/man \
    3034                --with-html-dir=${prefix}/share/doc \
    31                 --localstatedir=${prefix}/var \
    32                 --enable-ssl \
    33                 --disable-mysql \
    34                 --disable-pgsql
    35    
     35                --localstatedir=${prefix}/var
     36
    3637depends_lib     port:libxml2 \
     38                port:gnutls \
    3739                port:libprelude
    3840
    3941post-destroot {
    4042        system "touch ${destroot}${prefix}/var/spool/prelude-manager/.turd"
    4143        reinplace "s|= /var|= ${prefix}/var|g" ${destroot}${prefix}/etc/prelude-manager/prelude-manager.conf
    4244}
    43 variant no_ssl {
    44         configure.args-delete --enable-ssl
    45         configure.args-append --disable-ssl
    46 }
    47 
    48 variant mysql {
    49         configure.args-delete --disable-mysql
    50         configure.args-append --enable-mysql
    51         depends_lib-append lib:libmysqlclient:mysql3
    52 }
    5345
    54 #variant pgsql {
    55 #       configure.args-delete --disable-pgsql
    56 #       configure.args-append --enable-pgsql
    57 #       depends_lib-append lib::postgresql
     46# At the moment libpreludedb in macports is outdated.
     47# There are also some issues with libpreludedb on Mac OS.
     48# Until these are fixed, installing libpreludedb is not recommended
     49# and the database plugin should be disabled.
     50# (so xml is the only output backend)
     51#
     52#variant database description {Build with database support (libpreludedb)} {
     53#        depends_lib-append port:libpreludedb
    5854#}
    5955