public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: sys-fs/loggedfs/files/, sys-fs/loggedfs/
@ 2013-06-02 16:33 Sebastian Pipping
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2013-06-02 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     28c1edd5d283bb33af53203404f4ae461c6355b9
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sun Jun  2 16:33:30 2013 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 16:33:30 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=28c1edd5

sys-fs/loggedfs: 0.5-r1

---
 sys-fs/loggedfs/files/loggedfs-0.5-getopt.patch | 25 +++++++++++++++++
 sys-fs/loggedfs/loggedfs-0.5-r1.ebuild          | 37 +++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sys-fs/loggedfs/files/loggedfs-0.5-getopt.patch b/sys-fs/loggedfs/files/loggedfs-0.5-getopt.patch
new file mode 100644
index 0000000..4261b7d
--- /dev/null
+++ b/sys-fs/loggedfs/files/loggedfs-0.5-getopt.patch
@@ -0,0 +1,25 @@
+From bf97a579eac61650608f00c269bfa8aa6e483f59 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 5 Mar 2011 19:00:13 +0100
+Subject: [PATCH] Fix passing of parameters for a case like "loggedfs /mountpoint -o dev,suid"
+
+---
+ src/loggedfs.cpp |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/loggedfs.cpp b/src/loggedfs.cpp
+index 4bf0246..9430b8f 100644
+--- a/src/loggedfs.cpp
++++ b/src/loggedfs.cpp
+@@ -664,7 +664,7 @@ bool processArgs(int argc, char *argv[], LoggedFS_Args *out)
+ 
+ #define COMMON_OPTS "nonempty,use_ino"
+ 
+-    while ((res = getopt (argc, argv, "hpfec:l:")) != -1)
++    while ((res = getopt (argc, argv, "+hpfec:l:")) != -1)
+     {
+         switch (res)
+         {
+-- 
+1.7.4.1
+

diff --git a/sys-fs/loggedfs/loggedfs-0.5-r1.ebuild b/sys-fs/loggedfs/loggedfs-0.5-r1.ebuild
new file mode 100644
index 0000000..05b167d
--- /dev/null
+++ b/sys-fs/loggedfs/loggedfs-0.5-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Fuse-filesystem which can log every operations on a filesystem"
+HOMEPAGE="http://loggedfs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-fs/fuse
+	dev-libs/rlog
+	dev-libs/libpcre
+	dev-libs/libxml2"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-getopt.patch
+}
+
+src_install() {
+	doman loggedfs.1.gz || die 'doman failed'
+
+	insinto /usr/share/${PF}
+	newins loggedfs.xml{,.sample} || die 'newins failed'
+
+	dobin loggedfs || die 'dobin failed'
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-02 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-02 16:33 [gentoo-commits] proj/betagarden:master commit in: sys-fs/loggedfs/files/, sys-fs/loggedfs/ Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox