* [gentoo-commits] proj/sci:master commit in: sys-fs/zfs/
@ 2011-04-30 21:43 Alexey Shvetsov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Shvetsov @ 2011-04-30 21:43 UTC (permalink / raw
To: gentoo-commits
commit: 9022bbd21f12dc7a569a9596e92c2b276bace9a7
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 21:42:32 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 21:42:32 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9022bbd2
[sys-fs/zfs] Add init.d from bug #365435
---
sys-fs/zfs/zfs-0.6.0_rc3.ebuild | 2 ++
sys-fs/zfs/zfs-9999.ebuild | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
index 86d601d..3734c7b 100644
--- a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
+++ b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
@@ -51,4 +51,6 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die 'emake install failed'
+ newinitd "${FILESDIR}/zfs.initd" zfs
+ keepdir /var/lock/zfs
}
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index 4568197..0341586 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -52,4 +52,6 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die 'emake install failed'
+ newinitd "${FILESDIR}/zfs.initd" zfs
+ keepdir /var/lock/zfs
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-fs/zfs/
@ 2011-05-02 15:51 Alexey Shvetsov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Shvetsov @ 2011-05-02 15:51 UTC (permalink / raw
To: gentoo-commits
commit: 1e371cdd8cf7e43c531834be505e255d941328df
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 15:51:11 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon May 2 15:51:11 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1e371cdd
Small fixes for zfs
(Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key F82F92E6)
---
sys-fs/zfs/zfs-0.6.0_rc3.ebuild | 15 ++++++++++++++-
sys-fs/zfs/zfs-9999.ebuild | 17 +++++++++++++++--
2 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
index ffbd90a..a7316c7 100644
--- a/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
+++ b/sys-fs/zfs/zfs-0.6.0_rc3.ebuild
@@ -19,7 +19,7 @@ IUSE=""
DEPEND="
>=sys-devel/spl-${PV}
- >=virtual/linux-sources-2.6.32
+ >=virtual/linux-sources-2.6
"
RDEPEND="
!sys-fs/zfs-fuse
@@ -27,6 +27,17 @@ RDEPEND="
S="${WORKDIR}/${P/_/-}"
+pkg_setup() {
+ linux-mod_pkg_setup
+ kernel_is gt 2 6 32 || die "Your kernel is too old. ${CATEGORY}/${PN} need 2.6.32 or newer."
+ linux_config_exists || die "Your kernel sources are unconfigured."
+ if linux_chkconfig_present PREEMPT; then
+ eerror "${CATEGORY}/${PN} doesn't currently work with PREEMPT kernel."
+ eerror "Please look at bug https://github.com/behlendorf/zfs/issues/83"
+ die "PREEMPT kernel"
+ fi
+}
+
src_prepare() {
epatch "${FILESDIR}/${PN}-0.6.0-includedir.patch"
eautoreconf
@@ -51,4 +62,6 @@ src_install() {
emake DESTDIR="${D}" install || die 'emake install failed'
newinitd "${FILESDIR}/zfs.initd" zfs
keepdir /var/lock/zfs
+ # Drop unwanted files
+ rm -rf "${D}/usr/src" || die "removing unwanted files die"
}
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index bb45a87..5625db6 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -9,7 +9,7 @@ AT_M4DIR=./config # for aclocal called by eautoreconf
EGIT_REPO_URI="http://github.com/behlendorf/zfs.git"
-inherit git eutils autotools linux-mod
+inherit autotools eutils git linux-mod
DESCRIPTION="Native ZFS for Linux"
HOMEPAGE="http://wiki.github.com/behlendorf/zfs/"
@@ -22,12 +22,23 @@ IUSE=""
DEPEND="
>=sys-devel/spl-${PV}
- >=virtual/linux-sources-2.6.32
+ >=virtual/linux-sources-2.6
"
RDEPEND="
!sys-fs/zfs-fuse
"
+pkg_setup() {
+ linux-mod_pkg_setup
+ kernel_is gt 2 6 32 || die "Your kernel is too old. ${CATEGORY}/${PN} need 2.6.32 or newer."
+ linux_config_exists || die "Your kernel sources are unconfigured."
+ if linux_chkconfig_present PREEMPT; then
+ eerror "${CATEGORY}/${PN} doesn't currently work with PREEMPT kernel."
+ eerror "Please look at bug https://github.com/behlendorf/zfs/issues/83"
+ die "PREEMPT kernel"
+ fi
+}
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch
eautoreconf
@@ -52,4 +63,6 @@ src_install() {
emake DESTDIR="${D}" install || die 'emake install failed'
newinitd "${FILESDIR}/zfs.initd" zfs
keepdir /var/lock/zfs
+ # Drop unwanted files
+ rm -rf "${D}/usr/src" || die "removing unwanted files die"
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-fs/zfs/
@ 2011-05-14 14:33 Alexey Shvetsov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Shvetsov @ 2011-05-14 14:33 UTC (permalink / raw
To: gentoo-commits
commit: 255d48ae70f1be84e418fabf025bea1d9819de1b
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 14:33:04 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sat May 14 14:33:04 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=255d48ae
[sys-fs/zfs] Fix typo
(Portage version: 2.2.0_alpha32/git/Linux x86_64, signed Manifest commit with key F82F92E6)
---
sys-fs/zfs/zfs-9999.ebuild | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index db6fe7c..091776b 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -41,7 +41,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch
- epatch "{FILESDIR}"/0001-gentoo-Fix-detection-of-gentoo.patch
+ epatch "${FILESDIR}"/0001-gentoo-Fix-detection-of-gentoo.patch
eautoreconf
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sys-fs/zfs/
@ 2011-06-24 17:09 Justin Lecher
0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
To: gentoo-commits
commit: 8a2acd2331681ac98ad2ed670c2232ed4957e758
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 16:22:47 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 16:22:47 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8a2acd23
Sort inherit and/or USE
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
sys-fs/zfs/zfs-0.6.0_rc4.ebuild | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys-fs/zfs/zfs-0.6.0_rc4.ebuild b/sys-fs/zfs/zfs-0.6.0_rc4.ebuild
index a7316c7..efe78b2 100644
--- a/sys-fs/zfs/zfs-0.6.0_rc4.ebuild
+++ b/sys-fs/zfs/zfs-0.6.0_rc4.ebuild
@@ -6,7 +6,7 @@ EAPI="2"
WANT_AUTOMAKE="1.11"
AT_M4DIR=./config # for aclocal called by eautoreconf
-inherit eutils autotools linux-mod
+inherit autotools eutils linux-mod
DESCRIPTION="Native ZFS for Linux"
HOMEPAGE="http://wiki.github.com/behlendorf/zfs/"
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-24 17:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 17:09 [gentoo-commits] proj/sci:master commit in: sys-fs/zfs/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2011-05-14 14:33 Alexey Shvetsov
2011-05-02 15:51 Alexey Shvetsov
2011-04-30 21:43 Alexey Shvetsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox