From owner-freebsd-ports-bugs Tue Jan 21 9:10: 7 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11CF37B401 for ; Tue, 21 Jan 2003 09:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9094543F13 for ; Tue, 21 Jan 2003 09:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0LHA1NS051365 for ; Tue, 21 Jan 2003 09:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0LHA1p6051364; Tue, 21 Jan 2003 09:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39BD37B401 for ; Tue, 21 Jan 2003 09:00:20 -0800 (PST) Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 392C543F18 for ; Tue, 21 Jan 2003 09:00:20 -0800 (PST) (envelope-from khera@kciLink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id 8D9272178A; Tue, 21 Jan 2003 12:00:14 -0500 (EST) Received: by onceler.kciLink.com (Postfix, from userid 100) id 76ED03D62; Tue, 21 Jan 2003 12:00:14 -0500 (EST) Message-Id: <20030121170014.76ED03D62@onceler.kciLink.com> Date: Tue, 21 Jan 2003 12:00:14 -0500 (EST) From: Vivek Khera Reply-To: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org Cc: dean@odyssey.apana.org.au X-Send-Pr-Version: 3.113 Subject: ports/47302: fakeident port installs nonfunctional rc.d script Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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