[Fusionforge-commits] FusionForge branch master updated. 334d4b6de957da3fafaf4d3c82c56acede57a34c

Franck Villaume nerville at fusionforge.org
Mon Dec 15 14:41:36 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  334d4b6de957da3fafaf4d3c82c56acede57a34c (commit)
      from  1b1849ca05657590fda17892066f03b43d8a68f9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 334d4b6de957da3fafaf4d3c82c56acede57a34c
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Dec 15 14:30:53 2014 +0100

    fix RSS prerequisite

diff --git a/src/GNUmakefile b/src/GNUmakefile
index 0db3e61..7ed315f 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -92,6 +92,7 @@ install-web: install-base-dirs
 	$(INSTALL) -d -m 00700 $(DESTDIR)$(data_path)/download/
 	$(INSTALL) -d -m 00700 $(DESTDIR)$(data_path)/forum/
 	$(INSTALL) -d -m 00700 $(DESTDIR)$(data_path)/tracker/
+	$(INSTALL) -d -m 00700 $(DESTDIR)$(data_path)/rss/
 	$(CP_R) post-install.d/web $(DESTDIR)$(pkgdatadir)/post-install.d/
 	if [ ! -e $(DESTDIR)$(sysconfdir)/logrotate.d/fusionforge-web ]; then \
 		sed 's, at log_path@,$(log_path),' etc/logrotate.d/fusionforge-web \
diff --git a/src/post-install.d/web/web.sh b/src/post-install.d/web/web.sh
index 6fc37a1..778b187 100755
--- a/src/post-install.d/web/web.sh
+++ b/src/post-install.d/web/web.sh
@@ -59,7 +59,7 @@ case "$1" in
 	else
 	    echo "*** Note: please install $config_path/httpd.conf in your Apache configuration"
 	fi
-	
+
 	# Generate SSL cert if needed
 	cert=$config_path/ssl-cert.pem
 	key=$config_path/ssl-cert.key
@@ -70,17 +70,18 @@ case "$1" in
 	if [ ! -e $cert ] ; then
 	    openssl req -x509 -days 3650 -new -nodes -batch -text -key $key -out $cert
 	fi
-	
-	# Setup Docman/FRS/Tracker attachments
+
+	# Setup Docman/FRS/Forum/Tracker/RSS attachments
 	# (not done in 'make install' because e.g. dpkg ignores existing dirs, cf. DP10.9[1])
 	chown $apache_user: $data_path/docman/
 	chown $apache_user: $data_path/download/
 	chown $apache_user: $data_path/forum/
 	chown $apache_user: $data_path/tracker/
-	
+	chown $apache_user: $data_path/rss/
+
 	# Plugins activation from the web UI
 	chown $apache_user: $source_path/www/plugins/
-	
+
 	# Enable required modules
 	if [ -x /usr/sbin/a2enmod ]; then
 	    a2enmod version 2>/dev/null || true  # opensuse..
@@ -97,7 +98,7 @@ case "$1" in
 	    #a2enmod proxy_http
 	fi
 	# else: Apache modules already enabled in CentOS
-	
+
 	if [ -x /usr/sbin/a2dissite ]; then
 	    a2dissite 000-default
 	fi

-----------------------------------------------------------------------

Summary of changes:
 src/GNUmakefile               |    1 +
 src/post-install.d/web/web.sh |   13 +++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list