* text=auto !eol
/.bzrignore -text
+3rd-party/Makefile -text
+3rd-party/PEAR/Archive_Tar-1.3.3.tgz -text svneol=unset#unset
+3rd-party/PEAR/Console_Getopt-1.2.3.tgz -text svneol=unset#unset
+3rd-party/PEAR/Mail-1.1.14.tgz -text svneol=unset#unset
+3rd-party/PEAR/Mail_Mbox-0.6.1.tgz -text svneol=unset#unset
+3rd-party/PEAR/Mail_Mime-1.5.2.tgz -text svneol=unset#unset
+3rd-party/PEAR/Mail_mimeDecode-1.5.0.tgz -text svneol=unset#unset
+3rd-party/PEAR/Structures_Graph-1.0.2.tgz -text svneol=unset#unset
+3rd-party/PEAR/XML_Util-1.2.1.tgz -text svneol=unset#unset
+3rd-party/db2latex-xsl/Makefile -text
+3rd-party/db2latex-xsl/Makefile.debian -text
+3rd-party/db2latex-xsl/db2latex-xsl_0.8pre1-6.1.diff.gz -text svneol=unset#unset
+3rd-party/db2latex-xsl/db2latex-xsl_0.8pre1-6.1.dsc -text
+3rd-party/db2latex-xsl/db2latex-xsl_0.8pre1-6.2.diff.gz -text svneol=unset#unset
+3rd-party/db2latex-xsl/db2latex-xsl_0.8pre1-6.2.dsc -text
+3rd-party/db2latex-xsl/db2latex-xsl_0.8pre1.orig.tar.gz -text svneol=unset#unset
+3rd-party/htmlpurifier/Makefile -text
+3rd-party/htmlpurifier/Makefile.debian -text
+3rd-party/htmlpurifier/htmlpurifier-4.0.0.tar.gz -text svneol=unset#unset
3rd-party/htmlpurifier/htmlpurifier.spec -text
+3rd-party/htmlpurifier/php-htmlpurifier_4.0.0+dfsg1-1.diff.gz -text svneol=unset#unset
+3rd-party/htmlpurifier/php-htmlpurifier_4.0.0+dfsg1-1.dsc -text
+3rd-party/htmlpurifier/php-htmlpurifier_4.0.0+dfsg1.orig.tar.gz -text svneol=unset#unset
+3rd-party/mailman/Makefile -text
+3rd-party/mailman/Makefile.debian -text
+3rd-party/mailman/mailman_2.1.13-2.diff.gz -text svneol=unset#unset
+3rd-party/mailman/mailman_2.1.13-2.dsc -text
+3rd-party/mailman/mailman_2.1.13-2coclico1.diff.gz -text svneol=unset#unset
+3rd-party/mailman/mailman_2.1.13-2coclico1.dsc -text
+3rd-party/mailman/mailman_2.1.13-2coclico4.diff.gz -text svneol=unset#unset
+3rd-party/mailman/mailman_2.1.13-2coclico4.dsc -text
+3rd-party/mailman/mailman_2.1.13.orig.tar.gz -text svneol=unset#unset
+3rd-party/nusoap/Makefile -text
+3rd-party/nusoap/Makefile.debian -text
+3rd-party/nusoap/nusoap_0.7.3-2.diff.gz -text svneol=unset#unset
+3rd-party/nusoap/nusoap_0.7.3-2.dsc -text
+3rd-party/nusoap/nusoap_0.7.3.orig.tar.gz -text svneol=unset#unset
+3rd-party/php-apache-log4php/Makefile -text
+3rd-party/php-apache-log4php/Makefile.debian -text
+3rd-party/php-apache-log4php/php-apache-log4php_2.0.0incubating-1.diff.gz -text svneol=unset#unset
+3rd-party/php-apache-log4php/php-apache-log4php_2.0.0incubating-1.dsc -text
+3rd-party/php-apache-log4php/php-apache-log4php_2.0.0incubating.orig.tar.gz -text svneol=unset#unset
+3rd-party/php-jpgraph/jpgraph-1.5.2-php5_and_liberation_fonts.patch -text
+3rd-party/php-jpgraph/jpgraph-rhel-fonts.patch -text
+3rd-party/php-jpgraph/libphp-jpgraph_1.5.2-12.diff.gz -text svneol=unset#unset
+3rd-party/php-jpgraph/libphp-jpgraph_1.5.2.orig.tar.gz -text svneol=unset#unset
+3rd-party/php-jpgraph/php-jpgraph.spec -text
+3rd-party/php-mail-mbox/Makefile -text
+3rd-party/php-mail-mbox/Makefile.debian -text
+3rd-party/php-mail-mbox/php-mail-mbox_0.6.3-1.diff.gz -text svneol=unset#unset
+3rd-party/php-mail-mbox/php-mail-mbox_0.6.3-1.dsc -text
+3rd-party/php-mail-mbox/php-mail-mbox_0.6.3-1coclico1.diff.gz -text svneol=unset#unset
+3rd-party/php-mail-mbox/php-mail-mbox_0.6.3-1coclico1.dsc -text
+3rd-party/php-mail-mbox/php-mail-mbox_0.6.3.orig.tar.gz -text svneol=unset#unset
/README -text
delivery/fusionforge/package/config -text
delivery/gforge/package/config -text
delivery/novaforge/package/config -text
/fix_phpunit.xslt -text
+gforge/AUTHORS -text
gforge/CHANGES -text
gforge/INSTALL.restricted -text
gforge/NEWS -text
gforge/backend/shell/apache.sh svneol=native#unset
+gforge/common/dao/CodendiDataAccess.class.php -text
+gforge/common/dao/include/DataAccess.class.php -text
+gforge/common/dao/include/DataAccessException.class.php -text
+gforge/common/dao/include/DataAccessObject.class.php -text
+gforge/common/dao/include/DataAccessResult.class.php -text
gforge/common/docman/Parsedata.class.php -text
gforge/common/docman/engine/parser_doc.php -text
gforge/common/docman/engine/parser_html.php -text
gforge/common/docman/engine/parser_pdf.php -text
gforge/common/docman/engine/parser_text.inc.php -text
gforge/common/docman/engine/parser_text.php -text
+gforge/common/event/Event.class.php -text
+gforge/common/include/Codendi_HTMLPurifier.class.php -text
+gforge/common/include/Codendi_Request.class.php -text
+gforge/common/include/HTTPRequest.class.php -text
+gforge/common/include/Navigation.class.php -text
+gforge/common/include/PluginInfo.class.php -text
+gforge/common/include/ProjectManager.class.php -text
gforge/common/include/TextSanitizer.class.php -text
-gforge/common/include/database-mysql.php -text
+gforge/common/include/UserManager.class.php -text
+gforge/common/include/config-vars.php -text
+gforge/common/include/config.php -text
gforge/common/include/group_section_texts.php -text
gforge/common/include/rbac_texts.php -text
gforge/common/include/tag_cloud.php -text
gforge/common/include/utils_crossref.php -text
+gforge/common/mail/Mail.class.php -text
gforge/common/reporting/ReportDownloads.class.php -text
+gforge/common/system_event/SystemEvent.class.php -text
+gforge/common/system_event/SystemEventManager.class.php -text
gforge/common/tracker/ArtifactWorkflow.class.php -text
+gforge/common/valid/Rule.class.php -text
+gforge/common/valid/Valid.class.php -text
+gforge/common/valid/ValidFactory.class.php -text
gforge/contrib/cmd-line-prototype.tar.gz -text
gforge/contrib/fusionforge.dia -text
gforge/contrib/migrate-from-gforge-as.pl -text
gforge/cronjobs/auth_unix.php -text
-gforge/cronjobs/create_home_dirs.php -text
gforge/cronjobs/create_scm_repos.php -text
gforge/cronjobs/ftp_create_group_access.php -text
gforge/cronjobs/gather_scm_stats.php -text
gforge/db/20090507-add_project_query.sql -text
gforge/db/20090507-browse_list.sql -text
gforge/db/20090507-install_workflow.php -text
+gforge/db/20100308-drop-forum-attachment-type.sql -text
gforge/db/20100308-forum-attachment-types.sql -text
+gforge/db/20100330-add-system-event.sql -text
+gforge/db/20100331-alter-system-event.sql -text
+gforge/db/20100402_add_query_options.sql -text
gforge/db/FTI-20061025.sql -text
gforge/db/gforge-data-mysql.sql -text
gforge/db/gforge-struct-mysql.sql -text
gforge/debian/NEWS.Debian -text
gforge/debian/README.source -text
gforge/debian/compat -text
-gforge/debian/dsf-in/common.links -text
+gforge/debian/dsf-in/plugin-contribtracker.postinst -text
+gforge/debian/dsf-in/plugin-contribtracker.prerm -text
gforge/debian/dsf-in/plugin-extratabs.postinst -text
gforge/debian/dsf-in/plugin-extratabs.prerm -text
gforge/debian/dsf-in/plugin-globalsearch.postinst -text
gforge/debian/dsf-in/plugin-globalsearch.prerm -text
-gforge/debian/dsf-in/plugin-mediawiki.links -text
gforge/debian/dsf-in/plugin-mediawiki.postinst -text
gforge/debian/dsf-in/plugin-mediawiki.prerm -text
gforge/debian/dsf-in/plugin-projectlabels.postinst -text
gforge/debian/dsf-in/plugin-scmcpold.prerm -text
gforge/debian/dsf-in/plugin-scmcvs.postinst -text
gforge/debian/dsf-in/plugin-scmcvs.prerm -text
-gforge/debian/dsf-in/plugin-scmdarcs.links -text
gforge/debian/dsf-in/plugin-scmdarcs.postinst -text
gforge/debian/dsf-in/plugin-scmdarcs.prerm -text
-gforge/debian/dsf-in/plugin-scmgit.links -text
gforge/debian/dsf-in/plugin-scmgit.postinst -text
gforge/debian/dsf-in/plugin-scmgit.prerm -text
gforge/debian/dsf-in/plugin-scmhg.postinst -text
gforge/debian/dsf-po/gl.po -text
gforge/debian/dsf-po/pt.po -text
gforge/debian/dsf-po/ru.po -text
-gforge/debian/gforge-plugin-contribtracker.postinst -text
-gforge/debian/gforge-plugin-contribtracker.prerm -text
gforge/debian/patches/disable-dav.dpatch -text
gforge/debian/patches/use-nusoap-from-distro.dpatch -text
gforge/debian/patches/use-snoopy-from-distro.dpatch -text
gforge/docs/docbook/docbook/entities/authors/alain_peyrat.xml -text
gforge/docs/docbook/docbook/entities/xinclude.ent -text svneol=unset#application/octet-stream
gforge/docs/docbook/docbook/user_guide/project_functions/activity.xml -text
+gforge/docs/docbook/docbook/user_guide/project_functions/blocks.xml -text
+gforge/docs/fusionforge.doxygen -text
gforge/docs/images/sflogo2-105a.png -text
+gforge/docs/phpdoc/phpDocumentor.ini.patch -text
+gforge/etc/config.ini -text
+gforge/etc/database.py.example -text
gforge/etc/httpd.d/01common.ssl -text
gforge/etc/httpd.d/060maindirhttp.vhost -text
gforge/etc/httpd.d/06zmaindirhttp.vhost -text
gforge/etc/httpd.d/61plugin-scmgit -text
gforge/etc/httpd.d/99maindirhttp -text
gforge/etc/local.d/60bbcode -text
+gforge/etc/templates/database.py -text
gforge/fusionforge-install-2.php -text
gforge/fusionforge-install-3-db.php -text
gforge/image-sources/README -text
gforge/packaging/control/135plugin-scmdarcs.shortdesc -text
gforge/packaging/control/136plugin-scmarch -text
gforge/packaging/control/136plugin-scmarch.shortdesc -text
-gforge/packaging/control/137plugin-scmcpold -text
-gforge/packaging/control/137plugin-scmcpold.shortdesc -text
gforge/packaging/control/160plugin-mediawiki -text
gforge/packaging/control/160plugin-mediawiki.shortdesc -text
gforge/packaging/control/170plugin-extratabs -text
gforge/packaging/dirs/plugin-projectlabels -text
gforge/packaging/dirs/plugin-scmarch -text
gforge/packaging/dirs/plugin-scmbzr -text
-gforge/packaging/dirs/plugin-scmcpold -text
gforge/packaging/dirs/plugin-scmcvs -text
gforge/packaging/dirs/plugin-scmdarcs -text
gforge/packaging/dirs/plugin-scmgit -text
gforge/packaging/install/plugin-projectlabels -text
gforge/packaging/install/plugin-scmarch -text
gforge/packaging/install/plugin-scmbzr -text
-gforge/packaging/install/plugin-scmcpold -text
gforge/packaging/install/plugin-scmcvs -text
gforge/packaging/install/plugin-scmdarcs -text
gforge/packaging/install/plugin-scmgit -text
gforge/packaging/install/shell-postgresql -text
gforge/packaging/install/web-apache2 -text
gforge/packaging/install/web-apache2-vhosts -text
+gforge/packaging/links/common -text
+gforge/packaging/links/plugin-scmdarcs -text
+gforge/packaging/links/plugin-scmgit -text
+gforge/packaging/links/web-apache2 -text
+gforge/plugins/blocks/common/blocks-init.php -text
+gforge/plugins/blocks/common/blocksPlugin.class.php -text
+gforge/plugins/blocks/db/blocks-init.sql -text
+gforge/plugins/blocks/etc/plugins/blocks/config.php -text
+gforge/plugins/blocks/www/index.php -text
gforge/plugins/contribtracker/INSTALL -text
gforge/plugins/contribtracker/bin/db-delete.pl -text
gforge/plugins/contribtracker/bin/db-upgrade.pl -text
gforge/plugins/contribtracker/www/global_admin.php -text
gforge/plugins/contribtracker/www/index.php -text
gforge/plugins/contribtracker/www/project_admin.php -text
-gforge/plugins/createplugin.sh -text
gforge/plugins/cvstracker/db/cvstracker-init-mysql.sql -text
gforge/plugins/cvstracker/gforge-plugin-cvstracker.spec -text svneol=unset#application/octet-stream
gforge/plugins/cvstracker/rpm-specific/cron.d/gforge-plugin-cvstracker -text svneol=unset#application/octet-stream
gforge/plugins/globalsearch/www/index.php -text
gforge/plugins/ldapextauth/rpm-specific/.keepme -text svneol=unset#application/octet-stream
gforge/plugins/mediawiki/README -text
-gforge/plugins/mediawiki/bin/drop-wiki.sh -text
+gforge/plugins/mediawiki/bin/drop-wiki.php -text
+gforge/plugins/mediawiki/bin/mw-wrapper.php -text
gforge/plugins/mediawiki/common/MediaWikiPlugin.class.php -text
gforge/plugins/mediawiki/common/mediawiki-init.php -text
-gforge/plugins/mediawiki/cronjobs/create-wikis.sh -text
+gforge/plugins/mediawiki/cronjobs/create-wikis.php -text
+gforge/plugins/mediawiki/etc/cron.d/mediawiki -text
gforge/plugins/mediawiki/etc/httpd.d/03mediawiki -text
+gforge/plugins/mediawiki/etc/plugins/mediawiki/LocalSettings.php -text
+gforge/plugins/mediawiki/etc/plugins/mediawiki/ProjectSettings.template.php -text
+gforge/plugins/mediawiki/etc/plugins/mediawiki/config.php -text
gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php -text
gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php.patch -text
gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php.reference -text
gforge/plugins/mediawiki/mediawiki-skin/fusionforge/main.css -text
gforge/plugins/mediawiki/mediawiki-skin/fusionforge/main.css.patch -text
gforge/plugins/mediawiki/mediawiki-skin/fusionforge/main.css.reference -text
-gforge/plugins/mediawiki/www/LocalSettings.php -text
+gforge/plugins/mediawiki/scripts/mediawiki-plugin-init.php -text
gforge/plugins/mediawiki/www/frame.php -text
gforge/plugins/online_help/common/online_help-init.php -text
gforge/plugins/online_help/common/online_helpPlugin.class.php -text
gforge/plugins/scmbzr/common/scmbzr-init.php -text
gforge/plugins/scmbzr/etc/plugins/scmbzr/config.php -text
gforge/plugins/scmbzr/etc/plugins/scmbzr/serve-branches.conf -text
-gforge/plugins/scmcpold/common/CpoldPlugin.class.php -text
-gforge/plugins/scmcpold/common/scmcpold-init.php -text
-gforge/plugins/scmcpold/etc/plugins/scmcpold/config.php -text
gforge/plugins/scmcvs/cron.d/fusionforge-plugin-scmcvs -text
gforge/plugins/scmcvs/fusionforge-plugin-scmcvs.spec -text
gforge/plugins/scmdarcs/common/DarcsPlugin.class.php -text
gforge/plugins/scmdarcs/common/scmdarcs-init.php -text
gforge/plugins/scmdarcs/etc/plugins/scmdarcs/config.php -text
+gforge/plugins/scmgit/bin/db-delete.pl -text
+gforge/plugins/scmgit/bin/db-upgrade.pl -text
gforge/plugins/scmgit/common/GitPlugin.class.php -text
gforge/plugins/scmgit/common/scmgit-init.php -text
+gforge/plugins/scmgit/db/scmgit-init.sql -text
gforge/plugins/scmgit/etc/plugins/scmgit/config.php -text
+gforge/plugins/scmgit/www/index.php -text
gforge/plugins/scmhg/common/HgPlugin.class.php -text
gforge/plugins/scmhg/common/scmhg-init.php -text
gforge/plugins/scmhg/etc/plugins/scmhg/config.php -text
gforge/plugins/wiki/www/doc/README.phpwiki-cache -text
gforge/plugins/wiki/www/doc/README.security -text
gforge/plugins/wiki/www/doc/THEMES -text
+gforge/plugins/wiki/www/doc/phpwiki.doxygen -text
gforge/plugins/wiki/www/doc/phpwiki_architecture.png -text
gforge/plugins/wiki/www/favicon.ico -text
gforge/plugins/wiki/www/g -text
gforge/translations/th.po -text
gforge/translations/zh_CN.po -text
gforge/translations/zh_TW.po -text
+gforge/utils/fixscripts/normalize_roles.php -text
gforge/utils/fusionforge-shell-postgresql.spec -text
gforge/utils/inject-files.php -text
gforge/utils/inject-groups.php -text
gforge/utils/ldap/sql2ldifadd.pl -text
gforge/utils/ldap/sql2ldifmod.pl -text
gforge/utils/manage-translations.sh -text
+gforge/www/admin/pi.php -text
gforge/www/docman/include/vtemplate.class.php -text
gforge/www/docman/search.php -text
gforge/www/docman/search.tpl.html -text
gforge/www/images/smiles/icon_wink.gif -text
gforge/www/images/t.png -text
gforge/www/images/t2.png -text
+gforge/www/include/plugins_utils.php -text
+gforge/www/include/preplugins.php -text
gforge/www/include/unicode.php -text
gforge/www/js/common.js -text
gforge/www/js/sortable.js -text
gforge/www/plugins/helloworld -text
gforge/www/plugins/mailman -text
gforge/www/plugins/mantis -text
+gforge/www/plugins/mediawiki -text
gforge/www/plugins/online_help -text
gforge/www/plugins/projects_hierarchy -text
gforge/www/plugins/quota_management -text
gforge/www/themes/gforge/images/ic/wiki20g.png -text svneol=unset#unset
gforge/www/themes/gforge/images/ic/write16w.png -text
gforge/www/themes/gforge/images/ic/xmail16w.png -text
+gforge/www/themes/gforge/images/logo200x200.png -text
gforge/www/themes/gforge/images/notes.png -text svneol=unset#unset
gforge/www/themes/gforge/images/spacer.gif -text svneol=unset#unset
gforge/www/themes/gforge/images/t.png -text
packaging/tag_delivery_delete -text
packaging/tag_packaging_create -text
packaging/tag_packaging_delete -text
+plugins/coclico/Makefile -text
+plugins/coclico/Makefile.debian -text
+plugins/coclico/forumml/README.txt -text
+plugins/coclico/forumml/TODO -text
+plugins/coclico/forumml/bin/db-upgrade.pl -text
+plugins/coclico/forumml/bin/installFF.sh -text
+plugins/coclico/forumml/bin/mail_2_DB.php -text
+plugins/coclico/forumml/bin/mail_2_DB.pl -text
+plugins/coclico/forumml/bin/mail_2_DBFF.php -text
+plugins/coclico/forumml/bin/mail_2_DBFF.pl -text
+plugins/coclico/forumml/bin/ml_arch_2_DB.pl -text
+plugins/coclico/forumml/bin/ml_arch_2_DBFF.pl -text
+plugins/coclico/forumml/common/forumml-init.php -text
+plugins/coclico/forumml/db/forumml-init.sql -text
+plugins/coclico/forumml/db/install.sql -text
+plugins/coclico/forumml/debian/README.Debian -text
+plugins/coclico/forumml/debian/README.source -text
+plugins/coclico/forumml/debian/changelog -text
+plugins/coclico/forumml/debian/compat -text
+plugins/coclico/forumml/debian/control -text
+plugins/coclico/forumml/debian/copyright -text
+plugins/coclico/forumml/debian/docs -text
+plugins/coclico/forumml/debian/dsf-in/plugin-forumml.postinst -text
+plugins/coclico/forumml/debian/dsf-in/plugin-forumml.prerm -text
+plugins/coclico/forumml/debian/po/templates.pot -text
+plugins/coclico/forumml/debian/rules -text
+plugins/coclico/forumml/debian/source/format -text
+plugins/coclico/forumml/etc/forumml.inc.dist -text
+plugins/coclico/forumml/include/ForumMLGroupSearchEngine.class.php -text
+plugins/coclico/forumml/include/ForumMLHtmlSearchRenderer.class.php -text
+plugins/coclico/forumml/include/ForumMLInsert.class.php -text
+plugins/coclico/forumml/include/ForumMLPluginDescriptor.class.php -text
+plugins/coclico/forumml/include/ForumMLPluginInfo.class.php -text
+plugins/coclico/forumml/include/ForumMLSearchEngine.class.php -text
+plugins/coclico/forumml/include/ForumMLSearchQuery.class.php -text
+plugins/coclico/forumml/include/ForumML_Attachment.class.php -text
+plugins/coclico/forumml/include/ForumML_AttachmentDao.class.php -text
+plugins/coclico/forumml/include/ForumML_FileStorage.class.php -text
+plugins/coclico/forumml/include/ForumML_HTMLPurifier.class.php -text
+plugins/coclico/forumml/include/ForumML_MessageDao.class.php -text
+plugins/coclico/forumml/include/ForumML_MessageManager.class.php -text
+plugins/coclico/forumml/include/ForumML_mimeDecode.class.php -text
+plugins/coclico/forumml/include/forummlPlugin.class.php -text
+plugins/coclico/forumml/packaging/control/000source -text
+plugins/coclico/forumml/packaging/control/222plugin-forumml -text
+plugins/coclico/forumml/packaging/control/222plugin-forumml.shortdesc -text
+plugins/coclico/forumml/packaging/dirs/plugin-forumml -text
+plugins/coclico/forumml/packaging/docs/plugin-forumml -text
+plugins/coclico/forumml/packaging/install/plugin-forumml -text
+plugins/coclico/forumml/packaging/links/plugin-forumml -text
+plugins/coclico/forumml/selinux/forumml0.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml0.te -text
+plugins/coclico/forumml/selinux/forumml1.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml1.te -text
+plugins/coclico/forumml/selinux/forumml2.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml2.te -text
+plugins/coclico/forumml/selinux/forumml3.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml3.te -text
+plugins/coclico/forumml/selinux/forumml4.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml4.te -text
+plugins/coclico/forumml/selinux/forumml5.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml5.te -text
+plugins/coclico/forumml/selinux/forumml6.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml6.te -text
+plugins/coclico/forumml/selinux/forumml7.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml7.te -text
+plugins/coclico/forumml/selinux/forumml8.pp -text svneol=unset#unset
+plugins/coclico/forumml/selinux/forumml8.te -text
+plugins/coclico/forumml/site-content/en_US/forumml.tab -text
+plugins/coclico/forumml/site-content/fr_FR/forumml.tab -text
+plugins/coclico/forumml/tests/ForumML_FileStorageTest.php -text
+plugins/coclico/forumml/tests/ForumML_InsertTest.php -text
+plugins/coclico/forumml/tests/_fixtures/samples/attachment_only.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/html_with_inline_content_and_attch_in_html_only.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/html_with_inline_content_and_attch_in_text_plus_html.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/html_with_inline_content_in_html_only.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/html_with_inline_content_in_text_plus_html.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/pure_html_in_html_only.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/pure_html_text_plus_html.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/pure_text.mbox -text
+plugins/coclico/forumml/tests/_fixtures/samples/text_plus_attachment.mbox -text
+plugins/coclico/forumml/translations/en.po -text
+plugins/coclico/forumml/translations/gforge.pot -text
+plugins/coclico/forumml/utils/manage-translations.sh -text
+plugins/coclico/forumml/www/forumml_utils.php -text
+plugins/coclico/forumml/www/index.php -text
+plugins/coclico/forumml/www/message.php -text
+plugins/coclico/forumml/www/scripts/cc_attach_js.php -text
+plugins/coclico/forumml/www/scripts/forumml.js -text
+plugins/coclico/forumml/www/themes/default/css/style.css -text
+plugins/coclico/forumml/www/themes/default/images/ic/attach.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/comment.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/comment_add.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/comments.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/msg.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_first.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_first_disabled.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_last.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_last_disabled.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_next.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_next_disabled.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_previous.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/resultset_previous_disabled.png -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/spinner-greenie.gif -text svneol=unset#unset
+plugins/coclico/forumml/www/themes/default/images/ic/trash.png -text svneol=unset#unset
+plugins/coclico/forumml/www/upload.php -text
+plugins/coclico/mailman/README.txt -text
+plugins/coclico/mailman/bin/db-delete.pl -text
+plugins/coclico/mailman/bin/db-upgrade.pl -text
+plugins/coclico/mailman/common/mailman-init.php -text
+plugins/coclico/mailman/cronjobs/manage_mailmanlists.php -text
+plugins/coclico/mailman/db/mailman-init.sql -text
+plugins/coclico/mailman/debian/README.Debian -text
+plugins/coclico/mailman/debian/README.source -text
+plugins/coclico/mailman/debian/changelog -text
+plugins/coclico/mailman/debian/compat -text
+plugins/coclico/mailman/debian/control -text
+plugins/coclico/mailman/debian/copyright -text
+plugins/coclico/mailman/debian/docs -text
+plugins/coclico/mailman/debian/dsf-in/plugin-mailman.postinst -text
+plugins/coclico/mailman/debian/dsf-in/plugin-mailman.prerm -text
+plugins/coclico/mailman/debian/po/templates.pot -text
+plugins/coclico/mailman/debian/rules -text
+plugins/coclico/mailman/debian/source/format -text
+plugins/coclico/mailman/etc/httpd.d/200list.vhost -text
+plugins/coclico/mailman/etc/httpd.d/20list -text
+plugins/coclico/mailman/etc/httpd.d/20zlist.vhost -text
+plugins/coclico/mailman/etc/httpd.d/21list.vhost.ssl -text
+plugins/coclico/mailman/etc/httpd.d/62plugin-list-mailman -text
+plugins/coclico/mailman/etc/plugins/mailman/config.php -text
+plugins/coclico/mailman/include/BackendMailmanList.class.php -text
+plugins/coclico/mailman/include/MailmanList.class.php -text
+plugins/coclico/mailman/include/MailmanListDao.class.php -text
+plugins/coclico/mailman/include/MailmanListFactory.class.php -text
+plugins/coclico/mailman/include/MailmanPluginDescriptor.class.php -text
+plugins/coclico/mailman/include/MailmanPluginInfo.class.php -text
+plugins/coclico/mailman/include/MailsForUser.class.php -text
+plugins/coclico/mailman/include/events/SystemEvent_MAILMAN_LIST_CREATE.class.php -text
+plugins/coclico/mailman/include/events/SystemEvent_MAILMAN_LIST_DELETE.class.php -text
+plugins/coclico/mailman/include/mailman-init.php -text
+plugins/coclico/mailman/include/mailmanPlugin.class.php -text
+plugins/coclico/mailman/packaging/control/000source -text
+plugins/coclico/mailman/packaging/control/222plugin-mailman -text
+plugins/coclico/mailman/packaging/control/222plugin-mailman.shortdesc -text
+plugins/coclico/mailman/packaging/cron.d/plugin-mailman -text
+plugins/coclico/mailman/packaging/dirs/plugin-mailman -text
+plugins/coclico/mailman/packaging/docs/plugin-mailman -text
+plugins/coclico/mailman/packaging/install/plugin-mailman -text
+plugins/coclico/mailman/packaging/links/plugin-mailman -text
+plugins/coclico/mailman/translations/en.po -text
+plugins/coclico/mailman/translations/gforge.pot -text
+plugins/coclico/mailman/usr/lib/mailman/Mailman/ExternalConnector.py -text
+plugins/coclico/mailman/usr/lib/mailman/Mailman/ForgeSecurityManager.py -text
+plugins/coclico/mailman/usr/lib/mailman/Mailman/MySQLConnector.py -text
+plugins/coclico/mailman/usr/lib/mailman/Mailman/PsycopgConnector.py -text
+plugins/coclico/mailman/utils/manage-translations.sh -text
+plugins/coclico/mailman/var/lib/mailman/lists/extend.py -text
+plugins/coclico/mailman/www/admin/deletelist.php -text
+plugins/coclico/mailman/www/admin/index.php -text
+plugins/coclico/mailman/www/index.html -text
+plugins/coclico/mailman/www/index.php -text
+plugins/coclico/mailman/www/mailman_utils.php -text
+plugins/coclico/mailman/www/themes/default/images/ic/add.png -text svneol=unset#unset
+plugins/coclico/mailman/www/themes/default/images/ic/delete.png -text svneol=unset#unset
+plugins/coclico/mailman/www/themes/default/images/ic/tick.png -text svneol=unset#unset
+plugins/templates/createplugin.sh -text
+plugins/templates/helloworld/bin/db-delete.pl -text
+plugins/templates/helloworld/bin/db-upgrade.pl -text
+plugins/templates/helloworld/cronjobs/manage_helloworld.php -text
+plugins/templates/helloworld/debian/README.Debian -text
+plugins/templates/helloworld/debian/README.source -text
+plugins/templates/helloworld/debian/changelog -text
+plugins/templates/helloworld/debian/compat -text
+plugins/templates/helloworld/debian/control -text
+plugins/templates/helloworld/debian/copyright -text
+plugins/templates/helloworld/debian/docs -text
+plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.postinst -text
+plugins/templates/helloworld/debian/dsf-in/plugin-helloworld.prerm -text
+plugins/templates/helloworld/debian/po/templates.pot -text
+plugins/templates/helloworld/debian/rules -text
+plugins/templates/helloworld/debian/source/format -text
+plugins/templates/helloworld/etc/httpd.d/62plugin-helloworld -text
+plugins/templates/helloworld/packaging/control/000source -text
+plugins/templates/helloworld/packaging/control/222plugin-helloworld -text
+plugins/templates/helloworld/packaging/control/222plugin-helloworld.shortdesc -text
+plugins/templates/helloworld/packaging/dirs/plugin-helloworld -text
+plugins/templates/helloworld/packaging/docs/plugin-helloworld -text
+plugins/templates/helloworld/packaging/install/plugin-helloworld -text
+plugins/templates/helloworld/packaging/links/plugin-helloworld -text
+plugins/templates/helloworld/translations/en.po -text
+plugins/templates/helloworld/translations/gforge.pot -text
+plugins/templates/helloworld/utils/manage-translations.sh -text
+plugins/templates/helloworld/www/admin/index.php -text
+plugins/templates/scmcpold/common/CpoldPlugin.class.php -text
+plugins/templates/scmcpold/common/scmcpold-init.php -text
+plugins/templates/scmcpold/etc/plugins/scmcpold/config.php -text
+plugins/templates/scmcpold/packaging/control/137plugin-scmcpold -text
+plugins/templates/scmcpold/packaging/control/137plugin-scmcpold.shortdesc -text
+plugins/templates/scmcpold/packaging/dirs/plugin-scmcpold -text
+plugins/templates/scmcpold/packaging/install/plugin-scmcpold -text
tests/AllFullTests.php -text
tests/AllTests.php -text
tests/SeleniumTests.php -text
tests/TarCentos52Tests.php -text
-tests/build/documentation/AllTests.php -text
-tests/build/documentation/DocumentationTests.php -text
-tests/build/packages/AllTests.php -text
-tests/build/packages/BuildTests.php -text
-tests/code/deprecations/AllTests.php -text
-tests/code/deprecations/DeprecationsTests.php -text
-tests/code/syntax/AllTests.php -text
-tests/code/syntax/SyntaxTests.php -text
+tests/build/documentation/DocumentationTest.php -text
+tests/build/packages/BuildTest.php -text
+tests/code/deprecations/DeprecationsTest.php -text
+tests/code/syntax/SyntaxTest.php -text
tests/func/AllTests.php -text
-tests/func/Forums/AllTests.php -text
-tests/func/Forums/forums.php -text
-tests/func/News/AllTests.php -text
-tests/func/News/news.php -text
+tests/func/Forums/forumsTest.php -text
+tests/func/News/newsTest.php -text
+tests/func/PluginsBlocks/blocksTest.php -text
tests/func/README.TXT -text
-tests/func/Site/AllTests.php -text
-tests/func/Site/login.php -text
-tests/func/Site/projects.php -text
+tests/func/Site/loginTest.php -text
+tests/func/Site/projectsTest.php -text
tests/func/Site/top.php -text
-tests/func/Site/trove.php -text
+tests/func/Site/troveTest.php -text
tests/func/Soap/AllTests.php -text
tests/func/Soap/checks.php -text
tests/func/Soap/login.php -text
tests/func/Soap/usergroup.php -text
-tests/func/Tasks/AllTests.php -text
-tests/func/Tasks/createTask.php -text
+tests/func/Tasks/createTaskTest.php -text
tests/func/Testing/SeleniumGforge.php -text
tests/func/Testing/SeleniumRemoteSuite.php -text
-tests/func/Trackers/AllTests.php -text
-tests/func/Trackers/relation.php -text
-tests/func/Trackers/trackers.php -text
-tests/func/Trackers/workflow.php -text
+tests/func/Trackers/relationTest.php -text
+tests/func/Trackers/trackersTest.php -text
+tests/func/Trackers/workflowTest.php -text
tests/func/config.php.sample -text
tests/func/config.php.tests -text
tests/func/db_reload.php -text
tests/scripts/start_vz.sh -text
tests/scripts/stop_vm.sh -text
tests/scripts/stop_vz.sh -text
-tests/unit/AllTests.php -text
-tests/unit/utils/AllTests.php -text
-tests/unit/utils/DbUtilsTests.php -text
-tests/unit/utils/TextSanitizerTests.php -text
-tests/unit/utils/UtilsTests.php -text
+tests/unit/config/ConfigTest.php -text
+tests/unit/utils/DbUtilsTest.php -text
+tests/unit/utils/HtmlPurifierTest.php -text
+tests/unit/utils/TextSanitizerTest.php -text
+tests/unit/utils/UtilsTest.php -text
tools/check_and_update_forum_role_settings.php -text
tools/export-tracker.tcl -text
tools/jpgraph_pietest.php -text
tools/tab2po/src/test/resources/translations/fr.po -text
tools/tab2po/src/test/resources/translations/fr.po.new -text
tools/tab2po/src/test/resources/translations/gforge.pot -text
+tools/unify_config.sh -text
tools/update-gettext-files.sh -text
--- /dev/null
+DIRLIST=db2latex-xsl htmlpurifier mailman nusoap php-apache-log4php php-mail-mbox
+
+%:
+ @for dir in $(DIRLIST); do \
+ cd $(CURDIR)/$$dir ; $(MAKE) $@ ; \
+ done
+
+.PHONY:$(DIRLIST)
+
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+PKGDIR=db2latex-xsl-0.8pre1
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | head -1 | sed 's/.[^-]*-\(.*\)/\1/')
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
--- /dev/null
+include ../../Makefile.debian
--- /dev/null
+Format: 1.0
+Source: db2latex-xsl
+Binary: db2latex-xsl, db2latex-xsl-doc
+Architecture: all
+Version: 0.8pre1-6.1
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
+Uploaders: W. Borgert <debacle@debian.org>, Ardo van Rangelrooij <ardo@debian.org>
+Standards-Version: 3.6.1
+Build-Depends-Indep: debhelper (>= 4.2), docbook-xsl (>= 1.64.1.0), xml-core, xsltproc, cdbs (>= 0.4.8)
+Checksums-Sha1:
+ 9c4b367b21552b7205ec242c559dc96ccdae9ed8 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ e59b1e861d39b5fbb9d65d6b3cf1428f1bace45a 7030 db2latex-xsl_0.8pre1-6.1.diff.gz
+Checksums-Sha256:
+ 57be6b32779c75274764faac95603d8042538ebf14f6ba69cb7bc8fe45bb5a82 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ 86af5b8c402ec188efd067bc147cde902a461d3c02b63c347cdedaa6ca89ae7e 7030 db2latex-xsl_0.8pre1-6.1.diff.gz
+Files:
+ d59d135fb0a0042c5ee435296e0c29c0 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ 08581cb81ffa865000bc855c314d3d9d 7030 db2latex-xsl_0.8pre1-6.1.diff.gz
--- /dev/null
+Format: 1.0
+Source: db2latex-xsl
+Binary: db2latex-xsl, db2latex-xsl-doc
+Architecture: all
+Version: 0.8pre1-6.2
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
+Uploaders: W. Borgert <debacle@debian.org>, Ardo van Rangelrooij <ardo@debian.org>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 4.2), docbook-xsl (>= 1.64.1.0), xml-core, xsltproc, cdbs (>= 0.4.8)
+Checksums-Sha1:
+ 9c4b367b21552b7205ec242c559dc96ccdae9ed8 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ e65f281045cbc39ceb2f224d87766421018fbb99 7230 db2latex-xsl_0.8pre1-6.2.diff.gz
+Checksums-Sha256:
+ 57be6b32779c75274764faac95603d8042538ebf14f6ba69cb7bc8fe45bb5a82 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ fcf9e1c4612e2a15cf9b34537ddf92b8c8eb1065082916d7f3e05dc8af79be93 7230 db2latex-xsl_0.8pre1-6.2.diff.gz
+Files:
+ d59d135fb0a0042c5ee435296e0c29c0 3527840 db2latex-xsl_0.8pre1.orig.tar.gz
+ f26a33a09b1ec6b3f3597edc3cb11e6b 7230 db2latex-xsl_0.8pre1-6.2.diff.gz
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+DEBIANLIST=1lenny
+UBUNTULIST="1jaunty 1karmic 1lucid"
+
+PKGDIR=php-htmlpurifier-4.0.0+dfsg1
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | head -1 | sed 's/.[^-]*-\(.*\)/\1/')
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR) DEBIANLIST=$(DEBIANLIST) UBUNTULIST=$(UBUNTULIST)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ #dget http://ftp.fr.debian.org/debian/pool/main/p/php-htmlpurifier/php-htmlpurifier_4.0.0+dfsg1-1.dsc
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
--- /dev/null
+include ../../Makefile.debian
Summary: HTML Purifier is a standards-compliant HTML filter library written in PHP.
Name: htmlpurifier
Version: 4.0.0
-Release: 0
+Release: 1
License: LGPL
Group: Development/Languages
URL: http://htmlpurifier.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
-Requires: webserver, php
+Requires: php >= 5.0.5
%description
HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML
%doc art benchmarks configdoc CREDITS docs INSTALL INSTALL.fr.utf8 LICENSE NEWS README TODO VERSION WHATSNEW WYSIWYG
%changelog
-* Thu Sep 24 2009 Alain Peyrat <aljeux@free.fr> - 4.0.0
+* Sun Mar 28 2010 Alain Peyrat <aljeux@free.fr> - 4.0.0-1
+- Removed requirement to webserver, set php >= 5.0.5
+
+* Thu Sep 24 2009 Alain Peyrat <aljeux@free.fr> - 4.0.0-0
- Updated to v4.0.0
- Changed installation path to /usr/share/php to use the share path with debian.
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA384
+
+Format: 1.0
+Source: php-htmlpurifier
+Binary: php-htmlpurifier
+Architecture: all
+Version: 4.0.0+dfsg1-1
+Maintainer: Christian Bayle <bayle@debian.org>
+Uploaders: Thorsten Glaser <tg@mirbsd.de>, Roland Mas <lolando@debian.org>
+Homepage: http://htmlpurifier.org/
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 5)
+Checksums-Sha1:
+ d446f6ce70ecdc0e87b06f5b1d097e4f2d52ce91 548560 php-htmlpurifier_4.0.0+dfsg1.orig.tar.gz
+ 73cf2be794f7f1b9f4bbde5a19063f314470a369 2954 php-htmlpurifier_4.0.0+dfsg1-1.diff.gz
+Checksums-Sha256:
+ 2d5ad322d5510e98d10513eb6f604cc83819550d92bd87b89202399889225ceb 548560 php-htmlpurifier_4.0.0+dfsg1.orig.tar.gz
+ a0802f460ae3b6bb130700ee6d6155de6682314502607b49129615d89ec9a334 2954 php-htmlpurifier_4.0.0+dfsg1-1.diff.gz
+Files:
+ 33435e8b8e0077913ae147ebb4ff4336 548560 php-htmlpurifier_4.0.0+dfsg1.orig.tar.gz
+ f7a74ce3da04e8110c9977b868d6d83a 2954 php-htmlpurifier_4.0.0+dfsg1-1.diff.gz
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (MirBSD)
+
+iQIVAwUBS5+TPHa1NLLpkAfgAQmKKRAAvubXPB+puP8i17B+2n44Al7kNA8CddNd
+AfrIYS3lC2MopImQgegTJyNlTwjd8bMouQYEX5y1ZGtvjr1zHp/r2aWtjwqQmKjf
+Lr/F0DxjP1GNOwjbhR3bEy8gGqxGJ6SdSXaClIrYdDTQEfy51SGbOuiljb5wckxh
+GF76wuV7DdtI2T7lM7jwxCkGMPkhCp9hEc+14am5WilLvAEa4QcIn3oTw2aoK2lA
+/ggaKckV9RSfx+DPEJkwHV33tF/Wyqw/02dDKkc8EOkiOAD2bMfqJXz7g8YItzok
+lU9DcNmYu9GcM2MwI3yIrcMuZ72A5VZ3Ui/jxHjKe0/mjBwLt7aEN6hy1zIOHDQQ
+DLmjbBi9+7qFrbSv1ZG4eGsVEvSwskjvVVWZlMZfH2o1vOteFCuxbrDXHcnymDFT
+mCDtXfD6xF7Z2TBGhm9cmtrkVmMtYPVy1PHR3zvAhm6Kop81eDwpNGsJg78O/9L2
+tHO/iKliq7paEgz5GsfkmJREPboE9B2Mvnxr4RP3ksmS3pXy2MEQaoENXlNLn4h7
+JBoDeWzvR8O7lQPeMOuDJya/N8xs3ygj7UjVuyW59notEsV16/z0cU14rIjPENbu
+a2+8/ieOchoz5kb9gVnxapEnXgFl7MGBaO2Z8q/AAcKsjuC/s9x7wLplM2kT8Km7
+gjP/htra8Z8=
+=L19U
+-----END PGP SIGNATURE-----
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+PKGDIR=mailman-2.1.13
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | sed 's/.[^-]*-\(.*\)/\1/')
+
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
--- /dev/null
+include ../../Makefile.debian
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: mailman
+Binary: mailman
+Architecture: any
+Version: 1:2.1.13-2
+Maintainer: Mailman for Debian <pkg-mailman-hackers@lists.alioth.debian.org>
+Uploaders: Lionel Elie Mamane <lmamane@debian.org>, Thijs Kinkhorst <thijs@debian.org>, Hector Garcia <hector@debian.org>
+Homepage: http://www.list.org/
+Standards-Version: 3.8.4
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-mailman/trunk
+Vcs-Svn: svn://svn.debian.org/svn/pkg-mailman/trunk
+Build-Depends: debhelper (>= 7), autoconf, python-dev, python-support, quilt
+Checksums-Sha1:
+ 923dd78a17cbab576354b53a80443fe05f134398 8166504 mailman_2.1.13.orig.tar.gz
+ 7397928c576d777bbb0e8d95d587536a0c1bef4e 131643 mailman_2.1.13-2.diff.gz
+Checksums-Sha256:
+ ddab5169c851e49134d8e58fd0d5fd3b920d8ddb5f52582c2ec95076c746a25e 8166504 mailman_2.1.13.orig.tar.gz
+ 59f24769e9c82e42c750bded9d2b552f1defe384432609cc95fcb0db0fea4a2c 131643 mailman_2.1.13-2.diff.gz
+Files:
+ 3235323ccb3e0135c10b7c66a440390b 8166504 mailman_2.1.13.orig.tar.gz
+ 56bf65220fc3946f37b258dcc4938692 131643 mailman_2.1.13-2.diff.gz
+Python-Version: current
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iQEcBAEBCAAGBQJLpTgbAAoJECIIoQCMVaAcduUH/07u08FZvhthHh/5ZVYhnDlR
+oWpOIvxpF6mWQdBuPAXcVpyLbyE970M5pmRaKdeq/sRAvWZSRPn2U+1vvxcVvSGq
+tVHONts1hGcZPoBe4fE4jS19WIaCPEFEcs872FGo2eO6l6EjJYCmCCzwvGFkVjeE
+hPv1egCFdDvYwUApJPBzn5qo9U9Ec2aDjXJiT6rpKQaZ1tzxVUyJwIvn7Pywo8OV
+BXt+4fRwTBXdPLANqAFU0M1EZ4JK6hAHYss0tIANwq9Ryc7eMdMi77hidBjHqCXA
+R2kLNSGY4lRcajde9uto4d5bWuiwxoBGKG+1iOC/bVr51NBitHJvDCY07WYc5Vc=
+=QO5q
+-----END PGP SIGNATURE-----
--- /dev/null
+Format: 1.0
+Source: mailman
+Binary: mailman
+Architecture: any
+Version: 1:2.1.13-2coclico1
+Maintainer: Mailman for Debian <pkg-mailman-hackers@lists.alioth.debian.org>
+Uploaders: Lionel Elie Mamane <lmamane@debian.org>, Thijs Kinkhorst <thijs@debian.org>, Hector Garcia <hector@debian.org>
+Homepage: http://www.list.org/
+Standards-Version: 3.8.4
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-mailman/trunk
+Vcs-Svn: svn://svn.debian.org/svn/pkg-mailman/trunk
+Build-Depends: debhelper (>= 7), autoconf, python-dev, python-support, quilt
+Checksums-Sha1:
+ 923dd78a17cbab576354b53a80443fe05f134398 8166504 mailman_2.1.13.orig.tar.gz
+ 97781d4dc6a36dce57b71b44d9bdfc384f1a9da9 139836 mailman_2.1.13-2coclico1.diff.gz
+Checksums-Sha256:
+ ddab5169c851e49134d8e58fd0d5fd3b920d8ddb5f52582c2ec95076c746a25e 8166504 mailman_2.1.13.orig.tar.gz
+ 1ba62fd446610823c45e28ddbb6326f4024767894900d73b47cf4a78767d928c 139836 mailman_2.1.13-2coclico1.diff.gz
+Files:
+ 3235323ccb3e0135c10b7c66a440390b 8166504 mailman_2.1.13.orig.tar.gz
+ 7ec79a1898d811e3f86dbaff0373d4c7 139836 mailman_2.1.13-2coclico1.diff.gz
+Python-Version: current
--- /dev/null
+Format: 1.0
+Source: mailman
+Binary: mailman
+Architecture: any
+Version: 1:2.1.13-2coclico4
+Maintainer: Mailman for Debian <pkg-mailman-hackers@lists.alioth.debian.org>
+Uploaders: Lionel Elie Mamane <lmamane@debian.org>, Thijs Kinkhorst <thijs@debian.org>, Hector Garcia <hector@debian.org>
+Homepage: http://www.list.org/
+Standards-Version: 3.8.4
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-mailman/trunk
+Vcs-Svn: svn://svn.debian.org/svn/pkg-mailman/trunk
+Build-Depends: debhelper (>= 7), autoconf, python-dev, python-support, quilt
+Checksums-Sha1:
+ 923dd78a17cbab576354b53a80443fe05f134398 8166504 mailman_2.1.13.orig.tar.gz
+ fa0a0aa1a80544887dc7c40e82691dc7105fe23b 139926 mailman_2.1.13-2coclico4.diff.gz
+Checksums-Sha256:
+ ddab5169c851e49134d8e58fd0d5fd3b920d8ddb5f52582c2ec95076c746a25e 8166504 mailman_2.1.13.orig.tar.gz
+ f7cf76cbf6a24b84cf7d12640216ae58c109425b0f6228e8edb523d4041db562 139926 mailman_2.1.13-2coclico4.diff.gz
+Files:
+ 3235323ccb3e0135c10b7c66a440390b 8166504 mailman_2.1.13.orig.tar.gz
+ 65cf5ef0050e6cc460816799768bd692 139926 mailman_2.1.13-2coclico4.diff.gz
+Python-Version: current
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+DEBIANLIST=1lenny
+UBUNTULIST="1jaunty 1karmic"
+
+PKGDIR=nusoap-0.7.3
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | head -1 | sed 's/.[^-]*-\(.*\)/\1/')
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR) DEBIANLIST=$(DEBIANLIST) UBUNTULIST=$(UBUNTULIST)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ #apt-get source nusoap
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
--- /dev/null
+include ../../Makefile.debian
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+Format: 1.0
+Source: nusoap
+Binary: libnusoap-php
+Architecture: all
+Version: 0.7.3-2
+Maintainer: Olivier Berger <olivier.berger@it-sudparis.eu>
+Homepage: http://nusoap.sourceforge.net/
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 5)
+Checksums-Sha1:
+ 2a65857099dda2145df822ffe73f9a5e3b454f5f 154560 nusoap_0.7.3.orig.tar.gz
+ a45358a4617cd056fb5f2a287ae9eb38028494d6 2847 nusoap_0.7.3-2.diff.gz
+Checksums-Sha256:
+ 6f08db4a587ee379986ac879871ad6d990804eca3c7556b0640863cf929920f5 154560 nusoap_0.7.3.orig.tar.gz
+ 9f38fdc01e94cb0d58fb0c01b930dc10cf338b569e82c9cac8081f37de5966e2 2847 nusoap_0.7.3-2.diff.gz
+Files:
+ 4a9c43dce007fd6214c48b8bd46838b4 154560 nusoap_0.7.3.orig.tar.gz
+ 74c27666f493e637ad23d3e154ac536c 2847 nusoap_0.7.3-2.diff.gz
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iD8DBQFLA/XsDqdWtRRIQ/URAuNJAKCGryXIh+gl6vmPNcLzUdfJFdL0/gCfaGoq
+mpxSj+AmQNw1w4f7pogkYw0=
+=clB3
+-----END PGP SIGNATURE-----
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+DEBIANLIST="2squeeze 3sid"
+UBUNTULIST="1karmic 1lucid"
+
+PKGDIR=php-apache-log4php-2.0.0incubating
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | sed 's/.[^-]*-\(.*\)/\1/')
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR) DEBIANLIST=$(DEBIANLIST) UBUNTULIST=$(UBUNTULIST)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
+
+
+apache-log4php-2.0.0-incubating-src.tar.gz:
+ wget http://mirror.mkhelif.fr/apache/incubator/log4php/2.0.0/apache-log4php-2.0.0-incubating-src.tar.gz
+
+php-apache-log4php_2.0.0incubating.orig.tar.gz:
+ wget http://mirror.mkhelif.fr/apache/incubator/log4php/2.0.0/Apache_log4php-2.0.0-incubating-pear.tgz
+ mv Apache_log4php-2.0.0-incubating-pear.tgz php-apache-log4php_2.0.0incubating.orig.tar.gz
--- /dev/null
+include ../../Makefile.debian
--- /dev/null
+Format: 1.0
+Source: php-apache-log4php
+Binary: php-apache-log4php
+Architecture: all
+Version: 2.0.0incubating-1
+Maintainer: Christian Bayle <bayle@debian.org>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), dh-make-php (>= 0.2.3), cdbs
+Checksums-Sha1:
+ ecad2e39262cdd8201c170a9982c415b002b220c 73329 php-apache-log4php_2.0.0incubating.orig.tar.gz
+ 6d6cd9cc767f1635988c0089fd2f1c3c2955b276 1080 php-apache-log4php_2.0.0incubating-1.diff.gz
+Checksums-Sha256:
+ e5c6196cb94ec506380c77462b0e37ecfaee5ec855933ea9bde3b6c21d46dbc2 73329 php-apache-log4php_2.0.0incubating.orig.tar.gz
+ 02aefa6128d4c32fd9bc714e2cd4abb88456c6713a734316a54b6ed8ff089392 1080 php-apache-log4php_2.0.0incubating-1.diff.gz
+Files:
+ bf636864d5ee57c18d4651af5b24d7e3 73329 php-apache-log4php_2.0.0incubating.orig.tar.gz
+ fc51db7ea4938a7f2bc28e6dc174d89b 1080 php-apache-log4php_2.0.0incubating-1.diff.gz
--- /dev/null
+diff -Naur jpgraph-1.5.2.org/src/jpgraph_dir.php jpgraph-1.5.2/src/jpgraph_dir.php
+--- jpgraph-1.5.2.org/src/jpgraph_dir.php 2002-03-01 01:46:17.000000000 +0100
++++ jpgraph-1.5.2/src/jpgraph_dir.php 2008-12-09 21:55:28.000000000 +0100
+@@ -26,5 +26,6 @@
+
+ // Directory for TTF fonts. Must end with '/'
+ DEFINE("TTF_DIR","/usr/local/fonts/ttf/");
++DEFINE("LIBERATION_DIR","/usr/share/fonts/liberation/");
+
+ ?>
+diff -Naur jpgraph-1.5.2.org/src/jpgraph_gantt.php jpgraph-1.5.2/src/jpgraph_gantt.php
+--- jpgraph-1.5.2.org/src/jpgraph_gantt.php 2002-03-01 01:46:17.000000000 +0100
++++ jpgraph-1.5.2/src/jpgraph_gantt.php 2008-12-09 21:55:28.000000000 +0100
+@@ -1157,10 +1157,6 @@
+ $this->iCaptionMargin=$aMarg;
+ }
+
+- function GetLineNbr() {
+- return 0;
+- }
+-
+ function GetAbsHeight($aImg) {
+ return 0;
+ }
+@@ -1189,7 +1185,7 @@
+ $this->iProgress = $aProg;
+ }
+
+- function SetPattern($aPattern,$aColor="blue",$aDensity=98) {
++ function SetPattern($aPattern,$aColor="blue",$aDensity=100) {
+ $this->iPattern = $aPattern;
+ $this->iColor = $aColor;
+ $this->iDensity = $aDensity;
+diff -Naur jpgraph-1.5.2.org/src/jpgraph.php jpgraph-1.5.2/src/jpgraph.php
+--- jpgraph-1.5.2.org/src/jpgraph.php 2002-03-01 01:46:17.000000000 +0100
++++ jpgraph-1.5.2/src/jpgraph.php 2008-12-09 21:55:28.000000000 +0100
+@@ -30,7 +30,8 @@
+ // regenerate the image. Note that even if reading the cache is
+ // disabled the cached will still be updated with the newly generated
+ // image. Set also "USE_CACHE" below.
+-DEFINE("READ_CACHE",true);
++//DEFINE("READ_CACHE",true);
++DEFINE("READ_CACHE",false);
+
+ // Should the cache be used at all? By setting this to false no
+ // files will be generated in the cache directory.
+@@ -38,7 +39,8 @@
+ // false will still create the image in the cache directory
+ // just not use it. By setting USE_CACHE=false no files will even
+ // be generated in the cache directory.
+-DEFINE("USE_CACHE",true);
++//DEFINE("USE_CACHE",true);
++DEFINE("USE_CACHE",false);
+
+ // If the color palette is full should JpGraph try to allocate
+ // the closest match? If you plan on using background image or
+@@ -104,6 +106,7 @@
+ DEFINE("FF_COMIC",14);
+ DEFINE("FF_ARIAL",15);
+ DEFINE("FF_BOOK",16);
++DEFINE("FF_LIBERATION_SANS",17);
+
+ // TTF Font styles
+ DEFINE("FS_NORMAL",1);
+@@ -251,11 +254,11 @@
+ // Check what version of the GD library is being used
+ //
+ if(function_exists('imagecopyresampled') ) {
+- $gd2 = true;
++ $GLOBALS['gd2'] = true;
+ $copyfunc = "imagecopyresampled";
+ } elseif(function_exists('imagecopyresized')) {
+ $copyfunc = "imagecopyresized";
+- $gd2 = false;
++ $GLOBALS['gd2'] = false;
+ }
+ else {
+ JpGraphError::Raise("<b>JpGraph Error:</b> Your PHP installation does not
+@@ -272,7 +275,6 @@
+ // (top level), i.e it is safe to call this function
+ // from a script that uses JpGraph
+ function GenImgName() {
+- global $HTTP_SERVER_VARS;
+ $supported = imagetypes();
+ if( $supported & IMG_PNG )
+ $img_format="png";
+@@ -280,10 +282,10 @@
+ $img_format="gif";
+ elseif( $supported & IMG_JPG )
+ $img_format="jpeg";
+- if( !isset($HTTP_SERVER_VARS['PHP_SELF']) )
++ if( !isset($_SERVER['PHP_SELF']) )
+ JpGraphError::Raise("<b>JpGraph Error:</b> Can't access PHP_SELF, PHP global variable. You can't run PHP from command line
+ if you want to use the 'auto' naming of cache or image files.");
+- $fname=basename($HTTP_SERVER_VARS['PHP_SELF']);
++ $fname=basename($_SERVER['PHP_SELF']);
+ // Replace the ".php" extension with the image format extension
+ return substr($fname,0,strlen($fname)-4).".".$img_format;
+ }
+@@ -489,6 +491,7 @@
+
+ // Specify a background image
+ function SetBackgroundImage($aFileName,$aBgType=BKIMG_FILLPLOT,$aImgFormat="png") {
++/* CB Not any more bugging
+
+ if( $GLOBALS["gd2"] && !USE_TRUECOLOR ) {
+ JpGraphError::Raise("<b>JpGraph Error:</b>You are using GD 2.x and are
+@@ -500,6 +503,7 @@
+ using any truetype fonts with truecolor images will result in very
+ poor quality fonts.");
+ }
++*/
+
+ $this->background_image = $aFileName;
+ $this->background_image_type=$aBgType;
+@@ -1064,6 +1068,10 @@
+ $this->img->Rectangle(0,0,$this->img->width-1,$this->img->height-1);
+ }
+ }
++ // Set Margin by Christian Bayle
++ function SetMargin($lm,$rm,$tm,$bm) {
++ $this->img->SetMargin($lm,$rm,$tm,$bm);
++ }
+ } // Class
+
+
+@@ -1084,7 +1092,8 @@
+ FF_HANDWRT => TTF_DIR."handwriting",
+ FF_COMIC => TTF_DIR."comic",
+ FF_ARIAL => TTF_DIR."arial",
+- FF_BOOK => TTF_DIR."bookant");
++ FF_BOOK => TTF_DIR."bookant",
++ FF_LIBERATION_SANS => LIBERATION_DIR."LiberationSans-Regular");
+ }
+
+ //---------------
+@@ -3183,7 +3192,7 @@
+ }
+ }
+ }
+- elseif($this->font_family >= FF_COURIER && $this->font_family <= FF_BOOK) { // TTF font
++ elseif($this->font_family >= FF_COURIER && $this->font_family <= FF_LIBERATION_SANS) { // TTF font
+ $file = $this->ttf->File($this->font_family,$this->font_style);
+ $angle=$dir;
+ $bbox=ImageTTFBBox($this->font_size,$angle,$file,$txt);
+@@ -3208,7 +3217,7 @@
+ }
+ }
+ else
+- JpGraphError::Raise("<b>JpGraph Error:</b> Unknown font font family specification. ");
++ JpGraphError::Raise("<b>JpGraph Error:</b> Unknown font family specification: ". $this->font_family);
+ }
+
+ function SetMargin($lm,$rm,$tm,$bm) {
+@@ -3490,7 +3499,16 @@
+ }
+
+ function FilledCircle($xc,$yc,$r) {
+- imagefilledellipse($this->img,$xc,$yc,2*$r,2*$r,$this->current_color);
++ if( $GLOBALS['gd2'] ) {
++ imagefilledellipse($this->img,$xc,$yc,2*$r,2*$r,$this->current_color);
++ }
++ else {
++ for( $i=1; $i < 2*$r; $i += 2 ) {
++ $this->Arc($xc,$yc,$i,$i,0,360);
++ $this->Arc($xc,$yc,$i+1,$i,0,360);
++ $this->Arc($xc,$yc,$i+1,$i+1,0,360);
++ }
++ }
+ }
+
+ // Linear Color InterPolation
--- /dev/null
+diff -Naur jpgraph-1.5.2.org/src/jpgraph_dir.php jpgraph-1.5.2/src/jpgraph_dir.php
+--- jpgraph-1.5.2.org/src/jpgraph_dir.php 2010-03-30 23:47:09.000000000 +0200
++++ jpgraph-1.5.2/src/jpgraph_dir.php 2010-03-30 23:51:52.000000000 +0200
+@@ -25,9 +25,9 @@
+ DEFINE("APACHE_CACHE_DIR","/jpgraph_cache/");
+
+ // Directory for TTF fonts. Must end with '/'
+-DEFINE("TTF_DIR","/usr/share/fonts/truetype/msttcorefonts/");
++DEFINE("TTF_DIR","/usr/local/fonts/ttf/");
+
+-// Add Free liberation font as suggested by Alain Peyrat
+-DEFINE("LIBERATION_DIR","/usr/share/fonts/truetype/ttf-liberation/");
++// Add Free liberation font
++DEFINE("LIBERATION_DIR","/usr/share/fonts/liberation/");
+
+ ?>
+diff -Naur jpgraph-1.5.2.org/src/jpgraph.php jpgraph-1.5.2/src/jpgraph.php
+--- jpgraph-1.5.2.org/src/jpgraph.php 2010-03-30 23:47:09.000000000 +0200
++++ jpgraph-1.5.2/src/jpgraph.php 2010-03-30 23:55:57.000000000 +0200
+@@ -1095,13 +1095,13 @@
+ function TTF() {
+ // Base file names for available fonts
+ $this->font_fam=array(
+- FF_COURIER => TTF_DIR."Courier_New",
+- FF_VERDANA => TTF_DIR."Verdana",
+- FF_TIMES => TTF_DIR."Times",
+- FF_HANDWRT => TTF_DIR."Handwriting",
+- FF_COMIC => TTF_DIR."Comic",
+- FF_ARIAL => TTF_DIR."Arial",
+- FF_BOOK => TTF_DIR."Bookant",
++ FF_COURIER => TTF_DIR."courier",
++ FF_VERDANA => TTF_DIR."verdana",
++ FF_TIMES => TTF_DIR."times",
++ FF_HANDWRT => TTF_DIR."handwriting",
++ FF_COMIC => TTF_DIR."comic",
++ FF_ARIAL => TTF_DIR."arial",
++ FF_BOOK => TTF_DIR."bookant",
+ FF_LIBERATION_SANS => LIBERATION_DIR."LiberationSans-Regular");
+ }
+
+@@ -1114,11 +1114,11 @@
+ switch( $style ) {
+ case FS_NORMAL:
+ break;
+- case FS_BOLD: $f .= "_Bold";
++ case FS_BOLD: $f .= "bd";
+ break;
+- case FS_ITALIC: $f .= "_Italic";
++ case FS_ITALIC: $f .= "i";
+ break;
+- case FS_BOLDIT: $f .= "_Bold_Italic";
++ case FS_BOLDIT: $f .= "bi";
+ break;
+ default:
+ JpGraphError::Raise("<b>JpGraph Error:</b> Unknown TTF Style.");
--- /dev/null
+# $Id: php-jpgraph.spec 4308 2006-04-21 22:20:20Z dries $
+# Authority: dag
+
+%define real_name jpgraph
+
+Summary: OO Graph Library for PHP
+Name: php-jpgraph
+Version: 1.5.2
+Release: 1
+License: GPL
+Group: Development/Languages
+URL: http://www.aditus.nu/jpgraph/
+
+Source: http://members.chello.se/jpgraph/jpgdownloads/jpgraph-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+Requires: php
+Obsoletes: jpgraph
+Provides: jpgraph
+
+Patch0: libphp-jpgraph_1.5.2-12.diff
+Patch1: jpgraph-rhel-fonts.patch
+
+
+%description
+JpGraph is an OO class library for PHP 4.1 (or higher). JpGraph makes it
+easy to draw both "quick and dirty" graphs with a minimum of code and
+complex professional graphs which requires a very fine grain control.
+
+JpGraph is equally well suited for both scientific and business type of graphs.
+
+An important feature of the library is that it assigns context sensitive
+default values for most of the parameters which radically minimizes the
+learning curve. The features are there when you need it - they don't get
+in your way when you don't need them!
+
+%package docs
+Summary: Documentation for package %{name}
+Group: Documentation
+
+%description docs
+JpGraph is an OO class library for PHP 4.1 (or higher). JpGraph makes it
+easy to draw both "quick and dirty" graphs with a minimum of code and
+complex professional graphs which requires a very fine grain control.
+
+This package includes the documentation for %{name}.
+
+%prep
+%setup -n %{real_name}-%{version}
+%patch0 -p1
+%patch1 -p1
+
+### Change the default TTF_DIR to Red Hat's TTF_DIR.
+%{__perl} -pi.orig -e 's|/usr/X11R6/lib/X11/fonts/truetype/|/usr/X11R6/lib/X11/fonts/TTF/|' src/jpgraph.php
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_datadir}/%{real_name}
+%{__install} -p -m0644 src/jpgraph*.php %{buildroot}%{_datadir}/%{real_name}/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc README
+%{_datadir}/%{real_name}/
+
+%files docs
+%defattr(-, root, root, 0755)
+%doc src/Examples/
+
+%changelog
+* Mon Mar 29 2010 Alain Peyrat <aljeux@free.fr> - 1.5.2-1
+- Initial package, spec taken from DAG.
--- /dev/null
+DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
+DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
+
+PKGDIR=php-mail-mbox-0.6.3
+PKGDSC=$(shell ls *.dsc | sort -V -r | head -1)
+MINOR=$(shell grep ^Version $(PKGDSC) | sed 's/.[^-]*-\(.*\)/\1/')
+PARAM=PKGDIR=$(PKGDIR) svnrev=$(MINOR)
+
+default: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) default
+ @cat ../../Makefile.$(DIST) | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+
+%: $(PKGDIR)
+ @make -f Makefile.$(DIST) $(PARAM) $@
+
+$(PKGDIR):
+ #pear download channel://pear.php.net/Mail_Mbox-0.6.3
+ # gives Mail_Mbox-0.6.3.tgz
+ # then dh-make-pear Mail_Mbox-0.6.3.tgz
+ dpkg-source -x $(PKGDSC)
+
+clean:
+ rm -rf $(PKGDIR)
--- /dev/null
+include ../../Makefile.debian
--- /dev/null
+Format: 1.0
+Source: php-mail-mbox
+Binary: php-mail-mbox
+Architecture: all
+Version: 0.6.3-1
+Maintainer: Mélanie Le Bail <melanie.lebail@orange-ftgroup.com>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), dh-make-php (>= 0.2.3), cdbs
+Checksums-Sha1:
+ cd8aed7e1e0808201b05aaf05f9b2dcbcc442174 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ 36ba7b43b57db210f859850d5406dc53b57fd8b9 1711 php-mail-mbox_0.6.3-1.diff.gz
+Checksums-Sha256:
+ 1e3a6cc0f7665e090c26b9ad4aca9fa6a24b248347dc6982991bfcb27a4a12eb 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ 0618f07728d6bca042d7b8bc02f5a4d44289593bb682e11a67808bbec08fcff1 1711 php-mail-mbox_0.6.3-1.diff.gz
+Files:
+ e65b8828d2c49b14fe17de33b30589b1 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ f73b269a9b9fad72bce0887b49f4dc1a 1711 php-mail-mbox_0.6.3-1.diff.gz
--- /dev/null
+Format: 1.0
+Source: php-mail-mbox
+Binary: php-mail-mbox
+Architecture: all
+Version: 0.6.3-1coclico1
+Maintainer: Mélanie Le Bail <melanie.lebail@orange-ftgroup.com>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), dh-make-php (>= 0.2.3), cdbs
+Checksums-Sha1:
+ cd8aed7e1e0808201b05aaf05f9b2dcbcc442174 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ 86122879b0cbfa3d47980079284c8fbd0f3471ed 1531 php-mail-mbox_0.6.3-1coclico1.diff.gz
+Checksums-Sha256:
+ 1e3a6cc0f7665e090c26b9ad4aca9fa6a24b248347dc6982991bfcb27a4a12eb 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ 76de5794b742ea34ccbc756317a813dfeb67b874edd7224a6f27b9dcfad00029 1531 php-mail-mbox_0.6.3-1coclico1.diff.gz
+Files:
+ e65b8828d2c49b14fe17de33b30589b1 14331 php-mail-mbox_0.6.3.orig.tar.gz
+ 7aba97393f3b120172783636050a4a93 1531 php-mail-mbox_0.6.3-1coclico1.diff.gz
+#
+# This Makefile may be used to create packages for distributions
+#
+
DISTDEBIAN=$(shell [ -f /etc/debian_version ] && echo debian)
DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
ARCHIVE=$(CURDIR)/depot
+#ifeq ($(BUILDDIR),)
+# BUILDDIR=builddir
+#endif
BUILDRESULT=$(CURDIR)/result
+DOXYGEN=doxygen
+
VER=$(shell LANG=C grep '>software_version' gforge/common/include/FusionForge.class.php | cut -d\' -f2)
in_svn_repo:= $(wildcard .svn/)
ifeq ($(strip $(in_svn_repo)),)
switch:
@echo "=========================================================================="
- @echo "Use one of the following target with "
- @echo "make -f Makefile.$(DIST) <target>"
+ @echo "We have detected that your are running a '$(DIST)' distribution."
+ @echo "Use one of the following targets with "
+ @echo "$$ make -f Makefile.$(DIST) <target>"
@echo "=========================================================================="
- @make -f Makefile.$(DIST)
+ @$(MAKE) -f Makefile.$(DIST)
check:
+ ## To run test in verbose mode :
+ #cd tests ; phpunit --verbose unit; phpunit --verbose code;
cd tests ; php AllTests.php
buildtar:
cd gforge; find . -type f -or -type l | grep -v '/.svn/' | grep -v '^./debian' | grep -v '^./deb-specific' | grep -v '^./rpm-specific' | grep -v '^./contrib' | grep -v '^./gforge.spec' | grep -v '^./README.setup' | grep -v '^./setup' | cpio -pdumB --quiet /tmp/$(VERSION)
cd /tmp/$(VERSION); utils/manage-translations.sh build
cd /tmp/; tar jcf $(BUILDRESULT)/$(VERSION).tar.bz2 $(VERSION)
- cd /tmp/$(VERSION); tar zxf $(ARCHIVE)/libphp-jpgraph_1.5.2.orig.tar.gz
- cd /tmp/$(VERSION); patch -p0 < $(ARCHIVE)/jpgraph-1.5.2-php5_and_liberation_fonts.patch
- cd /tmp/$(VERSION); mkdir jpgraph; mv jpgraph-1.5.2/src/* jpgraph; rm -fr jpgraph-1.5.2
- cd /tmp; tar jcf $(BUILDRESULT)/$(VERSION)-allinone.tar.bz2 $(VERSION)
rm -fr /tmp/$(VERSION)
build-unit-tests:
cd tests; phpunit --log-xml $(BUILDDIR)/reports/phpunit.xml --log-pmd $(BUILDDIR)/reports/phpunit.pmd.xml --coverage-clover $(BUILDDIR)/reports/coverage/clover.xml --coverage-html $(BUILDDIR)/reports/coverage/ AllTests.php
cp $(BUILDDIR)/reports/phpunit.xml $(BUILDDIR)/reports/phpunit.xml.org; xalan -in $(BUILDDIR)/reports/phpunit.xml.org -xsl fix_phpunit.xslt -out $(BUILDDIR)/reports/phpunit.xml
+build-doc:
+ $(DOXYGEN) gforge/docs/fusionforge.doxygen
+ $(DOXYGEN) gforge/plugins/wiki/www/doc/phpwiki.doxygen
+
build-full-tests:
+ mkdir -p $(BUILDDIR)/build/packages $(BUILDDIR)/reports/coverage
find $(BUILDDIR)/build/packages -type f -exec rm -f {} \;
- mkdir -p $(BUILDDIR)/reports/coverage
- phpdoc --title 'API Documentation' -ue on -t $(BUILDDIR)/apidocs -d gforge/common -tb '/usr/share/php/data/phpUnderControl/data/phpdoc' -o HTML:Phpuc:phpuc
-phpcs --tab-width=4 --standard=PEAR --report=checkstyle gforge/common > $(BUILDDIR)/reports/checkstyle.xml
cd tests; phpunit --log-xml $(BUILDDIR)/reports/phpunit.xml --log-pmd $(BUILDDIR)/reports/phpunit.pmd.xml --coverage-clover $(BUILDDIR)/reports/coverage/clover.xml --coverage-html $(BUILDDIR)/reports/coverage/ AllFullTests.php
cp $(BUILDDIR)/reports/phpunit.xml $(BUILDDIR)/reports/phpunit.xml.org; xalan -in $(BUILDDIR)/reports/phpunit.xml.org -xsl fix_phpunit.xslt -out $(BUILDDIR)/reports/phpunit.xml
gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php:
- cd gforge/plugins/mediawiki/mediawiki-skin ; make
+ $(MAKE) -C gforge/plugins/mediawiki/mediawiki-skin
%: gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php
- @make -f Makefile.$(DIST) $@
+ $(MAKE) -f Makefile.$(DIST) $@
#! /usr/bin/make -f
+#
+# TODO : document the role of this Makefile
+
+# Uses cowbuilder to build packages inside ./builder/, for different
+# distributions
+# Packages are versioned ...
+
+# Built packages will be put into ./result/
+#
+# ATTENTION : it requires you to run cowbuilder with sudo
+#
+
FUSIONFORGE=FusionForge
PKGDIR=gforge
PKGNAME=$(shell head -1 $(PKGDIR)/debian/changelog | sed 's/ .*//')
PKGLETTER=$(shell echo $(PKGNAME) | cut -c1)
ORIGIN=debian.fusionforge.org
+# BRANCH set to 'svn' if checkout from trunk or 'brc' otherwise
BRANCH=$(shell [ "$(shell echo $(basename $(CURDIR)) | sed 's/.*runk.*/trunk/')" = "trunk" ] && echo svn || echo brc)
-BUILDPLACE=$(CURDIR)/builder/buildplace
-BUILDFILES=$(CURDIR)/builder/buildfiles
+#
+ifeq (,$(shell echo "$$BUILDERDIR"))
+BUILDERDIR=$(CURDIR)/builder
+else
+BUILDERDIR=$(shell echo $$BUILDERDIR)
+endif
+ifeq (,$(shell echo "$$BUILDRESULT"))
BUILDRESULT=$(CURDIR)/result
-COWBUILDERBASE=$(CURDIR)/builder/cow
-PBUILDERTGZ=$(CURDIR)/builder/tgz
+else
+BUILDRESULT=$(shell echo $$BUILDRESULT)
+endif
+#
+ifeq (,$(shell echo "$$UBUMIRROR"))
+UBUMIRROR=http://archive.ubuntu.com/ubuntu
+else
+UBUMIRROR=$(shell echo $$UBUMIRROR)
+endif
+ifeq (,$(shell echo "$$DEBMIRROR"))
+DEBMIRROR=http://ftp.fr.debian.org/debian
+else
+DEBMIRROR=$(shell echo $$DEBMIRROR)
+endif
+#
TARBALLS=$(CURDIR)/tarballs
-APTCACHE=$(CURDIR)/builder/cache
-DISTRIB=$(shell echo $(XDISTRIB) | cut -c2-)
+#
+BUILDPLACE=$(BUILDERDIR)/buildplace
+BUILDFILES=$(BUILDERDIR)/buildfiles
+COWBUILDERBASE=$(BUILDERDIR)/cow
+PBUILDERTGZ=$(BUILDERDIR)/tgz
+APTCACHE=$(BUILDERDIR)/cache
+#
LOCALREPODEB=/var/www/debian-fusionforge-$(BRANCH)
LOCALREPOUBU=/var/www/ubuntu-fusionforge-$(BRANCH)
+#
+XDISTRIB:=3sid
+DISTRIB=$(shell echo $(XDISTRIB) | cut -c2-)
SIGNKEY=yes
DEBIANLIST=1lenny 2squeeze 3sid
DEBIANLISTP=1etch
UBUNTULIST=1jaunty 1karmic 1lucid
UBUNTULISTP=1gutsy
UBULIST=$(UBUNTULIST) $(UBUNTULISTP)
-# Try if a local mirror is available
-LOCALMIRROR=http://localhost/ubuntu
-UBUNTUOP=$(shell wget -q -S http://localhost/ubuntu -O /dev/null 2>&1 && echo "--mirror $(LOCALMIRROR)" || echo "--mirror http://archive.ubuntu.com/ubuntu") --debootstrap debootstrap
-UBUNTUOP=--mirror http://archive.ubuntu.com/ubuntu --debootstrap debootstrap
-DEBIANOP=--debootstrapopts --include=apt --debootstrap debootstrap
+UBUNTUOP=--mirror $(UBUMIRROR) --debootstrap debootstrap
+DEBIANOP=--mirror $(DEBMIRROR) --debootstrapopts --include=apt --debootstrap debootstrap
ASKPASS=--ask-passphrase
ASKPASS=
MAJOR=$(shell head -1 $(PKGDIR)/debian/changelog | sed 's/.*(\(.*\)-[^-]*).*/\1/')
+# SMAJOR is MAJOR without epoch if any
+SMAJOR=$(shell echo $(MAJOR) | sed 's/^.://')
+
in_svn_repo:= $(wildcard .svn/)
ifeq ($(strip $(in_svn_repo)),)
-#in_bzr_repo:= $(shell bzr info | grep parent | cut -d: -f2-)
in_bzr_repo:= $(wildcard .bzr/)
ifeq ($(strip $(in_bzr_repo)),)
svnrev=unknown
else
- #svnrev=$(shell LANG=C bzr log -r-1 2>&1 | grep "svn revno" | cut -d" " -f3)
svnrev=bzr$(shell bzr revno)
endif
else
DEBBUILDOPTS=--debbuildopts -sa
ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-UBUHOOK="--hookdir $(CURDIR)/hook/ubuntu"
# Some doc found there http://wiki.debian.org/cowbuilder
# Hook are not anymore necessary, but I keep as an example
UBUHOOK="--components 'main universe' --debootstrapopts --exclude=udev,pcmciautils,initramfs-tools"
UBUHOOK=--components "main universe" --hookdir $(CURDIR)/hook/ubuntu
+UBUHOOK=--components "main universe"
+DEBHOOK=
-ORIGFILE=$(PKGNAME)_$(MAJOR).orig.tar.gz
-DSCFILE=$(PKGNAME)_$(MAJOR)$(MINOR).dsc
-PDSCFILE=$(PKGNAME)_$(MAJOR)$(MINOR)+p.dsc
-CHANGEFILE=$(PKGNAME)_$(MAJOR)$(MINOR)_$(ARCH).changes
-PCHANGEFILE=$(PKGNAME)_$(MAJOR)$(MINOR)+p_$(ARCH).changes
+ORIGFILE=$(PKGNAME)_$(SMAJOR).orig.tar.gz
+DSCFILE=$(PKGNAME)_$(SMAJOR)$(MINOR).dsc
+PDSCFILE=$(PKGNAME)_$(SMAJOR)$(MINOR)+p.dsc
+CHANGEFILE=$(PKGNAME)_$(SMAJOR)$(MINOR)_$(ARCH).changes
+PCHANGEFILE=$(PKGNAME)_$(SMAJOR)$(MINOR)+p_$(ARCH).changes
# Quite heavy version, but still requires to be root
-COWBUILDERCMD=cd $(BUILDPLACE) && dpkg-source -x $(BUILDFILES)/$(DSCFILE) ; cd $(BUILDPLACE)/$(PKGNAME)-$(MAJOR) && pdebuild --pbuilder cowbuilder --buildresult $(BUILDRESULT) -- --basepath $(COWBUILDERBASE)/base-$(DISTRIB).cow --buildplace $(BUILDPLACE) --aptcache $(APTCACHE) ; rm -rf $(BUILDPLACE)/$(PKGNAME)-$(MAJOR)
+COWBUILDERCMD=cd $(BUILDPLACE) && dpkg-source -x $(BUILDFILES)/$(DSCFILE) ; cd $(BUILDPLACE)/$(PKGNAME)-$(SMAJOR) && pdebuild --pbuilder cowbuilder --buildresult $(BUILDRESULT) -- --basepath $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).cow --buildplace $(BUILDPLACE) --aptcache $(APTCACHE) ; rm -rf $(BUILDPLACE)/$(PKGNAME)-$(SMAJOR)
# This one is with sudo and probably faster
-COWBUILDERCMD=sudo /usr/sbin/cowbuilder --build --basepath $(COWBUILDERBASE)/base-$(DISTRIB).cow --configfile $(COWBUILDERBASE)/config $(BUILDFILES)/$(DSCFILE) $(DEBBUILDOPTS)
+COWBUILDERCMD=sudo /usr/sbin/cowbuilder --build --basepath $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).cow --configfile $(COWBUILDERBASE)/configfile-$(ARCH) $(BUILDFILES)/$(DSCFILE) $(DEBBUILDOPTS)
# This one is with pbuilder
-PBUILDERCMD=cd $(BUILDFILES) && sudo /usr/sbin/pbuilder --build --basetgz $(PBUILDERTGZ)/base-$(DISTRIB).tgz --configfile $(PBUILDERTGZ)/config $(BUILDFILES)/$(PDSCFILE)
+PBUILDERCMD=cd $(BUILDFILES) && sudo /usr/sbin/pbuilder --build --basetgz $(PBUILDERTGZ)/base-$(DISTRIB)-$(ARCH).tgz --configfile $(PBUILDERTGZ)/configfile-$(ARCH) $(BUILDFILES)/$(PDSCFILE)
default: list
list:
@echo ======================================================================================
- @echo '= Available targets are listed below ($(BRANCH))($(ARCH)) ='
+ @echo "= Available targets are listed below"
+ @echo "= Your current environment :"
+ @echo "= * checkout from : $(BRANCH)"
+ @echo "= (above 'checkout' meaning :"
+ @echo "= 'svn' for trunk"
+ @echo "= 'brc' for branches)"
+ @echo "= * PKGNAME = $(PKGNAME)"
+ @echo "= * PKGDIR = $(PKGDIR)"
+ @echo "= * major version : $(MAJOR)/$(SMAJOR)"
+ @echo "= * minor version : $(MINOR)"
+ @echo "= * architecture : $(ARCH)"
+ @echo "= * BUILDERDIR = $(BUILDERDIR)"
+ @echo "= * ORIGFILE = $(ORIGFILE)"
+ @echo "= * DSCFILE = $(DSCFILE)"
+ @echo "= * PDSCFILE = $(PDSCFILE)"
+ @echo "= * CHANGEFILE = $(CHANGEFILE)"
+ @echo "= * PCHANGEFILE = $(PCHANGEFILE)"
@echo ======================================================================================
@cat Makefile.debian | grep '^.*:.*#$$' | sed 's/FUSIONFORGE/$(FUSIONFORGE)/' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
@echo ======================================================================================
# FUSIONFORGE
#
-orig: $(TARBALLS)/$(ORIGFILE) # Make FUSIONFORGE orig file
+orig: # Make Debian package .orig tarball #
+ $(MAKE) $(TARBALLS)/$(ORIGFILE)
#
# PHPDOCUMENTOR
# Get phpdocumentor, install phpdocumentor, build $(PKGNAME) phpdoc
phpdoc: $(PKGDIR)/docs/phpdoc/docs
+doc:
+ (cd gforge/docs/docbook ; make debian)
+
+cleandoc:
+ (cd gforge/docs/docbook ; make clean)
+
phpdocumentor_get:
[ ! -f $(documentor_path)/$(documentor_file) ] && \
cd $(documentor_path) && \
repodeb: cowbuilddeb
@for dist in $(DEBIANLIST); do \
+ echo "$(MAKE) -f Makefile.debian localrepo reprepro XDISTRIB=$$dist LOCALREPO=$(LOCALREPODEB) DISTRIBLIST='$(DEBLIST)'" ; \
$(MAKE) -f Makefile.debian localrepo reprepro XDISTRIB=$$dist LOCALREPO=$(LOCALREPODEB) DISTRIBLIST="$(DEBLIST)" ; \
done
repoubu: cowbuildubu
@for dist in $(UBUNTULIST); do \
+ echo "$(MAKE) -f Makefile.debian localrepo reprepro XDISTRIB=$$dist LOCALREPO=$(LOCALREPOUBU) DISTRIBLIST='$(UBULIST)'" ; \
$(MAKE) -f Makefile.debian localrepo reprepro XDISTRIB=$$dist LOCALREPO=$(LOCALREPOUBU) DISTRIBLIST="$(UBULIST)" ; \
done
cowbuildtest:
- @echo "Will build $(PKGNAME)_$(MAJOR)$(MINOR)$(DISTRIB)"
+ @echo "Will build $(PKGNAME)_$(MAJOR)_$(MINOR)_$(DISTRIB)_$(ARCH)"
cowbuilddeb: # ***** This is the one to cowbuild debian packages ***** #
@for dist in $(DEBIANLIST); do \
- $(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP="$(DEBIANOP)" ; \
+ echo "$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP='$(DEBIANOP)' HOOK='$(DEBHOOK)'" ; \
+ $(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP="$(DEBIANOP)" HOOK='$(DEBHOOK)' ; \
done
cowbuildubu: # ***** This is the one to cowbuild ubuntu packages ***** #
@for dist in $(UBUNTULIST); do \
+ echo "$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP='$(UBUNTUOP)' HOOK='$(UBUHOOK)'" ; \
$(MAKE) -f Makefile.debian cowbuilddist XDISTRIB=$$dist DISTROOP="$(UBUNTUOP)" HOOK='$(UBUHOOK)' ; \
done
pbuilddeb: # pbuild debian packages (less recommended) #
@for dist in $(DEBIANLISTP); do \
+ echo "$(MAKE) -f Makefile.debian pbuilddist XDISTRIB=$$dist DISTROOP='$(DEBIANOP)' LOCALREPO=$(LOCALREPODEB)" ; \
$(MAKE) -f Makefile.debian pbuilddist XDISTRIB=$$dist DISTROOP="$(DEBIANOP)" LOCALREPO=$(LOCALREPODEB) ; \
done
pbuildubu: # pbuild ubuntu packages (less recommended) #
@for dist in $(UBUNTULISTP); do \
+ echo "$(MAKE) -f Makefile.debian pbuilddist XDISTRIB=$$dist DISTROOP='$(UBUNTUOP)' LOCALREPO=$(LOCALREPOUBU)" ; \
$(MAKE) -f Makefile.debian pbuilddist XDISTRIB=$$dist DISTROOP="$(UBUNTUOP)" LOCALREPO=$(LOCALREPOUBU) ; \
done
grep -v rpm-specific | grep -v docs/phpdoc/docs | \
grep -v ^./debian/ | cpio -pdumB $(BUILDFILES)/
# Set version for given distrib
- cd $(BUILDFILES)/$(PKGDIR); dch -b -v $(MAJOR)$(MINOR) -D UNRELEASED "This is $(DISTRIB) autobuild"
+ cd $(BUILDFILES)/$(PKGDIR); dch -b -v $(MAJOR)$(MINOR) -D UNRELEASED "This is $(DISTRIB)-$(ARCH) autobuild"
perl -pi -e "s/UNRELEASED/$(DISTRIB)/" $(BUILDFILES)/$(PKGDIR)/debian/changelog
cd $(BUILDFILES) ; dpkg-source -b $(PKGDIR)
rm -rf $(BUILDFILES)/$(PKGDIR)
grep -v rpm-specific | grep -v docs/phpdoc/docs | \
grep -v ^./debian/ | cpio -pdumB $(BUILDFILES)/
# Set version for given distrib
- cd $(BUILDFILES)/$(PKGDIR); dch -b -v $(MAJOR)$(MINOR)+p -D UNRELEASED "This is $(DISTRIB) autobuild"
+ cd $(BUILDFILES)/$(PKGDIR); dch -b -v $(MAJOR)$(MINOR)+p -D UNRELEASED "This is $(DISTRIB)-$(ARCH) autobuild"
perl -pi -e "s/UNRELEASED/$(DISTRIB)/" $(BUILDFILES)/$(PKGDIR)/debian/changelog
cd $(BUILDFILES) ; dpkg-source -b $(PKGDIR)
rm -rf $(BUILDFILES)/$(PKGDIR)
grep -v plugins/wiki/www/lib/pear | \
cpio -o -H ustar | gzip > $(TARBALLS)/$(ORIGFILE)
-pbuilderenv: $(PBUILDERTGZ) $(PBUILDERTGZ)/base-$(DISTRIB).tgz
- @echo "=========> Ready for $(DISTRIB)"
+pbuilderenv: $(PBUILDERTGZ) $(PBUILDERTGZ)/base-$(DISTRIB)-$(ARCH).tgz
+ @echo "=========> Ready for $(DISTRIB)-$(ARCH)"
-cowbuilderenv: $(COWBUILDERBASE) $(COWBUILDERBASE)/base-$(DISTRIB).stamp.update
- @echo "=========> Ready for $(DISTRIB)"
+cowbuilderenv: $(COWBUILDERBASE)/doconfig-$(ARCH) $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).stamp.update
+ @echo "=========> Ready for $(DISTRIB)-$(ARCH)"
forceupdatecow: # Force update of cowbuilder env #
rm -f $(COWBUILDERBASE)/base-*.stamp.update
-$(COWBUILDERBASE)/base-$(DISTRIB).stamp.update: $(COWBUILDERBASE)/base-$(DISTRIB).stamp
- sudo /usr/sbin/cowbuilder --update $(HOOK) --distribution $(DISTRIB) --basepath $(COWBUILDERBASE)/base-$(DISTRIB).cow --configfile $(COWBUILDERBASE)/config $(DISTROOP)
+$(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).stamp.update: $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).stamp
+ sudo /usr/sbin/cowbuilder --update $(HOOK) --distribution $(DISTRIB) --basepath $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).cow --configfile $(COWBUILDERBASE)/configfile-$(ARCH) $(DISTROOP)
touch $@
-$(PBUILDERTGZ)/base-$(DISTRIB).tgz: $(PBUILDERTGZ)/config
- sudo /usr/sbin/pbuilder --create --distribution $(DISTRIB) --basetgz $(PBUILDERTGZ)/base-$(DISTRIB).tgz --configfile $(PBUILDERTGZ)/config $(DISTROOP)
+$(PBUILDERTGZ)/base-$(DISTRIB)-$(ARCH).tgz: $(PBUILDERTGZ)/doconfig-$(ARCH)
+ [ -f $@ ] || sudo /usr/sbin/pbuilder --create --distribution $(DISTRIB) --basetgz $(PBUILDERTGZ)/base-$(DISTRIB).tgz --configfile $(PBUILDERTGZ)/configfile-$(ARCH) $(DISTROOP)
-$(COWBUILDERBASE)/base-$(DISTRIB).stamp: $(COWBUILDERBASE)/config
- sudo /usr/sbin/cowbuilder --create $(HOOK) --distribution $(DISTRIB) --basepath $(COWBUILDERBASE)/base-$(DISTRIB).cow --configfile $(COWBUILDERBASE)/config $(DISTROOP)
+$(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).stamp:
+ [ -d $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).cow ] || sudo /usr/sbin/cowbuilder --create $(HOOK) --distribution $(DISTRIB) --basepath $(COWBUILDERBASE)/base-$(DISTRIB)-$(ARCH).cow --configfile $(COWBUILDERBASE)/configfile-$(ARCH) $(DISTROOP)
touch $@.update
touch $@
-$(PBUILDERTGZ)/config: /usr/sbin/pbuilder
- echo "APTCACHE=$(APTCACHE)" > $(PBUILDERTGZ)/config
- echo "BUILDPLACE=$(BUILDPLACE)" >> $(PBUILDERTGZ)/config
- echo "BUILDRESULT=$(BUILDRESULT)" >> $(PBUILDERTGZ)/config
+$(PBUILDERTGZ)/doconfig-$(ARCH): /usr/sbin/pbuilder
+ @mkdir -p $(PBUILDERTGZ)
+ @echo "APTCACHE=$(APTCACHE)" > $(PBUILDERTGZ)/configfile-$(ARCH)
+ @echo "BUILDPLACE=$(BUILDPLACE)" >> $(PBUILDERTGZ)/configfile-$(ARCH)
+ @echo "BUILDRESULT=$(BUILDRESULT)" >> $(PBUILDERTGZ)/configfile-$(ARCH)
-$(COWBUILDERBASE)/config: /usr/sbin/cowbuilder
- echo "APTCACHE=$(APTCACHE)" > $(COWBUILDERBASE)/config
- echo "BUILDPLACE=$(BUILDPLACE)" >> $(COWBUILDERBASE)/config
- echo "BUILDRESULT=$(BUILDRESULT)" >> $(COWBUILDERBASE)/config
+$(COWBUILDERBASE)/doconfig-$(ARCH): /usr/sbin/cowbuilder
+ @mkdir -p $(COWBUILDERBASE)
+ @echo "APTCACHE=$(APTCACHE)" > $(COWBUILDERBASE)/configfile-$(ARCH)
+ @echo "BUILDPLACE=$(BUILDPLACE)" >> $(COWBUILDERBASE)/configfile-$(ARCH)
+ @echo "BUILDRESULT=$(BUILDRESULT)" >> $(COWBUILDERBASE)/configfile-$(ARCH)
/usr/sbin/pbuilder:
- sudo apt-get install pbuilder
+ @echo "Error: you need to install package 'pbuilder', for instance with 'sudo apt-get install pbuilder'." ; /bin/false
ubukey:
gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -
/usr/sbin/cowbuilder:
- sudo apt-get install cowdancer
+ @echo "Error: you need to install package 'cowdancer', for instance with 'sudo apt-get install cowdancer'." ; /bin/false
localrepo: $(LOCALREPO) $(LOCALREPO)/conf $(LOCALREPO)/conf/distributions
rm -rf $(BUILDPLACE) $(BUILDFILES) $(TARBALLS)
cleanenv: # Clean $(COWBUILDERBASE) $(PBUILDERTGZ) (chroots)#
- rm -rf $(COWBUILDERBASE) $(PBUILDERTGZ)
+ sudo rm -rf $(COWBUILDERBASE) $(PBUILDERTGZ)
cleancache: # Clean $(APTCACHE) (apt cache) #
- rm -rf $(APTCACHE)
+ sudo rm -rf $(APTCACHE)
cleanorig: # Clean $(TARBALLS)/$(ORIGFILE) #
rm -f $(TARBALLS)/$(ORIGFILE)
#! /usr/bin/make -f
+#
+# TODO : document the role of this Makefile
+#
+
list:
@echo ======================================================================================
@echo '= Available target are listed below ='
allmodules : libnsspgsql
#Exterals
-allexternals : htmlpurifier
+allexternals : htmlpurifier php-jpgraph
libnsspgsql : buildlibnsspgsql
cleansvn: # Clean files of gforge-plugin-scmcvs build #
@cd $(RPM_TMP)/SOURCES/; rm -rf fusionforge-plugin-scmsvn-$(version).tar.bz2 fusionforge-plugin-scmsvn-$(version)
@echo cleansvn Done
-
+
buildsvn: # Build rpm gforge-plugin-scmsvn package #
cd gforge/plugins/scmsvn; find . -type f | grep -v '/CVS/' | grep -v '/.svn/' | grep -v contrib | grep -v '/debian/' | cpio -pdumvB --quiet $(RPM_TMP)/SOURCES/fusionforge-plugin-scmsvn-$(version)
mkdir -p $(RPM_TMP)/SOURCES/fusionforge-plugin-scmsvn-$(version)/bin
cd $(RPM_TMP)/SOURCES/; rpmbuild -ts --nodeps fusionforge-shell-postgresql-$(version).tar.bz2
#
-# HTMLPURIFIER (third party plugin)
+# Building RPM for third party plugins
#
-htmlpurifier: rpmprep depot/htmlpurifier-4.0.0.tar.gz
- cp depot/htmlpurifier-4.0.0.tar.gz $(RPM_TMP)/SOURCES/
+htmlpurifier: rpmprep
+ cp 3rd-party/htmlpurifier/htmlpurifier-4.0.0.tar.gz $(RPM_TMP)/SOURCES/
rpmbuild --quiet --clean -ba 3rd-party/htmlpurifier/htmlpurifier.spec
-depot/htmlpurifier-4.0.0.tar.gz: rpmprep
- mkdir -p depot
- cd depot; wget -q -N http://htmlpurifier.org/releases/htmlpurifier-4.0.0.tar.gz
+php-jpgraph: rpmprep
+ cp 3rd-party/php-jpgraph/libphp-jpgraph_1.5.2.orig.tar.gz $(RPM_TMP)/SOURCES/jpgraph-1.5.2.tar.gz
+ zcat 3rd-party/php-jpgraph/libphp-jpgraph_1.5.2-12.diff.gz > $(RPM_TMP)/SOURCES/libphp-jpgraph_1.5.2-12.diff
+ cp 3rd-party/php-jpgraph/*.patch $(RPM_TMP)/SOURCES/
+ rpmbuild --quiet --clean -ba 3rd-party/php-jpgraph/php-jpgraph.spec
-What is Makefile.debian ?
+The code of FusionForge can be found in the gforge/ subdir.
-Process to recompile the official Debian packages from bzr ?
+TODO: What is the role of all the Makefiles?
--- Olivier Berger
\ No newline at end of file
+-- Olivier Berger
#
# FusionForge
-# Copyright 2008-2009 (c) FusionForge
-# Copyright 2002-2008 (c) GForge
# http://fusionforge.org
#
+#
-----------------------------------------------------------------------------
-The FusionForge Team
-----------------------------------------------------------------------------
-
-Tim Perdue <tim@gforge.org>
-Roland Mas <99.roland.mas@aist.enst.fr>
-Christian Bayle <gforge@free.fr>
-Tom Copeland <tom@infoether.com>
-Guillaume Smet <guillaume-gforge@smet.org>
-Francisco Gimeno <kikov@kikov.org>
-Sung Kim <hunkims@gmail.com>
+The FusionForge codebase was developed for many years in the frame of
+the GForge project (until 2009), then in the FusionForge project since
+2009.
-Past Members:
-Reinhard Spisser
-Ryan T. Sammartino
-Edward Ritter
-Michael Jennings
+It is copyrighted by individual authors mentioned in copyright notices
+of each files.
----------------------------------------------------------------------------
-We'd like to thank the following volunteers for their contributions
-of code, documentation, ideas, and time:
+The new FusionForge Team
----------------------------------------------------------------------------
-Darrell Brogdon
-John Maguire
-Trix Farrar
-Philippe Kiener
-Robert J. Sanford, Jr.
-François Elie
-Richard Offer
-Julien Goodwin
-Bob Lamoureux
-Olafur Osvaldsson
-Jim Nutt
-Scott Armstrong
-Eric Kerin
-Graham Batty
-Robert B. Hawkins
-Ronald Petty
-Simon Lei
-Paul Kneeland
-Patrick McFarland
-Jeff Fynboh
-Vicente J. Ruiz Jurado
-Dragos Moinescu
-Alwyn Schoeman
-Tony Guntharp
-Hidenari Miwa
-David McNicol
-Ed Hill
-Paul Gibbbs
-James Michael DuPont
-Patrick Lemmens
-Christophe Colombier
-Auke Jilderda
-Rene Klootwijk
-Antoine Nivard
-Joo-won Jung
-Justin Richer
-Franco Catrin L.
-Mathieu Peltier
-Bo Jangborg
-Ramon van Alteren
-Mitch Murphy
-Brett N DiFrischia
-Andreas Schrattenecker
-Eric Evans
-Shawn Soon-Son Kwon
-Frank Gevaerts
-Lars Ehrhardt
-Joseph Bironas
-Marco Schmidt
-Chris Ward
-Marc Kalberer
-Kenneth C. Cone, Sr.
-Hunte Swee
-David Hirst
-FabrÃcio Vertamatti
-Benoît Sibaud
-Lele Gaifax
-Mike Heath
-Jason Chen
-Tomas Pospisek
-Jáder Marasca
-Oliver Blume
-Vidyut Luther
-Eric Robert
-Chris Watts
-Dominik Haas
-Diggy Bell
-Jaime Diaz
-Paul Santa Maria
-Josiah Olivieri
-Andre Costa
-Konrad Wulf
-Igor Blanco
-Florent Guilleux
-Pedro Paixao
-Matt Hope
-Rob Lanphier
-Finjon Kiang
-Andrey Molchanov
-Ognyan Kulev
-J Aaron Farr
-Tony Pugliese
-Hal Deadman
-Tobias Rötschke
-Greg Hudson
-Jens Jorgensen
-Ramon van Alteren
-Florent Guilleux
-Jimou Lee
+TODO : name all contributors to FusionForge. The list below was
+extracted from the SVN stats.
+
+Roland Mas
+Grégory Cuellar
+Christian Bayle
Alain Peyrat
+Guillaume Smet
+Julien Heyman
+Ognyan Kulev
+Alexandre Neymann
+Reinhard Spisser
+Francisco Gimeno
+Mathieu Peltier
+Olivier Meunier
Olaf Lenz
+Franck Villaume
+Pierre Lacoste
+Thorsten Glaser
+Gonéri Le Bouder
+Mélanie Le Bail
+Olivier Berger
+Philip Schwartz
+
+
+See also AUTHORS.gforge and AUTHORS.sourceforge for prior contributors.
+
+# Local Variables:
+# coding: utf-8
+# End:
+
--- /dev/null
+#
+# GForge
+# Copyright 2002-2005 (c) GForge
+# http://gforge.org
+#
+# $Id$
+#
+
+----------------------------------------------------------------------------
+The GForge Team
+----------------------------------------------------------------------------
+
+Tim Perdue <tim@gforge.org>
+Roland Mas <99.roland.mas@aist.enst.fr>
+Christian Bayle <gforge@free.fr>
+Tom Copeland <tom@infoether.com>
+Guillaume Smet <guillaume-gforge@smet.org>
+Francisco Gimeno <kikov@kikov.org>
+Sung Kim <hunkims@gmail.com>
+
+Past Members:
+Reinhard Spisser
+Ryan T. Sammartino
+Edward Ritter
+Michael Jennings
+
+----------------------------------------------------------------------------
+We'd like to thank the following volunteers for their contributions
+of code, documentation, ideas, and time:
+----------------------------------------------------------------------------
+
+Darrell Brogdon
+John Maguire
+Trix Farrar
+Philippe Kiener
+Robert J. Sanford, Jr.
+François Elie
+Richard Offer
+Julien Goodwin
+Bob Lamoureux
+Olafur Osvaldsson
+Jim Nutt
+Scott Armstrong
+Eric Kerin
+Graham Batty
+Robert B. Hawkins
+Ronald Petty
+Simon Lei
+Paul Kneeland
+Patrick McFarland
+Jeff Fynboh
+Vicente J. Ruiz Jurado
+Dragos Moinescu
+Alwyn Schoeman
+Tony Guntharp
+Hidenari Miwa
+David McNicol
+Ed Hill
+Paul Gibbbs
+James Michael DuPont
+Patrick Lemmens
+Christophe Colombier
+Auke Jilderda
+Rene Klootwijk
+Antoine Nivard
+Joo-won Jung
+Justin Richer
+Franco Catrin L.
+Mathieu Peltier
+Bo Jangborg
+Ramon van Alteren
+Mitch Murphy
+Brett N DiFrischia
+Andreas Schrattenecker
+Eric Evans
+Shawn Soon-Son Kwon
+Frank Gevaerts
+Lars Ehrhardt
+Joseph Bironas
+Marco Schmidt
+Chris Ward
+Marc Kalberer
+Kenneth C. Cone, Sr.
+Hunte Swee
+David Hirst
+FabrÃcio Vertamatti
+Benoît Sibaud
+Lele Gaifax
+Mike Heath
+Jason Chen
+Tomas Pospisek
+Jáder Marasca
+Oliver Blume
+Vidyut Luther
+Eric Robert
+Chris Watts
+Dominik Haas
+Diggy Bell
+Jaime Diaz
+Paul Santa Maria
+Josiah Olivieri
+Andre Costa
+Konrad Wulf
+Igor Blanco
+Florent Guilleux
+Pedro Paixao
+Matt Hope
+Rob Lanphier
+Finjon Kiang
+Andrey Molchanov
+Ognyan Kulev
+J Aaron Farr
+Tony Pugliese
+Hal Deadman
+Tobias Rötschke
+Greg Hudson
+Jens Jorgensen
+Ramon van Alteren
+Florent Guilleux
+Jimou Lee
+Alain Peyrat
+
+# Local Variables:
+# coding: utf-8
+# End:
UNRELEASED:
+FusionForge-5.1:
+* Trackers: New progressbar to view completion state (when custom status field is used) (Alain Peyrat)
+* Trackers: Sorting improved to allow text & select fields (Alcatel-Lucent)
+* [#127] Patch to auto approve projects.
+* scmgit plugin now allows project members to request a personal git
+ repository as a clone of the current project's one
+* New blocks plugin, to add free HTML blocks on top of each tools of the project allowing
+ admins to add free descriptions (Alcate-Lucent), (better with fckeditor plugin).
+
FusionForge-5.0:
* New projectlabels plugin, to tag projects with snippets of
user-defined HTML (developed for/sponsored by Adullact)
mv etc/httpd.conf etc/httpd.conf.example
mv etc/httpd.secrets etc/httpd.secrets.example
mv etc/database.inc etc/database.inc.example
+mv etc/database.py etc/database.py.example
mv etc/local.pl etc/local.pl.example
rm etc/httpd.vhosts
#
--- /dev/null
+<?php
+/*
+ * Copyright (c) Xerox, 2009. All Rights Reserved.
+ *
+ * Originally written by Nicolas Terray, 2005. Xerox Codendi Team.
+ *
+ * This file is a part of Codendi.
+ *
+ * Codendi 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 License, or
+ * (at your option) any later version.
+ *
+ * Codendi 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 Codendi. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+require_once('include/DataAccess.class.php');
+
+class CodendiDataAccess extends DataAccess {
+
+ protected function __construct() {
+
+ $this->DataAccess();
+ }
+
+ protected static $_instance;
+ public static function instance() {
+ if (!isset(self::$_instance)) {
+ $c = __CLASS__;
+ self::$_instance = new $c;
+ }
+ return self::$_instance;
+ }
+
+
+}
+
+
+?>
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved
+ *
+ * This file is a part of Codendi.
+ *
+ * Codendi 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 License, or
+ * (at your option) any later version.
+ *
+ * Codendi 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 Codendi. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+require_once('DataAccessResult.class.php');
+require_once('DataAccessException.class.php');
+
+
+class DataAccess {
+
+ /**
+ * Constucts a new DataAccess object
+ */
+ function DataAccess() {
+
+ }
+ function quoteSmart($value, $params = array()) {
+
+ return $value;
+ }
+
+
+}
+?>
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved
+ *
+ * This file is a part of Codendi.
+ *
+ * Codendi 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 License, or
+ * (at your option) any later version.
+ *
+ * Codendi 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 Codendi. If not, see <http://www.gnu.org/licenses/>.
+ */
+class DataAccessException extends Exception {
+}
+?>
--- /dev/null
+<?php
+/**
+ * Base class for data access objects
+ */
+class DataAccessObject {
+ var $da;
+
+ //! A constructor
+ /**
+ * Constructs the Dao
+ * @param $da instance of the DataAccess class
+ */
+ function DataAccessObject( & $da ) {
+ $this->table_name = 'CLASSNAME_MUST_BE_DEFINE_FOR_EACH_CLASS';
+
+ $this->da=$da;
+ }
+
+
+ //! An accessor
+ /**
+ * For SELECT queries
+ * @param $sql the query string
+ * @return mixed either false if error or object DataAccessResult
+ */
+ function &retrieve($sql,$params) {
+ $result =& new DataAccessResult(db_query_params($sql,$params));
+
+ return $result;
+ }
+
+ //! An accessor
+ /**
+ * For INSERT, UPDATE and DELETE queries
+ * @param $sql the query string
+ * @return boolean true if success
+ */
+ function update($sql,$params) {
+ $result = db_query_params($sql,$params);
+ return $result;
+ }
+
+
+
+}
+?>
--- /dev/null
+<?php
+/**
+ * Fetches MySQL database rows as objects
+ */
+class DataAccessResult implements Iterator {
+ /**
+ * @access protected
+ * $da stores data access object
+ */
+ var $da;
+ /**
+ * @access protected
+ * $query stores a query resource
+ */
+ var $query;
+
+ var $_current;
+ var $_row;
+
+ function DataAccessResult($result) {
+ $this->result = $result;
+
+ $this->_current = -1;
+ $this->_row = false;
+ $this->rewind();
+
+ }
+
+ /**
+ * Returns an array from query row or false if no more rows
+ * @return mixed
+ */
+ function &getRow() {
+ $row = $this->current();
+ $this->next();
+ return $row;
+ }
+
+ /**
+ * Returns the number of rows affected
+ * @return int
+ */
+ function rowCount() {
+ return db_numrows($this->result);
+ }
+
+ /**
+ * Returns false if no errors or returns a MySQL error message
+ * @return mixed
+ */
+ function isError() {
+ $error=db_error();
+ if (!empty($error))
+ return $error;
+ else
+ return false;
+ }
+
+
+ // {{{ Iterator
+ function ¤t() {
+ return $this->_row;
+ }
+
+ function next() {
+ $this->_current++;
+ $this->_row = db_fetch_array($this->result);
+ }
+
+ function valid() {
+ return $this->_row !== false;
+ }
+
+ function rewind() {
+ if ($this->rowCount() > 0) {
+ db_reset_result($this->result, 0);
+ $this->next();
+ $this->_current = 0;
+ }
+ }
+
+ function key() {
+ return $this->_current;
+ }
+ // }}}
+}
+?>
*
* @param string The filename of this document. Can be a URL.
* @param string The filetype of this document. If filename is URL, this should be 'URL';
- * @param string The contents of this document (should be addslashes()'d before entry).
+ * @param string The contents of this document.
* @param int The doc_group id of the doc_groups table.
* @param string The title of this document.
* @param int The language id of the supported_languages table.
// key words for in-document search
$kw = new Parsedata ($this->engine_path);
- $kwords = $kw->get_parse_data (stripslashes($data1), htmlspecialchars($title), htmlspecialchars($description), $filetype);
+ $kwords = $kw->get_parse_data ($data1, htmlspecialchars($title), htmlspecialchars($description), $filetype);
$filesize = strlen($data);
$filename,
$filetype,
$filesize,
- base64_encode(stripslashes($data)),
+ base64_encode($data),
$kwords,
$user_id));
if (!$result) {
*
* @param string The filename of this document. Can be a URL.
* @param string The filetype of this document. If filename is URL, this should be 'URL';
- * @param string The contents of this document (should be addslashes()'d before entry).
+ * @param string The contents of this document.
* @param int The doc_group id of the doc_groups table.
* @param string The title of this document.
* @param int The language id of the supported_languages table.
// key words for in-document search
$kw = new Parsedata ($this->engine_path);
- $kwords = $kw->get_parse_data (stripslashes($data1), htmlspecialchars($title), htmlspecialchars($description), $filetype);
+ $kwords = $kw->get_parse_data ($data1, htmlspecialchars($title), htmlspecialchars($description), $filetype);
$res = db_query_params ('UPDATE doc_data SET data=$1, filesize=$2, data_words=$3 WHERE group_id=$4 AND docid=$5',
- array (base64_encode(stripslashes($data)),
+ array (base64_encode($data),
strlen($data),
$kwords,
$this->Group->getID(),
--- /dev/null
+<?php
+/**
+ * Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved
+ *
+ * This file is a part of Codendi.
+ *
+ * Codendi 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 License, or
+ * (at your option) any later version.
+ *
+ * Codendi 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 Codendi. If not, see <http://www.gnu.org/licenses/>.
+ */
+class Event {
+
+ /**
+ * Use this event to get the class name of an external event type (plugins)
+ * see git plugin for implementation example
+ */
+ const GET_SYSTEM_EVENT_CLASS = 'get_system_event_class';
+
+
+}
+?>
return false;
}
if ($send_all_posts_to) {
+ $send_all_posts_to = str_replace(';', ',', $send_all_posts_to);
$invalid_mails = validate_emails($send_all_posts_to);
if (count($invalid_mails) > 0) {
$this->setInvalidEmailError();
$this->group_forum_id=db_insertid($result,'forum_group_list','group_forum_id');
$this->fetchData($this->group_forum_id);
- // set the permission for the role's group
- $roles_group = $this->Group->getRolesId();
- for ($i=0; $i<sizeof($roles_group); $i++) {
- $role_setting_res = db_query_params ('INSERT INTO role_setting (role_id,section_name,ref_id,value) VALUES ($1,$2,$3,$4)',
- array ($roles_group[$i],
- 'forum',
- $this->group_forum_id,
- 1)) ;
- if (!$role_setting_res) {
- db_rollback();
- $this->setError('Error: Role setting for forum id ' . $this->group_forum_id . ' for groud id ' . $this->Group->getID() . ' ' .db_error());
- return false;
- }
- }
-
if ($create_default_message) {
$fm=new ForumMessage($this);
// Use the system side default language
}
}
db_commit();
+
+ $this->Group->normalizeAllRoles () ;
+
return true;
}
* @return boolean success.
*/
function fetchData($group_forum_id) {
- global $sys_database_type;
-
- if ($sys_database_type == "mysql") {
- $sql="
- SELECT fgl.*,
- (SELECT count(*) AS `count`
- FROM (
- SELECT DISTINCT group_forum_id, thread_id FROM forum
- ) AS tmp
- WHERE tmp.group_forum_id = fgl.group_forum_id
- ) AS threads
- FROM forum_group_list_vw AS fgl
- WHERE group_forum_id='$group_forum_id'";
- $res = db_query_mysql ($sql);
- } else {
- $res = db_query_params ('SELECT * FROM forum_group_list_vw WHERE group_forum_id=$1',
- array ($group_forum_id)) ;
- }
+ $res = db_query_params ('SELECT * FROM forum_group_list_vw WHERE group_forum_id=$1',
+ array ($group_forum_id)) ;
if (!$res || db_numrows($res) < 1) {
$this->setError(_('Invalid forum group identifier'));
return false;
* @return int The next thread_id #.
*/
function getNextThreadID() {
- global $sys_database_type;
-
- if ($sys_database_type == "mysql") {
- $sql="call newval('forum_thread_seq', @res)";
- $result=db_mquery($sql);
- if (!$result) {
- echo db_error();
- return false;
- }
- $sql="select @res";
- $result = db_query_mysql ($sql);
- } else {
- $result = db_query_params ('SELECT nextval($1)',
- array ('forum_thread_seq')) ;
- }
+ $result = db_query_params ('SELECT nextval($1)',
+ array ('forum_thread_seq')) ;
if (!$result || db_numrows($result) < 1) {
echo db_error();
return false;
* @return string return email address
*/
function getReturnEmailAddress() {
- global $sys_default_domain, $sys_use_gateways;
+
$address = '';
- if($sys_use_gateways) {
+ if(forge_get_config('use_gateways')) {
$address .= $this->getUnixName();
} else {
$address .= 'noreply';
}
$address .= '@';
- if($sys_use_gateways && isset($GLOBALS['sys_forum_return_domain'])) {
- $address .= $GLOBALS['sys_forum_return_domain'];
+ if(forge_get_config('use_gateways') && forge_get_config('forum_return_domain')) {
+ $address .= forge_get_config('forum_return_domain');
} else {
- $address .= $sys_default_domain;
+ $address .= forge_get_config('web_host');
}
return $address;
}
db_query_params ('DELETE FROM role_setting WHERE section_name=$1 AND ref_id=$2',
array ('forum',
$this->getID())) ;
+
db_commit();
+
+ $this->Group->normalizeAllRoles () ;
+
return true;
}
* @return array The array of Forum objects.
*/
function &getForums() {
- global $sys_database_type;
-
if ($this->forums) {
return $this->forums;
}
- if ($sys_database_type == "mysql") {
- if (session_loggedin()) {
- $perm =& $this->Group->getPermission( session_get_user() );
- if (!$perm || !is_object($perm) || !$perm->isMember()) {
- $public_flag='=1';
- $exists = '';
- } else {
- $public_flag='<3';
- if ($perm->isForumAdmin()) {
- $exists='';
- } else {
- $exists=" AND group_forum_id IN (SELECT role_setting.ref_id
- FROM role_setting, user_group
- WHERE role_setting.value::integer >= 0
- AND role_setting.section_name = 'forum'
- AND role_setting.ref_id=forum_group_list_vw.group_forum_id
-
- AND user_group.role_id = role_setting.role_id
- AND user_group.user_id='".user_getid()."') ";
- }
- }
- } else {
- $public_flag='=1';
- $exists = '';
- }
-
- $sql="SELECT fgl.*,
- (SELECT count(*) AS `count`
- FROM (
- SELECT DISTINCT group_forum_id, thread_id FROM forum
- ) AS tmp
- WHERE tmp.group_forum_id = fgl.group_forum_id
- ) AS threads
- FROM forum_group_list_vw AS fgl
- WHERE group_id='". $this->Group->getID() ."'
- AND is_public $public_flag
- $exists
- ORDER BY group_forum_id;";
-
- $result = db_query_mysql ($sql);
-
- $rows = db_numrows($result);
-
- if (!$result) {
- $this->setError(_('Forum not found').' : '.db_error());
- $this->forums = false;
- } else {
- while ($arr = db_fetch_array($result)) {
- $this->forums[] = new Forum($this->Group, $arr['group_forum_id'], $arr);
- }
- }
- return $this->forums;
- } else { // Not MySQL
- if (session_loggedin()) {
- $perm =& $this->Group->getPermission( session_get_user() );
- if (!$perm || !is_object($perm) || !$perm->isMember()) {
- $result = db_query_params ('SELECT * FROM forum_group_list_vw
+ if (session_loggedin()) {
+ $perm =& $this->Group->getPermission( session_get_user() );
+ if (!$perm || !is_object($perm) || !$perm->isMember()) {
+ $result = db_query_params ('SELECT * FROM forum_group_list_vw
WHERE group_id=$1
AND is_public=1
ORDER BY group_forum_id',
- array ($this->Group->getID())) ;
- } else {
- $public_flag='<3';
- if ($perm->isForumAdmin()) {
- $result = db_query_params ('SELECT * FROM forum_group_list_vw
+ array ($this->Group->getID())) ;
+ } else {
+ $public_flag='<3';
+ if ($perm->isForumAdmin()) {
+ $result = db_query_params ('SELECT * FROM forum_group_list_vw
WHERE group_id=$1
AND is_public < 3
ORDER BY group_forum_id',
- array ($this->Group->getID())) ;
- } else {
- $result = db_query_params ('SELECT * FROM forum_group_list_vw
+ array ($this->Group->getID())) ;
+ } else {
+ $result = db_query_params ('SELECT * FROM forum_group_list_vw
WHERE group_id=$1
AND is_public < 3
AND group_forum_id IN (SELECT role_setting.ref_id
AND user_group.role_id = role_setting.role_id
AND user_group.user_id=$3)
ORDER BY group_forum_id',
- array ($this->Group->getID(),
- 'forum',
- user_getid())) ;
- }
+ array ($this->Group->getID(),
+ 'forum',
+ user_getid())) ;
}
- } else {
- $result = db_query_params ('SELECT * FROM forum_group_list_vw
+ }
+ } else {
+ $result = db_query_params ('SELECT * FROM forum_group_list_vw
WHERE group_id=$1
AND is_public=1
ORDER BY group_forum_id',
- array ($this->Group->getID())) ;
- }
-
- $rows = db_numrows($result);
-
- if (!$result) {
- $this->setError(_('Forum not found').' : '.db_error());
- $this->forums = false;
- } else {
- while ($arr = db_fetch_array($result)) {
- $this->forums[] = new Forum($this->Group, $arr['group_forum_id'], $arr);
- }
+ array ($this->Group->getID())) ;
+ }
+
+ $rows = db_numrows($result);
+
+ if (!$result) {
+ $this->setError(_('Forum not found').' : '.db_error());
+ $this->forums = false;
+ } else {
+ while ($arr = db_fetch_array($result)) {
+ $this->forums[] = new Forum($this->Group, $arr['group_forum_id'], $arr);
&n