[oe-commits] Khem Raj : whois: Add recipe for version 5.0.0.

git version control git at git.openembedded.org
Fri Jan 22 11:54:44 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 310b2cd8919a13280b445537893c109b66c5275c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=310b2cd8919a13280b445537893c109b66c5275c

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jan 21 16:20:25 2010 -0800

whois: Add recipe for version 5.0.0.

* Move to using INC_PR
* Add md5 and sha checksums to recipe.
* Move more common parts like SRC_URI to whois.inc.

* Thanks Paul Menzel for reporting the pending upgrade.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/whois/whois.inc       |    8 ++++++++
 recipes/whois/whois_4.5.25.bb |    6 +-----
 recipes/whois/whois_5.0.0.bb  |    6 ++++++
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/recipes/whois/whois.inc b/recipes/whois/whois.inc
index 15af5e8..f7fc938 100644
--- a/recipes/whois/whois.inc
+++ b/recipes/whois/whois.inc
@@ -4,6 +4,14 @@ LICENSE = "GPL"
 HOMEPAGE = "http://www.linux.it/~md/software/"
 SECTION = "network"
 
+INC_PR  = "r1"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/w/whois/whois_${PV}.tar.gz;name=whois"
+
+S = "${WORKDIR}/whois-${PV}"
+
+inherit gettext
+
 def whois_intl(bb, d):
 	# FIXME: This is ugly.. we already have the virtual for this,
 	# but there's no way to ask bb who the current selected provider of
diff --git a/recipes/whois/whois_4.5.25.bb b/recipes/whois/whois_4.5.25.bb
index 22952b0..2a57467 100644
--- a/recipes/whois/whois_4.5.25.bb
+++ b/recipes/whois/whois_4.5.25.bb
@@ -1,6 +1,2 @@
+PR = "${INC_PR}.0"
 require whois.inc
-
-SRC_URI = "${DEBIAN_MIRROR}/main/w/whois/whois_${PV}.tar.gz"
-S = "${WORKDIR}/whois-${PV}"
-
-inherit gettext
diff --git a/recipes/whois/whois_5.0.0.bb b/recipes/whois/whois_5.0.0.bb
new file mode 100644
index 0000000..a595ec5
--- /dev/null
+++ b/recipes/whois/whois_5.0.0.bb
@@ -0,0 +1,6 @@
+require whois.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[whois.md5sum] = "18d74a07d711262b75f04a1c319bc833"
+SRC_URI[whois.sha256sum] = "fb13316c09ff9f98bd9af659d0789c9a09b97757f5c6c3dbfbc790250d5c5abc"
+





More information about the Openembedded-commits mailing list