Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199538 Details for
Bug 235966
sys-fs/ntfs3g should check kernel config
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch against ntfs3g ebuilds.
ntfs3g-fuse.patch (text/plain), 6.32 KB, created by
Peter Levine
on 2009-07-29 11:20:34 UTC
(
hide
)
Description:
Proposed patch against ntfs3g ebuilds.
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2009-07-29 11:20:34 UTC
Size:
6.32 KB
patch
obsolete
>--- ntfs3g-1.2531.ebuild.old 2008-07-17 15:07:08.000000000 -0400 >+++ ntfs3g-1.2531.ebuild 2009-07-29 06:47:06.530305324 -0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.2531.ebuild,v 1.5 2008/07/17 19:04:53 corsair Exp $ > >+inherit linux-info >+ > MY_PN="${PN/3g/-3g}" > MY_P="${MY_PN}-${PV}" > >@@ -14,17 +16,36 @@ > KEYWORDS="amd64 ppc ppc64 ~sparc x86" > IUSE="debug suid" > >+[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse" >+ > RDEPEND="" >-DEPEND="" >+DEPEND="!kernel_linux? ( sys-fs/fuse ) >+ fuse? ( sys-fs/fuse )" > > S="${WORKDIR}/${MY_P}" > >+pkg_setup() { >+ if use kernel_linux ; then >+ CONFIG_CHECK="~FUSE_FS" >+ WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built >+ with FUSE support for it to function at runtime." >+ linux-info_pkg_setup >+ fi >+} >+ > src_compile() { >+ local myconf >+ >+ if use fuse ; then >+ myconf="$(use_with fuse fuse external)" >+ fi >+ > econf \ > --docdir="/usr/share/doc/${PF}" \ > --enable-ldscript \ > --disable-ldconfig \ >- $(use_enable debug) >+ $(use_enable debug) \ >+ ${myconf} > emake || die "emake failed" > } > >@@ -44,4 +65,12 @@ > ewarn "then local users may be able to gain root access on your machine." > ewarn > fi >+ >+ if use fuse -o ! use kernel_linux ; then >+ ewarn >+ ewarn "ntfs-3g has been built with external FUSE support." >+ ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g," >+ ewarn "as failure to do so may break ntfs-3g functionality." >+ ewarn >+ fi > } >--- ntfs3g-1.5130.ebuild.old 2009-01-19 14:47:03.000000000 -0500 >+++ ntfs3g-1.5130.ebuild 2009-07-29 06:49:09.535305322 -0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-1.5130.ebuild,v 1.1 2009/01/19 19:47:03 chutzpah Exp $ > >+inherit linux-info >+ > MY_PN="${PN/3g/-3g}" > MY_P="${MY_PN}-${PV}" > >@@ -14,17 +16,37 @@ > KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" > IUSE="debug hal suid" > >+[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse" >+ > RDEPEND="hal? ( sys-apps/hal )" >-DEPEND="${RDEPEND}" >+DEPEND="${RDEPEND} >+ !kernel_linux? ( sys-fs/fuse ) >+ fuse? ( sys-fs/fuse )" > > S="${WORKDIR}/${MY_P}" > >+pkg_setup() { >+ if use kernel_linux ; then >+ CONFIG_CHECK="~FUSE_FS" >+ WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built >+ with FUSE support for it to function at runtime." >+ linux-info_pkg_setup >+ fi >+} >+ > src_compile() { >+ local myconf >+ >+ if use fuse ; then >+ myconf="$(use_with fuse fuse external)" >+ fi >+ > econf \ > --docdir="/usr/share/doc/${PF}" \ > --enable-ldscript \ > --disable-ldconfig \ >- $(use_enable debug) >+ $(use_enable debug) \ >+ ${myconf} > emake || die "emake failed" > } > >@@ -50,4 +72,12 @@ > ewarn "then local users may be able to gain root access on your machine." > ewarn > fi >+ >+ if use fuse -o ! use kernel_linux ; then >+ ewarn >+ ewarn "ntfs-3g has been built with external FUSE support." >+ ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g," >+ ewarn "as failure to do so may break ntfs-3g functionality." >+ ewarn >+ fi > } >--- ntfs3g-2009.2.1.ebuild.old 2009-02-12 11:21:24.000000000 -0500 >+++ ntfs3g-2009.2.1.ebuild 2009-07-29 06:48:38.006305514 -0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.2.1.ebuild,v 1.1 2009/02/12 16:21:24 chutzpah Exp $ > >+inherit linux-info >+ > MY_PN="${PN/3g/-3g}" > MY_P="${MY_PN}-${PV}" > >@@ -14,17 +16,37 @@ > KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" > IUSE="debug hal suid" > >+[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse" >+ > RDEPEND="hal? ( sys-apps/hal )" >-DEPEND="${RDEPEND}" >+DEPEND="${RDEPEND} >+ !kernel_linux? ( sys-fs/fuse ) >+ fuse? ( sys-fs/fuse )" > > S="${WORKDIR}/${MY_P}" > >+pkg_setup() { >+ if use kernel_linux ; then >+ CONFIG_CHECK="~FUSE_FS" >+ WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built >+ with FUSE support for it to function at runtime." >+ linux-info_pkg_setup >+ fi >+} >+ > src_compile() { >+ local myconf >+ >+ if use fuse ; then >+ myconf="$(use_with fuse fuse external)" >+ fi >+ > econf \ > --docdir="/usr/share/doc/${PF}" \ > --enable-ldscript \ > --disable-ldconfig \ >- $(use_enable debug) >+ $(use_enable debug) \ >+ ${myconf} > emake || die "emake failed" > } > >@@ -50,4 +72,12 @@ > ewarn "then local users may be able to gain root access on your machine." > ewarn > fi >+ >+ if use fuse -o ! use kernel_linux ; then >+ ewarn >+ ewarn "ntfs-3g has been built with external FUSE support." >+ ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g," >+ ewarn "as failure to do so may break ntfs-3g functionality." >+ ewarn >+ fi > } >--- ntfs3g-2009.3.8.ebuild.old 2009-03-30 13:18:08.000000000 -0400 >+++ ntfs3g-2009.3.8.ebuild 2009-07-29 06:49:43.527305404 -0400 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2009.3.8.ebuild,v 1.1 2009/03/30 17:18:08 chutzpah Exp $ > >+inherit linux-info >+ > MY_PN="${PN/3g/-3g}" > MY_P="${MY_PN}-${PV}" > >@@ -14,17 +16,37 @@ > KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" > IUSE="debug hal suid" > >+[[ ${KERNEL} == "linux" ]] && IUSE="${IUSE} fuse" >+ > RDEPEND="hal? ( sys-apps/hal )" >-DEPEND="${RDEPEND}" >+DEPEND="${RDEPEND} >+ !kernel_linux? ( sys-fs/fuse ) >+ fuse? ( sys-fs/fuse )" > > S="${WORKDIR}/${MY_P}" > >+pkg_setup() { >+ if use kernel_linux ; then >+ CONFIG_CHECK="~FUSE_FS" >+ WARNING_FUSE_FS="This build of ntfs-3g will continue but your kernel needs to be built >+ with FUSE support for it to function at runtime." >+ linux-info_pkg_setup >+ fi >+} >+ > src_compile() { >+ local myconf >+ >+ if use fuse ; then >+ myconf="$(use_with fuse fuse external)" >+ fi >+ > econf \ > --docdir="/usr/share/doc/${PF}" \ > --enable-ldscript \ > --disable-ldconfig \ >- $(use_enable debug) >+ $(use_enable debug) \ >+ ${myconf} > emake || die "emake failed" > } > >@@ -50,4 +72,12 @@ > ewarn "then local users may be able to gain root access on your machine." > ewarn > fi >+ >+ if use fuse -o ! use kernel_linux ; then >+ ewarn >+ ewarn "ntfs-3g has been built with external FUSE support." >+ ewarn "If your system's FUSE package gets updated please rebuild ntfs-3g," >+ ewarn "as failure to do so may break ntfs-3g functionality." >+ ewarn >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235966
:
173419
|
182590
|
199538
|
200320