[Pkg-sympa-commits] [sympa] 22/30: No longer install Database schemas (they are now upgraded automatically)

Emmanuel Bouthenot kolter at moszumanska.debian.org
Mon Sep 19 20:08:48 UTC 2016


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

kolter pushed a commit to branch master
in repository sympa.

commit 6c3fa5286e171f4c80eaf9667158f4dc9bfc7511
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Mon Sep 19 21:44:57 2016 +0200

    No longer install Database schemas (they are now upgraded automatically)
---
 debian/rules         | 13 +------------
 debian/sympa.install |  1 -
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/debian/rules b/debian/rules
index dd90318..dcc7563 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,16 +37,6 @@ override_dh_auto_test:
 	echo "SKIP testsuite as required"
 endif
 
-override_dh_auto_build:
-	dh_auto_build
-	# Cleanup SQL schemas to be used by dbconfig
-	mkdir -p $(DEBDIR)/dbconfig-common/install
-	sed -r 's/^\s*(DROP|CREATE\s+DATABASE|\\r|USE|\\connect) /-- \0/i' \
-		src/etc/script/create_db.mysql > $(DEBDIR)/dbconfig-common/install/mysql
-	sed -r 's/^\s*(DROP|CREATE\s+DATABASE|\\r|USE|\\connect) /-- \0/i' \
-		src/etc/script/create_db.Pg > $(DEBDIR)/dbconfig-common/install/postgres
-	cp src/etc/script/create_db.SQLite $(DEBDIR)/dbconfig-common/install/sqlite3
-
 override_dh_auto_install:
 	dh_auto_install
 	rm -rf \
@@ -56,8 +46,7 @@ override_dh_auto_install:
 		$(TMP)/etc/sympa/wwsympa.conf \
 		$(TMP)/etc/sympa/data_structure.version \
 		$(TMP)/usr/share/sympa/bin/sympa_soap_client.pl
-	mv $(TMP)/usr/share/doc/sympa/sample $(TMP)/usr/share/doc/sympa/examples
-	chmod -x $(TMP)/usr/share/sympa/bin/create_db*
+	mv $(TMP)/usr/share/doc/sympa/samples $(TMP)/usr/share/doc/sympa/examples
 
 override_dh_systemd_enable:
 	dh_systemd_enable --name sympa sympa.service
diff --git a/debian/sympa.install b/debian/sympa.install
index 25021f2..15cb7d7 100644
--- a/debian/sympa.install
+++ b/debian/sympa.install
@@ -5,6 +5,5 @@ debian/conf/apache2/sympa-soap.conf etc/apache2/conf-available
 debian/conf/auth.conf               etc/sympa
 debian/conf/sympa.conf-smime.in     etc/sympa
 debian/conf/topics.conf             etc/sympa
-src/etc/script/create_db.*          usr/share/doc/sympa/examples/db
 debian/dbconfig-common/*            usr/share/dbconfig-common/data/sympa
 soap/sympa_soap_client.pl           usr/share/doc/sympa/examples/script

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git



More information about the Pkg-sympa-commits mailing list