diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-22 19:53:22 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-22 19:53:22 +0000 |
commit | 3d611beba5e515ffb8465de86d5f837c4def695d (patch) | |
tree | 5a6e459623498a2c9ad829bb1bbf0dd51aa96c3d /sys-fs/unionfs | |
parent | Add metadata.xml (diff) | |
download | gentoo-2-3d611beba5e515ffb8465de86d5f837c4def695d.tar.gz gentoo-2-3d611beba5e515ffb8465de86d5f837c4def695d.tar.bz2 gentoo-2-3d611beba5e515ffb8465de86d5f837c4def695d.zip |
(#152813, #154810) Bump, with slight mods (Markus Ullmann, Harm Geerts).
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'sys-fs/unionfs')
-rw-r--r-- | sys-fs/unionfs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/unionfs/files/digest-unionfs-1.4 | 3 | ||||
-rw-r--r-- | sys-fs/unionfs/unionfs-1.4.ebuild | 76 |
3 files changed, 85 insertions, 1 deletions
diff --git a/sys-fs/unionfs/ChangeLog b/sys-fs/unionfs/ChangeLog index 54a23acfce67..c9f6b4cf279c 100644 --- a/sys-fs/unionfs/ChangeLog +++ b/sys-fs/unionfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/unionfs # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs/ChangeLog,v 1.27 2006/10/22 18:05:00 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs/ChangeLog,v 1.28 2006/11/22 19:53:22 dberkholz Exp $ + +*unionfs-1.4 (22 Nov 2006) + + 22 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>; +unionfs-1.4.ebuild: + (#152813, #154810) Bump, with slight mods (Markus Ullmann, Harm Geerts). 22 Oct 2006; Sven Wegener <swegener@gentoo.org> unionfs-1.3.ebuild: Set UNIONFS_OPT_CFLAG to CFLAGS. diff --git a/sys-fs/unionfs/files/digest-unionfs-1.4 b/sys-fs/unionfs/files/digest-unionfs-1.4 new file mode 100644 index 000000000000..a63fd7848468 --- /dev/null +++ b/sys-fs/unionfs/files/digest-unionfs-1.4 @@ -0,0 +1,3 @@ +MD5 38ed4d9e41c20cf398018928d2c62700 unionfs-1.4.tar.gz 164696 +RMD160 5a19ccfd6edf25f55c48ba1b820347572353c7ba unionfs-1.4.tar.gz 164696 +SHA256 3ff105782aba722b1f263e408fac638245d302a9c8d0f37ac09e5a80caf0126b unionfs-1.4.tar.gz 164696 diff --git a/sys-fs/unionfs/unionfs-1.4.ebuild b/sys-fs/unionfs/unionfs-1.4.ebuild new file mode 100644 index 000000000000..8c152bdb862c --- /dev/null +++ b/sys-fs/unionfs/unionfs-1.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs/unionfs-1.4.ebuild,v 1.1 2006/11/22 19:53:22 dberkholz Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Stackable unification file system, which can appear to merge the contents of several directories" +HOMEPAGE="http://www.fsl.cs.sunysb.edu/project-unionfs.html" +SRC_URI="ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="acl debug nfs" + +local_version_info() { + ewarn + ewarn "you need the proper kernel version!" + ewarn + einfo "kernel: 2.4.x (x>19) Version: 1.0.14" + einfo "kernel: 2.6.x (x<9) Version: Not Supported" + einfo "kernel: 2.6.9 - 2.6.15 Version: 1.1.5" + einfo "kernel: 2.6.16 Version: 1.2" + einfo "kernel: 2.6.17 Version: 1.3" + einfo "kernel: 2.6.18 Version: 1.4" +} + +pkg_setup() { + # kernel version check + if ! kernel_is eq 2 6 18; then + local_version_info + die + fi + + linux-mod_pkg_setup + + MODULE_NAMES="unionfs(kernel/fs/${PN}:)" + BUILD_TARGETS="all" + BUILD_PARAMS="LINUXSRC=${KV_DIR} KERNELVERSION=${KV_MAJOR}.${KV_MINOR}" +} + +src_unpack() { + local user_Makefile=fistdev.mk EXTRACFLAGS="" + + unpack ${A} + cd ${S} + + if ! use debug; then + echo "UNIONFS_DEBUG_CFLAG=" >> ${user_Makefile} + EXTRACFLAGS="${EXTRACFLAGS} -DUNIONFS_NDEBUG" + fi + + if use acl; then + EXTRACFLAGS="${EXTRACFLAGS} -DUNIONFS_XATTR" # -DFIST_SETXATTR_CONSTVOID" + elif use nfs; then + EXTRACFLAGS="${EXTRACFLAGS} -DNFS_SECURITY_HOLE" + fi + + echo "EXTRACFLAGS=${EXTRACFLAGS}" >> ${user_Makefile} + einfo EXTRACFLAGS: ${EXTRACFLAGS} + + echo "UNIONFS_OPT_CFLAG=${CFLAGS}" >> ${user_Makefile} +} + +src_install() { + linux-mod_src_install + + dodoc INSTALL NEWS README ChangeLog patch-kernel.sh + + emake \ + PREFIX="${D}" \ + MANDIR="${D}/usr/share/man" \ + install-utils # Makefile is bugged + #doman man/unionfs.4 man/unionctl.8 man/uniondbg.8 man/unionimap.8 + #into / # ${D}/sbin: usr could be unionfs mounted: bug #129960 + #dosbin utils/unionctl utils/uniondbg utils/unionimap +} + |