# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" MY_P="${PN}${PV}" S="${WORKDIR}/${MY_P}" DESCRIPTION="Chrootuid makes it easy to run a network service at low privilege level and with restricted file system access." HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html" SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz" SLOT="0" KEYWORDS="x86" LICENSE="BSD" src_compile() { # Add in our own custom CFLAGS sed -i "s/CFLAGS\t=/CFLAGS = ${CFLAGS} #/" Makefile emake || die "emake failed :'(" } src_install() { dobin chrootuid doman chrootuid.1 dodoc README chrootuid_license }