[debian-edu-commits] debian-edu/pkg-team/ 01/05: debian/patches: Add 2001_debian-defaults.patch. Define some sensible defaults in ldap2bind directly.
Mike Gabriel
sunweaver at debian.org
Mon Feb 15 14:11:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository ldap2zone.
commit c25e80e0d324d607c7d0e53170032958db449302
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Feb 15 14:38:10 2016 +0100
debian/patches: Add 2001_debian-defaults.patch. Define some sensible defaults in ldap2bind directly.
---
debian/patches/2001_debian-defaults.patch | 36 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 37 insertions(+)
diff --git a/debian/patches/2001_debian-defaults.patch b/debian/patches/2001_debian-defaults.patch
new file mode 100644
index 0000000..3158abe
--- /dev/null
+++ b/debian/patches/2001_debian-defaults.patch
@@ -0,0 +1,36 @@
+Description: Set some sensible defaults (derived from /etc/default/ldap2zone)
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+--- a/ldap2bind
++++ b/ldap2bind
+@@ -1,5 +1,30 @@
+ #!/bin/sh
+
++# Should we run the cronjob
++# DEFAULT: "false"
++RUN_DEPLOY="false"
++
++# How the LDAP server can be accessed
++# DEFAULT: "ldap://localhost"
++LDAP_URI="ldap://localhost"
++
++# Where the bind config is stored
++# DEFAULT: "/etc/bind"
++BIND_DIR="/etc/bind"
++
++# Where the zonefiles are located
++# DEFAULT: "/var/cache/bind"
++BIND_DATA="/var/cache/bind"
++
++# Time to live value for a and ptr records
++# DEFAULT: 500 Seconds
++TTL="500"
++
++# Prefix for zone definition files
++# DEFAULT: "db."
++# The zone definition file for 0.168.192.in-addr.arpa is stored as 'db.0.168.192.in-addr.arpa'
++PREFIX="db."
++
+ [ -r /etc/default/ldap2zone ] && . /etc/default/ldap2zone
+
+ if [ "$RUN_DEPLOY" != "false" ]; then
diff --git a/debian/patches/series b/debian/patches/series
index 3a57757..cd2de97 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
0009_support-ldapi-uris.patch
0010_cron-silent-unconfigured.patch
0011_evaluate-run-deploy-var.patch
+2001_debian-defaults.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/ldap2zone.git
More information about the debian-edu-commits
mailing list