[Fusionforge-commits] FusionForge branch GUM updated. b45b8a783b3c81fd7c4d7d90f18c1791e9df534b

Sylvain Beucler beuc-inria at fusionforge.org
Tue Sep 2 15:20:27 CEST 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, GUM has been updated
       via  b45b8a783b3c81fd7c4d7d90f18c1791e9df534b (commit)
       via  7abb85f4bd26d74111d24a606541b104e8810ba0 (commit)
      from  4ee29b49e47c96ca7c4ec5ecd2b1f8b715dd93cc (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 b45b8a783b3c81fd7c4d7d90f18c1791e9df534b
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Tue Sep 2 14:38:09 2014 +0200

    install: add fusionforge-lists package

diff --git a/src/debian/control.in b/src/debian/control.in
index 9077971..ead0b7e 100644
--- a/src/debian/control.in
+++ b/src/debian/control.in
@@ -130,3 +130,17 @@ Description: collaborative development tool - mail tools (using Exim 4)
  .
  This package configures the Exim 4 mail transfer agent to run
  FusionForge.
+
+
+Package: fusionforge-lists
+Architecture: all
+Depends: fusionforge-common (=${source:Version}), php5-cli, fusionforge-mta-postfix | gforge-mta, mailman, ${misc:Depends}
+Description: collaborative development tool - mailing-lists (using Mailman)
+ FusionForge provides many tools to aid collaboration in a
+ development project, such as bug-tracking, task management,
+ mailing-lists, SCM repository, forums, support request helper,
+ web/FTP hosting, release management, etc. All these services are
+ integrated into one web site and managed through a web interface.
+ .
+ This package controls the interaction between FusionForge and Mailman.
+
diff --git a/src/debian/rules b/src/debian/rules
index 2222929..f24d052 100755
--- a/src/debian/rules
+++ b/src/debian/rules
@@ -28,6 +28,7 @@ override_dh_auto_install:
 	make install-shell       prefix=/usr DESTDIR=$(CURDIR)/debian/fusionforge-shell
 	make install-mta-postfix prefix=/usr DESTDIR=$(CURDIR)/debian/fusionforge-mta-postfix
 	make install-mta-exim4   prefix=/usr DESTDIR=$(CURDIR)/debian/fusionforge-mta-exim4
+	make install-lists       prefix=/usr DESTDIR=$(CURDIR)/debian/fusionforge-lists
 	for i in $$(sed -n 's/^Package: fusionforge-plugin-//p' debian/plugins); do \
 		make install-plugin-$$i prefix=/usr DESTDIR=$(CURDIR)/debian/fusionforge-plugin-$$i; \
 		sed "s/@plugin@/$$i/" debian/plugin.postinst > debian/fusionforge-plugin-$$i.postinst; \
diff --git a/src/post-install.d/mta-postfix/mta-postfix.sh b/src/post-install.d/mta-postfix/mta-postfix.sh
index 8b35720..13f293d 100755
--- a/src/post-install.d/mta-postfix/mta-postfix.sh
+++ b/src/post-install.d/mta-postfix/mta-postfix.sh
@@ -56,7 +56,7 @@ case "$1" in
 
 	# Transport
 	postfix_append_config 'mydestination' $users_host
-	postfix_append_config 'relay_domains' $lists_hosts
+	postfix_append_config 'relay_domains' $lists_host
 
 	# Forwarding rules
 	postfix_append_config 'virtual_alias_maps' 'proxy:pgsql:pgsql_gforge_users'
@@ -82,7 +82,7 @@ pgsql_gforge_users_user = $(forge_get_config database_user)_mta
 pgsql_gforge_users_password = $(forge_get_config database_user)_mta
 pgsql_gforge_users_dbname = $(forge_get_config database_name)
 pgsql_gforge_users_domain = $users_host
-pgsql_gforge_users_query = SELECT email FROM mta_users WHERE login = '\''%u'\''
+pgsql_gforge_users_query = SELECT email FROM mta_users WHERE login = '%u'
 mailman_destination_recipient_limit = 1
 ### END FUSIONFORGE BLOCK ###
 EOF
diff --git a/src/rpm/fusionforge.spec.in b/src/rpm/fusionforge.spec.in
index 344e51b..68231cb 100644
--- a/src/rpm/fusionforge.spec.in
+++ b/src/rpm/fusionforge.spec.in
@@ -65,6 +65,7 @@ install_listfiles web
 install_listfiles shell
 install_listfiles mta-postfix
 install_listfiles mta-exim4
+install_listfiles lists
 for i in $(sed -n 's/^%package plugin-//p' rpm/plugins); do \
     install_listfiles plugin-$i
 done
@@ -93,6 +94,7 @@ subpackages.
 %package db-local
 Summary: collaborative development tool - database (using PostgreSQL)
 Requires: %{name}-common = %{version}, postgresql-server
+Provides: %{name}-db = %{version}
 %description db-local
 FusionForge provides many tools to aid collaboration in a
 development project, such as bug-tracking, task management,
@@ -143,7 +145,6 @@ database to FusionForge users.
 %preun shell
 if [ $1 -eq 0 ] ; then
     %{_datadir}/%{name}/post-install.d/shell/shell.sh remove
-    %{_datadir}/%{name}/post-install.d/shell/shell.sh purge
 fi
 
 
@@ -167,8 +168,8 @@ FusionForge on an Apache webserver.
 %package mta-postfix
 Summary: collaborative development tool - mail tools (using Postfix)
 Requires: %{name}-common = %{version}, postfix
-Provides: mta = %{version}
-Conflicts: mta
+Provides: %{name}-mta = %{version}
+Conflicts: %{name}-mta
 %description mta-postfix
 FusionForge provides many tools to aid collaboration in a
 development project, such as bug-tracking, task management,
@@ -180,14 +181,16 @@ This package configures the Postfix mail transfer agent to run
 FusionForge.
 %files mta-postfix -f mta-postfix.rpmfiles
 %post mta-postfix
-%{_datadir}/%{name}/post-install.d/mta-postfix/mta-postfix.sh
+%{_datadir}/%{name}/post-install.d/mta-postfix/mta-postfix.sh configure
+%preun mta-postfix
+if [ $1 -eq 0 ] ; then %{_datadir}/%{name}/post-install.d/mta-postfix/mta-postfix.sh $i remove; fi
 
 
 %package mta-exim4
 Summary: collaborative development tool - mail tools (using Exim 4)
 Requires: %{name}-common = %{version}, exim
-Provides: mta = %{version}
-Conflicts: mta
+Provides: %{name}-mta = %{version}
+Conflicts: %{name}-mta
 %description mta-exim4
 FusionForge provides many tools to aid collaboration in a
 development project, such as bug-tracking, task management,
@@ -199,7 +202,23 @@ This package configures the Exim 4 mail transfer agent to run
 FusionForge.
 %files mta-exim4 -f mta-exim4.rpmfiles
 %post mta-exim4
-%{_datadir}/%{name}/post-install.d/mta-exim4/mta-exim4.sh
+%{_datadir}/%{name}/post-install.d/mta-exim4/mta-exim4.sh configure
+%preun mta-exim4
+if [ $1 -eq 0 ] ; then %{_datadir}/%{name}/post-install.d/mta-exim4/mta-exim4.sh $i remove; fi
+
+
+%package lists
+Summary: collaborative development tool - mailing-lists (using Mailman)
+Requires: %{name}-common = %{version}, %{name}-mta = %{version}, mailman
+%description lists
+FusionForge provides many tools to aid collaboration in a
+development project, such as bug-tracking, task management,
+mailing-lists, SCM repository, forums, support request helper,
+web/FTP hosting, release management, etc. All these services are
+integrated into one web site and managed through a web interface.
+
+This package controls the interaction between FusionForge and Mailman.
+%files lists -f lists.rpmfiles
 
 
 @plugins@

commit 7abb85f4bd26d74111d24a606541b104e8810ba0
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Tue Sep 2 14:24:04 2014 +0200

    install: add copyright notices

diff --git a/src/GNUmakefile b/src/GNUmakefile
index d146bb7..9744356 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -1,3 +1,22 @@
+# FusionForge build system
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 include GNUmakefile.defaults
 VERSION:=$(shell cat VERSION)
 
diff --git a/src/GNUmakefile.defaults b/src/GNUmakefile.defaults
index 40284e3..7fbf8e7 100644
--- a/src/GNUmakefile.defaults
+++ b/src/GNUmakefile.defaults
@@ -1,5 +1,22 @@
-# -*- Makefile -*-
-# Included by all GNUmakefile's to get the same defaults
+# Included by all GNUmakefile's to get the same defaults  -*- Makefile -*-
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 # Using Automake conventions and best practices
 DESTDIR=
 prefix=/usr/local
diff --git a/src/debian/gen_control.sh b/src/debian/gen_control.sh
index 0537d2e..1c92975 100755
--- a/src/debian/gen_control.sh
+++ b/src/debian/gen_control.sh
@@ -1,4 +1,23 @@
 #!/bin/bash -e
+# Generate control from control.in + ./plugins + plugin_pkg_desc.php
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 (
     cat debian/control.in
     echo
diff --git a/src/locale/GNUmakefile b/src/locale/GNUmakefile
index d15890c..5b1602c 100644
--- a/src/locale/GNUmakefile
+++ b/src/locale/GNUmakefile
@@ -1,3 +1,22 @@
+# gettext message catalogs build and install
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 include ../GNUmakefile.defaults
 .PHONY: fusionforge.pot
 LINGUAS=$(shell ls *.po | sed 's/\.po$$//')
diff --git a/src/post-install.d/common/common.sh b/src/post-install.d/common/common.sh
index d7e2a88..5dc6b19 100755
--- a/src/post-install.d/common/common.sh
+++ b/src/post-install.d/common/common.sh
@@ -1,5 +1,22 @@
 #!/bin/bash
 # Call all common post-install scripts in order
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 source_path=$(forge_get_config source_path)
 
diff --git a/src/post-install.d/common/ini.sh b/src/post-install.d/common/ini.sh
index 4e62c59..fb41af8 100755
--- a/src/post-install.d/common/ini.sh
+++ b/src/post-install.d/common/ini.sh
@@ -1,6 +1,23 @@
 #!/bin/bash
 # Post-install .ini configuration, params vary for each install
 # (all other .ini configuration is done at install time)
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 source_path=$(forge_get_config source_path)
 config_path=$(forge_get_config config_path)
diff --git a/src/post-install.d/common/plugin.sh b/src/post-install.d/common/plugin.sh
index 5cf019b..f1f229a 100755
--- a/src/post-install.d/common/plugin.sh
+++ b/src/post-install.d/common/plugin.sh
@@ -1,4 +1,22 @@
 #!/bin/bash -e
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 source_path=$(forge_get_config source_path)
 config_path=$(forge_get_config config_path)
 apache_service=$(forge_get_config apache_service)
diff --git a/src/post-install.d/common/user.sh b/src/post-install.d/common/user.sh
index 0561571..80ad0e8 100755
--- a/src/post-install.d/common/user.sh
+++ b/src/post-install.d/common/user.sh
@@ -1,5 +1,22 @@
 #!/bin/bash
 # Create to-be-specified 'fusionforge' user
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # TODO: specify the role of this user and its permissions
 # Currently used in: plugin-scmbzr, plugin-moinmoin, ???
diff --git a/src/post-install.d/db/configure.sh b/src/post-install.d/db/configure.sh
index bcf812a..3238a77 100755
--- a/src/post-install.d/db/configure.sh
+++ b/src/post-install.d/db/configure.sh
@@ -1,5 +1,22 @@
 #!/bin/bash
 # Configure local PostgreSQL server
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 database_name=$(forge_get_config database_name)
 database_user=$(forge_get_config database_user)
diff --git a/src/post-install.d/db/db.sh b/src/post-install.d/db/db.sh
index 418e15a..eedcf02 100755
--- a/src/post-install.d/db/db.sh
+++ b/src/post-install.d/db/db.sh
@@ -1,5 +1,22 @@
 #!/bin/bash
 # Call all DB post-install scripts in order
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 source_path=$(forge_get_config source_path)
 
diff --git a/src/post-install.d/db/populate.sh b/src/post-install.d/db/populate.sh
index 0ea521f..a4449e4 100755
--- a/src/post-install.d/db/populate.sh
+++ b/src/post-install.d/db/populate.sh
@@ -1,5 +1,22 @@
 #!/bin/bash -e
 # Create user and database, and import initial data
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 database_host=$(forge_get_config database_host)
 database_port=$(forge_get_config database_port)
diff --git a/src/post-install.d/db/upgrade.php b/src/post-install.d/db/upgrade.php
index d083423..6a610d3 100755
--- a/src/post-install.d/db/upgrade.php
+++ b/src/post-install.d/db/upgrade.php
@@ -1,5 +1,30 @@
 #! /usr/bin/php
 <?php
+/**
+ * Apply database updates (core and plugins)
+ *
+ * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2003-2004 (c) GForge
+ * Copyright (C) 2009, 2012  Roland Mas
+ * Copyright 2011, 2014 (c) Franck Villaume
+ * Copyright (C) 2010, 2012 Alain Peyrat - Alcatel-Lucent
+ * Copyright (C) 2014  Inria (Sylvain Beucler)
+ *
+ * This file is part of FusionForge. FusionForge is free software;
+ * you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the Licence, or (at your option)
+ * any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with FusionForge; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
 // upgrade-db.php          => Upgrade the main database.
 // upgrade-db.php all      => Upgrade the main database and active plugins.
diff --git a/src/post-install.d/mta-exim4/mta-exim4.sh b/src/post-install.d/mta-exim4/mta-exim4.sh
index b3d9738..7c59e12 100755
--- a/src/post-install.d/mta-exim4/mta-exim4.sh
+++ b/src/post-install.d/mta-exim4/mta-exim4.sh
@@ -1,8 +1,24 @@
 #! /bin/sh
+# Configure Exim4 for FusionForge+Mailman
 #
-# Configure Exim4 for GForge
 # Christian Bayle, Roland Mas, debian-sf (GForge for Debian)
 # Converted to Exim4 by Guillem Jover
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 set -e
 
diff --git a/src/post-install.d/mta-postfix/mta-postfix.sh b/src/post-install.d/mta-postfix/mta-postfix.sh
index 92fa1ad..8b35720 100755
--- a/src/post-install.d/mta-postfix/mta-postfix.sh
+++ b/src/post-install.d/mta-postfix/mta-postfix.sh
@@ -1,6 +1,24 @@
 #! /bin/bash
 # Configure Postfix for FusionForge+Mailman
-# Inria (Sylvain Beucler)
+#
+# Christian Bayle, Roland Mas, debian-sf (GForge for Debian)
+# Julien Goodwin
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 set -e
 
diff --git a/src/post-install.d/shell/shell.sh b/src/post-install.d/shell/shell.sh
index 110732a..7730d2c 100755
--- a/src/post-install.d/shell/shell.sh
+++ b/src/post-install.d/shell/shell.sh
@@ -1,5 +1,23 @@
 #! /bin/bash
 # Configure NSS+PostgreSQL shell access
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 set -e
 
 db_name=$(forge_get_config database_name)
diff --git a/src/post-install.d/web/configure.sh b/src/post-install.d/web/configure.sh
index 8098153..85315b4 100755
--- a/src/post-install.d/web/configure.sh
+++ b/src/post-install.d/web/configure.sh
@@ -1,5 +1,22 @@
 #!/bin/bash -e
 # Configure Apache
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 source_path=$(forge_get_config source_path)
 config_path=$(forge_get_config config_path)
diff --git a/src/post-install.d/web/expand-conf.php b/src/post-install.d/web/expand-conf.php
index a172e20..c3758cb 100755
--- a/src/post-install.d/web/expand-conf.php
+++ b/src/post-install.d/web/expand-conf.php
@@ -1,6 +1,25 @@
 #!/usr/bin/php -f
 <?php
-// Substitute {section/var} variables in Apache templates
+/**
+ * Substitute {section/var} variables in Apache templates
+ *
+ * Copyright (C) 2014  Inria (Sylvain Beucler)
+ *
+ * This file is part of FusionForge. FusionForge is free software;
+ * you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the Licence, or (at your option)
+ * any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with FusionForge; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
 // Don't try to connect to the DB, just reading config files
 putenv('FUSIONFORGE_NO_DB=true');
diff --git a/src/rpm/gen_spec.sh b/src/rpm/gen_spec.sh
index f2251af..06df577 100755
--- a/src/rpm/gen_spec.sh
+++ b/src/rpm/gen_spec.sh
@@ -1,4 +1,22 @@
 #!/bin/bash -e
+# Generate .spec from .spec.in + ./plugins + plugin_pkg_desc.php
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 version=$1
 snapshot=$2 # e.g. '+201408281835'; spec needs static tarball extract dir
diff --git a/tests/scripts/deb/build.sh b/tests/scripts/deb/build.sh
index 8d794f8..6345451 100755
--- a/tests/scripts/deb/build.sh
+++ b/tests/scripts/deb/build.sh
@@ -1,11 +1,24 @@
 #! /bin/sh
-
-# Authors :
-#  Roland Mas
-#  Olivier BERGER <olivier.berger at it-sudparis.eu>
-#  Sylvain Beucler
-
 # This script will build the Debian packages to be tested
+#
+# Copyright (C) 2011  Roland Mas
+# Copyright (C) 2011  Olivier Berger - Institut Telecom
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 set -e
 export DEBIAN_FRONTEND=noninteractive
diff --git a/tests/scripts/deb/install-src.sh b/tests/scripts/deb/install-src.sh
index 3136eb9..12315a0 100755
--- a/tests/scripts/deb/install-src.sh
+++ b/tests/scripts/deb/install-src.sh
@@ -1,10 +1,24 @@
 #! /bin/sh
 # Install FusionForge from source
-
-# Authors :
-#  Roland Mas
-#  Olivier BERGER <olivier.berger at it-sudparis.eu>
-#  Sylvain Beucler
+#
+# Copyright (C) 2011  Roland Mas
+# Copyright (C) 2011  Olivier Berger - Institut Telecom
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 #set -x
 set -e
diff --git a/tests/scripts/deb/install.sh b/tests/scripts/deb/install.sh
index 7426d0f..b648a62 100755
--- a/tests/scripts/deb/install.sh
+++ b/tests/scripts/deb/install.sh
@@ -1,10 +1,24 @@
 #! /bin/sh
 # Install FusionForge packages from build.sh + dependencies
-
-# Authors :
-#  Roland Mas
-#  Olivier BERGER <olivier.berger at it-sudparis.eu>
-#  Sylvain Beucler
+#
+# Copyright (C) 2011  Roland Mas
+# Copyright (C) 2011  Olivier Berger - Institut Telecom
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 #set -x
 set -e
diff --git a/tests/scripts/deb/run-testsuite.sh b/tests/scripts/deb/run-testsuite.sh
index 6ff9874..61bd39b 100755
--- a/tests/scripts/deb/run-testsuite.sh
+++ b/tests/scripts/deb/run-testsuite.sh
@@ -1,8 +1,23 @@
 #!/bin/bash
-
-# This script runs the preferred functionnal test suite, using phpunit
-# and Selenium, which will test the Web interface of FusionForge in a
-# controlled Firefox browser.
+# Run FusionForge's PHPUnit+Selenium testsuite
+#
+# Copyright (C) 2011  Olivier Berger - Institut Telecom
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 set -e
 export DEBIAN_FRONTEND=noninteractive
@@ -22,8 +37,8 @@ fi
 service cron stop || true
 
 # Test dependencies
-apt-get -y install phpunit phpunit-selenium patch psmisc
 # psmisc for db_reload.sh:killall
+apt-get -y install phpunit phpunit-selenium patch psmisc
 patch -N /usr/share/php/PHPUnit/Extensions/SeleniumTestCase.php <<'EOF' || true
 --- /usr/share/php/PHPUnit/Extensions/SeleniumTestCase.php-dist	2014-02-10 19:48:34.000000000 +0000
 +++ /usr/share/php/PHPUnit/Extensions/SeleniumTestCase.php	2014-09-01 10:09:38.823051288 +0000
diff --git a/tests/scripts/deb/update.sh b/tests/scripts/deb/update.sh
index e0a6fdb..42af1d6 100755
--- a/tests/scripts/deb/update.sh
+++ b/tests/scripts/deb/update.sh
@@ -1,11 +1,4 @@
-#! /bin/sh
-
-# Authors :
-#  Roland Mas
-#  Olivier BERGER <olivier.berger at it-sudparis.eu>
-
-# This script will update the system and the checked-out branch to the
-# latest state to be tested.
+#!/bin/bash
 
 # First, make sure the Debian distro is up-to-date
 aptitude update
@@ -15,9 +8,4 @@ set -e
 
 # Then update the checked-out sources of FusionForge
 cd /usr/src/fusionforge/
-# If using bzr, or git, update accordingly
-if [ -d .bzr/ ] ; then
-    bzr update
-else
-    git pull
-fi
+git pull
diff --git a/tests/scripts/rpm/build.sh b/tests/scripts/rpm/build.sh
index c51a260..53044e2 100755
--- a/tests/scripts/rpm/build.sh
+++ b/tests/scripts/rpm/build.sh
@@ -1,4 +1,22 @@
 #!/bin/bash
+# Build FusionForge .rpm packages
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Build .rpm packages
 set -e
diff --git a/tests/scripts/rpm/install-src.sh b/tests/scripts/rpm/install-src.sh
index 9dff586..8128e97 100755
--- a/tests/scripts/rpm/install-src.sh
+++ b/tests/scripts/rpm/install-src.sh
@@ -1,5 +1,22 @@
 #! /bin/sh
-# Install FusionForge from source
+# Install FusionForge from source, and its dependencies
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Fedora/RHEL/CentOS version:
 os_version=$(rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release))
diff --git a/tests/scripts/rpm/install.sh b/tests/scripts/rpm/install.sh
index 87afd71..c8c6ffc 100755
--- a/tests/scripts/rpm/install.sh
+++ b/tests/scripts/rpm/install.sh
@@ -1,3 +1,23 @@
+#!/bin/bash
+# Install FusionForge and its dependencies
+#
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 # postgresql-server
 # php-cli php-pgsql
 # httpd php
diff --git a/tests/scripts/rpm/run-testsuite.sh b/tests/scripts/rpm/run-testsuite.sh
index b6a3662..d9a2a0f 100755
--- a/tests/scripts/rpm/run-testsuite.sh
+++ b/tests/scripts/rpm/run-testsuite.sh
@@ -1,4 +1,23 @@
 #!/bin/bash -x
+# Run FusionForge's PHPUnit+Selenium testsuite
+#
+# Copyright (C) 2011  Olivier Berger - Institut Telecom
+# Copyright (C) 2014  Inria (Sylvain Beucler)
+#
+# This file is part of FusionForge. FusionForge is free software;
+# you can redistribute it and/or modify it under the terms of the
+# GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the Licence, or (at your option)
+# any later version.
+#
+# FusionForge is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with FusionForge; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 set -e
 

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

Summary of changes:
 src/GNUmakefile                               |   19 ++++++++++++++
 src/GNUmakefile.defaults                      |   21 ++++++++++++++--
 src/debian/control.in                         |   14 +++++++++++
 src/debian/gen_control.sh                     |   19 ++++++++++++++
 src/debian/rules                              |    1 +
 src/locale/GNUmakefile                        |   19 ++++++++++++++
 src/post-install.d/common/common.sh           |   17 +++++++++++++
 src/post-install.d/common/ini.sh              |   17 +++++++++++++
 src/post-install.d/common/plugin.sh           |   18 ++++++++++++++
 src/post-install.d/common/user.sh             |   17 +++++++++++++
 src/post-install.d/db/configure.sh            |   17 +++++++++++++
 src/post-install.d/db/db.sh                   |   17 +++++++++++++
 src/post-install.d/db/populate.sh             |   17 +++++++++++++
 src/post-install.d/db/upgrade.php             |   25 +++++++++++++++++++
 src/post-install.d/mta-exim4/mta-exim4.sh     |   18 +++++++++++++-
 src/post-install.d/mta-postfix/mta-postfix.sh |   24 +++++++++++++++---
 src/post-install.d/shell/shell.sh             |   18 ++++++++++++++
 src/post-install.d/web/configure.sh           |   17 +++++++++++++
 src/post-install.d/web/expand-conf.php        |   21 +++++++++++++++-
 src/rpm/fusionforge.spec.in                   |   33 +++++++++++++++++++------
 src/rpm/gen_spec.sh                           |   18 ++++++++++++++
 tests/scripts/deb/build.sh                    |   25 ++++++++++++++-----
 tests/scripts/deb/install-src.sh              |   24 ++++++++++++++----
 tests/scripts/deb/install.sh                  |   24 ++++++++++++++----
 tests/scripts/deb/run-testsuite.sh            |   25 +++++++++++++++----
 tests/scripts/deb/update.sh                   |   16 ++----------
 tests/scripts/rpm/build.sh                    |   18 ++++++++++++++
 tests/scripts/rpm/install-src.sh              |   19 +++++++++++++-
 tests/scripts/rpm/install.sh                  |   20 +++++++++++++++
 tests/scripts/rpm/run-testsuite.sh            |   19 ++++++++++++++
 30 files changed, 527 insertions(+), 50 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list