FreeBSD Bugzilla – Attachment 232795 Details for
Bug 262903
sysutils/screen: Don't install SUID root by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add SUID option for sysutils/screen, default off
screen-suid-configurable.patch (text/plain), 1.95 KB, created by
david
on 2022-03-29 11:32:47 UTC
(
hide
)
Description:
Patch to add SUID option for sysutils/screen, default off
Filename:
MIME Type:
Creator:
david
Created:
2022-03-29 11:32:47 UTC
Size:
1.95 KB
patch
obsolete
>From 7e295aea66c458e4b8a94c6a25b30f32438fd15c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Dav=C3=AD=C3=B0=20Steinn=20Geirsson?= <david@isnic.is> >Date: Mon, 28 Mar 2022 12:57:39 +0000 >Subject: [PATCH] sysutils/screen: Make SUID bit configurable, default to off > (is/nic/devops#13535) > >--- > sysutils/screen/Makefile | 7 +++++-- > sysutils/screen/pkg-plist | 2 +- > 2 files changed, 6 insertions(+), 3 deletions(-) > >diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile >index 8929ce4e5ef7..0d9949852145 100644 >--- a/sysutils/screen/Makefile >+++ b/sysutils/screen/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= screen > PORTVERSION= 4.9.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= sysutils > MASTER_SITES= GNU \ > ftp://ftp.gnu.org/gnu/screen/ \ >@@ -18,7 +18,7 @@ COMMENT= Multi-screen window manager > > LICENSE= GPLv3 > >-OPTIONS_DEFINE= INFO NETHACK XTERM_256 SYSTEM_SCREENRC >+OPTIONS_DEFINE= INFO NETHACK XTERM_256 SYSTEM_SCREENRC SUID > OPTIONS_DEFAULT= INFO NETHACK XTERM_256 SOCKETS SYSTEM_SCREENRC \ > NCURSES_DEFAULT > OPTIONS_SINGLE= IPC NCURSES >@@ -29,6 +29,9 @@ XTERM_256_DESC= Enable support for 256 colour xterm > SOCKETS_DESC= Use new (4.2.1+) sockets for IPC (default) > NAMED_PIPES_DESC= Use legacy (4.0.3) named pipes for IPC (override) > SYSTEM_SCREENRC_DESC= Install system screenrc with helpful status line >+SUID_DESC= Install screen with setuid bit set >+SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) " >+SUID_PLIST_SUB_OFF= MAYBE_SUID="@(,,0755) " > NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) > NCURSES_BASE_DESC= Depend on ncurses in base > NCURSES_PORT_DESC= Depend on devel/ncurses in ports >diff --git a/sysutils/screen/pkg-plist b/sysutils/screen/pkg-plist >index faddf89b1799..47e8845f4105 100644 >--- a/sysutils/screen/pkg-plist >+++ b/sysutils/screen/pkg-plist >@@ -1,5 +1,5 @@ > bin/screen >-bin/screen-4.9.0 >+%%MAYBE_SUID%%bin/screen-4.9.0 > man/man1/screen.1.gz > %%DATADIR%%/utf8encodings/01 > %%DATADIR%%/utf8encodings/02 >-- >2.35.1 >
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
Actions:
View
|
Diff
Attachments on
bug 262903
: 232795 |
232798