summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2015-08-14 18:29:09 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2015-08-14 18:29:09 +0000
commitce8cdbc0317395b45c4b4a7d6ae1534f8dc5dfe2 (patch)
treec7abd7b4978d5df2a02611115f01e1abe5a1f2c5
parentThe server has run time dependency on the client, so remove the client use fl... (diff)
downloadbicatali-ce8cdbc0317395b45c4b4a7d6ae1534f8dc5dfe2.tar.gz
bicatali-ce8cdbc0317395b45c4b4a7d6ae1534f8dc5dfe2.tar.bz2
bicatali-ce8cdbc0317395b45c4b4a7d6ae1534f8dc5dfe2.zip
removed buggy ebuild
-rw-r--r--net-fs/cvmfs/cvmfs-2.1.20.0_p05-r1.ebuild151
1 files changed, 0 insertions, 151 deletions
diff --git a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r1.ebuild b/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r1.ebuild
deleted file mode 100644
index a1fd03b..0000000
--- a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/cvmfs/cvmfs-2.1.20.0_p05.ebuild,v 1.2 2015/08/07 19:00:39 bicatali Exp $
-
-EAPI=5
-
-inherit cmake-utils linux-info
-
-MYP=${PN}-${PV/_p/-fix}
-
-DESCRIPTION="HTTP read-only file system for distributing software"
-HOMEPAGE="http://cernvm.cern.ch/portal/filesystem"
-SRC_URI="https://github.com/cvmfs/${PN}/archive/${MYP}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="aufs +client debug doc test server"
-
-CDEPEND="
- dev-cpp/gtest
- dev-db/sqlite:3=
- dev-libs/openssl:0
- net-libs/pacparser:0=
- net-misc/curl:0=[adns]
- sys-apps/attr
- sys-libs/zlib:0=
- client? (
- >=dev-cpp/sparsehash-1.12
- dev-libs/leveldb:0=
- sys-fs/fuse:0= )
- server? (
- >=dev-python/geoip-python-1.3.1
- >=dev-cpp/tbb-4.3:0= )"
-
-RDEPEND="${CDEPEND}
- client? ( net-fs/autofs )
- aufs? (
- || (
- sys-fs/aufs3
- sys-fs/aufs4
- sys-kernel/aufs-sources
- )
- )"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}/${PN}-${MYP}"
-
-pkg_setup() {
- if use server; then
- if use aufs; then
- CONFIG_CHECK="
- ~AUFS_FS
- ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
- "
- ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used"
- else
- CONFIG_CHECK="~OVERLAY_FS"
- fi
- linux-info_pkg_setup
- fi
-}
-
-PATCHES=(
- "${FILESDIR}"/${P}-geoip-missing-cmake.patch
- "${FILESDIR}"/${P}-cares-underlink.patch
- "${FILESDIR}"/${P}-overlayfs.patch
-)
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # gentoo stuff
- sed -i -e 's/COPYING//' CMakeLists.txt || die
- rm bootstrap.sh || die
- sed -i \
- -e "s:cvmfs-\${CernVM-FS_VERSION_STRING}:${PF}:" \
- CMakeLists.txt || die
-
- # should be gone in >= 2.2
- sed -i \
- -e 's|/etc/auto.master|/etc/autofs/auto.master|g' \
- -e 's|/etc/sysconfig/autofs|/etc/conf.d/autofs|g' \
- cvmfs/cvmfs_config || die
-
- sed -i \
- -e 's|${res_path}/conf.d|${res_path/modules.d|' \
- cvmfs/cvmfs_server || die
-
- # hack for bundled vjson
- # vjson not worth unbundling, already upstream obsolete
- # upstream replaced by gason with a new api
- if use server; then
- sed -i \
- -e 's/g++/$(CXX)/g' \
- -e 's/-O2/$(CXXFLAGS)/g' \
- -e 's/ar/$(AR)/' \
- -e 's/ranlib/$(RANLIB)/' \
- externals/vjson/src/Makefile || die
- mkdir -p "${WORKDIR}/${P}_build"/externals/build_vjson
- cp externals/vjson/src/* \
- "${WORKDIR}/${P}_build"/externals/build_vjson/ || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGEOIP_BUILTIN=OFF
- -DGOOGLETEST_BUILTIN=OFF
- -DLEVELDB_BUILTIN=OFF
- -DLIBCURL_BUILTIN=OFF
- -DPACPARSER_BUILTIN=OFF
- -DSPARSEHASH_BUILTIN=OFF
- -DSQLITE3_BUILTIN=OFF
- -DTBB_PRIVATE_LIB=OFF
- -DZLIB_BUILTIN=OFF
- $(cmake-utils_use debug BUILD_SERVER_DEBUG)
- $(cmake-utils_use server BUILD_SERVER)
- $(cmake-utils_use client BUILD_CVMFS)
- $(cmake-utils_use client BUILD_LIBCVMFS)
- $(cmake-utils_use client INSTALL_MOUNT_SCRIPTS)
- $(cmake-utils_use test BUILD_UNITTESTS)
- )
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
- if use doc; then
- cd doc
- doxygen cvmfs.doxy || die
- fi
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dohtml -r doc/html/*
-}
-
-pkg_config() {
- if use client; then
- einfo "Setting up CernVM-FS client"
- cvmfs_config setup
- einfo "Now edit ${EROOT%/}/etc/cvmfs/default.local"
- einfo "and restart the autofs service"
- fi
-}