Created attachment 186364 [details] shar for mail/roundcube-yubikey_auth This plugin adds the option to use a YubiKey as second-factor authentication. The YubiKey is a USB key emulating a generic keyboard and making use of one-time passwords to provide two-factor authentication. WWW: https://github.com/northox/roundcube-yubikey-plugin portlint: looks fine poudriere testport: ok It uses php-curl to talk to the Yubico servers. Roundcube itself doesn't require php-curl, I therefore set USE_PHP=curl to make sure it gets pulled in.
Created attachment 193011 [details] Flavorized shar, ref. PR 227715 The existing Roundcube plugins were flavorized in PR 227715 / changeset 468851. This new shar is flavorized the same way.
Thanks for the port, testbuilds@work Is there a reason not to use the most recent commit on github ? It's at 383bbb3 from 20180403 ?
It's only using an old commit because the PR is that old. :) If the commit from 20180403 works fine, we should use that. I can test the newest one later today.
testbuild with the newer version after fixing plist looks fine. Please tell as soon as your run-tests were sucessful.
Created attachment 195485 [details] Working shar for g20180404 (commit 383bbb3) It didn't work out of the box due to renamed dir, a renamed file and a renamed class (which also renames a config variable). This shar for 383bbb3 works, I've tested it on a live roundcube-php71-1.3.6,1. The install instructions in the upstream README.md are wrong, so I added a REINPLACE_CMD to correct the path and config variable. pkg-descr is updated to reflect this change. The label element on the login screen is also somehow messed up in the newest commits. I just hardcoded that for now, as it doesn't need to be dynamic and at least it looks better this way.
Committed, thanks!
A commit references this bug: Author: pi Date: Fri Jul 27 05:14:52 UTC 2018 New revision: 475412 URL: https://svnweb.freebsd.org/changeset/ports/475412 Log: New port: mail/roundcube-yubikey_auth This plugin adds the option to use a YubiKey as second-factor authentication. The YubiKey is a USB key emulating a generic keyboard and make use of One-time Passwords to provide two factor authentication. Activate the plugin by adding the following to Roundcube's config/config.inc.php: $config['plugins'] = array('roundcube_yubikey_authentication'); WWW: https://github.com/northox/roundcube-yubikey-plugin PR: 222318 Submitted by: Vidar Karlsen <vidar@karlsen.tech> Changes: head/mail/Makefile head/mail/roundcube-yubikey_auth/ head/mail/roundcube-yubikey_auth/Makefile head/mail/roundcube-yubikey_auth/distinfo head/mail/roundcube-yubikey_auth/pkg-descr head/mail/roundcube-yubikey_auth/pkg-plist