Date: Tue, 21 Jan 2003 12:00:14 -0500 (EST) From: Vivek Khera <khera@kciLink.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dean@odyssey.apana.org.au Subject: ports/47302: fakeident port installs nonfunctional rc.d script Message-ID: <20030121170014.76ED03D62@onceler.kciLink.com>
next in thread | raw e-mail | index | archive | help
>Number: 47302 >Category: ports >Synopsis: fakeident port installs nonfunctional rc.d script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 21 09:10:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD onceler.kciLink.com 4.7-STABLE FreeBSD 4.7-STABLE #5: Fri Nov 22 11:32:12 EST 2002 khera@onceler.kciLink.com:/amd/yertle/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/ONCELER i386 ports updated 21-JAN-2003 >Description: The security/fakeident port installs a non-functional rc.d script. The script references the environment variable $(PREFIX) which is not necessarily set, and if not set fails to execute. Also, the script does not support the standard start/stop arguments required by FreeBSD. >How-To-Repeat: cd /usr/ports/security/fakeident make install /usr/local/etc/rc.d/fakeident.sh start >Fix: install this rc.d script instead: --cut here-- #! /bin/sh # PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin case "$1" in start) # Start the fakeident server /usr/local/sbin/identd && echo -n ' fakeidentd' ;; stop) # Stop the server kill `cat /var/run/identd.pid` && echo -n ' fakeidentd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac --cut here-- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030121170014.76ED03D62>