Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/
Date: Wed, 14 Aug 2019 06:05:27
Message-Id: 1565762483.d3f70278b36d5e03f64983db73810d4ba996e49f.gyakovlev@gentoo
1 commit: d3f70278b36d5e03f64983db73810d4ba996e49f
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 06:01:23 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 06:01:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f70278
7
8 sys-fs/zfs-kmod: drop 0.6.5.11
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-fs/zfs-kmod/Manifest | 1 -
14 sys-fs/zfs-kmod/zfs-kmod-0.6.5.11.ebuild | 147 -------------------------------
15 2 files changed, 148 deletions(-)
16
17 diff --git a/sys-fs/zfs-kmod/Manifest b/sys-fs/zfs-kmod/Manifest
18 index 29e419297f2..daccededfad 100644
19 --- a/sys-fs/zfs-kmod/Manifest
20 +++ b/sys-fs/zfs-kmod/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST zfs-0.6.5.11.tar.gz 2521959 BLAKE2B 95b145a26620995343df1a468367b882bc71ab3e4812c05839d49d0cd877b756185c91b2609986f91939fbfda322809ddefc8ff9207fe076db03e0038e585ea2 SHA512 877052da2a0cdc78b10cb5041da55e31242db2618c502997f4df9aa46a14482c7f33adce8d21aaf16164a9fe52edc358922ea89c8e109c3247e107bf607d6451
23 DIST zfs-0.7.13.tar.gz 6614047 BLAKE2B c59c46287715779eb04d69333b0a417fa9865eb0d61c642b043188c4c97d4eed369f76a48327326ed1d4dd608ff95d91d20d26c80ed0b120a8fcd5f83cea638f SHA512 457d8f110b68c9656194cd3738b216d5d807d680e5cfc6ed1f3cf5ebde67860476387c6b862ba3ba7f972d8945075963e6c325543ab84468e3eff5dbce68476e
24 DIST zfs-0.8.1.tar.gz 8668360 BLAKE2B f18268656381c20af6bd18421636a1c56633c7eafaf91b1308d15508d5f4bdcfa5dfbb4e09d0302ac3de9d6a4f69718fe9c3d083ed5b3ab2a32c6fb7a1db624b SHA512 1fb3957f65dbe94edaffcedb5b2694390dc14e472c11f7e63184a9ea6a774e79a43d47a2d789b7ced233fc67c76583bf7d5c1bda0692bb07929673e2a57f4667
25
26 diff --git a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.11.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.11.ebuild
27 deleted file mode 100644
28 index 702027df81c..00000000000
29 --- a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.11.ebuild
30 +++ /dev/null
31 @@ -1,147 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -if [ ${PV} == "9999" ]; then
38 - AUTOTOOLS_AUTORECONF="1"
39 - EGIT_REPO_URI="https://github.com/zfsonlinux/zfs.git"
40 - inherit git-r3
41 -else
42 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/zfs-${PV}.tar.gz"
43 - S="${WORKDIR}/zfs-${PV}"
44 - KEYWORDS="amd64"
45 -fi
46 -
47 -inherit flag-o-matic linux-info linux-mod toolchain-funcs autotools-utils
48 -
49 -DESCRIPTION="Linux ZFS kernel module for sys-fs/zfs"
50 -HOMEPAGE="https://zfsonlinux.org/"
51 -
52 -LICENSE="CDDL debug? ( GPL-2+ )"
53 -SLOT="0"
54 -IUSE="custom-cflags debug +rootfs"
55 -RESTRICT="debug? ( strip ) test"
56 -
57 -DEPEND="
58 - =sys-kernel/spl-${PV}*
59 - dev-lang/perl
60 - virtual/awk
61 -"
62 -
63 -RDEPEND="${DEPEND}
64 - !sys-fs/zfs-fuse
65 -"
66 -
67 -AT_M4DIR="config"
68 -AUTOTOOLS_IN_SOURCE_BUILD="1"
69 -
70 -DOCS=( AUTHORS COPYRIGHT DISCLAIMER README.markdown )
71 -
72 -pkg_setup() {
73 - linux-info_pkg_setup
74 - CONFIG_CHECK="
75 - !DEBUG_LOCK_ALLOC
76 - !REISER4_FS
77 - EFI_PARTITION
78 - IOSCHED_NOOP
79 - MODULES
80 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
81 - !TRIM_UNUSED_KSYMS
82 - ZLIB_DEFLATE
83 - ZLIB_INFLATE
84 - "
85 -
86 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
87 - FRAME_POINTER
88 - DEBUG_INFO
89 - !DEBUG_INFO_REDUCED
90 - "
91 -
92 - use rootfs && \
93 - CONFIG_CHECK="${CONFIG_CHECK}
94 - BLK_DEV_INITRD
95 - DEVTMPFS
96 - "
97 -
98 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
99 -
100 - [ ${PV} != "9999" ] && \
101 - { kernel_is le 4 12 || die "Linux 4.12 is the latest supported version."; }
102 -
103 - check_extra_config
104 -}
105 -
106 -src_prepare() {
107 - # Remove GPLv2-licensed ZPIOS unless we are debugging
108 - use debug || sed -e 's/^subdir-m += zpios$//' -i "${S}/module/Makefile.in"
109 -
110 - # Set module revision number
111 - [ ${PV} != "9999" ] && \
112 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
113 -
114 - autotools-utils_src_prepare
115 -}
116 -
117 -src_configure() {
118 - local SPL_PATH="$(basename $(echo "${EROOT}usr/src/spl-"*))"
119 - use custom-cflags || strip-flags
120 - filter-ldflags -Wl,*
121 -
122 - set_arch_to_kernel
123 - local myeconfargs=(${myeconfargs}
124 - --bindir="${EPREFIX}/bin"
125 - --sbindir="${EPREFIX}/sbin"
126 - --with-config=kernel
127 - --with-linux="${KV_DIR}"
128 - --with-linux-obj="${KV_OUT_DIR}"
129 - --with-spl="${EROOT}usr/src/${SPL_PATH}"
130 - --with-spl-obj="${EROOT}usr/src/${SPL_PATH}/${KV_FULL}"
131 - $(use_enable debug)
132 - )
133 -
134 - autotools-utils_src_configure
135 -}
136 -
137 -src_install() {
138 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
139 -}
140 -
141 -pkg_postinst() {
142 - linux-mod_pkg_postinst
143 -
144 - # Remove old modules
145 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/zfs" ]
146 - then
147 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/zfs"
148 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/zfs"
149 - ewarn "Automatically removing old modules to avoid problems."
150 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/zfs" || die "Cannot remove modules"
151 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
152 - fi
153 -
154 - if use x86 || use arm
155 - then
156 - ewarn "32-bit kernels will likely require increasing vmalloc to"
157 - ewarn "at least 256M and decreasing zfs_arc_max to some value less than that."
158 - fi
159 -
160 - ewarn "This version of ZFSOnLinux includes support for new feature flags"
161 - ewarn "that are incompatible with previous versions. GRUB2 support for"
162 - ewarn "/boot with the new feature flags is not yet available."
163 - ewarn "Do *NOT* upgrade root pools to use the new feature flags."
164 - ewarn "Any new pools will be created with the new feature flags by default"
165 - ewarn "and will not be compatible with older versions of ZFSOnLinux. To"
166 - ewarn "create a newpool that is backward compatible wih GRUB2, use "
167 - ewarn
168 - ewarn "zpool create -d -o feature@async_destroy=enabled "
169 - ewarn " -o feature@empty_bpobj=enabled -o feature@lz4_compress=enabled"
170 - ewarn " -o feature@spacemap_histogram=enabled"
171 - ewarn " -o feature@enabled_txg=enabled "
172 - ewarn " -o feature@extensible_dataset=enabled -o feature@bookmarks=enabled"
173 - ewarn " ..."
174 - ewarn
175 - ewarn "GRUB2 support will be updated as soon as either the GRUB2"
176 - ewarn "developers do a tag or the Gentoo developers find time to backport"
177 - ewarn "support from GRUB2 HEAD."
178 -}