public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Yao" <ryao@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
Date: Fri,  9 Oct 2015 15:44:40 +0000 (UTC)	[thread overview]
Message-ID: <1444405413.a44b13f1d6e5965a6551efe99532c6aad22f8273.ryao@gentoo> (raw)

commit:     a44b13f1d6e5965a6551efe99532c6aad22f8273
Author:     Richard Yao <ryao <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 15:43:33 2015 +0000
Commit:     Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 15:43:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a44b13f1

sys-fs/zfs: Restore 0.6.0_rc13-r2

Users asked me to keep around the older ebuilds. I pruned this one by
mistake.

Signed-off-by: Richard Yao <ryao <AT> gentoo.org>

 sys-fs/zfs/zfs-0.6.0_rc13-r2.ebuild | 123 ++++++++++++++++++++++++++++++++++++
 1 file changed, 123 insertions(+)

diff --git a/sys-fs/zfs/zfs-0.6.0_rc13-r2.ebuild b/sys-fs/zfs/zfs-0.6.0_rc13-r2.ebuild
new file mode 100644
index 0000000..1e30b58
--- /dev/null
+++ b/sys-fs/zfs/zfs-0.6.0_rc13-r2.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+AT_M4DIR="config"
+AUTOTOOLS_AUTORECONF="1"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+if [ ${PV} == "9999" ] ; then
+	inherit git-2 linux-mod
+	EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git"
+else
+	inherit eutils versionator
+	MY_PV=$(replace_version_separator 3 '-')
+	SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${PN}-${MY_PV}.tar.gz"
+	S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+	KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+fi
+
+inherit bash-completion-r1 flag-o-matic toolchain-funcs autotools-utils udev
+
+DESCRIPTION="Userland utilities for ZFS Linux kernel module"
+HOMEPAGE="http://zfsonlinux.org/"
+
+LICENSE="BSD-2 CDDL MIT"
+SLOT="0"
+IUSE="custom-cflags kernel-builtin +rootfs test-suite static-libs"
+RESTRICT="test"
+
+COMMON_DEPEND="
+	sys-apps/util-linux[static-libs?]
+	sys-libs/zlib[static-libs(+)?]
+	virtual/awk
+"
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig
+"
+
+RDEPEND="${COMMON_DEPEND}
+	!=sys-apps/grep-2.13*
+	!kernel-builtin? ( =sys-fs/zfs-kmod-${PV}* )
+	!sys-fs/zfs-fuse
+	!prefix? ( virtual/udev )
+	test-suite? (
+		sys-apps/util-linux
+		sys-devel/bc
+		sys-block/parted
+		sys-fs/lsscsi
+		sys-fs/mdadm
+		sys-process/procps
+		virtual/modutils
+		)
+	rootfs? (
+		app-arch/cpio
+		app-misc/pax-utils
+		)
+"
+
+pkg_setup() {
+	:
+}
+
+src_prepare() {
+	# Update paths
+	sed -e "s|/sbin/lsmod|/bin/lsmod|" \
+		-e "s|/usr/bin/scsi-rescan|/usr/sbin/rescan-scsi-bus|" \
+		-e "s|/sbin/parted|/usr/sbin/parted|" \
+		-i scripts/common.sh.in
+
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	use custom-cflags || strip-flags
+	local myeconfargs=(
+		--bindir="${EPREFIX}/bin"
+		--sbindir="${EPREFIX}/sbin"
+		--with-config=user
+		--with-linux="${KV_DIR}"
+		--with-linux-obj="${KV_OUT_DIR}"
+		--with-udevdir="$(get_udevdir)"
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install
+	gen_usr_ldscript -a uutil nvpair zpool zfs
+	rm -rf "${ED}usr/share/dracut"
+	use test-suite || rm -rf "${ED}usr/libexec"
+
+	newbashcomp "${FILESDIR}/bash-completion" zfs
+
+}
+
+pkg_postinst() {
+
+	if ! use kernel-builtin && [ ${PV} = "9999" ]
+	then
+		einfo "Adding ${P} to the module database to ensure that the"
+		einfo "kernel modules and userland utilities stay in sync."
+		update_moduledb
+	fi
+
+	[ -e "${EROOT}etc/runlevels/boot/zfs" ] \
+		|| ewarn 'You should add zfs to the boot runlevel.'
+
+	if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
+	then
+		einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
+		rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
+	fi
+
+}
+
+pkg_postrm() {
+	if ! use kernel-builtin && [ ${PV} = "9999" ]
+	then
+		remove_moduledb
+	fi
+}


             reply	other threads:[~2015-10-09 15:44 UTC|newest]

Thread overview: 328+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 15:44 Richard Yao [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-12  3:34 [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/ Sam James
2024-12-07  1:16 Sam James
2024-12-07  1:16 Sam James
2024-10-15 14:33 Sam James
2024-10-12 23:06 Sam James
2024-10-05  6:28 Sam James
2024-10-05  6:16 Sam James
2024-10-05  6:16 Sam James
2024-09-08  6:04 Arthur Zamarin
2024-09-08  6:04 Arthur Zamarin
2024-09-05 13:03 Sam James
2024-09-05 13:01 Sam James
2024-08-21 14:34 Sam James
2024-08-21 11:48 Sam James
2024-08-21 11:48 Sam James
2024-08-21 11:48 Sam James
2024-08-10 20:42 Sam James
2024-08-10 20:42 Sam James
2024-05-11  2:03 Sam James
2024-05-11  2:03 Sam James
2024-05-11  2:03 Sam James
2024-05-11  2:03 Sam James
2024-05-11  2:03 Sam James
2024-05-11  2:03 Sam James
2024-05-03  4:54 Sam James
2024-02-29  8:23 Sam James
2024-01-22 17:28 Arthur Zamarin
2024-01-22 17:28 Arthur Zamarin
2024-01-22 17:28 Arthur Zamarin
2024-01-08  9:48 Sam James
2023-12-28  3:43 Sam James
2023-12-28  3:43 Sam James
2023-12-27  6:49 WANG Xuerui
2023-12-27  6:49 WANG Xuerui
2023-12-12  3:57 Sam James
2023-12-12  3:57 Sam James
2023-12-12  3:57 Sam James
2023-12-01  3:26 Sam James
2023-12-01  3:26 Sam James
2023-11-27  0:23 Sam James
2023-11-22 10:43 Sam James
2023-10-25  2:33 Sam James
2023-10-25  2:33 Sam James
2023-10-25  2:33 Sam James
2023-10-17  8:08 Sam James
2023-10-14  1:53 Sam James
2023-10-14  1:53 Sam James
2023-09-28  1:18 Sam James
2023-09-09  1:58 Sam James
2023-09-09  1:53 Sam James
2023-08-09  5:56 Sam James
2023-08-09  5:56 Sam James
2023-08-04  0:54 Sam James
2023-08-03 16:20 Sam James
2023-08-03 16:20 Sam James
2023-07-28  1:35 Sam James
2023-07-28  1:35 Sam James
2023-07-23 23:55 Sam James
2023-07-03 21:03 Sam James
2023-06-07  9:52 Sam James
2023-05-31  2:57 Sam James
2023-05-30 11:23 Arthur Zamarin
2023-04-20 16:06 Sam James
2023-04-14 23:52 Sam James
2023-04-03 17:25 Georgy Yakovlev
2023-02-23 23:54 Georgy Yakovlev
2023-02-23 22:15 Sam James
2023-02-16  4:47 Sam James
2023-01-27 20:32 Georgy Yakovlev
2023-01-27 20:32 Georgy Yakovlev
2023-01-27 19:34 Georgy Yakovlev
2023-01-27 19:34 Georgy Yakovlev
2023-01-27 19:34 Georgy Yakovlev
2023-01-27 19:34 Georgy Yakovlev
2023-01-20 22:28 Sam James
2023-01-13  5:36 Sam James
2023-01-13  5:34 Georgy Yakovlev
2023-01-13  4:33 Georgy Yakovlev
2022-12-25  4:18 Georgy Yakovlev
2022-12-23 20:11 Kenton Groombridge
2022-12-08 19:48 Georgy Yakovlev
2022-12-08 19:14 Georgy Yakovlev
2022-12-08 19:14 Georgy Yakovlev
2022-12-02  2:54 Sam James
2022-12-02  2:51 Sam James
2022-10-14 12:43 Arthur Zamarin
2022-09-17 22:16 Georgy Yakovlev
2022-09-17 22:16 Georgy Yakovlev
2022-09-17 20:42 Georgy Yakovlev
2022-09-17  4:11 Georgy Yakovlev
2022-09-16 23:17 Georgy Yakovlev
2022-09-16 23:12 Georgy Yakovlev
2022-09-02 20:11 Sam James
2022-08-26 10:46 Sam James
2022-08-03 18:55 Sam James
2022-07-04 17:34 Sam James
2022-07-04 17:30 Sam James
2022-06-22 22:40 Sam James
2022-06-16 18:48 Georgy Yakovlev
2022-06-07 18:47 Georgy Yakovlev
2022-05-05  7:07 Jakov Smolić
2022-04-26  9:58 Georgy Yakovlev
2022-04-26  6:31 Sam James
2022-04-17 16:44 Sam James
2022-03-24 16:13 John Helmert III
2022-03-11 12:07 Sam James
2022-03-11 11:14 Sam James
2022-02-01 18:40 Michał Górny
2022-01-15 22:03 Sam James
2022-01-15 22:03 Sam James
2022-01-15 22:03 Sam James
2021-12-26 23:04 Georgy Yakovlev
2021-12-25  1:02 Georgy Yakovlev
2021-12-25  1:02 Georgy Yakovlev
2021-12-25  1:02 Georgy Yakovlev
2021-12-23 23:08 Georgy Yakovlev
2021-12-23 22:43 Georgy Yakovlev
2021-12-20  5:19 Georgy Yakovlev
2021-12-17  5:53 Georgy Yakovlev
2021-12-16  3:28 Georgy Yakovlev
2021-12-16  3:15 Sam James
2021-12-16  2:51 Georgy Yakovlev
2021-11-08  1:52 Georgy Yakovlev
2021-11-07 23:59 Georgy Yakovlev
2021-11-07 23:59 Georgy Yakovlev
2021-11-07 23:59 Georgy Yakovlev
2021-09-29 23:22 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-29 23:11 Georgy Yakovlev
2021-09-22  1:19 Sam James
2021-09-22  1:19 Sam James
2021-09-18 21:27 Georgy Yakovlev
2021-09-18 21:27 Georgy Yakovlev
2021-09-18 21:27 Georgy Yakovlev
2021-09-18 21:27 Georgy Yakovlev
2021-09-18 21:27 Georgy Yakovlev
2021-09-18  1:43 Yixun Lan
2021-09-16 22:16 Sam James
2021-09-07 17:37 Mike Gilbert
2021-09-03  1:53 Sam James
2021-07-31 13:40 Michał Górny
2021-07-02 19:10 Georgy Yakovlev
2021-07-02  8:31 Georgy Yakovlev
2021-07-02  8:31 Georgy Yakovlev
2021-07-02  8:31 Georgy Yakovlev
2021-07-02  8:31 Georgy Yakovlev
2021-07-02  8:16 Sam James
2021-07-02  7:02 Sam James
2021-07-02  7:02 Sam James
2021-06-24  2:28 Georgy Yakovlev
2021-06-11  2:08 Sam James
2021-06-11  2:07 Sam James
2021-06-11  2:07 Sam James
2021-06-11  2:07 Sam James
2021-06-09  5:20 Georgy Yakovlev
2021-06-09  5:20 Georgy Yakovlev
2021-06-08  7:12 Georgy Yakovlev
2021-05-31  2:05 Georgy Yakovlev
2021-05-28 20:08 Sam James
2021-05-28 20:08 Sam James
2021-05-11  6:11 Georgy Yakovlev
2021-05-11  6:08 Georgy Yakovlev
2021-05-11  6:08 Georgy Yakovlev
2021-05-02 16:45 Georgy Yakovlev
2021-05-02 16:45 Georgy Yakovlev
2021-04-30 19:12 Georgy Yakovlev
2021-04-30 19:12 Georgy Yakovlev
2021-04-30 19:12 Georgy Yakovlev
2021-04-23 13:33 Sam James
2021-04-23 13:33 Sam James
2021-04-19  0:18 Sam James
2021-04-14 23:11 Sam James
2021-04-14 23:11 Sam James
2021-04-14 23:11 Sam James
2021-04-14 23:11 Sam James
2021-04-08 15:41 Georgy Yakovlev
2021-04-06 10:05 Georgy Yakovlev
2021-04-02 10:03 Georgy Yakovlev
2021-04-02  8:21 Georgy Yakovlev
2021-03-09 21:08 Georgy Yakovlev
2021-03-04  4:22 Sam James
2021-03-01 10:59 Sam James
2021-02-11 23:49 Georgy Yakovlev
2021-02-11 23:49 Georgy Yakovlev
2021-02-11 23:49 Georgy Yakovlev
2021-02-02 23:52 Georgy Yakovlev
2021-01-12 19:28 Georgy Yakovlev
2021-01-12 19:28 Georgy Yakovlev
2021-01-07 18:51 Georgy Yakovlev
2021-01-07 18:51 Georgy Yakovlev
2020-12-15 10:28 Georgy Yakovlev
2020-12-15 10:22 Georgy Yakovlev
2020-12-01 19:04 Georgy Yakovlev
2020-12-01 19:04 Georgy Yakovlev
2020-11-25 18:57 Georgy Yakovlev
2020-11-25 18:57 Georgy Yakovlev
2020-11-14  3:30 Georgy Yakovlev
2020-11-14  3:28 Georgy Yakovlev
2020-11-12 20:20 Georgy Yakovlev
2020-11-06  2:45 Georgy Yakovlev
2020-11-06  2:45 Georgy Yakovlev
2020-11-06  2:45 Georgy Yakovlev
2020-11-06  2:45 Georgy Yakovlev
2020-11-03 20:07 Georgy Yakovlev
2020-11-03 20:07 Georgy Yakovlev
2020-10-22  2:41 Georgy Yakovlev
2020-10-22  2:35 Georgy Yakovlev
2020-10-07  0:00 Georgy Yakovlev
2020-10-01 22:31 Georgy Yakovlev
2020-10-01 22:31 Georgy Yakovlev
2020-09-21 23:04 Georgy Yakovlev
2020-09-21 22:51 Georgy Yakovlev
2020-09-18 21:59 Georgy Yakovlev
2020-09-02 18:46 Georgy Yakovlev
2020-08-30 22:50 Georgy Yakovlev
2020-08-30 22:25 Georgy Yakovlev
2020-08-28 19:52 Georgy Yakovlev
2020-08-27 20:12 Georgy Yakovlev
2020-08-27  8:24 Georgy Yakovlev
2020-08-27  8:24 Georgy Yakovlev
2020-08-27  8:24 Georgy Yakovlev
2020-08-27  8:24 Georgy Yakovlev
2020-08-27  7:28 Georgy Yakovlev
2020-08-27  7:28 Georgy Yakovlev
2020-08-27  3:21 Georgy Yakovlev
2020-08-27  3:21 Georgy Yakovlev
2020-08-25 22:30 Georgy Yakovlev
2020-08-21  6:31 Georgy Yakovlev
2020-08-21  6:31 Georgy Yakovlev
2020-08-20 19:29 Mikle Kolyada
2020-08-08 14:12 Mikle Kolyada
2020-07-05  1:59 Georgy Yakovlev
2020-07-04 23:14 Georgy Yakovlev
2020-06-10 21:49 Richard Yao
2020-06-10 21:49 Richard Yao
2020-06-10 21:49 Richard Yao
2020-05-12 22:44 Georgy Yakovlev
2020-05-12 22:44 Georgy Yakovlev
2020-05-06  3:03 Georgy Yakovlev
2020-04-27  2:06 Georgy Yakovlev
2020-04-14 23:03 Georgy Yakovlev
2020-03-30 21:08 Georgy Yakovlev
2020-03-13  5:18 Georgy Yakovlev
2020-02-10 12:12 Michał Górny
2020-02-07  5:37 Georgy Yakovlev
2020-01-24  7:05 Georgy Yakovlev
2020-01-23  0:35 Georgy Yakovlev
2020-01-23  0:35 Georgy Yakovlev
2020-01-21 19:01 Georgy Yakovlev
2019-11-26 20:32 Georgy Yakovlev
2019-10-27 15:31 Michał Górny
2019-09-12 21:50 Georgy Yakovlev
2019-08-19  0:45 Georgy Yakovlev
2019-08-18  5:57 Georgy Yakovlev
2019-08-18  1:19 Georgy Yakovlev
2019-08-18  1:19 Georgy Yakovlev
2019-08-17 20:43 Georgy Yakovlev
2019-08-17 20:43 Georgy Yakovlev
2019-08-17 20:43 Georgy Yakovlev
2019-08-14  6:05 Georgy Yakovlev
2019-08-14  6:05 Georgy Yakovlev
2019-08-04  8:41 Georgy Yakovlev
2019-06-23  8:00 Georgy Yakovlev
2019-06-23  8:00 Georgy Yakovlev
2019-06-14 22:07 Georgy Yakovlev
2019-05-24  0:54 Georgy Yakovlev
2019-05-23 23:19 Georgy Yakovlev
2019-05-23 19:30 Georgy Yakovlev
2019-05-23 18:43 Georgy Yakovlev
2019-05-23 18:43 Georgy Yakovlev
2019-05-17 21:16 Georgy Yakovlev
2019-05-17 21:16 Georgy Yakovlev
2019-05-17 21:16 Georgy Yakovlev
2019-05-16 12:30 Georgy Yakovlev
2019-05-11 20:11 Georgy Yakovlev
2019-05-10  0:19 Georgy Yakovlev
2019-04-26 21:09 Georgy Yakovlev
2019-04-18 21:34 Georgy Yakovlev
2019-03-05  4:29 Georgy Yakovlev
2019-02-20 20:25 Georgy Yakovlev
2018-11-22 22:24 Georgy Yakovlev
2018-11-22 22:24 Georgy Yakovlev
2018-06-24 12:37 Jason Zaman
2018-06-18 21:16 Georgy Yakovlev
2018-04-01 16:10 Aaron Bauman
2018-03-08 16:21 Matt Thode
2018-03-08 16:21 Matt Thode
2018-03-08 16:21 Matt Thode
2018-02-14 21:45 Matt Thode
2018-02-14 21:01 Matt Thode
2017-11-17 19:47 Jonathan Vasquez
2017-09-12 13:07 Jonathan Vasquez
2017-08-12 14:12 Jonathan Vasquez
2017-08-12 14:12 Jonathan Vasquez
2017-08-12 14:12 Jonathan Vasquez
2017-07-27 12:41 Jonathan Vasquez
2017-07-11  1:54 Jonathan Vasquez
2017-06-15  2:03 Jonathan Vasquez
2017-02-22  9:23 Yixun Lan
2017-02-07  0:56 Jonathan Vasquez
2016-11-22 12:41 Yixun Lan
2016-10-10  2:15 Yixun Lan
2016-06-22  6:13 Yixun Lan
2016-05-07  1:55 Matt Thode
2016-04-15 18:59 Matt Thode
2016-01-28  6:17 Richard Yao
2016-01-27 22:06 Richard Yao
2016-01-27 21:41 Richard Yao
2016-01-16 19:06 Richard Yao
2016-01-04 20:04 Richard Yao
2015-12-03 18:36 Richard Yao
2015-10-23 20:46 Jason Zaman
2015-10-23 20:34 Jason Zaman
2015-10-10 22:13 Anthony G. Basile
2015-10-09 15:35 Richard Yao
2015-10-09 15:32 Richard Yao
2015-10-01 23:00 Richard Yao
2015-09-13  3:52 Richard Yao
2015-09-11 21:54 Richard Yao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444405413.a44b13f1d6e5965a6551efe99532c6aad22f8273.ryao@gentoo \
    --to=ryao@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox