Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 286756 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-fs/ecryptfs-utils/ecryptfs-utils-79.ebuild (-1 / +10 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit flag-o-matic pam
7
inherit flag-o-matic pam autotools
8
8
9
DESCRIPTION="eCryptfs userspace utilities"
9
DESCRIPTION="eCryptfs userspace utilities"
10
HOMEPAGE="http://launchpad.net/ecryptfs"
10
HOMEPAGE="http://launchpad.net/ecryptfs"
Lines 36-43 Link Here
36
	append-flags -D_FILE_OFFSET_BITS=64
36
	append-flags -D_FILE_OFFSET_BITS=64
37
}
37
}
38
38
39
src_prepare() {
40
	epatch "${FILESDIR}/configure.patch"
41
	eautoreconf || die "failed running autoreconf"
42
}
43
39
src_configure() {
44
src_configure() {
40
	econf \
45
	econf \
46
		--libdir=/$(get_libdir) \
47
		--with-ecryptfskeymoddir=/usr/$(get_libdir)/ecryptfs/ \
41
		--docdir="/usr/share/doc/${PF}" \
48
		--docdir="/usr/share/doc/${PF}" \
42
		--enable-nss \
49
		--enable-nss \
43
		--with-pamdir=$(getpam_mod_dir) \
50
		--with-pamdir=$(getpam_mod_dir) \
Lines 54-59 Link Here
54
src_install(){
61
src_install(){
55
	emake DESTDIR="${D}" install || die "emake install failed"
62
	emake DESTDIR="${D}" install || die "emake install failed"
56
	use suid && fperms u+s /sbin/mount.ecryptfs
63
	use suid && fperms u+s /sbin/mount.ecryptfs
64
65
	mv "${D}"/$(get_libdir)/*.la "${D}"/usr/$(get_libdir)/
57
}
66
}
58
67
59
pkg_postinst() {
68
pkg_postinst() {

Return to bug 286756