Created attachment 199731 [details] updated py-yubikey-manager port. I am working on getting all the Yubico suite of applications ported to FreeBSD. I am more than happy to take maintainership of this port to be consistent with them all but do not wish to step over anyone's feet. I had to update the port to add missing dependencies when running other applications like yubioath-desktop and yubioath CLI. This adds py-openssl, and py-fido2 as dependencies.
Maintainer informed via mail
Assign to MAINTAINER (recently new committer, recently changed email address) @Vinícius Please update your port MAINTAINER lines to use your new email address so that it matches the account Bugzilla email. > I had to update the port to add missing dependencies when running other > applications like yubioath-desktop and yubioath CLI. If the packages (yubioath-desktop, yubioath CLI, et al) that require these dependencies are in ports (or they are being ported), they should themselves depend on their respective requirements (setup.py:*_requires), rather than declared here, unless they are also explicit/actual requirements for this python package too. If this python package actually *requires* (compulsory, not optional) these dependencies too, this change actually 'fixes' dependencies (fixes dependency bugs), and the change should be merged to the quarterly branch to fix the missing dependencies there too.
If you look here: https://github.com/Yubico/yubikey-manager/blob/master/setup.py The depends I added are hard depends for the python library. So this actually fixes the depends as you mentioned.
After discussing with Daniel on IRC, it's clear these are just missing and required dependencies. Functionality provided by this package is broken without them, so these changes should be merged to quarterly too. That third party packages need them is an implicitly necessary condition, so remove it from the title as it distracts from the main issue. Thank you for clarifying Daniel. P.S. If this package contains unit tests, I would strongly suggest/recommend adding TEST_DEPENDS and a test target to this port to pickup more runtime oriented failures, and to further up the quality/QA of this popular package.
These changes are also blanket approval candidates: Approved by: portmgr (blanket: dependency bugs)
Hello everyone, hi. I am waiting for 2 patches to get approved in order to change my MAINTAINER info in all other ports I keep. That's why you still see my old address on this one; I am working on it! D18341 and D17995 koobs@, adding my mentors here in CC so I get their 'OK' to commit this one. right? thanks! should the portsmgr's blanket be accepted too, just tell me. PS: thank you very much for your patch Daniel. very appreciated!
Created attachment 199789 [details] security/py-yubikey-manager: Add missing (required) dependencies slightly modified version of the original patch; - bumped PORTREVISION; - sorted RUN_DEPENDS. looks good, and builds just fine on 11 and 12 (i386+amd64). portlint is also happy :)
(In reply to Vinícius Zavam from comment #6) Correct, maintainer approval is required when under mentorship (until 'implicit') I declared the portmgr blanket in the event you (maintainer) couldn't take care of it within the maintainer timeout window and to let anyone following that it was 'OK' to take (maintainer approval not explicitly required for this change). For this change, the PORTREVISION also needs bumping so that the new dependencies are registered/installed to fix the broken runtime
building fine also for armv6; tested with 11.2 and 12.0.
A commit references this bug: Author: egypcio Date: Tue Dec 4 10:44:06 UTC 2018 New revision: 486592 URL: https://svnweb.freebsd.org/changeset/ports/486592 Log: security/py-yubikey-manager: add missing (required) dependencies - add missing depends to RUN_DEPENDS; - add concurrent to USE_PYTHON, remove flavors; - bump PORTREVISION. PR: 233709 Submitted by: Daniel Shafer <daniel % shafer.cc> Reviewed by: koobs Approved by: araujo (mentor) MFH: 2018Q4 Differential Revision: https://reviews.freebsd.org/D18419 Changes: head/security/py-yubikey-manager/Makefile
commited! thank you Daniel, koobs@ and araujo@.
A commit references this bug: Author: egypcio Date: Tue Dec 4 13:32:09 UTC 2018 New revision: 486597 URL: https://svnweb.freebsd.org/changeset/ports/486597 Log: MFH: r486592 security/py-yubikey-manager: add missing (required) dependencies - add missing depends to RUN_DEPENDS; - add concurrent to USE_PYTHON, remove flavors; - bump PORTREVISION. PR: 233709 Submitted by: Daniel Shafer <daniel % shafer.cc> Reviewed by: koobs Approved by: araujo (mentor), miwi (ports-secteam) Differential Revision: https://reviews.freebsd.org/D18419 Approved by: ports-secteam Changes: _U branches/2018Q4/ branches/2018Q4/security/py-yubikey-manager/Makefile