summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2010-03-28 12:13:38 +0200
committerMartin Väth <vaeth@mathematik.uni-wuerzburg.de>2010-03-28 12:13:38 +0200
commit3c20a4557767ea27aef7df1f4443dada90d06138 (patch)
treeb8bf2e2934314313ed99330577d4906b79d8f5aa /sys-fs
downloadmv-3c20a4557767ea27aef7df1f4443dada90d06138.tar.gz
mv-3c20a4557767ea27aef7df1f4443dada90d06138.tar.bz2
mv-3c20a4557767ea27aef7df1f4443dada90d06138.zip
Import of the mv overlay
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/aufs2/ChangeLog26
-rw-r--r--sys-fs/aufs2/Manifest3
-rw-r--r--sys-fs/aufs2/aufs2-99999999.ebuild143
-rw-r--r--sys-fs/aufs2/metadata.xml9
-rw-r--r--sys-fs/squash_dir/ChangeLog7
-rw-r--r--sys-fs/squash_dir/Manifest4
-rw-r--r--sys-fs/squash_dir/metadata.xml14
-rw-r--r--sys-fs/squash_dir/squash_dir-10.2.ebuild36
8 files changed, 242 insertions, 0 deletions
diff --git a/sys-fs/aufs2/ChangeLog b/sys-fs/aufs2/ChangeLog
new file mode 100644
index 00000000..a9249324
--- /dev/null
+++ b/sys-fs/aufs2/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for sys-fs/aufs2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header $
+
+ 17 Mar 2010; Martin Väth <martin@mvath.de>
+ Update git dependency according to package move.
+
+ 04 Mar 2010; Martin Väth <martin@mvath.de>
+ Support ESCM_OFFLINE/EGIT_OFFLINE in the same sense as git.eclass.
+ Output corresponding message only if *_OFFLINE is nonempty.
+
+ 16 Jan 2010; Martin Väth <martin@mvath.de>
+ Remove patch again since git.eclass is now fixed:
+ http://bugs.gentoo.org/show_bug.cgi?id=299204
+
+ 29 Dec 2009; Martin Väth <martin@mvath.de>
+ Patch for broken git.eclass 1.33 2009/12/29
+
+ 17 Dec 2009; Martin Väth <martin@mvath.de>
+ Adapt for new git.eclass 1.32 2009/12/16
+
+ 14 Oct 2009; Martin Väth <martin@mvath.de>
+ Patch automatically instead of informing the user
+
+ 04 Apr 2009; Martin Väth <martin@mvath.de>
+ aufs2-99999999.ebuild: Initial ebuild.
diff --git a/sys-fs/aufs2/Manifest b/sys-fs/aufs2/Manifest
new file mode 100644
index 00000000..ff1d75ac
--- /dev/null
+++ b/sys-fs/aufs2/Manifest
@@ -0,0 +1,3 @@
+EBUILD aufs2-99999999.ebuild 3938 RMD160 3ff696b2cff626424c2c1156fcd9eccda0412323 SHA1 f43351581df6c54c29a7b198be067737aac00e19 SHA256 2ff31c9e5af6ecf25eadf186935a45e4dba0b4f25767c28f5840b53fdb564a57
+MISC ChangeLog 1030 RMD160 1fc03caa73f947dcd17af6c2711e737d9336742c SHA1 8dc27c90c6533df277c363dd789816c6b2afc56c SHA256 4e737d7be59f7d1dbf29405f2f4e5b8aca06838fef25f0fd3acadfbcfb547b56
+MISC metadata.xml 274 RMD160 a46806846cb114b1d2889ac05c409164bc276800 SHA1 ec26b2018eda8c918c3d1b2ef99d7a8ba4b70dfe SHA256 b0e2d9479aa7d1b3025efa320ddc30ee2e2df365c159b0bfec02b8019d2628d8
diff --git a/sys-fs/aufs2/aufs2-99999999.ebuild b/sys-fs/aufs2/aufs2-99999999.ebuild
new file mode 100644
index 00000000..3021c3eb
--- /dev/null
+++ b/sys-fs/aufs2/aufs2-99999999.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+EGIT_REPO_URI="http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git"
+EGIT_PROJECT="aufs2"
+# BRANCH/COMMIT will be overridden in pkg_setup (according to kernel version)
+EGIT_BRANCH="aufs2"
+EGIT_COMMIT="aufs2"
+if [ -n "${EGIT_OFFLINE:-${ESCM_OFFLINE}}" ]
+then EGIT_PRUNE=false
+else EGIT_PRUNE=true
+fi
+
+inherit git linux-info eutils
+
+DESCRIPTION="An entirely re-designed and re-implemented Unionfs."
+HOMEPAGE="http://aufs.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+# Since this is a live ebuild with unstable versions in portage we require
+# that the user unmasks this ebuild with ACCEPT_KEYWORDS='**'
+#KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
+IUSE="doc kernel-patch"
+PROPERTIES="live"
+
+RDEPEND=""
+DEPEND="dev-vcs/git[curl]"
+
+declare -a my_patchlist
+
+pkg_setup() {
+ local msg
+ linux-info_pkg_setup
+
+ # kernel version check
+ if kernel_is lt 2 6 26
+ then
+ eerror "${PN} is being developed and tested on linux-2.6.26 and later."
+ eerror "Make sure you have a proper kernel version!"
+ die "Wrong kernel version"
+ fi
+
+ if [ -n "${AUFS2BRANCH}" ]
+ then EGIT_BRANCH="${AUFS2BRANCH}"
+ else [ -n "${KV_PATCH}" ] && EGIT_BRANCH="aufs2-${KV_PATCH}"
+ fi
+ elog
+ elog "Using aufs2 branch: ${EGIT_BRANCH}"
+ elog "If this guess for the branch is wrong, set AUFS2BRANCH."
+ elog "For example, to use the aufs2 branch for kernel version 2.6.30, use:"
+ elog " AUFS2BRANCH=aufs2-30 emerge -1 aufs2"
+ elog "For the most current kernel it might be necessary to use"
+ elog " AUFS2BRANCH=aufs2 emerge -1 aufs2"
+ msg=''
+ [ -n "${ESCM_OFFLINE}" ] && msg="${msg} ESCM_OFFLINE=''"
+ [ -n "${EGIT_OFFLINE}" ] && msg="${msg} EGIT_OFFLINE=''"
+ if [ -n "${msg}" ]
+ then
+ elog "Note that it might be necessary in addition to fetch the newest aufs2:"
+ elog "Set ${msg# } and be sure to be online during emerge."
+ fi
+ elog
+ EGIT_COMMIT="${EGIT_BRANCH}"
+
+ use kernel-patch || return 0
+ (
+ cd -- "${KV_DIR}" >/dev/null 2>&1 && \
+ for i in aufs*.patch aufs*.diff
+ do test -f "${i}" || continue
+ if patch -R -p1 --dry-run --force <"${i}" >/dev/null
+ then
+ einfo "Applying kernel patch ${i} reversely"
+ patch -R -p1 --force --no-backup-if-mismatch \
+ <"${i}" >/dev/null || {
+ eerror "Reverse applying kernel patch ${i} failed."
+ eerror "Since dry run succeeded this is probably a problem with write permissions."
+ die "With USE=-kernel-patch you avoid automatic patching attempts."
+ }
+ else
+ ewarn "Kernel patch ${i} cannot be reverse applied - skipping."
+ fi
+ done
+ )
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ local i k dk
+ i="Documentation/filesystems/aufs/aufs.5"
+ test -e "${i}" && doman "${i}"
+ k="$(readlink -f -- "${KV_DIR}")" && [ -n "${k}" ] || k="${KV_DIR}"
+ dk="${D}/${k}"
+ dodir "${k}/fs/aufs"
+ cp -pPR -- fs/aufs/* "${dk}/fs/aufs"
+ cp -pPR -- include "${dk}"
+ if use doc && test -e Documentation
+ then
+ cp -pPR -- Documentation "${dk}"
+ rm -- "${dk}/${i}"
+ fi
+ my_patchlist=()
+ for i in *.patch *.diff
+ do test -f "${i}" || continue
+ my_patchlist+=("${i}")
+ cp -pPR -- "${i}" "${dk}"
+ done
+}
+
+pkg_postinst() {
+ local i
+ [ "${#my_patchlist[@]}" -eq 0 ] && {
+ cd -- "${KV_DIR}" >/dev/null 2>&1 && for i in *.patch *.diff
+ do test -f "${i}" && my_patchlist+=("${i}")
+ done
+ }
+ if use kernel-patch
+ then
+ cd -- "${KV_DIR}" >/dev/null 2>&1 || die "cannot cd to ${KV_DIR}"
+ for i in "${my_patchlist[@]}"
+ do test -f "${i}" || continue
+ use kernel-patch && epatch "${i}"
+ done
+ elog "Your kernel has been patched. Cleanup and recompile it, selecting"
+ else
+ elog "You will have to apply the following patch to your kernel:"
+ elog " cd ${KV_DIR} && cat ${my_patchlist[*]} | patch -p1 --no-backup-if-mismatch"
+ elog "Then cleanup and recompile your kernel, selecting"
+ fi
+ elog " Filesystems/Miscellaneous Filesystems/aufs"
+ elog "in the configuration phase."
+}
diff --git a/sys-fs/aufs2/metadata.xml b/sys-fs/aufs2/metadata.xml
new file mode 100644
index 00000000..0366721c
--- /dev/null
+++ b/sys-fs/aufs2/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-fs/squash_dir/ChangeLog b/sys-fs/squash_dir/ChangeLog
new file mode 100644
index 00000000..26e2ac5e
--- /dev/null
+++ b/sys-fs/squash_dir/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-fs/squash_dir
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header $
+
+ 28 Mar 2010; Martin Väth <martin@mvath.de>
+ squash_dir-10.2.ebuild:
+ import with minor changes from a personal overlay.
diff --git a/sys-fs/squash_dir/Manifest b/sys-fs/squash_dir/Manifest
new file mode 100644
index 00000000..c3b18852
--- /dev/null
+++ b/sys-fs/squash_dir/Manifest
@@ -0,0 +1,4 @@
+DIST squash_dir-10.2.tar.bz2 20543 RMD160 85be13c032496a02652c3594acbb9dca693bf20e SHA1 6fb61b485e52e3c70f3c7f9058f5fa8d166d67a1 SHA256 e286c4d729e6dd8235cc60f786cbb824a559e91b5e1807846bfd63739e364f2c
+EBUILD squash_dir-10.2.ebuild 935 RMD160 ebe66e1c40e52419a6e8a69ee3bb89b04a79ade6 SHA1 0b8be58c15cc085470122dc379a2fd0e5edfe823 SHA256 ecb898d343443c4865adf9dd3436136456db829e260267a2acff89e7e1293bab
+MISC ChangeLog 260 RMD160 5491a190237bab7f975d003d0cf72d085c01dfbb SHA1 51f9eddb4c62e620b49ac3420ab78c64d408a4d2 SHA256 4655008d1946cf2e8b2e0c253563f40914b363239e48cc1a3b749f4fda6702cb
+MISC metadata.xml 590 RMD160 d52330caaacff1748a0af5582ae572cdb912eb6e SHA1 61f22ebc0a9f4542331cca10962977ab719d4778 SHA256 07991afcf851cc41e72648c80e3c31cf63458ef1b98e9bbd802802b68a1a93ca
diff --git a/sys-fs/squash_dir/metadata.xml b/sys-fs/squash_dir/metadata.xml
new file mode 100644
index 00000000..c0a76ecb
--- /dev/null
+++ b/sys-fs/squash_dir/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ <description>Upstream developer</description>
+ </maintainer>
+ <use>
+ <flag name="hack-squash-utils">Activate hackishly a patch to emerge squashfs-utils next time with redirection of progress bar to stderr.</flag>
+ <flag name="unionfs-fuse">Depend on unionfs-fuse (used by default if aufs/aufs2 is not available).</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-fs/squash_dir/squash_dir-10.2.ebuild b/sys-fs/squash_dir/squash_dir-10.2.ebuild
new file mode 100644
index 00000000..32f56889
--- /dev/null
+++ b/sys-fs/squash_dir/squash_dir-10.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+EAPI=2
+inherit autotools
+RESTRICT="mirror"
+
+DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist"
+HOMEPAGE="http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html"
+SRC_URI="http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="hack-squash-utils +unionfs-fuse"
+
+RDEPEND="sys-fs/squashfs-tools
+ unionfs-fuse? ( sys-fs/unionfs-fuse )"
+DEPEND=">=sys-devel/autoconf-2.65
+ >=sys-devel/automake-1.10"
+
+src_prepare () {
+ eautoreconf
+}
+
+src_configure () {
+ econf $(use_enable hack-squash-utils squashfs-tools-patch) \
+ --with-decompress="${PORTAGE_COMPRESS} -dc --" \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+}