annotate sys-fs/ntfs3g/ntfs3g-1.5130.ebuild @ 136:2cdc52664e30

bump rabbitmq to 1.6.0
author holger
date Wed, 17 Jun 2009 14:45:38 +0200
parents 7360f9380ed4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2008 Gentoo Foundation
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.5012.ebuild,v 1.1 2008/10/23 14:23:59 chutzpah Exp $
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
4
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
5 MY_PN="${PN/3g/-3g}"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
6 MY_P="${MY_PN}-${PV}"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
7
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
8 DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
9 HOMEPAGE="http://www.ntfs-3g.org"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
10 SRC_URI="http://www.ntfs-3g.org/${MY_P}.tgz"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
11
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
12 LICENSE="GPL-2"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
13 SLOT="0"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
15 IUSE="debug hal suid"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
16
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
17 RDEPEND="hal? ( sys-apps/hal )"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
18 DEPEND="${RDEPEND}"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
19
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
20 S="${WORKDIR}/${MY_P}"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
21
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
22 src_compile() {
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
23 econf \
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
24 --docdir="/usr/share/doc/${PF}" \
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
25 --enable-ldscript \
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
26 --disable-ldconfig \
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
27 $(use_enable debug)
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
28 emake || die "emake failed"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
29 }
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
30
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
31 src_install() {
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
32 emake DESTDIR="${D}" install || die "install failed"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
33
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
34 prepalldocs
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
35 dodoc AUTHORS ChangeLog CREDITS
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
36
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
37 use suid && fperms u+s "/bin/${MY_PN}"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
38
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
39 if use hal; then
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
40 insinto /etc/hal/fdi/policy/
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
41 doins "${FILESDIR}/10-ntfs3g.fdi"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
42 fi
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
43 }
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
44
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
45 pkg_postinst() {
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
46 if use suid; then
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
47 ewarn
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
48 ewarn "You have chosen to install ${PN} with the binary setuid root. This"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
49 ewarn "means that if there any undetected vulnerabilities in the binary,"
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
50 ewarn "then local users may be able to gain root access on your machine."
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
51 ewarn
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
52 fi
7360f9380ed4 latest ntfs3g
holger@hoho.dyndns.org
parents:
diff changeset
53 }