diff --git a/security/py-onlykey/Makefile b/security/py-onlykey/Makefile index 8f6e4f54a74e..ef1985208211 100644 --- a/security/py-onlykey/Makefile +++ b/security/py-onlykey/Makefile @@ -1,41 +1,44 @@ PORTNAME= onlykey PORTVERSION= 1.2.2 PORTREVISION= 4 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dmytro@posteo.net COMMENT= Python command line tool for configuring and using OnlyKey WWW= https://github.com/trustcrypto/python-onlykey LICENSE= MIT +DEPRECATED= Depends on expired security/libu2f-host +EXPIRATION_DATE=2025-09-01 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hidapi>0:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aenum>0:devel/py-aenum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=2:devel/py-prompt-toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cython>=0.23.4:lang/cython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libusb1>0:devel/py-libusb1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uhid-freebsd>0:devel/py-uhid-freebsd@${PY_FLAVOR} \ u2f-host:security/libu2f-host USES= python USE_PYTHON= autoplist distutils SUB_FILES= pkg-message PLIST_FILES= "@sample ${PREFIX}/etc/devd/onlykey.conf.sample" \ "${PREFIX}/share/man/man1/onlykey-cli.1.gz" NO_ARCH= yes post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd ${INSTALL_DATA} ${FILESDIR}/onlykey.conf.sample \ ${STAGEDIR}${PREFIX}/etc/devd ${INSTALL_MAN} ${FILESDIR}/onlykey-cli.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile index cc9ba6ee1720..bb93ae3a7976 100644 --- a/security/py-yubikey-manager/Makefile +++ b/security/py-yubikey-manager/Makefile @@ -1,37 +1,40 @@ PORTNAME= yubikey-manager PORTVERSION= 5.2.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= yubikey_manager-${PORTVERSION} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python library and command line tool for configuring a YubiKey WWW= https://developers.yubico.com/yubikey-manager/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING +DEPRECATED= Depends on expired security/libu2f-host +EXPIRATION_DATE=2025-09-01 + BUILD_DEPENDS= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fido2>0:security/py-fido2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keyring>=0:security/py-keyring@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb@${PY_FLAVOR} \ RSA_SecurID_getpasswd:devel/libccid \ pcsc-spy:devel/pcsc-lite \ u2f-host:security/libu2f-host \ ykpersonalize:security/ykpers TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}makefun>0:devel/py-makefun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= dos2unix python USE_PYTHON= autoplist concurrent cryptography cryptography_build pep517 unittest DOS2UNIX_GLOB= *.adoc *.py NO_ARCH= yes .include diff --git a/security/yubikey-manager-qt/Makefile b/security/yubikey-manager-qt/Makefile index 70f1c79cd6e9..9a92a11991df 100644 --- a/security/yubikey-manager-qt/Makefile +++ b/security/yubikey-manager-qt/Makefile @@ -1,47 +1,50 @@ PORTNAME= yubikey-manager-qt DISTVERSIONPREFIX= yubikey-manager-qt- DISTVERSION= 1.2.0 PORTREVISION= 1 CATEGORIES= security MAINTAINER= daniel@shafer.cc COMMENT= Cross-platform application for configuring any YubiKey WWW= https://developers.yubico.com/yubikey-manager-qt/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING +DEPRECATED= Depends on expired security/libu2f-host via security/py-yubikey-manager +EXPIRATION_DATE=2025-09-01 + BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 USES= compiler:c++11-lang gl pkgconfig python qt:5 qmake \ shebangfix USE_GL= gl USE_QT= core declarative graphicaleffects gui network quickcontrols \ quickcontrols2 svg widgets buildtools:build USE_GITHUB= yes GH_ACCOUNT= Yubico SHEBANG_FILES= ykman-gui/py/yubikey.py \ ykman-cli/test.py \ ykman-cli/py/cli.py \ build_qrc.py PLIST_FILES= bin/ykman-gui \ share/applications/ykman-gui.desktop \ share/pixmaps/ykman.png post-extract: @${REINPLACE_CMD} -e '/system/s|python|${PYTHON_CMD}|g' ${WRKSRC}/ykman-gui/ykman-gui.pro \ ${WRKSRC}/ykman-cli/ykman-cli.pro @${REINPLACE_CMD} -e 's|/usr/bin/ykman-gui|${PREFIX}/bin/ykman-gui|g' ${WRKSRC}/resources/linux/AppRun @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/ykman-gui/deployment.pri post-install: ${INSTALL_DATA} ${WRKSRC}/resources/ykman-gui.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/icons/ykman.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/security/yubioath-desktop/Makefile b/security/yubioath-desktop/Makefile index 5f2373a67822..7f536c778050 100644 --- a/security/yubioath-desktop/Makefile +++ b/security/yubioath-desktop/Makefile @@ -1,45 +1,48 @@ PORTNAME= yubioath-desktop DISTVERSIONPREFIX= yubioath-desktop- DISTVERSION= 5.0.4 PORTREVISION= 2 CATEGORIES= security MAINTAINER= daniel@shafer.cc COMMENT= GUI for displaying OATH codes with a Yubikey WWW= https://developers.yubico.com/yubioath-desktop/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING +DEPRECATED= Depends on expired security/libu2f-host via security/py-yubikey-manager +EXPIRATION_DATE=2025-09-01 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>=0.7.0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 \ RSA_SecurID_getpasswd:devel/libccid \ libffi>0:devel/libffi \ pcscd:devel/pcsc-lite \ swig:devel/swig USES= compiler:c++11-lang desktop-file-utils gl python qmake qt:5 \ shebangfix ssl USE_GL= gl USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools:build USE_GITHUB= yes GH_ACCOUNT= Yubico SHEBANG_FILES= build_qrc.py \ py/yubikey.py \ PLIST_FILES= bin/yubioath-desktop \ share/applications/com.yubico.yubioath.desktop \ share/pixmaps/com.yubico.yubioath.png post-patch: @${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|g' \ ${WRKSRC}/yubioath-desktop.pro @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri post-install: ${INSTALL_DATA} ${WRKSRC}/resources/com.yubico.yubioath.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/icons/com.yubico.yubioath.png ${STAGEDIR}${PREFIX}/share/pixmaps .include