Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2003 21:53:40 -0600
From:      Kim Scarborough <sluggo@unknown.nu>
To:        Adam Weinberger <adamw@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Problems with new port
Message-ID:  <3E472244.4040004@unknown.nu>
In-Reply-To: <20030210014400.GM6740@vectors.cx>
References:  <3E46E0E3.7030708@unknown.nu> <20030210014400.GM6740@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E472244.4040004>