ports/138268: [PATCH] irc/bitlbee: Use -u ${user} option instead of su on rc.d script

Renato Botelho garga at FreeBSD.org
Fri Aug 28 13:40:05 UTC 2009

>Number:         138268
>Category:       ports
>Synopsis:       [PATCH] irc/bitlbee: Use -u ${user} option instead of su on rc.d script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 28 13:40:04 UTC 2009
>Originator:     Renato Botelho
>Release:        FreeBSD 9.0-CURRENT i386
System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #83 r196505: Mon Aug 24 09:08:21 BRT
Since bitlbee has an option (-u) to choose user to run with, use this option
instead of su -m user

Port maintainer (brix at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77

--- bitlbee-1.2.3_2.patch begins here ---
Index: files/bitlbee.in
RCS file: /home/pcvs/ports/irc/bitlbee/files/bitlbee.in,v
retrieving revision 1.3
diff -u -u -r1.3 bitlbee.in
--- files/bitlbee.in	15 Jul 2009 16:55:43 -0000	1.3
+++ files/bitlbee.in	28 Aug 2009 13:28:49 -0000
@@ -28,7 +28,7 @@
 	echo "Starting ${name}."
-	su -m ${bitlbee_user} -c "${command} -D -c ${bitlbee_config} ${bitlbee_flags}"
+	${command} -D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}
 run_rc_command "$1"
--- bitlbee-1.2.3_2.patch ends here ---


More information about the freebsd-ports-bugs mailing list