From fbeec53c7c12a68934b70d23b23f131e7b3c934a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Dec 2023 19:43:38 +0000 Subject: sys-fs/zfs : version bump --- sys-kernel/zfs-dkms/Manifest | 2 +- sys-kernel/zfs-dkms/files/dkms.conf | 61 ++++++---------------------- sys-kernel/zfs-dkms/zfs-dkms-2.2.1.ebuild | 51 ----------------------- sys-kernel/zfs-dkms/zfs-dkms-2.2.2-r2.ebuild | 45 ++++++++++++++++++++ 4 files changed, 58 insertions(+), 101 deletions(-) delete mode 100644 sys-kernel/zfs-dkms/zfs-dkms-2.2.1.ebuild create mode 100644 sys-kernel/zfs-dkms/zfs-dkms-2.2.2-r2.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/zfs-dkms/Manifest b/sys-kernel/zfs-dkms/Manifest index ed585cac..1bbb3796 100644 --- a/sys-kernel/zfs-dkms/Manifest +++ b/sys-kernel/zfs-dkms/Manifest @@ -1 +1 @@ -DIST zfs-2.2.1.tar.gz 33814243 BLAKE2B c3ff95c892024a11ee5c266b10e3354074606665a201fbab16e1ed12550340e0d991d98bd74f794331b68bd16cd6147a9e8937b8cda72d454abce72a22bafec6 SHA512 05e17046ac4f0ba923151be3e554e075db4783c8936c5dcee2d3b6d459fb386ba33f9eb38d15c185db58a1d26926147a66c3b3fe14e9de40987f0e95efa2bb31 +DIST zfs-2.2.2.tar.gz 33816541 BLAKE2B f0619ae42d898d18077096217d0a9ddd7c7378424707aa51d3645661b2889a1459bc4a5e9fe42b6860b2d26e4600da35765b0e741725dafacc2ead2370cad866 SHA512 bba252cbf7986f2cce154dd18a34aa478cf98f70106337188dc894de2446d60a58fa643706927757d1787506b44d4ff404897a2d0e16aacb0a7bf27765703332 diff --git a/sys-kernel/zfs-dkms/files/dkms.conf b/sys-kernel/zfs-dkms/files/dkms.conf index 63714364..c4013881 100644 --- a/sys-kernel/zfs-dkms/files/dkms.conf +++ b/sys-kernel/zfs-dkms/files/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="zfs-dkms" -PACKAGE_VERSION="2.2.1" +PACKAGE_VERSION="2.2.2" PACKAGE_CONFIG="/etc/sysconfig/zfs" NO_WEAK_MODULES="yes" BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-6]\.)" # only build for kernels v5.x.x up to and including v6.6.x @@ -7,22 +7,14 @@ PRE_BUILD="configure --prefix=/usr --with-config=kernel --with-linux=$( - case `lsb_release -is` in - (Debian|Devuan) - if [[ -e ${kernel_source_dir/%build/source} ]] - then - echo ${kernel_source_dir/%build/source} - else - # A kpkg exception for Proxmox 2.0 - echo ${kernel_source_dir} - fi - ;; - (*) - echo ${kernel_source_dir} - ;; - esac + if [ -e "${kernel_source_dir/%build/source}" ] + then + echo "${kernel_source_dir/%build/source}" + else + echo "${kernel_source_dir}" + fi ) - --with-linux-obj=${kernel_source_dir} + --with-linux-obj="${kernel_source_dir}" $( [[ -n \"${ICP_ROOT}\" ]] && \ { @@ -54,7 +46,6 @@ POST_BUILD="scripts/dkms.postbuild -t ${dkms_tree} " AUTOINSTALL="yes" -REMAKE_INITRD="no" MAKE[0]="make" STRIP[0]="$( [[ -r ${PACKAGE_CONFIG} ]] \ @@ -64,37 +55,9 @@ STRIP[0]="$( && echo -n no )" STRIP[1]="${STRIP[0]}" -STRIP[2]="${STRIP[0]}" -STRIP[3]="${STRIP[0]}" -STRIP[4]="${STRIP[0]}" -STRIP[5]="${STRIP[0]}" -STRIP[6]="${STRIP[0]}" -STRIP[7]="${STRIP[0]}" -STRIP[8]="${STRIP[0]}" -BUILT_MODULE_NAME[0]="zavl" -BUILT_MODULE_LOCATION[0]="module/avl/" +BUILT_MODULE_NAME[0]="zfs" +BUILT_MODULE_LOCATION[0]="module/" DEST_MODULE_LOCATION[0]="/extra/dkms" -BUILT_MODULE_NAME[1]="znvpair" -BUILT_MODULE_LOCATION[1]="module/nvpair/" +BUILT_MODULE_NAME[1]="spl" +BUILT_MODULE_LOCATION[1]="module/" DEST_MODULE_LOCATION[1]="/extra/dkms" -BUILT_MODULE_NAME[2]="zunicode" -BUILT_MODULE_LOCATION[2]="module/unicode/" -DEST_MODULE_LOCATION[2]="/extra/dkms" -BUILT_MODULE_NAME[3]="zcommon" -BUILT_MODULE_LOCATION[3]="module/zcommon/" -DEST_MODULE_LOCATION[3]="/extra/dkms" -BUILT_MODULE_NAME[4]="zfs" -BUILT_MODULE_LOCATION[4]="module/zfs/" -DEST_MODULE_LOCATION[4]="/extra/dkms" -BUILT_MODULE_NAME[5]="icp" -BUILT_MODULE_LOCATION[5]="module/icp/" -DEST_MODULE_LOCATION[5]="/extra/dkms" -BUILT_MODULE_NAME[6]="zlua" -BUILT_MODULE_LOCATION[6]="module/lua/" -DEST_MODULE_LOCATION[6]="/extra/dkms" -BUILT_MODULE_NAME[7]="spl" -BUILT_MODULE_LOCATION[7]="module/spl/" -DEST_MODULE_LOCATION[7]="/extra/dkms" -BUILT_MODULE_NAME[8]="zzstd" -BUILT_MODULE_LOCATION[8]="module/zstd/" -DEST_MODULE_LOCATION[8]="/extra/dkms" diff --git a/sys-kernel/zfs-dkms/zfs-dkms-2.2.1.ebuild b/sys-kernel/zfs-dkms/zfs-dkms-2.2.1.ebuild deleted file mode 100644 index 3caa2acb..00000000 --- a/sys-kernel/zfs-dkms/zfs-dkms-2.2.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils - -MY_PN="zfs" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="ZFS sources for linux" -HOMEPAGE="http://zfsonlinux.org/" -SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64" -IUSE="" -DEPEND="sys-kernel/dkms" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - cp "${FILESDIR}/dkms.conf" "${S}" || die - dodir /usr/src/${P} - insinto /usr/src/${P} - doins -r ${S}/* - fperms 0755 /usr/src/${P}/configure - fperms 0755 /usr/src/${P}/scripts/dkms.mkconf - fperms 0755 /usr/src/${P}/scripts/dkms.postbuild - fperms 0755 /usr/src/${P}/scripts/enum-extract.pl - fperms 0755 /usr/src/${P}/scripts/make_gitrev.sh -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} diff --git a/sys-kernel/zfs-dkms/zfs-dkms-2.2.2-r2.ebuild b/sys-kernel/zfs-dkms/zfs-dkms-2.2.2-r2.ebuild new file mode 100644 index 00000000..11dda2c1 --- /dev/null +++ b/sys-kernel/zfs-dkms/zfs-dkms-2.2.2-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +MY_PN="zfs" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="ZFS sources for linux" +HOMEPAGE="http://zfsonlinux.org/" +SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64" +IUSE="" +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir usr/src/"${P}" + cp -ax "${FILESDIR}"/dkms.conf "${S}" || die + cp -ax "${S}"/* "${D}"usr/src/"${P}" || die +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} -- cgit v1.2.3