summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lessfs')
-rw-r--r--sys-fs/lessfs/ChangeLog10
-rw-r--r--sys-fs/lessfs/files/lessfs-implicit-declaration.patch29
-rw-r--r--sys-fs/lessfs/lessfs-1.1.9.10.ebuild (renamed from sys-fs/lessfs/lessfs-1.1.9.6.ebuild)6
-rw-r--r--sys-fs/lessfs/lessfs-1.1.9.7.ebuild48
4 files changed, 43 insertions, 50 deletions
diff --git a/sys-fs/lessfs/ChangeLog b/sys-fs/lessfs/ChangeLog
index 1590e446d476..df64b9367161 100644
--- a/sys-fs/lessfs/ChangeLog
+++ b/sys-fs/lessfs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-fs/lessfs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/ChangeLog,v 1.19 2010/10/18 17:09:31 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/ChangeLog,v 1.20 2010/10/28 10:41:07 hwoarang Exp $
+
+*lessfs-1.1.9.10 (28 Oct 2010)
+
+ 28 Oct 2010; Markos Chandras <hwoarang@gentoo.org> -lessfs-1.1.9.6.ebuild,
+ -lessfs-1.1.9.7.ebuild, +lessfs-1.1.9.10.ebuild,
+ +files/lessfs-implicit-declaration.patch:
+ Version bump. Remove old. Apply patch to fix QA problems wrt implicit
+ function declarations
*lessfs-1.1.9.7 (18 Oct 2010)
diff --git a/sys-fs/lessfs/files/lessfs-implicit-declaration.patch b/sys-fs/lessfs/files/lessfs-implicit-declaration.patch
new file mode 100644
index 000000000000..7454f7c25f8b
--- /dev/null
+++ b/sys-fs/lessfs/files/lessfs-implicit-declaration.patch
@@ -0,0 +1,29 @@
+Index: lessfs-1.1.9.10/file_io.c
+===================================================================
+--- lessfs-1.1.9.10.orig/file_io.c
++++ lessfs-1.1.9.10/file_io.c
+@@ -86,6 +86,8 @@ extern unsigned int dbu_qcount;
+
+ #define die_dataerr(f...) { LFATAL(f); exit(EXIT_DATAERR); }
+
++// missing declarations
++void write_trunc_todolist(struct truncate_thread_data *trunc_data);
+ INUSE *file_get_inuse(unsigned char *stiger)
+ {
+ INUSE *inuse;
+Index: lessfs-1.1.9.10/lessfs.c
+===================================================================
+--- lessfs-1.1.9.10.orig/lessfs.c
++++ lessfs-1.1.9.10/lessfs.c
+@@ -84,6 +84,11 @@
+
+ #include "commons.h"
+
++//missing declarations
++void invalidate_p2i(char *filename);
++int send_backlog();
++void restart_truncation();
++
+ void segvExit()
+ {
+ LFATAL("Exit caused by segfault!, exitting\n");
diff --git a/sys-fs/lessfs/lessfs-1.1.9.6.ebuild b/sys-fs/lessfs/lessfs-1.1.9.10.ebuild
index 22b22832f4ff..4e76723c9099 100644
--- a/sys-fs/lessfs/lessfs-1.1.9.6.ebuild
+++ b/sys-fs/lessfs/lessfs-1.1.9.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/lessfs-1.1.9.6.ebuild,v 1.1 2010/10/16 16:36:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/lessfs-1.1.9.10.ebuild,v 1.1 2010/10/28 10:41:07 hwoarang Exp $
EAPI="2"
@@ -27,6 +27,10 @@ RDEPEND=""
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-implicit-declaration.patch
+}
+
src_configure() {
econf \
$(use_enable debug) $(use_enable debug lckdebug) \
diff --git a/sys-fs/lessfs/lessfs-1.1.9.7.ebuild b/sys-fs/lessfs/lessfs-1.1.9.7.ebuild
deleted file mode 100644
index 11e2a21d9967..000000000000
--- a/sys-fs/lessfs/lessfs-1.1.9.7.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/lessfs-1.1.9.7.ebuild,v 1.1 2010/10/18 17:09:31 hwoarang Exp $
-
-EAPI="2"
-
-inherit eutils
-
-MY_PV="${PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-DESCRIPTION="A high performance inline data deduplicating filesystem"
-HOMEPAGE="http://www.lessfs.com"
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P/_beta*/-beta}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="lzo crypt debug"
-
-DEPEND=">=dev-db/tokyocabinet-1.4.42
- app-crypt/mhash
- >=sys-fs/fuse-2.8.0
- crypt? ( dev-libs/openssl )
- lzo? ( dev-libs/lzo )"
-
-RDEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
- econf \
- $(use_enable debug) $(use_enable debug lckdebug) \
- $(use_with crypt crypto) $(use_with lzo)
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc ChangeLog FAQ README.* || die "dodpc failed"
- insinto /etc
- doins etc/lessfs.cfg
-
-}
-
-pkg_postinst() {
- elog
- elog "Default configuration file: /etc/${PN}.cfg"
- elog
-}