FreeBSD Bugzilla – Attachment 243768 Details for
Bug 272867
[NEW PORT] security/su-exec: Switch user and group id and exec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
su-exec-0.2.patch
0001-security-su-exec-New-port-Switch-user-and-group-id-a.patch (text/plain), 2.37 KB, created by
Jesús Daniel Colmenares Oviedo
on 2023-08-01 14:27:02 UTC
(
hide
)
Description:
su-exec-0.2.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2023-08-01 14:27:02 UTC
Size:
2.37 KB
patch
obsolete
>From 817f915d5b41f838a579e8bbfac488cd525ac561 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Tue, 1 Aug 2023 10:23:06 -0400 >Subject: [PATCH] security/su-exec: New port: Switch user and group id and exec > >su-exec is a simple tool that will simply execute a program with >different privileges. The program will be executed directly and not >run as a child, like su and sudo does, which avoids TTY and signal >issues. > >WWW: https://github.com/ncopa/su-exec/ >--- > security/su-exec/Makefile | 31 +++++++++++++++++++++++++++++++ > security/su-exec/distinfo | 3 +++ > security/su-exec/pkg-descr | 4 ++++ > 3 files changed, 38 insertions(+) > create mode 100644 security/su-exec/Makefile > create mode 100644 security/su-exec/distinfo > create mode 100644 security/su-exec/pkg-descr > >diff --git a/security/su-exec/Makefile b/security/su-exec/Makefile >new file mode 100644 >index 000000000..c61cf90b4 >--- /dev/null >+++ b/security/su-exec/Makefile >@@ -0,0 +1,31 @@ >+PORTNAME= su-exec >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.2 >+CATEGORIES= security >+ >+MAINTAINER= DtxdF@disroot.org >+COMMENT= Switch user and group id and exec >+WWW= https://github.com/ncopa/su-exec/ >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USE_GITHUB= yes >+GH_ACCOUNT= ncopa >+ >+CONFLICTS_INSTALL?= su-exec-static >+ >+PLIST_FILES= bin/su-exec >+ >+OPTIONS_DEFINE= STATIC >+ >+do-build: >+ cd ${WRKSRC} && ${CC} ${CFLAGS} -o su-exec su-exec.c ${LDFLAGS} >+ >+do-build-STATIC-on: >+ cd ${WRKSRC} && ${CC} ${CFLAGS} -o su-exec su-exec.c -static ${LDFLAGS} >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/su-exec ${STAGEDIR}${PREFIX}/bin >+ >+.include <bsd.port.mk> >diff --git a/security/su-exec/distinfo b/security/su-exec/distinfo >new file mode 100644 >index 000000000..bb9ae6f6c >--- /dev/null >+++ b/security/su-exec/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1690896135 >+SHA256 (ncopa-su-exec-v0.2_GH0.tar.gz) = ec4acbd8cde6ceeb2be67eda1f46c709758af6db35cacbcde41baac349855e25 >+SIZE (ncopa-su-exec-v0.2_GH0.tar.gz) = 2426 >diff --git a/security/su-exec/pkg-descr b/security/su-exec/pkg-descr >new file mode 100644 >index 000000000..d9eb12dd2 >--- /dev/null >+++ b/security/su-exec/pkg-descr >@@ -0,0 +1,4 @@ >+su-exec is a simple tool that will simply execute a program with >+different privileges. The program will be executed directly and not >+run as a child, like su and sudo does, which avoids TTY and signal >+issues. >-- >2.41.0 >
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:
DtxdF
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 272867
:
243768
|
243955