From 90c88731bd036e5698b281fbc0a5f3aa4c9983ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jun 2020 11:38:31 +0100 Subject: gentoo resync : 29.06.2020 --- net-fs/cvmfs/Manifest | 2 +- net-fs/cvmfs/cvmfs-2.7.2-r1.ebuild | 113 +++++++++++++++++++++++++++++++++++++ net-fs/cvmfs/cvmfs-2.7.2.ebuild | 110 ------------------------------------ 3 files changed, 114 insertions(+), 111 deletions(-) create mode 100644 net-fs/cvmfs/cvmfs-2.7.2-r1.ebuild delete mode 100644 net-fs/cvmfs/cvmfs-2.7.2.ebuild (limited to 'net-fs/cvmfs') diff --git a/net-fs/cvmfs/Manifest b/net-fs/cvmfs/Manifest index c296184cb08b..a3aab002432a 100644 --- a/net-fs/cvmfs/Manifest +++ b/net-fs/cvmfs/Manifest @@ -3,5 +3,5 @@ AUX cvmfs-2.7.2-find-package.patch 1412 BLAKE2B c66a614a1aa7451ecac2cceb892c370d AUX cvmfs-2.7.2-gcc-version.patch 2482 BLAKE2B cf184820140669a15f4051e8d0f9a41ae8625bb7beebeabd1a2021be0b5ffa4ed915c92a980229f1692f5f2e4145a08356a89ec8f2e3cc8963f04af157c090df SHA512 c59d2b33d41467d31d6095df20e7a576a02f39fc0ff1a2938afaa30929cc3b4178cf99d1eca3326551eba982adda0b5eed7f2a11348b23a43aa2e921b983e89a AUX cvmfs-2.7.2-xattr.patch 717 BLAKE2B 48d595b0219b62a3ac45e46d51e3910d6124edc89669ae8996a49e95331bf9d32b4f1eec8c6df76f6906594c3da4a89665b6457d3aef9dea96d2af3959c5780e SHA512 9be285da46f52d59ef28f666bee2b0b372d76cbb786f225a533239ac7683fdef6092aaa7d62458a89bc647598e12611f025060c37c0539071feac71b262e57a0 DIST cvmfs-2.7.2.tar.gz 43121950 BLAKE2B 3f9b23709f7fd7d21f0c141388df9b3f59c0c9ed8c4b27ae4071cff919e6d04eec1c80fe26a70b421d554969d35cb18f1a700be67f046a1a5d53d73a9e64bbe2 SHA512 35f4d949b4f2d002e6ef07e61cd443e55b30031a396f9850fc8d511b2ea3fd37f12e340828878cce151876f7391459f5bb13f0fe325070567f2876eb50185149 -EBUILD cvmfs-2.7.2.ebuild 2467 BLAKE2B 28300da1135ac5ef2320acffd0b82555a65e593f62263f0b7691f32a5a3dfa540ec8b5132c0a18de69aa3a0db7c017fe8d95817dcbe9ea1afc872c048ad2758d SHA512 9163f47f18ebe58e5aa489c3fc26ad9c5a8ee3ce398608a990cfa2a5998b8eb8cc3a9eeba7289410e61851d686f82c4cdc7b9be1791aa4c40a8c82201ce3c986 +EBUILD cvmfs-2.7.2-r1.ebuild 2517 BLAKE2B 608d5bde89d45917afe51e8a26a4cceb4b07feee14a52c664698ce226950660266e70b57e53b0853572ca885047b36885c90996b0e6e1607b2d4dbefad508ecb SHA512 cc9a6ad42acfe31d4b58b6a045af71f58b4824f4e513c288ee5f4467827874045df8ab08ca38ad86f373bc6a34f0be33d91181ab2c51a9932a92108b26d9f4f8 MISC metadata.xml 1445 BLAKE2B 05a946a662c2f55cf57a50a88e698769e9e930f197880afaa8a81b51d2a6bb36c7e83061635992729c187e07463fc2914a214d7bf66279cd892835bebe971c73 SHA512 ee20a97ff26790a2cecfa28f0be7afdac3eda4a0aaade4cea4cb5d6c500d7634a2bb086dc0271189c50707deabc3c8882abfa25e959770976bf1196476b6aae9 diff --git a/net-fs/cvmfs/cvmfs-2.7.2-r1.ebuild b/net-fs/cvmfs/cvmfs-2.7.2-r1.ebuild new file mode 100644 index 000000000000..a2638ee2e932 --- /dev/null +++ b/net-fs/cvmfs/cvmfs-2.7.2-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake linux-info bash-completion-r1 + +DESCRIPTION="HTTP read-only file system for distributing software" +HOMEPAGE="http://cernvm.cern.ch/portal/filesystem" +SRC_URI="https://ecsft.cern.ch/dist/cvmfs/${P}/source.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion doc server" + +CDEPEND=" + acct-group/cvmfs + acct-user/cvmfs + app-arch/libarchive + dev-cpp/gtest + dev-cpp/sparsehash + dev-db/sqlite:3= + dev-libs/leveldb:0= + dev-libs/openssl:0= + dev-libs/protobuf:0= + net-dns/c-ares:0= + net-libs/pacparser:0= + net-misc/curl:0[adns] + sys-apps/attr + sys-fs/fuse:0= + sys-fs/fuse:3= + sys-libs/libcap:0= + sys-libs/zlib:0= +" + +RDEPEND="${CDEPEND} + app-admin/sudo + net-fs/autofs +" + +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) +" + +PATCHES=( + "${FILESDIR}"/${P}-builtins.patch + "${FILESDIR}"/${P}-find-package.patch + "${FILESDIR}"/${P}-gcc-version.patch + "${FILESDIR}"/${P}-xattr.patch +) + +pkg_setup() { + if use server; then + CONFIG_CHECK="~OVERLAY_FS" + ERROR_AUFS_FS="CONFIG_OVERLAY_FS: is required to be set" + linux-info_pkg_setup + fi +} + +src_prepare() { + cmake_src_prepare + # gentoo stuff + rm bootstrap.sh || die + sed -i -e "s:/usr/bin/systemctl:/bin/systemctl:g" cvmfs/cvmfs_config || die + sed -i -e 's/COPYING//' -e "s:cvmfs-\${CernVM-FS_VERSION_STRING}:${PF}:" \ + CMakeLists.txt || die + eapply_user +} + +src_configure() { + local mycmakeargs=( + -DBUILTIN_EXTERNALS=OFF + -DBUILD_CVMFS=ON + -DBUILD_LIBCVMFS=OFF # static library used only for development + -DBUILD_DOCUMENTATION=$(usex doc) + -DBUILD_GEOAPI=OFF # only used for stratum 1 servers + -DBUILD_LIBCVMFS_CACHE=OFF # for exotic cache configs + -DBUILD_PRELOADER=OFF # special purpose utility for HPCs + -DBUILD_RECEIVER=OFF # for distributed publishers only + -DBUILD_SERVER=$(usex server) + -DINSTALL_BASH_COMPLETION=OFF + -DINSTALL_MOUNT_SCRIPTS=ON + -DINSTALL_PUBLIC_KEYS=ON + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + use bash-completion && \ + newbashcomp cvmfs/bash_completion/cvmfs.bash_completion cvmfs + dodoc doc/*.md + if use doc; then + dodoc -r "${BUILD_DIR}"/html + docompress -x /usr/share/doc/${PF}/html + fi +} + +pkg_config() { + einfo "Setting up CernVM-FS client" + cvmfs_config setup + einfo "Now edit ${EROOT}/etc/cvmfs/default.local" + einfo "and restart the autofs service" +} diff --git a/net-fs/cvmfs/cvmfs-2.7.2.ebuild b/net-fs/cvmfs/cvmfs-2.7.2.ebuild deleted file mode 100644 index 12c569ab5c0c..000000000000 --- a/net-fs/cvmfs/cvmfs-2.7.2.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake linux-info bash-completion-r1 - -DESCRIPTION="HTTP read-only file system for distributing software" -HOMEPAGE="http://cernvm.cern.ch/portal/filesystem" -SRC_URI="https://ecsft.cern.ch/dist/cvmfs/${P}/source.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="bash-completion doc server" - -CDEPEND=" - app-arch/libarchive - dev-cpp/sparsehash - dev-db/sqlite:3= - dev-libs/leveldb:0= - dev-libs/openssl:0= - dev-libs/protobuf:0= - net-dns/c-ares:0= - net-libs/pacparser:0= - net-misc/curl:0[adns] - sys-apps/attr - sys-fs/fuse:0= - sys-fs/fuse:3= - sys-libs/libcap:0= - sys-libs/zlib:0= -" - -RDEPEND="${CDEPEND} - app-admin/sudo - net-fs/autofs -" - -DEPEND="${CDEPEND} - virtual/pkgconfig - doc? ( app-doc/doxygen[dot] ) -" - -PATCHES=( - "${FILESDIR}"/${P}-builtins.patch - "${FILESDIR}"/${P}-find-package.patch - "${FILESDIR}"/${P}-gcc-version.patch - "${FILESDIR}"/${P}-xattr.patch -) - -pkg_setup() { - if use server; then - CONFIG_CHECK="~OVERLAY_FS" - ERROR_AUFS_FS="CONFIG_OVERLAY_FS: is required to be set" - linux-info_pkg_setup - fi -} - -src_prepare() { - cmake_src_prepare - # gentoo stuff - rm bootstrap.sh || die - sed -i -e "s:/usr/bin/systemctl:/bin/systemctl:g" cvmfs/cvmfs_config || die - sed -i -e 's/COPYING//' -e "s:cvmfs-\${CernVM-FS_VERSION_STRING}:${PF}:" \ - CMakeLists.txt || die - eapply_user -} - -src_configure() { - local mycmakeargs=( - -DBUILTIN_EXTERNALS=OFF - -DBUILD_CVMFS=ON - -DBUILD_LIBCVMFS=OFF # static library used only for development - -DBUILD_DOCUMENTATION=$(usex doc) - -DBUILD_GEOAPI=OFF # only used for stratum 1 servers - -DBUILD_LIBCVMFS_CACHE=OFF # for exotic cache configs - -DBUILD_PRELOADER=OFF # special purpose utility for HPCs - -DBUILD_RECEIVER=OFF # for distributed publishers only - -DBUILD_SERVER=$(usex server) - -DINSTALL_BASH_COMPLETION=OFF - -DINSTALL_MOUNT_SCRIPTS=ON - -DINSTALL_PUBLIC_KEYS=ON - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use doc && cmake_src_compile doc -} - -src_install() { - cmake_src_install - use bash-completion && \ - newbashcomp cvmfs/bash_completion/cvmfs.bash_completion cvmfs - dodoc doc/*.md - if use doc; then - dodoc -r "${BUILD_DIR}"/html - docompress -x /usr/share/doc/${PF}/html - fi -} - -pkg_config() { - einfo "Setting up CernVM-FS client" - cvmfs_config setup - einfo "Now edit ${EROOT}/etc/cvmfs/default.local" - einfo "and restart the autofs service" -} -- cgit v1.2.3