trackers and tasks. It will review all commits in a project and search for
specific string to know which task or tracker is related.
+%package plugin-doaprdf
+Summary: DOAP RDF for projects
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-doaprdf
+DOAP RDF for projects
+
%package plugin-externalsearch
Summary: external search plugin for FusionForge
Group: Development/Tools
%description plugin-authldap
This plugin provides LDAP authentication capability for FusionForge.
-%package plugin-mantis
-Summary: MantisBT plugin for FusionForge
-Group: Development/Tools
-Requires: %{name} >= %{version}, php
-%description plugin-mantis
-A plugin to use the MantisBT web-based bug tracking system with FusionForge.
-
%package plugin-mediawiki
Summary: Mediawiki plugin for FusionForge
Group: Development/Tools
%description plugin-mediawiki
This is a plugin to integrate MediaWiki within FusionForge.
+%package plugin-message
+Summary: Global Information Message plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-message
+This is a plugin to add a global announce message for FusionForge.
+It can be use to warn users for planned or current outage.
+
%package plugin-online_help
Summary: online_help plugin for FusionForge
Group: Development/Tools
%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/rpm-specific
%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/*/packaging
%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/*/*.spec
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/foafprofiles
### Plugin setup ###
%{__cp} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/*/etc/*.ini $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini.d/
# plugin: hudson
%{__ln_s} ../../plugins/hudson/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/hudson
-# plugin: mantis
-
# plugin: mediawiki
# create symlink for apache configuration for mediawiki plugin
## first, delete the php_admin_value include_path
# insert our own README file
%{__cp} -f %{SOURCE1} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/README.jlbond
+# plugin: message
+%{__ln_s} ../../plugins/message/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/message
+
# plugin: online_help
# plugin: projects_hierarchy
if [ $ret -ne 0 ] ; then
FFORGE_DB=%{dbname}
FFORGE_USER=%{dbuser}
- FFORGE_ADMIN_USER=%{fforge_admin}
- FFORGE_ADMIN_PASSWORD=$(/bin/dd if=/dev/urandom bs=32 count=1 2>/dev/null | /usr/bin/sha1sum | cut -c1-8)
+ if [ "x${FFORGE_ADMIN_USER}" = "x" ]
+ then
+ FFORGE_ADMIN_USER=%{fforge_admin}
+ fi
+ if [ "x${FFORGE_ADMIN_PASSWORD}" = "x" ]
+ then
+ FFORGE_ADMIN_PASSWORD=$(/bin/dd if=/dev/urandom bs=32 count=1 2>/dev/null | /usr/bin/sha1sum | cut -c1-8)
+ fi
export FFORGE_DB FFORGE_USER FFORGE_ADMIN_USER FFORGE_ADMIN_PASSWORD
/usr/bin/php %{FORGE_DIR}/fusionforge-install-3-db.php >>/var/log/%{name}-install.log 2>&1
else
fi
/usr/bin/php %{FORGE_DIR}/db/upgrade-db.php >>/var/log/%{name}-install.log 2>&1
+ /usr/bin/php %{FORGE_DIR}/utils/normalize_roles.php >>/var/log/%{name}-install.log 2>&1
HOSTNAME=`hostname -f`
#%{__sed} -i -e "s!gforge.company.com!$HOSTNAME!g" %{FORGE_CONF_DIR}/local.inc
echo ""
echo " http://$HOSTNAME/"
echo ""
- echo "The default fusionforge administrator account and password is:"
+ echo "The FusionForge administrator account and password is:"
echo ""
- echo "Account Name = %{fforge_admin}"
+ echo "Account Name = $FFORGE_ADMIN_USER"
echo "Password = $FFORGE_ADMIN_PASSWORD"
#echo "Please change it to something appropriate upon initial login."
# give user a few seconds to read the message
%{FORGE_DIR}/www/plugins/cvstracker
%attr(-,%{httpduser},%{httpdgroup}) %{FORGE_CONF_DIR}/plugins/cvstracker
+%files plugin-doaprdf
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/doaprdf.ini
+%{FORGE_DIR}/plugins/doaprdf
+
%files plugin-externalsearch
%config(noreplace) %{FORGE_CONF_DIR}/plugins/externalsearch/
%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/externalsearch.ini
%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authldap.ini
%{FORGE_DIR}/plugins/authldap
-%files plugin-mantis
-%config(noreplace) %{FORGE_CONF_DIR}/plugins/mantis/
-%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/mantis.ini
-%{FORGE_DIR}/plugins/mantis
-%{FORGE_DIR}/www/plugins/mantis
-
%files plugin-mediawiki
%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/mediawiki.ini
%config(noreplace) %{FORGE_CONF_DIR}/httpd.d/03mediawiki.conf
/usr/share/mediawiki/skins/GForge.deps.php
/usr/share/mediawiki/skins/GForge.php
+%files plugin-message
+%{FORGE_DIR}/plugins/message
+%{FORGE_DIR}/www/plugins/message
+
%files plugin-online_help
%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/online_help.ini
%{FORGE_DIR}/plugins/online_help
%{FORGE_DIR}/www/plugins/mantisbt
%files plugin-oauthprovider
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/oauthprovider.ini
%config(noreplace) %{FORGE_CONF_DIR}/plugins/oauthprovider/
%{FORGE_CONF_DIR}/httpd.d/62plugin-oauthprovider
%{FORGE_DIR}/plugins/oauthprovider