From owner-freebsd-ports Sun Feb 9 19:56:27 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD4B337B401; Sun, 9 Feb 2003 19:56:25 -0800 (PST) Received: from housecat.unknown.nu (housecat.unknown.nu [207.229.168.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877FB43FBD; Sun, 9 Feb 2003 19:53:43 -0800 (PST) (envelope-from sluggo@unknown.nu) Received: from unknown.nu (localhost.unknown.nu [127.0.0.1]) by housecat.unknown.nu (8.12.6/8.12.6) with ESMTP id h1A3reYM006479; Sun, 9 Feb 2003 21:53:41 -0600 (CST) (envelope-from sluggo@unknown.nu) Message-ID: <3E472244.4040004@unknown.nu> Date: Sun, 09 Feb 2003 21:53:40 -0600 From: Kim Scarborough User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Weinberger Cc: ports@FreeBSD.ORG Subject: Re: Problems with new port References: <3E46E0E3.7030708@unknown.nu> <20030210014400.GM6740@vectors.cx> In-Reply-To: <20030210014400.GM6740@vectors.cx> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Why not just use user nobody? Does this really need its own user? Running servers as nobody is a security hazard. > INSTALL_PROGRAM strips binaries automatically. Please read the Porter's > Handbook. Oh, thanks for catching that. That was left over from when I was using the port's install target. Trust me, I've read the handbook... no way I could have whipped up this convoluted a mess without going through that. > The pkg-install seems completely unnecessary. This can just be put in a > big .if defined(BATCH) in the Makefile. When BATCH is defined, only one > small piece of the pkg-install script runs anyway, so an .if .else .endif > should work fine. Yes, as long as I give up on the idea of having this work as a package, which I'm tempted to do. I did originally have all that stuff in the Makefile, but like I said, the package should execute it on install, not on creation, unlike the port. The only way I thought that could work was with the pkg-install script. If there's another way, then please let me know. -- ---------------------------------------------------------------------------- Kim Scarborough http://www.unknown.nu/kim/ ---------------------------------------------------------------------------- "Those who 'abjure' violence can only do so because others are committing violence on their behalf." -- George Orwell ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message