Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220447 - ebuild for mhddfs
Summary: ebuild for mhddfs
Status: RESOLVED DUPLICATE of bug 220451
Alias: None
Product: Gentoo Developers/Staff
Classification: Unclassified
Component: New Developers (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 20:06 UTC by Babikhin Kirill
Modified: 2008-05-05 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Babikhin Kirill 2008-05-05 20:06:44 UTC
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/mhddfs-0.1.4.ebuild,v 1.4 2008/03/22 10:38:38 corsair Exp $

inherit flag-o-matic eutils multilib toolchain-funcs

MY_PV="_${PV}"
MY_P="${PN}${MY_PV}"

DESCRIPTION="This driver will allow to use disk space of several file systems
in common as one big device of storage. It's run under FUSE"
HOMEPAGE="http://mhdd.uvw.ru/"
RESTRICT="mirror"
SRC_URI="http://mhdd.uvw.ru/downloads/${MY_P}.tar.gz"

LICENSE="GPL-3 or later"
SLOT="0"
KEYWORDS="alpha amd64 hppa x86 sparc ppc ppc64 mips"
IUSE="suid"

RDEPEND=">=sys-fs/fuse-2.6.3"
DEPEND="${RDEPEND}"

src_compile() {
        emake || die "emake failed"
}

src_install() {
        dobin ${PN}
        doman ${PN}.1
        dodoc ChangeLog README README.ru.UTF-8

        use suid && fperms u+s /bin/${PN}
}

pkg_postinst() {
        if use suid; then
                ewarn
                ewarn "You have chosen to install ${PN} with the binary setuid root. This"
                ewarn "means that if there any undetected vulnerabilities in the binary,"
                ewarn "then local users may be able to gain root access on your machine."
                ewarn
        fi
}
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-05 20:27:36 UTC
Please, attach the ebuild, don't paste it inline, thanks.
Comment 2 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-05 20:30:25 UTC

*** This bug has been marked as a duplicate of bug 220451 ***