Ignore:
Timestamp:
Nov 20, 2014, 3:49:03 AM (5 years ago)
Author:
khindenburg@…
Message:

base (port): update to 1.4.5; add patch php ereg_replace deprecated, mysqli usage instead of deprecated one; add license; patches from #42857

Location:
trunk/dports/security/base
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/base/Portfile

    r128366 r128368  
    55
    66name                base
    7 version             1.3.9
     7version             1.4.5
    88categories          security
    99maintainers         nomaintainer
     
    1313                    the alerts from SNORT.
    1414platforms           darwin
    15 homepage            http://secureideas.sourceforge.net/
     15license             GPL-2
     16homepage            http://base.professionallyevil.com
    1617master_sites        sourceforge:secureideas
    17 checksums           md5 66e50f45c6bbf6b0cb2913b8c67f50d6
     18
     19checksums           rmd160  e66552039a806d09db40f1e7f363b2cd68cde064 \
     20                    sha256  23910f5277ceb43398442074e444182941bf7f6da85efd84ecdd0cf62c4b8935
     21
    1822depends_run         port:gd2 \
    19                     port:adodb
     23                    port:adodb \
     24                    port:pear-Mail port:pear-Mail_Mime port:pear-Image_Graph \
     25                    port:pear-Image_Canvas port:pear-Image_Color port:pear-Numbers_Roman
     26
     27## http://sourceforge.net/p/secureideas/patches/27/
     28## +mysql support through mysqli extension
     29patchfiles         patch-base.diff
    2030
    2131use_configure       no
     
    2737destroot {
    2838    xinstall -m 755 -d ${destroot}${basedir}
    29     xinstall -m 755 -d ${destroot}${docsdir}
    30     system "cd ${worksrcpath} && cp -R . ${destroot}${basedir}"
    31     system "cd ${worksrcpath}/docs/ && cp -R . ${destroot}${docsdir}"
     39
     40    foreach file [glob -directory ${worksrcpath}/ *] {
     41        copy ${file} ${destroot}${basedir}/
     42    }
     43
     44    reinplace "s|\$DBlib_path = '';|\$DBlib_path = '${prefix}/share/adodb5';|g" ${destroot}${basedir}/base_conf.php.dist
    3245}
    3346
    3447post-activate {
    35 ui_msg "\n
    36 Make sure to customize ${prefix}/share/base/base_conf.php.dist
    37 \n"
     48    ## Not sure if needed. If the file exists, wizard says you need to delete it
     49    if ![file exists ${basedir}/base_conf.php ] {
     50        copy ${basedir}/base_conf.php.dist ${basedir}/base_conf.php
     51    }
    3852}
    3953
     54notes "
     55Read the files under ${prefix}/share/base/docs, especially README and INSTALL.
     56
     57Note that this software is installed under ${prefix}/share/base
     58
     59This version was released in 2010 and the authors consider it BETA;
     60you may want to consider other software options.
     61"
     62
    4063livecheck.regex   ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracChangeset for help on using the changeset viewer.