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