* [gentoo-commits] repo/user/ssnb:master commit in: sys-kernel/spl/
@ 2021-05-02 11:26 Samuel Bernardo
0 siblings, 0 replies; only message in thread
From: Samuel Bernardo @ 2021-05-02 11:26 UTC (permalink / raw
To: gentoo-commits
commit: ff9c5ce36e6aeb6aa1984408501e264157bb469c
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun May 2 11:25:43 2021 +0000
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun May 2 11:25:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=ff9c5ce3
Remove deprecated spl
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
sys-kernel/spl/Manifest | 3 --
sys-kernel/spl/metadata.xml | 11 ----
sys-kernel/spl/spl-0.7.4.ebuild | 110 ----------------------------------------
3 files changed, 124 deletions(-)
diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest
deleted file mode 100644
index 8e20af2..0000000
--- a/sys-kernel/spl/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST spl-0.7.4.tar.gz 549297 SHA256 cae43c81838f90a444be25bdff5c6c3ee99ffe515a2f477d9758a6274a1a7dc4 SHA512 59d7f7af7550c09fe0bce1b8c619621631e3b8c4455b455ea711f6f84fb0e538fdc9efef402abb7f03f4ca600f28da31adc6a5377d5933adeef5fd184baf29c2 WHIRLPOOL 6ee22a88c4a401c995c1df6dc6d14179417bdd02873009241a6ac8f7a9a1b4bc722d422e67fda69fba541ad1a86ec2e6de803a82a378b0ced1a9f8af43a94b1a
-EBUILD spl-0.7.4.ebuild 2686 SHA256 fd58c7504a17d097115c041fb6d2479d4d67a91318648f5c47c4fc5d1b42d205 SHA512 40efef0df61bafa6616601a089154322cf632e544682b6ec99c71c10469e0955cf59d5fead2086d034b2e876146cb10c43fed5cf5456be46ae71a992e4e51785 WHIRLPOOL d637bdc7df802668120fd45bea7390484aecc341fff8f9e6eb31ae4a335aae202136b6fab4f98d258b984e4dcefe37abe89217287d05571d493df63b45daa7ca
-MISC metadata.xml 339 SHA256 239e75e812eba596023f53a9720bc9d6f7621c1b2402064dc6051ff6b34feb86 SHA512 dcb07bd65643f0264048bbf9eaa532929d7130ce90fbb9f4db43d9ba92b688df24551f0d5270a01f0dd24068e2f71be425ef5e2d2a42b98ea2bcfbae8294d751 WHIRLPOOL 262051d85386e58a5ed2c30102ff3886199cf13428749a91811efc2567578ac319efa5c16356442af21c68030e6aafbdf1b0f16f6a2c8105584af909cdb620e5
diff --git a/sys-kernel/spl/metadata.xml b/sys-kernel/spl/metadata.xml
deleted file mode 100644
index 9d57ab7..0000000
--- a/sys-kernel/spl/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>samuelbernardo.mail@gmail.com</email>
- <name>Samuel Bernardo</name>
- </maintainer>
- <upstream>
- <remote-id type="github">zfsonlinux/spl</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-kernel/spl/spl-0.7.4.ebuild b/sys-kernel/spl/spl-0.7.4.ebuild
deleted file mode 100644
index 2b74e28..0000000
--- a/sys-kernel/spl/spl-0.7.4.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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"
-fi
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
-HOMEPAGE="http://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 )
-
-pkg_setup() {
- linux-info_pkg_setup
- CONFIG_CHECK="
- !DEBUG_LOCK_ALLOC
- MODULES
- KALLSYMS
- !PAX_KERNEXEC_PLUGIN_METHOD_OR
- !PAX_SIZE_OVERFLOW
- 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 13 || die "Linux 4.13 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
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-02 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-02 11:26 [gentoo-commits] repo/user/ssnb:master commit in: sys-kernel/spl/ Samuel Bernardo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox