View | Details | Raw Unified | Return to bug 272867 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/su-exec/Makefile (+31 lines)
Added Link Here
1
PORTNAME=	su-exec
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.2
4
CATEGORIES=	security
5
6
MAINTAINER=	DtxdF@disroot.org
7
COMMENT=	Switch user and group id and exec
8
WWW=		https://github.com/ncopa/su-exec/
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
USE_GITHUB=	yes
14
GH_ACCOUNT=	ncopa
15
16
CONFLICTS_INSTALL?=	su-exec-static
17
18
PLIST_FILES=	bin/su-exec
19
20
OPTIONS_DEFINE=	STATIC
21
22
do-build:
23
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o su-exec su-exec.c ${LDFLAGS}
24
25
do-build-STATIC-on:
26
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o su-exec su-exec.c -static ${LDFLAGS}
27
28
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/su-exec ${STAGEDIR}${PREFIX}/bin
30
31
.include <bsd.port.mk>
(-)b/security/su-exec/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1690896135
2
SHA256 (ncopa-su-exec-v0.2_GH0.tar.gz) = ec4acbd8cde6ceeb2be67eda1f46c709758af6db35cacbcde41baac349855e25
3
SIZE (ncopa-su-exec-v0.2_GH0.tar.gz) = 2426
(-)b/security/su-exec/pkg-descr (-1 / +4 lines)
Added Link Here
0
- 
1
su-exec is a simple tool that will simply execute a program with
2
different privileges. The program will be executed directly and not
3
run as a child, like su and sudo does, which avoids TTY and signal
4
issues.

Return to bug 272867