Ticket #56262: Portfile

File Portfile, 1.5 KB (added by Jakker (Jaap Akkerhuis), 6 years ago)

Portfile for softhsm

Line 
1# -*- 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
2
3PortSystem          1.0
4
5name                softhsm
6version             2.4.0
7categories          security
8platforms           darwin
9license             BSD
10maintainers         {NLnetLabs.nl:jaap @Jakker} openmaintainer
11
12description         Software implementation of a Hardware Security Module (HSM)
13long_description    SoftHSM is an implementation of a cryptographic store accessible \
14                    through a PKCS #11 interface. You can use it to explore PKCS #11 \
15                    without having a Hardware Security Module. SoftHSM Version 2 is using \
16                    openssl for its cryptographic operations.
17
18homepage            https://www.opendnssec.org/softhsm
19
20master_sites        http://dist.opendnssec.org/source/
21checksums           rmd160  de04f7902a2885526d6cbc04cca6e2c9c961f288 \
22                    sha256  26aac12bdeaacd15722dc0a24a5a1981a3b711e61d10ac687a23ff0b7075da07 \
23                    size 1042566
24
25depends_build       port:libtool
26depends_lib         port:sqlite3 \
27                    path:lib/libssl.dylib:openssl
28
29configure.args      --with-sqlite3=${prefix} \
30                    --with-objectstore-backend-db \
31                    --with-openssl=${prefix}
32
33build.type          gnu
34
35destroot.keepdirs ${destroot}${prefix}/var/lib/softhsm/tokens
36
37livecheck.type  regex
38livecheck.url   [lindex ${master_sites} 0]
39livecheck.regex ${name}-(2.\[0-9.\]+)${extract.suffix}