forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
68 lines (52 loc) · 2.18 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- 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
revision 8
categories security sysutils
platforms darwin
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}<