summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Kranjc2008-08-28 23:52:14 +0200
committerJaka Kranjc2008-08-28 23:52:14 +0200
commit3d4dfee0b7bbf1c2f70d6a070fda1eaccc3d0867 (patch)
tree263f9d17734dc0ae079998a22462737c25dd3faa
parent12d27e30b121894dc87ebe0a6ff164303a7e9c63 (diff)
evolution-data-server: provide LDAP sup dependency
(cherry-picked from commit 08d41a7d58f1d3c3dfdd67a68e4abb20a460cb12)
-rw-r--r--gnome2-libs/evolution-data-server/HISTORY4
-rwxr-xr-xgnome2-libs/evolution-data-server/PRE_SUB_DEPENDS4
-rwxr-xr-xgnome2-libs/evolution-data-server/REPAIR^none^PRE_SUB_DEPENDS4
-rwxr-xr-xgnome2-libs/evolution-data-server/SUB_DEPENDS5
4 files changed, 17 insertions, 0 deletions
diff --git a/gnome2-libs/evolution-data-server/HISTORY b/gnome2-libs/evolution-data-server/HISTORY
index bddfabb873..a353a2d535 100644
--- a/gnome2-libs/evolution-data-server/HISTORY
+++ b/gnome2-libs/evolution-data-server/HISTORY
@@ -1,3 +1,7 @@
+2008-08-19 Thomas Orgis <sobukus@sourcemage.org>
+ * SUB_DEPENDS, PRE_SUB_DEPENDS, REPAIR^none^PRE_SUB_DEPENDS:
+ provide LDAP sub dependency
+
2008-07-24 Robin Cook <rcook@wyrms.net>
* DETAILS: updated VERSION to 2.22.3
diff --git a/gnome2-libs/evolution-data-server/PRE_SUB_DEPENDS b/gnome2-libs/evolution-data-server/PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..f1db0348e9
--- /dev/null
+++ b/gnome2-libs/evolution-data-server/PRE_SUB_DEPENDS
@@ -0,0 +1,4 @@
+case $THIS_SUB_DEPENDS in
+ LDAP) is_depends_enabled $SPELL openldap && return 0;;
+esac
+return 1
diff --git a/gnome2-libs/evolution-data-server/REPAIR^none^PRE_SUB_DEPENDS b/gnome2-libs/evolution-data-server/REPAIR^none^PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..f1db0348e9
--- /dev/null
+++ b/gnome2-libs/evolution-data-server/REPAIR^none^PRE_SUB_DEPENDS
@@ -0,0 +1,4 @@
+case $THIS_SUB_DEPENDS in
+ LDAP) is_depends_enabled $SPELL openldap && return 0;;
+esac
+return 1
diff --git a/gnome2-libs/evolution-data-server/SUB_DEPENDS b/gnome2-libs/evolution-data-server/SUB_DEPENDS
new file mode 100755
index 0000000000..6e0b4a8323
--- /dev/null
+++ b/gnome2-libs/evolution-data-server/SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ LDAP)
+ depends openldap --with-openldap=yes "(because sub depends forced it)"
+ ;;
+esac