Bug 240305 - security/doas: Update to 6.2
Summary: security/doas: Update to 6.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-03 17:04 UTC by Jesse Smith
Modified: 2019-09-24 18:06 UTC (History)
0 users

See Also:


Attachments
Patch to update doas (947 bytes, text/plain)
2019-09-03 17:04 UTC, Jesse Smith
jsmith: maintainer-approval+
Details
updated port (953 bytes, patch)
2019-09-10 17:27 UTC, Jesse Smith
jsmith: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Smith 2019-09-03 17:04:23 UTC
Created attachment 207149 [details]
Patch to update doas

The attached patch updates the security/doas port from version 6.1 to 6.2. This brings in three improvements over the past release on FreeBSD:

Added -Wall to compiler to make sure we catch all compiler warnings, tested with both Clang and GCC.

Fixed a couple of compiler warnings that get rid of either unneeded variables or introduce sanity checks on return functions. This should make doas more secure, across platforms/compilers.

Added build-time optimizations. doas is now built with -O2 passed to the compiler. This can be overruled by modifying the OPT variable when it is passed to make/gmake. eg. make OPT="".
Comment 1 Jesse Smith 2019-09-10 17:27:44 UTC
Created attachment 207353 [details]
updated port

Attached is an updated patch which brings this port up to date with upstream. (There has been a new release since this original problem report was filed.)
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-09-24 18:05:59 UTC
A commit references this bug:

Author: swills
Date: Tue Sep 24 18:05:02 UTC 2019
New revision: 512740
URL: https://svnweb.freebsd.org/changeset/ports/512740

Log:
  security/doas: Update to 6.2

  PR:		240305
  Submitted by:	jsmith@resonatingmedia.com (maintainer)

Changes:
  head/security/doas/Makefile
  head/security/doas/distinfo
Comment 3 Steve Wills freebsd_committer freebsd_triage 2019-09-24 18:06:16 UTC
Committed, thanks!