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

Collapse All | Expand All

(-)ntfs3g-1.2531.ebuild.old (-8 / +35 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.2531.ebuild,v 1.5 2008/07/17 19:04:53 corsair Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.2531.ebuild,v 1.5 2008/07/17 19:04:53 corsair Exp $
4
4
5
MY_PN="${PN/3g/-3g}"
5
inherit linux-info
6
MY_P="${MY_PN}-${PV}"
6
7
MY_P="${PN/3g/-3g}-${PV}"
7
8
8
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
HOMEPAGE="http://www.ntfs-3g.org"
10
HOMEPAGE="http://www.ntfs-3g.org"
Lines 14-39 Link Here
14
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
15
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
15
IUSE="debug suid"
16
IUSE="debug suid"
16
17
17
RDEPEND=""
18
[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse"
18
DEPEND=""
19
20
RDEPEND="!kernel_linux? ( sys-fs/fuse )
21
	kernel_linux? ( fuse? ( sys-fs/fuse ) )"
22
23
DEPEND="${RDEPEND}"
19
24
20
S="${WORKDIR}/${MY_P}"
25
S="${WORKDIR}/${MY_P}"
21
26
27
pkg_setup() {
28
	if use kernel_linux ; then
29
		CONFIG_CHECK="~FUSE_FS"
30
		WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built 
31
			with FUSE support for it to function at runtime."
32
		linux-info_pkg_setup
33
	fi
34
}
35
22
src_compile() {
36
src_compile() {
37
	local myconf
38
39
	use kernel_linux && use fuse && myconf="--with-fuse=external"
40
23
	econf \
41
	econf \
24
		--docdir="/usr/share/doc/${PF}" \
42
		--docdir="/usr/share/doc/${PF}" \
25
		--enable-ldscript \
43
		--enable-ldscript \
26
		--disable-ldconfig \
44
		--disable-ldconfig \
27
		$(use_enable debug)
45
		$(use_enable debug) \
46
		${myconf}
28
	emake || die "emake failed"
47
	emake || die "emake failed"
29
}
48
}
30
49
31
src_install() {
50
src_install() {
32
	emake DESTDIR="${D}" install || die "install failed"
51
	emake DESTDIR="${D}" install || die "install failed"
33
	prepalldocs
52
	prepalldocs || die "prepalldocs failed"
34
	dodoc AUTHORS ChangeLog CREDITS
53
	dodoc AUTHORS ChangeLog CREDITS || die "dodoc failed"
35
54
36
	use suid && fperms u+s "/bin/${MY_PN}"
55
	use suid && { fperms u+s "/bin/${PN/3g/-3g}" || die "could not change file permisions"; }
37
}
56
}
38
57
39
pkg_postinst() {
58
pkg_postinst() {
Lines 44-47 Link Here
44
		ewarn "then local users may be able to gain root access on your machine."
63
		ewarn "then local users may be able to gain root access on your machine."
45
		ewarn
64
		ewarn
46
	fi
65
	fi
66
67
	if  ! use kernel_linux || use kernel_linux && use fuse  ; then
68
		ewarn
69
		ewarn "ntfs-3g has been built with external FUSE support."
70
		ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g,"
71
		ewarn "as failure to do so may break ntfs-3g functionality."
72
		ewarn
73
	fi
47
}
74
}
(-)ntfs3g-1.5130.ebuild.old (-8 / +36 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.5130.ebuild,v 1.1 2009/01/19 19:47:03 chutzpah Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.5130.ebuild,v 1.1 2009/01/19 19:47:03 chutzpah Exp $
4
4
5
MY_PN="${PN/3g/-3g}"
5
inherit linux-info
6
MY_P="${MY_PN}-${PV}"
6
7
MY_P="${PN/3g/-3g}-${PV}"
7
8
8
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
HOMEPAGE="http://www.ntfs-3g.org"
10
HOMEPAGE="http://www.ntfs-3g.org"
Lines 14-44 Link Here
14
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15
IUSE="debug hal suid"
16
IUSE="debug hal suid"
16
17
17
RDEPEND="hal? ( sys-apps/hal )"
18
[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse"
19
20
RDEPEND="hal? ( sys-apps/hal )
21
	!kernel_linux? ( sys-fs/fuse )
22
	kernel_linux? ( fuse? ( sys-fs/fuse ) )"
23
18
DEPEND="${RDEPEND}"
24
DEPEND="${RDEPEND}"
19
25
20
S="${WORKDIR}/${MY_P}"
26
S="${WORKDIR}/${MY_P}"
21
27
28
pkg_setup() {
29
	if use kernel_linux ; then
30
		CONFIG_CHECK="~FUSE_FS"
31
		WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built 
32
			with FUSE support for it to function at runtime."
33
		linux-info_pkg_setup
34
	fi
35
}
36
22
src_compile() {
37
src_compile() {
38
	local myconf
39
40
	use kernel_linux && use fuse && myconf="--with-fuse=external"
41
23
	econf \
42
	econf \
24
		--docdir="/usr/share/doc/${PF}" \
43
		--docdir="/usr/share/doc/${PF}" \
25
		--enable-ldscript \
44
		--enable-ldscript \
26
		--disable-ldconfig \
45
		--disable-ldconfig \
27
		$(use_enable debug)
46
		$(use_enable debug) \
47
		${myconf}
28
	emake || die "emake failed"
48
	emake || die "emake failed"
29
}
49
}
30
50
31
src_install() {
51
src_install() {
32
	emake DESTDIR="${D}" install || die "install failed"
52
	emake DESTDIR="${D}" install || die "install failed"
33
53
34
	prepalldocs
54
	prepalldocs || die "prepalldocs failed"
35
	dodoc AUTHORS ChangeLog CREDITS
55
	dodoc AUTHORS ChangeLog CREDITS || die "dodoc failed"
36
56
37
	use suid && fperms u+s "/bin/${MY_PN}"
57
	use suid && { fperms u+s "/bin/${PN/3g/-3g}" || die "could not change file permisions"; }
38
58
39
	if use hal; then
59
	if use hal; then
40
		insinto /etc/hal/fdi/policy/
60
		insinto /etc/hal/fdi/policy/
41
		doins "${FILESDIR}/10-ntfs3g.fdi"
61
		doins "${FILESDIR}/10-ntfs3g.fdi" || die "installation of 10-ntfs3g.fdi.2009 failed"
42
	fi
62
	fi
43
}
63
}
44
64
Lines 50-53 Link Here
50
		ewarn "then local users may be able to gain root access on your machine."
70
		ewarn "then local users may be able to gain root access on your machine."
51
		ewarn
71
		ewarn
52
	fi
72
	fi
73
74
	if  ! use kernel_linux || use kernel_linux && use fuse  ; then
75
		ewarn
76
		ewarn "ntfs-3g has been built with external FUSE support."
77
		ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g,"
78
		ewarn "as failure to do so may break ntfs-3g functionality."
79
		ewarn
80
	fi
53
}
81
}
(-)ntfs3g-2009.2.1.ebuild.old (-8 / +36 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.2.1.ebuild,v 1.1 2009/02/12 16:21:24 chutzpah Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.2.1.ebuild,v 1.1 2009/02/12 16:21:24 chutzpah Exp $
4
4
5
MY_PN="${PN/3g/-3g}"
5
inherit linux-info
6
MY_P="${MY_PN}-${PV}"
6
7
MY_P="${PN/3g/-3g}-${PV}"
7
8
8
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
HOMEPAGE="http://www.ntfs-3g.org"
10
HOMEPAGE="http://www.ntfs-3g.org"
Lines 14-44 Link Here
14
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15
IUSE="debug hal suid"
16
IUSE="debug hal suid"
16
17
17
RDEPEND="hal? ( sys-apps/hal )"
18
[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse"
19
20
RDEPEND="hal? ( sys-apps/hal )
21
	!kernel_linux? ( sys-fs/fuse )
22
	kernel_linux? ( fuse? ( sys-fs/fuse ) )"
23
18
DEPEND="${RDEPEND}"
24
DEPEND="${RDEPEND}"
19
25
20
S="${WORKDIR}/${MY_P}"
26
S="${WORKDIR}/${MY_P}"
21
27
28
pkg_setup() {
29
	if use kernel_linux ; then
30
		CONFIG_CHECK="~FUSE_FS"
31
		WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built 
32
			with FUSE support for it to function at runtime."
33
		linux-info_pkg_setup
34
	fi
35
}
36
22
src_compile() {
37
src_compile() {
38
	local myconf
39
40
	use kernel_linux && use fuse && myconf="--with-fuse=external"
41
23
	econf \
42
	econf \
24
		--docdir="/usr/share/doc/${PF}" \
43
		--docdir="/usr/share/doc/${PF}" \
25
		--enable-ldscript \
44
		--enable-ldscript \
26
		--disable-ldconfig \
45
		--disable-ldconfig \
27
		$(use_enable debug)
46
		$(use_enable debug) \
47
		${myconf}
28
	emake || die "emake failed"
48
	emake || die "emake failed"
29
}
49
}
30
50
31
src_install() {
51
src_install() {
32
	emake DESTDIR="${D}" install || die "install failed"
52
	emake DESTDIR="${D}" install || die "install failed"
33
53
34
	prepalldocs
54
	prepalldocs || die "prepalldocs failed"
35
	dodoc AUTHORS ChangeLog CREDITS
55
	dodoc AUTHORS ChangeLog CREDITS || die "dodoc failed"
36
56
37
	use suid && fperms u+s "/bin/${MY_PN}"
57
	use suid && { fperms u+s "/bin/${PN/3g/-3g}" || die "could not change file permisions"; }
38
58
39
	if use hal; then
59
	if use hal; then
40
		insinto /etc/hal/fdi/policy/
60
		insinto /etc/hal/fdi/policy/
41
		newins "${FILESDIR}/10-ntfs3g.fdi.2009" "10-ntfs3g.fdi"
61
		newins "${FILESDIR}/10-ntfs3g.fdi.2009" "10-ntfs3g.fdi" || die "installation of 10-ntfs3g.fdi.2009 failed"
42
	fi
62
	fi
43
}
63
}
44
64
Lines 50-53 Link Here
50
		ewarn "then local users may be able to gain root access on your machine."
70
		ewarn "then local users may be able to gain root access on your machine."
51
		ewarn
71
		ewarn
52
	fi
72
	fi
73
74
	if  ! use kernel_linux || use kernel_linux && use fuse  ; then
75
		ewarn
76
		ewarn "ntfs-3g has been built with external FUSE support."
77
		ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g,"
78
		ewarn "as failure to do so may break ntfs-3g functionality."
79
		ewarn
80
	fi
53
}
81
}
(-)ntfs3g-2009.3.8.ebuild.old (-8 / +36 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.3.8.ebuild,v 1.4 2009/08/02 13:29:02 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.3.8.ebuild,v 1.4 2009/08/02 13:29:02 maekke Exp $
4
4
5
MY_PN="${PN/3g/-3g}"
5
inherit linux-info
6
MY_P="${MY_PN}-${PV}"
6
7
MY_P="${PN/3g/-3g}-${PV}"
7
8
8
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
9
HOMEPAGE="http://www.ntfs-3g.org"
10
HOMEPAGE="http://www.ntfs-3g.org"
Lines 14-44 Link Here
14
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
15
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
15
IUSE="debug hal suid"
16
IUSE="debug hal suid"
16
17
17
RDEPEND="hal? ( sys-apps/hal )"
18
[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse"
19
20
RDEPEND="hal? ( sys-apps/hal )
21
	!kernel_linux? ( sys-fs/fuse )
22
	kernel_linux? ( fuse? ( sys-fs/fuse ) )"
23
18
DEPEND="${RDEPEND}"
24
DEPEND="${RDEPEND}"
19
25
20
S="${WORKDIR}/${MY_P}"
26
S="${WORKDIR}/${MY_P}"
21
27
28
pkg_setup() {
29
	if use kernel_linux ; then
30
		CONFIG_CHECK="~FUSE_FS"
31
		WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built 
32
			with FUSE support for it to function at runtime."
33
		linux-info_pkg_setup
34
	fi
35
}
36
22
src_compile() {
37
src_compile() {
38
	local myconf
39
40
	use kernel_linux && use fuse && myconf="--with-fuse=external"
41
23
	econf \
42
	econf \
24
		--docdir="/usr/share/doc/${PF}" \
43
		--docdir="/usr/share/doc/${PF}" \
25
		--enable-ldscript \
44
		--enable-ldscript \
26
		--disable-ldconfig \
45
		--disable-ldconfig \
27
		$(use_enable debug)
46
		$(use_enable debug) \
47
		${myconf}
28
	emake || die "emake failed"
48
	emake || die "emake failed"
29
}
49
}
30
50
31
src_install() {
51
src_install() {
32
	emake DESTDIR="${D}" install || die "install failed"
52
	emake DESTDIR="${D}" install || die "install failed"
33
53
34
	prepalldocs
54
	prepalldocs || die "prepalldocs failed"
35
	dodoc AUTHORS ChangeLog CREDITS
55
	dodoc AUTHORS ChangeLog CREDITS || die "dodoc failed"
36
56
37
	use suid && fperms u+s "/bin/${MY_PN}"
57
	use suid && { fperms u+s "/bin/${PN/3g/-3g}" || die "could not change file permisions"; }
38
58
39
	if use hal; then
59
	if use hal; then
40
		insinto /etc/hal/fdi/policy/
60
		insinto /etc/hal/fdi/policy/
41
		newins "${FILESDIR}/10-ntfs3g.fdi.2009" "10-ntfs3g.fdi"
61
		newins "${FILESDIR}/10-ntfs3g.fdi.2009" "10-ntfs3g.fdi" || die "installation of 10-ntfs3g.fdi.2009 failed"
42
	fi
62
	fi
43
}
63
}
44
64
Lines 50-53 Link Here
50
		ewarn "then local users may be able to gain root access on your machine."
70
		ewarn "then local users may be able to gain root access on your machine."
51
		ewarn
71
		ewarn
52
	fi
72
	fi
73
74
	if  ! use kernel_linux || use kernel_linux && use fuse  ; then
75
		ewarn
76
		ewarn "ntfs-3g has been built with external FUSE support."
77
		ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g,"
78
		ewarn "as failure to do so may break ntfs-3g functionality."
79
		ewarn
80
	fi
53
}
81
}

Return to bug 235966