sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (75369fda366a897cb8483459f3621767162ec0f1)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (75369fda366a897cb8483459f3621767162ec0f1)
- Date: Fri, 24 Jun 2011 09:11:50 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
net/openswan/DEPENDS | 11 ++++-------
net/openswan/HISTORY | 3 +++
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 75369fda366a897cb8483459f3621767162ec0f1
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
openswan: reimplemented version checking
diff --git a/net/openswan/DEPENDS b/net/openswan/DEPENDS
index 3f2f5ad..c63eeba 100755
--- a/net/openswan/DEPENDS
+++ b/net/openswan/DEPENDS
@@ -1,16 +1,13 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
depends gmp &&
depends iproute2 &&
depends iptables &&
-local IPR2VER=$(installed_version iproute2) &&
-
-if spell_ok iproute2 && [[ $IPR2VER < 2.6.08 ]]; then
+if spell_ok iproute2 && is_version_less $(installed_version iproute2) 2.6.8;
then
force_depends iproute2
fi &&
-. "$GRIMOIRE/FUNCTIONS" &&
-local KVER=$(get_kernel_version) &&
-
-if [[ $KVER < 2.6.09 ]]; then
+if is_version_less $(get_kernel_version) 2.6.9; then
depends ipsec-tools
fi
diff --git a/net/openswan/HISTORY b/net/openswan/HISTORY
index fe442ce..2d48929 100644
--- a/net/openswan/HISTORY
+++ b/net/openswan/HISTORY
@@ -1,3 +1,6 @@
+2011-06-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS: use is_version_less() to compare versions carefully
+
2011-06-20 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: corrected version check
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (75369fda366a897cb8483459f3621767162ec0f1), Vlad Glagolev, 06/24/2011
Archive powered by MHonArc 2.6.24.