summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-01-16 13:44:23 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-01-16 13:44:23 +0000
commitfe6ea0e1a93996cfac2c0ee3583d2e16911e359d (patch)
tree7b145986d62f78e5c36e3532b71c81cfd58ae673 /sys-fs/lessfs
parentMask lessfs-1.3.1 (diff)
downloadhistorical-fe6ea0e1a93996cfac2c0ee3583d2e16911e359d.tar.gz
historical-fe6ea0e1a93996cfac2c0ee3583d2e16911e359d.tar.bz2
historical-fe6ea0e1a93996cfac2c0ee3583d2e16911e359d.zip
Version bump but will remain masked for a while
Package-Manager: portage-2.1.9.31/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/lessfs')
-rw-r--r--sys-fs/lessfs/ChangeLog14
-rw-r--r--sys-fs/lessfs/Manifest13
-rw-r--r--sys-fs/lessfs/files/lessfs-implicit-declaration.patch29
-rw-r--r--sys-fs/lessfs/files/lessfs.confd11
-rw-r--r--sys-fs/lessfs/files/lessfs.initd22
-rw-r--r--sys-fs/lessfs/lessfs-1.3.1.ebuild53
6 files changed, 106 insertions, 36 deletions
diff --git a/sys-fs/lessfs/ChangeLog b/sys-fs/lessfs/ChangeLog
index c852f3155928..266082787eee 100644
--- a/sys-fs/lessfs/ChangeLog
+++ b/sys-fs/lessfs/ChangeLog
@@ -1,6 +1,16 @@
# 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.24 2010/12/23 22:02:16 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/ChangeLog,v 1.25 2011/01/16 13:44:23 hwoarang Exp $
+
+ 16 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +lessfs-1.3.1.ebuild,
+ +files/lessfs.confd, +files/lessfs.initd,
+ -files/lessfs-implicit-declaration.patch:
+ Version bump but will remain masked for a while
+
+*lessfs-1.3.1 (16 Jan 2011)
+
+ 16 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +lessfs-1.3.1.ebuild:
+ Version bump
*lessfs-1.2.2.6 (23 Dec 2010)
diff --git a/sys-fs/lessfs/Manifest b/sys-fs/lessfs/Manifest
index 1d1ad410b75a..2d1a508963d6 100644
--- a/sys-fs/lessfs/Manifest
+++ b/sys-fs/lessfs/Manifest
@@ -1,17 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX lessfs-implicit-declaration.patch 838 RMD160 54d09e6bbea33c74a27b532dfa5ce3f3e2fbbc25 SHA1 9b870c4d222703ef6cafe585c2e691061a732bd7 SHA256 6f383593763222cc5f088f6f6dab80144467033bfd9415daf111b838df9b8a07
+AUX lessfs.confd 286 RMD160 7f81be4646616ab0c3f3e305890cdcc94ea005ad SHA1 b04f45850031a70d6f06b030406de70ff1c5a5d4 SHA256 cdd6b471dbccac1a2be2c14c84af94b10f2aba33b64a0eed53482772a396feba
+AUX lessfs.initd 564 RMD160 90eb1ed75bb127fb7430076277260ae84b8d1f02 SHA1 ad59693cf7dd8ee240b66b6d5a30d6bb16addeed SHA256 b72e2e3574b33b59cdfeab883e81e5af0fff983167f573a8264e4230f17bfd3a
DIST lessfs-1.1.5.tar.gz 389227 RMD160 5a9cba878ffd9b03bb6bd66b4c614ed9c44a1b5e SHA1 c127a4ecd57bb61fab8af1850471c49360b75a99 SHA256 cfee84d2462606a7dd99b81bd62b5f74524458d07e5fd93c3baf7f194becb356
DIST lessfs-1.2.2.6.tar.gz 395761 RMD160 9ce02f30dca91f4628785ec9d924125113bf91cd SHA1 4122aa54a396722c6796864bd9973f816a46e029 SHA256 52f61bee68de96c1b5e077590d0b4c1ed49af6119086a22e43605eecdb4ee23e
+DIST lessfs-1.3.1.tar.gz 450623 RMD160 fc177aa4257bd15e803fba2e85711a7210cf61d4 SHA1 8f4cf8b0e33120d7f13e049c347c784c20395c78 SHA256 1a7e8649852726500e832b631e1d2280c8b0dc54ae8d1f46a153f1203779e57c
EBUILD lessfs-1.1.5.ebuild 1083 RMD160 a0d513104297c503b8c17f428347d01ae4760fe0 SHA1 a8310290c86c400f257168a3c6d98a3311b09b03 SHA256 77d7d546a25928496a4ceb3ec8e0d3d166469bb29413f2461561c31503620b5e
EBUILD lessfs-1.2.2.6.ebuild 1087 RMD160 ece05ecbdf84db173a0d66ed1ba94045ee179d73 SHA1 195ab3b4fce0d4c05f4d8a83900b20e34c61baf1 SHA256 620d67e0150408e7281c0274d7b47ff27bf17de5b730b31bae4f7f270bc946bc
-MISC ChangeLog 4210 RMD160 9d29058243579b5fcba3a60d351e5afea4d52140 SHA1 07941908a52b2e6796a97d46d4e84e6d67356b1f SHA256 5caf47d3bfe1b745fd19ebade4fec306e45a254ac583807294460765eca2039f
+EBUILD lessfs-1.3.1.ebuild 1543 RMD160 85fcb4977faafcf9e52a39ca250ae1012eabc7d6 SHA1 cf9e3f0d49e1d909f730efdac5be1063c1e4841c SHA256 195d054cef753de60e2f4ef7cbf560c9c6daecc1ce760edccd686da3389824d6
+MISC ChangeLog 4544 RMD160 9ee3a153274714e5c2a458e50d03bbc83af34ce8 SHA1 66931bbcc77fbbf5176442c7cd418d06159fcb1d SHA256 b37fb41b2bfd48bf82efaf7c3d3259c8a89498ed01e2f37ed9b1fb0cf482dfca
MISC metadata.xml 1052 RMD160 5fc2d939aac89b1b2bdddea9f5c80db9f35d8450 SHA1 f89c75036eced36a168ef2d68710cf0cb94d5a3e SHA256 29e84c522d990fb47986eb3f8cabc01a5b32e31f165189c0ed704d5913fccccb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAk0TxuQACgkQ9/cejkQaxBCkaQCeOFGmjrZ7dG9vkSO+166QHQA3
-OPMAnR5644OnquDxLLP7RZnIXFxMTfNA
-=tAXk
+iEYEARECAAYFAk0y9bsACgkQ9/cejkQaxBDowACfS3G3hCyQ0qEbJxyQKmeHPB6B
+8JcAmwabD9q4rNYC51bDdLGQNhnI1FXw
+=KmfO
-----END PGP SIGNATURE-----
diff --git a/sys-fs/lessfs/files/lessfs-implicit-declaration.patch b/sys-fs/lessfs/files/lessfs-implicit-declaration.patch
deleted file mode 100644
index 7454f7c25f8b..000000000000
--- a/sys-fs/lessfs/files/lessfs-implicit-declaration.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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/files/lessfs.confd b/sys-fs/lessfs/files/lessfs.confd
new file mode 100644
index 000000000000..271a93996d06
--- /dev/null
+++ b/sys-fs/lessfs/files/lessfs.confd
@@ -0,0 +1,11 @@
+# Gentoo configuration file for lessfs
+
+# CONFIG: Full path to your configuration file
+CONFIG="/etc/lessfs.cfg"
+
+# MOUNTPOINT: Destination mountpoint
+MOUNTPOINT="/fuse"
+
+# MKLESSFS: Binary to create lessfs filesystems
+# You really don't want to change that
+MKLESSFS="/usr/bin/mklessfs"
diff --git a/sys-fs/lessfs/files/lessfs.initd b/sys-fs/lessfs/files/lessfs.initd
new file mode 100644
index 000000000000..15b8e3097a0d
--- /dev/null
+++ b/sys-fs/lessfs/files/lessfs.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/files/lessfs.initd,v 1.1 2011/01/16 13:44:23 hwoarang Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting lessfs"
+ start-stop-daemon --start --exec /usr/bin/lessfs \
+ --pidfile /var/run/lessfs.pid --make-pidfile -- ${CONFIG} ${MOUNTPOINT}
+ eend $?
+}
+
+stop() {
+ ebegin "Starting lessfs"
+ start-stop-daemon --stop --exec /usr/bin/lessfs \
+ --pidfile /var/run/lessfs.pid
+ eend $?
+}
diff --git a/sys-fs/lessfs/lessfs-1.3.1.ebuild b/sys-fs/lessfs/lessfs-1.3.1.ebuild
new file mode 100644
index 000000000000..0ee848c2cca6
--- /dev/null
+++ b/sys-fs/lessfs/lessfs-1.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/lessfs-1.3.1.ebuild,v 1.1 2011/01/16 13:44:23 hwoarang Exp $
+
+EAPI="2"
+
+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
+ newins examples/lessfs.cfg-master ${PN}.cfg || die "newins failed"
+ dodoc examples/lessfs.* etc/lessfs.* || die "dodoc failed"
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed"
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die "newinitd failed"
+
+}
+
+pkg_postinst() {
+ elog
+ elog "Default configuration file: /etc/${PN}.cfg"
+ elog "If your host is a client consult the following configuration"
+ elog "file: /usr/share/doc/${PF}/${PN}.cfg-slave.bz2"
+ elog
+ elog "${PN} new installs an init script. Adjust /etc/conf.d/${PN}"
+ elog "to fit your needs"
+}