From 4b712fc9ff160dc01319bfdbae8f6932bb9d1054 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Fri, 12 Feb 2021 07:31:30 -0600 Subject: sys-fs/lessfs: revbump for changed dep Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ben Kohler --- sys-fs/lessfs/lessfs-1.7.0-r2.ebuild | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 sys-fs/lessfs/lessfs-1.7.0-r2.ebuild (limited to 'sys-fs/lessfs/lessfs-1.7.0-r2.ebuild') diff --git a/sys-fs/lessfs/lessfs-1.7.0-r2.ebuild b/sys-fs/lessfs/lessfs-1.7.0-r2.ebuild new file mode 100644 index 000000000000..2691c219976f --- /dev/null +++ b/sys-fs/lessfs/lessfs-1.7.0-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic readme.gentoo-r1 + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A high performance inline data deduplicating filesystem" +HOMEPAGE="https://sourceforge.net/projects/lessfs/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="berkdb crypt debug filelog memtrace lzo snappy" + +RDEPEND=" + app-crypt/mhash + dev-db/tokyocabinet + sys-fs/fuse:0 + berkdb? ( sys-libs/db:* ) + crypt? ( dev-libs/openssl:0= ) + lzo? ( dev-libs/lzo ) + snappy? ( app-arch/snappy )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOC_CONTENTS="Default configuration file: /etc/${PN}.cfg. + If your host is a client consult the following configuration + file: /usr/share/doc/${PF}/${PN}.cfg-slave.*" + +PATCHES=( + # From PLD-Linux, bug #674422 + "${FILESDIR}"/${P}-openssl11.patch +) + +src_configure() { + append-flags -fcommon + econf \ + $(use_enable debug) \ + $(use_enable debug lckdebug) \ + $(use_enable filelog) \ + $(use_enable memtrace) \ + $(use_with berkdb berkeleydb) \ + $(use_with crypt crypto) \ + $(use_with lzo) \ + $(use_with snappy) +} + +src_install() { + default + insinto /etc + newins examples/lessfs.cfg-master ${PN}.cfg + dodoc examples/lessfs.* etc/lessfs.* + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3-65-gdbad