Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41609 Details for
Bug 67212
update: lufs-0.9.7-r3.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
lufs-0.9.7-r3.ebuild
lufs-0.9.7-r3.ebuild (text/plain), 3.27 KB, created by
Stefan Schweizer (RETIRED)
on 2004-10-12 03:51:16 UTC
(
hide
)
Description:
lufs-0.9.7-r3.ebuild
Filename:
MIME Type:
Creator:
Stefan Schweizer (RETIRED)
Created:
2004-10-12 03:51:16 UTC
Size:
3.27 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit kernel-mod eutils > >DESCRIPTION="User-mode filesystem implementation" >HOMEPAGE="http://lufs.sourceforge.net/lufs/" >SRC_URI="mirror://sourceforge/lufs/${P}.tar.gz > http://sites.inka.de/~W1752/vlfs/vlfs-0.3.diff" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="debug kernelsupport lufssuid" > >RDEPEND="" >DEPEND="virtual/linux-sources > sys-devel/automake > sys-devel/autoconf > >=sys-apps/sed-4" > >pkg_setup() { > if use kernelsupport; then > kernel-mod_check_modules_supported > fi >} > >src_unpack() { > unpack ${A} > cd ${S} > > # Fix GCC 3.3.2 build failure (see also > # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13192) > epatch ${FILESDIR}/gentoo-gcc332fix-${PV}.patch > > epatch ${FILESDIR}/${P}-fPIC.patch > epatch ${FILESDIR}/lufs-automount-port.diff > epatch ${FILESDIR}/${P}-enable-gnome-2.patch > epatch ${DISTDIR}/vlfs-0.3.diff > > # Fix some sandbox failures > sed -i -e's/install-data-hook//' \ > lufsd/Makefile.in util/Makefile.in kernel/Linux/2.4/Makefile.in >} > >src_compile() { > ebegin "Running aclocal" > ./config/missing --run aclocal-1.7 > eend ${?} > ebegin "Running automake" > ./config/missing --run automake-1.7 --gnu filesystems/vlfs/Makefile > eend ${?} > ebegin "Running autoconf" > ./config/missing --run autoconf > eend ${?} > > local myconf > myconf="--enable-wavfs --enable-cardfs --with-kernel=${KV} --with-kheaders='${ROOT}/usr/src/linux/include'" > if ! use kernelsupport; then > myconf="${myconf} --disable-kernel-support" > fi > if ! use lufssuid; then > myconf="${myconf} --disable-suid" > fi > if [ "`portageq has_version / sys-fs/autofs`" == "0" ] ; then > myconf="${myconf} --enable-autofs-install" > fi > if use debug; then > myconf="${myconf} --enable-debug --enable-kdebug" > fi > unset ARCH > econf ${myconf} || die > > if use kernelsupport; then > # http://marc.theaimsgroup.com/?l=gentoo-dev&m=109672618708314&w=2 > kernel-mod_getversion > if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] > then > sed -i 's:SUBDIRS=:M=:g' kernel/Linux/2.6/Makefile > fi > fi > > emake KERNEL_DIR="${ROOT}/usr/src/linux" KDIR="${ROOT}/usr/src/linux" || die "emake failed" >} > >src_install () { > dodoc AUTHORS ChangeLog Contributors INSTALL \ > NEWS README THANKS TODO docs/cefs.txt > dohtml docs/lufs.html > env -u ARCH make DESTDIR=${D} KDIR="${ROOT}/usr/src/linux" install || die "make install failed" > if use kernelsupport; then > if kernel-mod_is_2_6_kernel > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > insinto ${ROOT}/lib/modules/${KV}/extra > doins kernel/Linux/2.${KV_MINOR}/lufs.$KV_OBJ > fi > dodir /etc/autofs > mv ${D}/etc/auto.* ${D}/etc/autofs >} > >pkg_postinst() { > if ! use lufssuid; then > chmod -s /usr/bin/lufsmnt > einfo > einfo "/usr/bin/lufsmnt is not suid root because that is a security risk (see the README)" > einfo "If you want normal users to be able to use it, you must set it suid root yourself." > einfo "Set the lufssuid use-flag to do that automatically." > einfo > else > chmod +s /usr/bin/lufsmnt > einfo > einfo "/usr/bin/lufsmnt is suid root. Read the README; this is a security risk." > einfo > fi > > if use kernelsupport; then > einfo "Checking kernel module dependencies" > test -r "${ROOT}/usr/src/linux/System.map" && \ > depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} > 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 Raw
Actions:
View
Attachments on
bug 67212
:
41609
|
41610
|
41611
|
41612
|
41613
|
41911
|
41912
|
45724
|
45725