Ticket #16000: Portfile.diff
File Portfile.diff, 2.4 KB (added by usx303@…, 16 years ago) |
---|
-
(a) Portfile-whitespaces vs. (b) Portfile
a b 4 4 PortSystem 1.0 5 5 6 6 name prelude-manager 7 version 0.9.1 07 version 0.9.13 8 8 categories security 9 maintainers nomaintainer 9 maintainers openmaintainer \ 10 usx303@googlemail.com 10 11 11 12 description Prelude Network Intrusion Detection System central logging point 12 13 … … 19 20 20 21 homepage http://www.prelude-ids.org 21 22 22 master_sites http://www.prelude-ids.org/download/releases/ \ 23 http://www.prelude-ids.org/download/releases/old/ 23 master_sites http://www.prelude-ids.org/download/releases/prelude-manager/ \ 24 24 25 25 platforms darwin 26 checksums md5 7f164d7ec6ffbfc6ab065165ea39b6fd 26 27 checksums md5 b83b6bf8ce7ca3976446c830c0602ce2 \ 28 sha1 d6fd59e4e918399ae78d2539b0563f77a12fc41d \ 29 rmd160 c4333c23fa9e55afdad558ce19d56869c5cf4d8b 30 27 31 build.type gnu 28 32 29 33 configure.args --mandir=${prefix}/share/man \ 30 34 --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 36 37 depends_lib port:libxml2 \ 38 port:gnutls \ 37 39 port:libprelude 38 40 39 41 post-destroot { 40 42 system "touch ${destroot}${prefix}/var/spool/prelude-manager/.turd" 41 43 reinplace "s|= /var|= ${prefix}/var|g" ${destroot}${prefix}/etc/prelude-manager/prelude-manager.conf 42 44 } 43 variant no_ssl {44 configure.args-delete --enable-ssl45 configure.args-append --disable-ssl46 }47 48 variant mysql {49 configure.args-delete --disable-mysql50 configure.args-append --enable-mysql51 depends_lib-append lib:libmysqlclient:mysql352 }53 45 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 58 54 #} 59 55