[zoo-project] 11/12: Add patch to set appropriate permissions for symbols.sym.

Bas Couwenberg sebastic at debian.org
Sun Jan 29 19:42:10 UTC 2017


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

sebastic pushed a commit to branch master
in repository zoo-project.

commit 394ceb161efdb5f99dab0341007f4501226567d5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jan 29 20:10:00 2017 +0100

    Add patch to set appropriate permissions for symbols.sym.
---
 debian/patches/series                    |  1 +
 debian/patches/symbols-permissions.patch | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index aa8012d..65c45a1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ zoo-version.patch
 cachedir.patch
 symbols-install.patch
 main-configure.patch
+symbols-permissions.patch
diff --git a/debian/patches/symbols-permissions.patch b/debian/patches/symbols-permissions.patch
new file mode 100644
index 0000000..caae777
--- /dev/null
+++ b/debian/patches/symbols-permissions.patch
@@ -0,0 +1,15 @@
+Description: Set appropriate permissions for symbols.sym.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://zoo-project.org/trac/ticket/145
+
+--- a/zoo-project/zoo-kernel/Makefile.in
++++ b/zoo-project/zoo-kernel/Makefile.in
+@@ -119,7 +119,7 @@ install: zoo_loader.cgi
+ 	(cd ${DESTDIR}${INST_LIB} ; \
+ 	 if [ -e "libzoo_service.${EXT}" ]; then rm  libzoo_service.${EXT}; fi ; \
+ 	 ln -s ${LIBZOO_SERVICE} libzoo_service.${EXT})
+-	if [ -z "${MS_FILE}" ] ; then echo "No symbols.sym" ; else install -d ${DESTDIR}${SHAREDSTATEDIR}; install symbols.sym ${DESTDIR}${SHAREDSTATEDIR}; fi
++	if [ -z "${MS_FILE}" ] ; then echo "No symbols.sym" ; else install -d ${DESTDIR}${SHAREDSTATEDIR}; install -m644 symbols.sym ${DESTDIR}${SHAREDSTATEDIR}; fi
+ 	install -d ${DESTDIR}${INST_INCLUDE}/zoo
+ 	install sqlapi.h service.h service_internal.h ${DESTDIR}${INST_INCLUDE}/zoo
+ 

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



More information about the Pkg-grass-devel mailing list