diff options
author | Cathal O'Grady <fierceinbattle@gmail.com> | 2024-06-09 21:29:29 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-06-09 21:29:29 +0300 |
commit | 2820df617d130919c37d103de14a6cff58732fa8 (patch) | |
tree | 55e9d40d2ef5cc83adae00e5286ba1f0bd49f059 /security/opendoas/files/patch-GNUmakefile | |
parent | net/waypipe: update to 0.9.1 (diff) |
security/opendoas: new port: portable version of OpenBSD's doas
This is not an official port/project from OpenBSD!
OpenBSD doas does not support persist option for non OpenBSD systems,
OpenDoas originally made for Linux and MacOS does support this.
This port includes a patch for the OpenDoas to supports persist on FreeBSD.
This commit adds the OpenDoas as an alternative to sudo that supports persist.
PR: 279598
Approved by: Cathal O'Grady <fierceinbattle@gmail.com> (maintainer)
Diffstat (limited to 'security/opendoas/files/patch-GNUmakefile')
-rw-r--r-- | security/opendoas/files/patch-GNUmakefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/opendoas/files/patch-GNUmakefile b/security/opendoas/files/patch-GNUmakefile new file mode 100644 index 000000000000..14aa4a085bb7 --- /dev/null +++ b/security/opendoas/files/patch-GNUmakefile @@ -0,0 +1,11 @@ +--- GNUmakefile.orig 2022-01-26 16:01:11 UTC ++++ GNUmakefile +@@ -21,7 +21,7 @@ install: ${PROG} ${PAM_DOAS} ${MAN} + mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man1 + mkdir -p -m 0755 ${DESTDIR}${MANDIR}/man5 + cp -f ${PROG} ${DESTDIR}${BINDIR} +- chown ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/${PROG} ++ #chown ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/${PROG} + chmod ${BINMODE} ${DESTDIR}${BINDIR}/${PROG} + [ -n "${PAM_DOAS}" ] && cp ${PAM_DOAS} ${DESTDIR}${PAMDIR}/doas || true + [ -n "${PAM_DOAS}" ] && chmod 0644 ${DESTDIR}${PAMDIR}/doas || true |