Ticket #17255: Portfile-final.diff

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

final Portfile update

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

    a b  
    44PortSystem      1.0
    55
    66name            libpreludedb
    7 version         0.9.13
     7version         0.9.15.1
    88categories      security
    9 maintainers     nomaintainer
     9maintainers     googelmail.com:usx303 \
     10                openmaintainer
    1011
    11 description     Prelude Network Intrusion Detection System framework library for access to Prelude NIDS database
     12description     Prelude Universal SIM - database wrapper
    1213
    1314long_description \
    14                 The PreludeDB Library provides an abstraction layer upon the type and \
    15                 format of the database used to store IDMEF alerts.  It allows developers \
    16                 to use the Prelude IDMEF database easily and efficiently without worrying \
    17                 about SQL, and to access the database independently of the type/format \
    18                 of the database.\
    19                 \
    20                 Prelude is an Hybrid IDS framework that relies on the IDMEF (Intrusion \
    21                 Detection Message Exchange Format) IETF standard.  It enables security \
    22                 sensors such as Snort, honeyd, Nessus Vulnerability Scanner, Samhain, \
    23                 over 30 types of system logs, and many others to verify an attack \
    24                 by performing automatic correlation between events.
    25 
    26 homepage        http://www.prelude-ids.org
    27 master_sites    http://www.prelude-ids.org/download/releases/ \
    28                 http://www.prelude-ids.org/download/releases/old/
     15                Prelude is a Universal "Security Information Management" (SIM) system. \
     16                Prelude collects, normalizes, sorts, aggregates, correlates and \
     17                reports all security-related events independently of the product brand \
     18                or license giving rise to such events.
     19
     20homepage        http://www.prelude-ids.org/
     21master_sites    ${homepage}/download/releases/libpreludedb/
     22
    2923platforms       darwin
    30 checksums       md5 6db651ba88a90c8c23caeb0f1881b465
    3124build.type      gnu
    32 configure.args  --mandir=${prefix}/share/man \
    33                 --with-html-dir=${prefix}/share/doc
     25
     26checksums       md5 792b6ce058e4b9db44279409dbc662a3\
     27                sha1 dce8c3de03c186796e66c965da9be7af91125d3a\
     28                rmd160 cecb601fd04fcbbab03bb9d49a15a0f80adcd92d
     29
     30
     31configure.args  --without-mysql \
     32                --without-sqlite \
     33                --without-pgsql \
     34                --without-perl \
     35                --without-python
     36
    3437depends_lib     port:libprelude
     38
     39#destroot.keepdirs \
     40#                ${destroot}${prefix}/var/spool/prelude \
     41#                ${destroot}${prefix}/etc/prelude/profile
     42
     43#post-destroot { file delete -force "${destroot}${prefix}/lib/charset.alias" }
     44
     45default_variants \
     46                +sqlite3
     47variant python24 conflicts python25 description {python2.4 bindings} {
     48        configure.args-delete   --without-python
     49        configure.args-append   --with-python=${prefix}/bin/python2.4
     50        depends_lib-append port:python24
     51}
     52
     53variant python25 conflicts python24 description {python2.5 bindings} {
     54        configure.args-delete   --without-python
     55        configure.args-append   --with-python=${prefix}/bin/python2.5
     56        depends_lib-append port:python25
     57}
     58
     59variant perl description {perl bindings} {
     60        configure.args-delete   --without-perl
     61        configure.args-append   --with-perl=${prefix}/bin/perl5.8
     62        depends_lib-append port:perl5.8
     63}
     64
     65variant sqlite3 description {sqlite3 database support} {
     66        configure.args-delete   --without-sqlite
     67        depends_lib-append port:sqlite3
     68}
     69
     70#variant mysql4 description {mysql4 database support} {
     71#        configure.args-delete   --without-mysql
     72#        configure.args-append   --with-mysql
     73#        depends_lib-append port:mysql4
     74#}
     75
     76#variant mysql5 description {mysql5 database support} {
     77#        configure.args-delete   --without-mysql
     78#        configure.args-append   --with-mysql
     79#        depends_lib-append port:mysql5
     80#}
     81
     82#variant postgresql description {postgresql database support} {
     83#        configure.args-delete   --without-pgsql
     84#        configure.args-append   --with-pgsql
     85#        depends_lib-append port:postgreql
     86#}