diff --git a/science/proxmark3-iceman/Portfile b/science/proxmark3-iceman/Portfile index ee3ea33f8d5..2d0227e4ddd 100644 --- a/science/proxmark3-iceman/Portfile +++ b/science/proxmark3-iceman/Portfile @@ -2,15 +2,15 @@ PortSystem 1.0 PortGroup github 1.0 -PortGroup qt5 1.0 +PortGroup qt6 1.0 name proxmark3-iceman -github.setup RfidResearchGroup proxmark3 4.20728 v +github.setup RfidResearchGroup proxmark3 4.21611 v github.tarball_from archive -checksums sha256 aeb05460feba72e84d00e3da48d3bbe79cac924fb92b770eae48fcebe39e63db \ - rmd160 b8d87689edf5326b7e5933353492a1e7695aa6d2 \ - size 34548588 +checksums sha256 e149802a10acb3358ad452f424f83527c00ee38fbb65d6400a4acd570d4aaef8 \ + rmd160 5aa06dd858f5d7f2f59b2d4305152ccb5be2ccf4 \ + size 34955713 revision 0 license GPL-3+ @@ -24,20 +24,22 @@ long_description ${description}. By default, the repository is built for PM3R maintainers {@linuxgemini linuxgemini.space:proxmark3packaging} openmaintainer +# upstream quirk: some binaries use openssl 3 while some use openssl 1.1 depends_lib-append port:gd2 \ port:lz4 \ port:bzip2 \ port:lua54 \ port:jansson \ + port:openssl \ port:readline \ port:openssl11 \ - port:python312 \ - port:py312-pexpect \ - port:py312-bitstring \ - port:py312-ansicolors \ - port:py312-sslcrypto + port:python314 \ + port:py314-pexpect \ + port:py314-bitstring \ + port:py314-ansicolors \ + port:py314-sslcrypto -# Although port:pkgconfig is required (see comments below), because the qt5 PortGroup +# Although port:pkgconfig is required (see comments below), because the qt6 PortGroup # includes it, its not listed here. depends_build-append \ port:arm-none-eabi-gcc \ @@ -52,15 +54,21 @@ depends_build-append \ # configure phase instead of making new ones before passing them # to build and destroot envs. -set python_version 3.12 +set python_version 3.14 set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_version} configure.python ${prefix}/bin/python${python_version} +# Qt6 is not symlinked under regular pkg-config dirs +# so we use qt6.dir (via the qt6 group) to add it as path configure.pkg_config \ ${prefix}/bin/pkg-config configure.pkg_config_path-append \ + ${qt6.dir}/lib/pkgconfig \ ${python_prefix}/lib/pkgconfig +# pm3 checks for Qt6Core Qt6Widgets Qt6Gui at build time +qt6.depends_lib qtbase + # pm3 does not have a ./configure script use_configure no @@ -72,8 +80,8 @@ build.env-append USE_BREW=0 \ PREFIX=${prefix} \ SKIPWHEREAMISYSTEM=1 \ MACPORTS_PREFIX=${prefix} \ - PATH=${prefix}/libexec/gnubin:$env(PATH) \ - PKG_CONFIG_PATH=${configure.pkg_config_path} + PKG_CONFIG_PATH=${configure.pkg_config_path} \ + PATH=${qt6.dir}/bin:${prefix}/libexec/gnubin:$env(PATH) build.args-append CC=${configure.cc} \ CXX=${configure.cxx} \