[Pkg-openldap-devel] [openldap] 07/39: r1667 at pulsar: torsten | 2005-04-03 22:52:42 +0200 * debian/slapd.scripts-common (import_database): Removed, no longer used.

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:35:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to annotated tag 2.2.23-2
in repository openldap.

commit 4592d65d4a45a6e46c23b1a90acb17f45fa12670
Author: Torsten Landschoff <torsten at debian.org>
Date:   Sun Apr 3 21:22:52 2005 +0000

     r1667 at pulsar:  torsten | 2005-04-03 22:52:42 +0200
      * debian/slapd.scripts-common (import_database): Removed, no longer used.
---
 debian/changelog            |    1 +
 debian/slapd.scripts-common |   20 --------------------
 2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f6148a7..d74bb05 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ openldap2.2 (2.2.23-2) unstable; urgency=low
   * Disabled the version check for Berkeley DB in upstream code. Any 
     libdb4.2 package should work but of course using the latest will give
     you the best results (closes: #300851).
+  * debian/slapd.scripts-common (import_database): Removed, no longer used.
 
  -- 
 
diff --git a/debian/slapd.scripts-common b/debian/slapd.scripts-common
index cc4ee30..91aa3d0 100644
--- a/debian/slapd.scripts-common
+++ b/debian/slapd.scripts-common
@@ -708,26 +708,6 @@ assign_permissions() {							# {{{
 	chown --reference="$1" "$2"
 }
 # }}}
-import_database() {							# {{{
-# Import a database from an ldif dump
-# Usage: import_database <basedn> <ldif-file>
-
-	local suffix location failure
-
-	suffix="$1"
-	location="$2"
-	failure=
-
-	echo -n "  Loading $suffix from $location... " >&2
-	slapadd -b "$suffix" -l "$location" || failure=1
-	if [ "$failure" ]; then
-		echo "failed." >&2
-		alert_user upgrade_slapadd_failure
-	else
-		echo "done." >&2
-	fi
-}
-# }}}
 update_access_config_directives() {					# {{{
 # Update the config file for some changes done for 2.2.x (vs. 2.1.x):
 # access to attribute=<attr> becomes access to attrs=<attr>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list