public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/blcr/
Date: Thu,  8 Mar 2012 20:34:33 +0000 (UTC)	[thread overview]
Message-ID: <1331238841.c92db9a7db8bd35da45cf28647a7e3b0d287989c.mmokrejs@gentoo> (raw)

commit:     c92db9a7db8bd35da45cf28647a7e3b0d287989c
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Mar  8 20:34:01 2012 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Mar  8 20:34:01 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c92db9a7

sys-cluster/blcr: update SRC_HOME, SRC_URI and added a check for kernel version <2.6.30, resp. <2.6.38, a version bump

(Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit)

---
 sys-cluster/blcr/ChangeLog                         |    9 ++++++++-
 sys-cluster/blcr/blcr-0.8.2.ebuild                 |   18 +++++++++++++++---
 .../blcr/{blcr-0.8.2.ebuild => blcr-0.8.4.ebuild}  |   20 +++++++++++++++++---
 3 files changed, 40 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/blcr/ChangeLog b/sys-cluster/blcr/ChangeLog
index 903ea18..e115f4a 100644
--- a/sys-cluster/blcr/ChangeLog
+++ b/sys-cluster/blcr/ChangeLog
@@ -1,7 +1,14 @@
 # ChangeLog for sys-cluster/blcr
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*blcr-0.8.4 (08 Mar 2012)
+
+  08 Mar 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> blcr-0.8.2.ebuild,
+  +blcr-0.8.4.ebuild:
+  update SRC_HOME, SRC_URI and added a check for kernel version <2.6.30, resp.
+  <2.6.38, a version bump
+
   26 Jan 2010; Tim Cera <tim@cerazone.net> -blcr-0.6.5.ebuild:
   Removed old ebuild. Updated copyright years.
 

diff --git a/sys-cluster/blcr/blcr-0.8.2.ebuild b/sys-cluster/blcr/blcr-0.8.2.ebuild
index c877c39..fe229e3 100644
--- a/sys-cluster/blcr/blcr-0.8.2.ebuild
+++ b/sys-cluster/blcr/blcr-0.8.2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 inherit linux-mod
 
 DESCRIPTION="Berkeley Lab Checkpoint/Restart for Linux"
-HOMEPAGE="http://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml"
-SRC_URI="http://ftg.lbl.gov/CheckpointRestart/downloads/${P}.tar.gz"
+HOMEPAGE="https://ftg.lbl.gov/projects/CheckpointRestart"
+SRC_URI="https://ftg.lbl.gov/assets/projects/CheckpointRestart/downloads/"${PN}"-"${PV}".tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -18,6 +18,18 @@ RDEPEND=""
 MAKEOPTS="${MAKEOPTS} -j1"
 
 pkg_setup() {
+	local msg
+	linux-info_pkg_setup
+
+	# kernel version check
+	if kernel_is gt 2 6 30
+	then
+		eerror "${PN} is being developed and tested up to linux-2.6.30."
+		eerror "Make sure you have a proper kernel version and point"
+		eerror "  /usr/src/linux symlink or env variable KERNEL_DIR to it!"
+		die "Wrong kernel version ${KV}"
+	fi
+
 	linux-mod_pkg_setup
 	MODULE_NAMES="blcr(blcr::${S}/cr_module/kbuild)
 		blcr_imports(blcr::${S}/blcr_imports/kbuild)"

diff --git a/sys-cluster/blcr/blcr-0.8.2.ebuild b/sys-cluster/blcr/blcr-0.8.4.ebuild
similarity index 64%
copy from sys-cluster/blcr/blcr-0.8.2.ebuild
copy to sys-cluster/blcr/blcr-0.8.4.ebuild
index c877c39..a362519 100644
--- a/sys-cluster/blcr/blcr-0.8.2.ebuild
+++ b/sys-cluster/blcr/blcr-0.8.4.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 inherit linux-mod
 
 DESCRIPTION="Berkeley Lab Checkpoint/Restart for Linux"
-HOMEPAGE="http://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml"
-SRC_URI="http://ftg.lbl.gov/CheckpointRestart/downloads/${P}.tar.gz"
+HOMEPAGE="https://ftg.lbl.gov/projects/CheckpointRestart"
+SRC_URI="https://ftg.lbl.gov/assets/projects/CheckpointRestart/downloads/"${PN}"-"${PV}".tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -17,7 +17,21 @@ RDEPEND=""
 
 MAKEOPTS="${MAKEOPTS} -j1"
 
+# up to kernel 2.6.38
+
 pkg_setup() {
+	local msg
+	linux-info_pkg_setup
+
+	# kernel version check
+	if kernel_is gt 2 6 38
+	then
+		eerror "${PN} is being developed and tested up to linux-2.6.38."
+		eerror "Make sure you have a proper kernel version and point"
+		eerror "  /usr/src/linux symlink or env variable KERNEL_DIR to it!"
+		die "Wrong kernel version ${KV}"
+	fi
+
 	linux-mod_pkg_setup
 	MODULE_NAMES="blcr(blcr::${S}/cr_module/kbuild)
 		blcr_imports(blcr::${S}/blcr_imports/kbuild)"



             reply	other threads:[~2012-03-08 20:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 20:34 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-15 20:36 [gentoo-commits] proj/sci:master commit in: sys-cluster/blcr/ Martin Mokrejs
2014-11-13  0:15 Christoph Junghans
2015-09-23 12:48 Justin Lecher
2016-11-21 15:39 Martin Mokrejs
2016-11-21 15:48 Martin Mokrejs
2017-02-19 17:53 Justin Lecher
2020-09-26  1:19 Aisha Tammy

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=1331238841.c92db9a7db8bd35da45cf28647a7e3b0d287989c.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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