security/py-{acme,certbot}: update to 0.18.1
ClosedPublic

Authored by cpm on Sep 13 2017, 8:29 PM.

Details

Summary
Common:

- Update PORTVERSION and distinfo checksum (0.18.1)

security/py-certbot:

- Fix permissions error when upgrading certbot-auto
- Fix user-agent string and help/error message output when the new certbot-auto path is used.

If certbot-auto was running as an unprivileged user and it upgraded from
0.17.0 to 0.18.0, it would crash with a permissions error and would need to
be run again to successfully complete the upgrade. This has been fixed and
certbot-auto should upgrade cleanly to 0.18.1.

Certbot usually uses "certbot-auto" or "letsencrypt-auto" in error messages
and the User-Agent string instead of "certbot" when you are using one of
these wrapper scripts. Proper detection of this was broken with Certbot's new
installation path in /opt in 0.18.0 but this problem has been resolved.

More details about these changes can be found on the GitHub repo: 

https://github.com/certbot/certbot/milestone/45?closed=1

Changelog:

  https://github.com/certbot/certbot/blob/master/CHANGELOG.md#0180---2017-09-06

Reviewed_by: koobs (maintainer)
Approved by: koobs (maintainer, py-certbot)
Differential_Revision: 12362
Test Plan
  • portlint -ac output looks fine.
  • poudriere testport build logs are fine for all supported releases.
  • make testoutput looks fine.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cpm created this revision.Sep 13 2017, 8:29 PM
koobs accepted this revision.Sep 13 2017, 11:30 PM
koobs edited the summary of this revision. (Show Details)
koobs edited the test plan for this revision. (Show Details)
koobs edited the summary of this revision. (Show Details)

Looks good, nice commit log message. ship it :)

If quarterly users would want these fixes, please MFH (if all dependencies are satisfied in quarterly)

This revision is now accepted and ready to land.Sep 13 2017, 11:32 PM
This revision was automatically updated to reflect the committed changes.