FreeBSD Bugzilla – Attachment 206269 Details for
Bug 239629
security/doas: Update to 6.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
doas-6.1-revised.patch
doas-6.1-revised.patch (text/plain), 2.87 KB, created by
Kai Knoblich
on 2019-08-04 10:41:32 UTC
(
hide
)
Description:
doas-6.1-revised.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2019-08-04 10:41:32 UTC
Size:
2.87 KB
patch
obsolete
>Index: security/doas/Makefile >=================================================================== >--- security/doas/Makefile (revision 508065) >+++ security/doas/Makefile (working copy) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= doas >-PORTVERSION= 6.0p3 >+PORTVERSION= 6.1 > CATEGORIES= security > > MAINTAINER= jsmith@resonatingmedia.com >@@ -12,11 +12,11 @@ > LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE > LICENSE_FILE_ISCL= ${WRKSRC}/LICENSE > >+USES= gmake > USE_GITHUB= yes > GH_ACCOUNT= slicer69 >-GH_PROJECT= doas > >-USES= gmake >+MAKE_ENV+= TARGETPATH=-DGLOBAL_PATH='\"${_GLOBAL_PATH}\"' > > BINMODE= 4755 > >@@ -25,6 +25,15 @@ > man/man5/doas.conf.5.gz \ > man/man1/doas.1.gz > >+# These are upstream's default paths that are set for the GLOBAL_PATH variable >+# in doas.h since the 6.1 release. Those paths are then used for target user's >+# PATH variable instead of those of the original user. >+# >+# See also: >+# * https://github.com/slicer69/doas/blob/6.1/Makefile#L7 >+# * https://github.com/slicer69/doas/releases/tag/6.1 >+_GLOBAL_PATH= ${LOCALBASE}/sbin:${LOCALBASE}/bin:/usr/sbin:/usr/bin:/sbin:/bin: >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/doas.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >Index: security/doas/distinfo >=================================================================== >--- security/doas/distinfo (revision 508065) >+++ security/doas/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1552317435 >-SHA256 (slicer69-doas-6.0p3_GH0.tar.gz) = abf7911df661fd82acc3ff71724b73cf0f2102f8a5379153a1c031b285ed8c97 >-SIZE (slicer69-doas-6.0p3_GH0.tar.gz) = 18470 >+TIMESTAMP = 1564865652 >+SHA256 (slicer69-doas-6.1_GH0.tar.gz) = f6ae5243a711774cd46d5087c544e7feead7e138c6053c030c47489a722033f2 >+SIZE (slicer69-doas-6.1_GH0.tar.gz) = 19965 >Index: security/doas/files/pkg-message.in >=================================================================== >--- security/doas/files/pkg-message.in (revision 508065) >+++ security/doas/files/pkg-message.in (working copy) >@@ -5,9 +5,27 @@ > > %%PREFIX%%/etc/doas.conf > >-must be created. >+must be created. Refer to doas.conf(5) for further details. > >-Refer to doas.conf(5). >+Note: In order to be able to run most desktop (GUI) applications, the user >+needs to have the keepenv keyword specified. If keepenv is not specified then >+key elements, like the user's $HOME variable, will be reset and cause the GUI >+application to crash. >+ >+Users who only need to run command line applications can usually get away >+without keepenv. >+ >+When in doubt, try to avoid using keepenv as it is less secure to have >+environment variables passed to privileged users. > EOD > } >+{ type: upgrade >+ maximum_version: "6.1" >+ message: <<EOD >+With the 6.1 release the transfer of most environment variables (e.g. USER, >+HOME and PATH) from the original user to the target user has changed. >+ >+Please refer to doas.conf(5) for further details. >+EOD >+} > ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jsmith
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 239629
:
206256
| 206269