blob: d303f9c103870b95ddc2eb9ec13cb9c4d90a7a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/chrootuid/chrootuid-1.3-r1.ebuild,v 1.2 2011/06/14 15:00:19 hattya Exp $
EAPI="3"
inherit toolchain-funcs
IUSE=""
MY_P="${P/-/}"
DESCRIPTION="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"
LICENSE="BSD"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc x86"
SLOT="0"
S="${WORKDIR}/${MY_P}"
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die
}
src_install() {
dobin chrootuid || die
doman chrootuid.1 || die
dodoc README chrootuid_license || die
}
|