diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2019-05-13 11:03:51 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2019-05-13 11:05:18 +0300 |
commit | faba0e9b9ceb394aee02a0b5651c21178b9dca00 (patch) | |
tree | d6224dd1a565553c0be640466880170c2ad64819 /sys-fs/mhddfs | |
parent | dev-libs/ell: Synced live ebuild (diff) | |
download | gentoo-faba0e9b9ceb394aee02a0b5651c21178b9dca00.tar.gz gentoo-faba0e9b9ceb394aee02a0b5651c21178b9dca00.tar.bz2 gentoo-faba0e9b9ceb394aee02a0b5651c21178b9dca00.zip |
sys-fs/mhddfs: revision bump
Add missing depedency on dev-libs/glib
Reported-by: Toralf Förster <toralf@gentoo.org>
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Bug: https://bugs.gentoo.org/685578
Package-Manager: Portage-2.3.51, Repoman-2.3.10
Diffstat (limited to 'sys-fs/mhddfs')
-rw-r--r-- | sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild b/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild new file mode 100644 index 000000000000..06b31c74b9f6 --- /dev/null +++ b/sys-fs/mhddfs/mhddfs-0.1.39-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="${PN}_${PV}" + +DESCRIPTION="Fuse multi harddrive filesystem" +HOMEPAGE="http://mhddfs.uvw.ru/ http://svn.uvw.ru/mhddfs/trunk/README" +SRC_URI="http://mhddfs.uvw.ru/downloads/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="l10n_ru suid" + +RDEPEND=" + dev-libs/glib:2 + sys-fs/fuse:0 +" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog README ) +PATCHES=( + "${FILESDIR}/${PN}-respect-compiler-vars.patch" + "${FILESDIR}/${P}-segfault-fix.patch" + "${FILESDIR}/${P}-xattr.patch" +) + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin mhddfs + doman mhddfs.1 + einstalldocs + use l10n_ru && dodoc README.ru.UTF-8 + use suid && fperms u+s /usr/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 +} |