Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 26 additions & 27 deletions devel/osslsigncode/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,52 @@

PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
PortGroup openssl 1.0

github.setup mtrojnar osslsigncode 2.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
github.setup mtrojnar osslsigncode 2.10
github.tarball_from archive
conflicts osslsigncode-devel
revision 0

categories devel security
maintainers nomaintainer
license GPL-3

description OpenSSL-based signcode utility

long_description Platform-independent tool for Authenticode signing of \
PE(EXE/SYS/DLL/etc), CAB and MSI files - uses OpenSSL \
and libcurl. It also supports timestamping (Authenticode \
and RFC3161).

checksums md5 f282db8589787ea05c6f926acac95e59 \
sha1 bddf6bc2557b8635f1841da355e8c331d513c341 \
rmd160 1297ce5f1bb62ad4ddbd2382a1f0780c5a20cb49 \
sha256 a828f5d46b8d378f46110975f9aa3f5cb9c38461b5649472b4df253c86df6eb8 \
size 87701
checksums rmd160 f8bf0b6c79e31a2681a0f7aff6460672fbbc0cce \
sha256 2a864e6127ee2350fb648070fa0d459c534ac6400ca0048886aeab7afb250f65 \
size 1038769

use_autoreconf yes
compiler.c_standard 2011

configure.args --with-curl
set py_ver 3.13
set py_ver_nodot [string map {. {}} ${py_ver}]
configure.args-append -DPython3_EXECUTABLE=${prefix}/bin/python${py_ver}

depends_build-append \
port:pkgconfig
path:bin/pkg-config:pkgconfig \
port:python${py_ver_nodot} \
port:py${py_ver_nodot}-cryptography

depends_lib port:curl \
path:lib/libssl.dylib:openssl
depends_lib-append port:zlib

if {${subport} eq ${name}} {
conflicts osslsigncode-devel
}
test.run yes
test.cmd ctest

subport osslsigncode-devel {
github.setup mtrojnar osslsigncode 18810b7e0bb1d8e0d25b6c2565a065cf66bce5d7
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 20190728

checksums md5 cfb74a6ab726142ae7409435e510eeb2 \
sha1 3bca3693c1f12547bf6c30f07d722d726fa91f93 \
rmd160 ed3bfe6eafc7b08a1a948cc15085a49cbd7d8b90 \
sha256 32c06d9e4689cdf100ac740dfd170f569f6e928e6ca8e4e1565680936acc5e68 \
size 67647
github.setup mtrojnar osslsigncode c23f92ca682c655442754ae8aa807467843e50ac
github.tarball_from archive
version 20250922

checksums rmd160 45e67cb722831dc70ad9d8ad3864e03a2aabebfa \
sha256 62e273e557b3e019e5cd9b126b6688a7e0cc2cf1656309a4093fc1bf58b32544 \
size 1039617

conflicts osslsigncode
}