summaryrefslogtreecommitdiff
path: root/sys-kernel/spl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /sys-kernel/spl
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'sys-kernel/spl')
-rw-r--r--sys-kernel/spl/Manifest1
-rw-r--r--sys-kernel/spl/spl-9999.ebuild113
2 files changed, 0 insertions, 114 deletions
diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest
index 648ea135e4a7..6f52ef821ffe 100644
--- a/sys-kernel/spl/Manifest
+++ b/sys-kernel/spl/Manifest
@@ -14,5 +14,4 @@ EBUILD spl-0.7.8.ebuild 2705 BLAKE2B 2f124995218a7cb04f15b71310a7afbc232877bbc16
EBUILD spl-0.7.9-r1.ebuild 2902 BLAKE2B d4deb3d40f2fa732cfde51af380efb74fe3c98719db7eaa385917c046f36639dc3ae9b2d97ba1d03d0c5f02dd746cb6312efd16c0f285913366011a0fb28a3de SHA512 7c3d955b2d87addc189c708656eb388d7df981ec77a490590cf65404d9926d488377340caf811ad8394dbd43f0ce14a70bf7d02ef53d2d7a5541edb810406716
EBUILD spl-0.7.9.ebuild 2705 BLAKE2B f349ea981cc670959a93b9a972279183b44a93c8389cdf1c904916d396b19cdbeb1d587ddbc6564ed73f22e1508c6a2bdf92c14b8ba1e408d7b31463e26b41b1 SHA512 9dfd965f1c744874078f317671415ad288ce67cbf4d54ff77d391c83035a69e421bb3ee766ef2d0aaa135e2ec614b6a97513f40bfc26190910a57a045b262faa
EBUILD spl-0.7.9999.ebuild 2797 BLAKE2B 4995c341458926dc9ca7303724976b70c92a90d2ac9cdf92b7be8769ab5f690377887302b3fd61a39540de628d0efe08e7a9b78e24f185486e3b23b9b8e5b485 SHA512 c02e851b77994bf9a95f139e7d52da2658aac69dbe85097e4e22a58b05c4dd763cd1bc2b0c7c7d96e16f94da62f008925b36d1861998f3c8bb77f1e27746f6fc
-EBUILD spl-9999.ebuild 2763 BLAKE2B 2213b6b93789521b694767cdb51e7cb4e4fa458f668b5eff5a792c7ee6dd139740acbf029209b7da8f6ad5fb677881e64daac6815cfd96787e95022357bbb1b2 SHA512 1220d3f311f2f81e1536424b7851c3d9f26fc547975711156bdb7398c051ba0c905dd914b2e893617410c935cb3beb8a792cc21f299dedeaf0c1e03b3995989f
MISC metadata.xml 433 BLAKE2B d911e255347ea6ddf13c56903332d32a5acaa1fd6c66302aab9f70431ffbd681a37fb1829335ff6892ca8dc2c08fd653e5119ccf46516a23e8ce5c8bc8840fcc SHA512 7b31d40c8c2a87c9aab15c67503540d0e6ce6b149c7d69f1f6f92402ab5f9ff5795aea77f20e63af593e53b9e43a370cbc764d8586b5bf1f47647e413461dc6e
diff --git a/sys-kernel/spl/spl-9999.ebuild b/sys-kernel/spl/spl-9999.ebuild
deleted file mode 100644
index f27d3e44bdcc..000000000000
--- a/sys-kernel/spl/spl-9999.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-if [[ ${PV} == "9999" ]] ; then
- AUTOTOOLS_AUTORECONF="1"
- EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
-fi
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
-HOMEPAGE="https://zfsonlinux.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="custom-cflags debug"
-RESTRICT="debug? ( strip ) test"
-
-COMMON_DEPEND="
- dev-lang/perl
- virtual/awk"
-
-DEPEND="${COMMON_DEPEND}"
-
-RDEPEND="${COMMON_DEPEND}
- !sys-devel/spl"
-
-AT_M4DIR="config"
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-DOCS=( AUTHORS DISCLAIMER README.markdown )
-
-pkg_setup() {
- linux-info_pkg_setup
- CONFIG_CHECK="
- !DEBUG_LOCK_ALLOC
- !CONFIG_REISER4_FS
- !GRKERNSEC_RANDSTRUCT
- KALLSYMS
- MODULES
- !PAX_KERNEXEC_PLUGIN_METHOD_OR
- !TRIM_UNUSED_KSYMS
- ZLIB_DEFLATE
- ZLIB_INFLATE
- "
-
- use debug && CONFIG_CHECK="${CONFIG_CHECK}
- FRAME_POINTER
- DEBUG_INFO
- !DEBUG_INFO_REDUCED
- "
-
- kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
-
- [ ${PV} != "9999" ] && \
- { kernel_is le 4 17 || die "Linux 4.17 is the latest supported version."; }
-
- check_extra_config
-}
-
-src_prepare() {
- # Workaround for hard coded path
- sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
- die "Cannot patch check.sh"
-
- # splat is unnecessary unless we are debugging
- use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
-
- # Set module revision number
- [ ${PV} != "9999" ] && \
- { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- use custom-cflags || strip-flags
- filter-ldflags -Wl,*
-
- set_arch_to_kernel
- local myeconfargs=(
- --bindir="${EPREFIX}/bin"
- --sbindir="${EPREFIX}/sbin"
- --with-config=all
- --with-linux="${KV_DIR}"
- --with-linux-obj="${KV_OUT_DIR}"
- $(use_enable debug)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
-
- # Remove old modules
- if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
- then
- ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
- ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
- ewarn "Automatically removing old modules to avoid problems."
- rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
- rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
- fi
-}