Files
2026-03-10 15:55:12 +11:00

70 lines
2.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup openssl 1.0
PortGroup boost 1.0
PortGroup java 1.0
java.version 1.4+
java.fallback openjdk11
github.setup simsong bulk_extractor 1.5.5
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 9
categories security sysutils
maintainers nomaintainer
license public-domain
description Extract investigative features
long_description Extracts small pieces of useful information, such as \
credit card numbers, phone numbers, and social security \
numbers, from input without parsing filesystem information.
master_sites http://digitalcorpora.org/downloads/bulk_extractor/
checksums rmd160 311a19129303fc0dd478e3870d59e18b1b7887e7 \
sha256 297a57808c12b81b8e0d82222cf57245ad988804ab467eb0a70cf8669594e8ed \
size 4473107
depends_build port:flex
depends_lib port:afflib \
port:expat \
port:libewf \
port:libxml2 \
port:sqlite3 \
port:tre \
port:zlib
# 1.6.0 supports openssl 1.1 but was withdrawn. This can be removed when
# the next version is released.
# https://github.com/simsong/bulk_extractor/issues/147
openssl.branch 1.0
openssl.configure build_flags
# libewf is not universal
universal_variant no
patchfiles patch-configure.ac.diff \
patch-m4-slg_gcc_all_warnings.m4.diff \
patch-m4-slg_searchdirs.m4.diff \
libewf.patch
use_autoreconf yes
configure.args-append --with-boost=[boost::install_area]
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} \
AUTHORS COPYING ChangeLog NEWS README \
${destroot}${docdir}
}
livecheck.url [lindex ${master_sites} 0]
livecheck.regex >${name}-(\[0-9.\]+)${extract.suffix}<