Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Mark Bainter (bb73db3c7ae2613273c4ac51c2cdd7388441b1ac)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Mark Bainter <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Mark Bainter (bb73db3c7ae2613273c4ac51c2cdd7388441b1ac)
  • Date: Tue, 27 Mar 2007 18:51:34 -0500

GIT changes to master grimoire by Mark Bainter
<mbainter-smgl AT lostinagoodbook.org>:

net/pdns/BUILD | 5 +++++
net/pdns/CONFIGURE | 11 +++++++++++
net/pdns/DEPENDS | 16 ++++++++++++++++
net/pdns/HISTORY | 5 +++++
4 files changed, 37 insertions(+)

New commits:
commit 68e30bece6e8f8b827af41dd2979d41c56098e5b
Author: Mark Bainter <mbainter-smgl AT lostinagoodbook.org>
Commit: Mark Bainter <mbainter-smgl AT lostinagoodbook.org>

pdns: fix for bug #12386

diff --git a/net/pdns/BUILD b/net/pdns/BUILD
new file mode 100755
index 0000000..366d6db
--- /dev/null
+++ b/net/pdns/BUILD
@@ -0,0 +1,5 @@
+OPTS="${TMP_PDNS_OPTS}
+ ${OPTS}
+" &&
+
+default_build
diff --git a/net/pdns/CONFIGURE b/net/pdns/CONFIGURE
new file mode 100755
index 0000000..41204f2
--- /dev/null
+++ b/net/pdns/CONFIGURE
@@ -0,0 +1,11 @@
+source $GRIMOIRE/config_query_multi.function &&
+
+PDNS_MODULES="" &&
+
+config_query_multi PDNS_MODULES \
+ "Which backend module(s) would you like to use?" \
+ "gmysql" \
+ "gpgsql" \
+ "gsqlite" \
+ "None"
+
diff --git a/net/pdns/DEPENDS b/net/pdns/DEPENDS
new file mode 100755
index 0000000..2050c75
--- /dev/null
+++ b/net/pdns/DEPENDS
@@ -0,0 +1,16 @@
+persistent_add TMP_PDNS_OPTS &&
+
+if [[ "${PDNS_MODULES}" =~ "None" ]]; then
+ TMP_PDNS_OPTS='--with-modules=""' &&
+ depends bind
+else
+ TMP_PDNS_OPTS="--with-modules=\"${PDNS_MODULES}\"" &&
+ for i in ${PDNS_MODULES}
+ do
+ case $i in
+ gmysql) depends mysql;;
+ gpgsql) depends postgresql;;
+ gsqlite) depends sqlite;;
+ esac
+ done
+fi
diff --git a/net/pdns/HISTORY b/net/pdns/HISTORY
index 6b30657..4c1c6e0 100644
--- a/net/pdns/HISTORY
+++ b/net/pdns/HISTORY
@@ -1,3 +1,8 @@
+2007-03-26 Mark Bainter <mbainter-smgl AT lostinagoodbook.org>
+ * CONFIGURE: Added to query for backend preference
+ * DEPENDS: Added to handle backend dependencies
+ * BUILD: Added to handle configure options for backend modules
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed BUILD_API=2.




  • [SM-Commit] GIT changes to master grimoire by Mark Bainter (bb73db3c7ae2613273c4ac51c2cdd7388441b1ac), Mark Bainter, 03/27/2007

Archive powered by MHonArc 2.6.24.

Top of Page