diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2016-04-30 15:59:18 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2016-04-30 15:59:18 +0100 |
commit | c21285bb28d87bc7190b935456c1a9afd8b1fc03 (patch) | |
tree | b9d9695adb7a8372e5ebd9362b38241063c45da7 /sys-fs | |
parent | added metastore ebuild (diff) | |
download | ssnb-c21285bb28d87bc7190b935456c1a9afd8b1fc03.tar.gz ssnb-c21285bb28d87bc7190b935456c1a9afd8b1fc03.tar.bz2 ssnb-c21285bb28d87bc7190b935456c1a9afd8b1fc03.zip |
partclone and vmfs-tools update (already tested and working)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/vmfs-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/vmfs-tools/files/vmfs-tools-0.2.5-buildsystem.patch | 43 | ||||
-rw-r--r-- | sys-fs/vmfs-tools/metadata.xml | 10 | ||||
-rw-r--r-- | sys-fs/vmfs-tools/vmfs-tools-0.2.5.ebuild | 31 |
4 files changed, 85 insertions, 0 deletions
diff --git a/sys-fs/vmfs-tools/Manifest b/sys-fs/vmfs-tools/Manifest new file mode 100644 index 0000000..9e6806f --- /dev/null +++ b/sys-fs/vmfs-tools/Manifest @@ -0,0 +1 @@ +DIST vmfs-tools-0.2.5.tar.gz 77095 SHA256 d706138fdd5a71895f30765b6116717f6ef55971ffb07d3bee56bd48b4772653 SHA512 9231509d6e370ddc2a270d80e6cdc16caa9e36bcf5ae3680d83dc28a39ca1c4663680a7107e791c5a037c8e3e145e8d518da9863afb52fa4e09b0792acd7a74c WHIRLPOOL 23a9ff1ed1b0ccb4a5b32a63306c5156592058e8a49601214f6717c19085c79feff1e680de5944f024ec879513ff8b5f3560476b583ce31fbe9ec4e630a9b7c6 diff --git a/sys-fs/vmfs-tools/files/vmfs-tools-0.2.5-buildsystem.patch b/sys-fs/vmfs-tools/files/vmfs-tools-0.2.5-buildsystem.patch new file mode 100644 index 0000000..986979c --- /dev/null +++ b/sys-fs/vmfs-tools/files/vmfs-tools-0.2.5-buildsystem.patch @@ -0,0 +1,43 @@ +--- vmfs-tools-0.2.5/GNUmakefile ++++ vmfs-tools-0.2.5/GNUmakefile +@@ -55,7 +55,7 @@ + endef + $(foreach subdir,$(strip $(call order_by_requires,$(SUBDIRS))),$(eval $(call subdir_rules,$(subdir)))) + +-CC := gcc ++CC ?= gcc + OPTIMFLAGS := $(if $(filter -O%,$(ENV_CFLAGS)),,-O2) + CFLAGS := $(ENV_CFLAGS) $(filter-out $(ENV_CFLAGS),-Wall $(OPTIMFLAGS) -g -D_FILE_OFFSET_BITS=64 $(EXTRA_CFLAGS)) + CFLAGS += $(if $(HAS_STRNDUP),,-DNO_STRNDUP=1) +@@ -71,7 +71,7 @@ + + EXTRA_DIST := LICENSE README TODO AUTHORS test.img configure + +-all: $(BUILD_PROGRAMS) $(wildcard .gitignore) test.img ++all: $(BUILD_PROGRAMS) $(wildcard .gitignore) test.img doc + + ALL_MAKEFILES = $(filter-out config.cache,$(MAKEFILE_LIST)) configure.mk + +@@ -84,8 +84,8 @@ + echo "#endif" >> $@ + + $(BUILD_LIBS): +- ar -r $@ $^ +- ranlib $@ ++ $(AR) -r $@ $^ ++ $(RANLIB) $@ + + $(OBJS): %.o: %.c $(HEADERS) + +--- vmfs-tools-0.2.5/configure.mk ++++ vmfs-tools-0.2.5/configure.mk +@@ -10,7 +10,9 @@ + + # configure rules really start here + $(call PKG_CONFIG_CHK,uuid,-I/usr/include/uuid,-luuid) ++ifneq (,$(WANT_FUSE)) + $(call PKG_CONFIG_CHK,fuse) ++endif + $(call PATH_LOOKUP,asciidoc) + $(call PATH_LOOKUP,xsltproc) + diff --git a/sys-fs/vmfs-tools/metadata.xml b/sys-fs/vmfs-tools/metadata.xml new file mode 100644 index 0000000..5aef247 --- /dev/null +++ b/sys-fs/vmfs-tools/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>root@fs.lmu.de</email> +</maintainer> +<use> + <flag name="fuse">Enable image mount support via fuse</flag> +</use> +</pkgmetadata> diff --git a/sys-fs/vmfs-tools/vmfs-tools-0.2.5.ebuild b/sys-fs/vmfs-tools/vmfs-tools-0.2.5.ebuild new file mode 100644 index 0000000..235b941 --- /dev/null +++ b/sys-fs/vmfs-tools/vmfs-tools-0.2.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Tools for vmfs" +HOMEPAGE="http://glandium.org/projects/vmfs-tools/" +SRC_URI="http://glandium.org/projects/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+fuse" + +RDEPEND="sys-apps/util-linux + fuse? ( sys-fs/fuse )" + +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/docbook-xsl-stylesheets + dev-libs/libxslt" + +src_prepare() { + epatch "${FILESDIR}"/${P}-buildsystem.patch + tc-export CC AR RANLIB + export NO_STRIP=1 + export WANT_FUSE=$(usex fuse 1 "") +} |