[Bug 272867] [NEW PORT] security/su-exec: Switch user and group id and exec
Date: Sat, 05 Aug 2023 10:10:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272867 Robert Clausecker <fuz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org Assignee|ports-bugs@FreeBSD.org |fuz@FreeBSD.org Status|New |Open --- Comment #1 from Robert Clausecker <fuz@FreeBSD.org> --- Thank you for your submission. Here are some notes: - check if you can make the slave port a flavor instead of a slave port. - for your build commands, you're missing some variables. The correct order is: ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o su-exec su-exec.c ${LIBS} Though you can leave out LIBS as this one doesn't link any libraries. - for the static build, I recommend just adding STATIC_LDFLAGS=-static instead of defining a whole new target Port looks ok otherwise. Please check and resubmit, I can then commit it. -- You are receiving this mail because: You are the assignee for the bug.