debian/0000755000000000000000000000000011550356206007171 5ustar debian/apache.conf0000644000000000000000000000035011550356206011257 0ustar # Configuration for webissues using apache. Alias /webissues /usr/share/webissues-server DirectoryIndex index.php Options FollowSymLinks Order allow,deny Allow from all debian/config0000644000000000000000000000047111550356206010363 0ustar #!/bin/sh set -e dbc_dbname=webissues dbc_dbuser=webissues export dbc_dbname dbc_dbuser . /usr/share/debconf/confmodule if [ -f /usr/share/dbconfig-common/dpkg/config ]; then dbc_dbtypes="mysql, pgsql" dbc_authmethod_user="password" . /usr/share/dbconfig-common/dpkg/config dbc_go webissues-server $@ fi debian/copyright0000644000000000000000000000352311550356206011127 0ustar This package was debianized by Patrick Matthäi and Bjorn Boschman Bjoern Boschman on Mon, 8 Oct 2007 21:11:44 +0200. It was downloaded from Upstream Author: Michał Mecinski Copyright: © 2006 Michał Mecinski © 2007-2009 WebIssues Team License (doc): Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". On Debian systems, the complete text of the GNU Free Documentation License can be found in `/usr/share/common-licenses/GFDL'. License (everything else): This package 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. This package 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 this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is © 2007-2009, Patrick Matthäi and is licensed under the GPL, see above. debian/watch0000644000000000000000000000020311550356206010215 0ustar version=3 opts=uversionmangle=s/-rc/~rc/;s/-beta/~beta/;s/-alpha/~alpha/ \ http://sf.net/webissues/webissues-server-(.*)\.tar\.bz2 debian/prerm0000644000000000000000000000021411550356206010236 0ustar #! /bin/sh set -e . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm dbc_go webissues-server $@ #DEBHELPER# exit 0 debian/webissues-server.doc-base0000644000000000000000000000040511550356206014104 0ustar Document: webissues-server Title: The WebIssues Server Manual Author: WebIssues Team Abstract: Server for the WebIssues system Section: Office Format: HTML Index: /usr/share/doc/webissues-server/doc/index.html Files: /usr/share/doc/webissues-server/doc/*.html debian/webissues-server.install0000644000000000000000000000027111550356206014076 0ustar include usr/share/webissues-server/ setup usr/share/webissues-server/ index.php usr/share/webissues-server/ setup.php usr/share/webissues-server/ update.php usr/share/webissues-server/ debian/dirs0000644000000000000000000000006011550356206010051 0ustar etc/webissues-server usr/share/webissues-server debian/control0000644000000000000000000000127511550356206010601 0ustar Source: webissues-server Section: web Priority: optional Homepage: http://webissues.mimec.org/ Maintainer: Debian QA Group Build-Depends: debhelper (>= 7), cdbs Build-Depends-Indep: quilt Standards-Version: 3.9.2 Package: webissues-server Architecture: all Depends: ${misc:Depends}, dbconfig-common, php5, php5-mysql | php5-pgsql Recommends: mysql-server | postgresql Description: a network system supporting team collaboration (server) Webissues is a system supporting team collaboration accross the Internet. It can be used for storing bugs and other information with customizable attributes, comments and file attachements. . This package contains the server files. debian/postinst0000644000000000000000000000043111550356206010775 0ustar #! /bin/sh set -e . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/postinst dbc_generate_include=php:/etc/webissues-server/debian-db.php dbc_generate_include_owner="root:www-data" dbc_generate_include_perms="0640" dbc_go webissues-server $@ #DEBHELPER# exit 0 debian/docs0000644000000000000000000000001311550356206010036 0ustar README doc debian/README.Debian0000644000000000000000000000210711550356206011232 0ustar Configuring webissues after the installation: ============================================= After the installation of webissues-server, it needs to be configured with about HTTP with a browser. Just open: http://localhost/webissues/setup.php Then just follow the little instructions. This setup script will create for you all needed SQL tables. The additional online documentation could be found here: http://localhost/webissues/doc Upgrading from older releases: ============================== After you upgraded your webissues-server, you should enter http://localhost/webissues/update.php and simply follow the steps there. Enable webissues for Apache2: ============================= You could just copy the file /usr/share/doc/webissues-server/examples/apache2.conf to your /etc/apache2/conf.d/. After you reload your webserver, an alias named "/webissues" is registered, where you could access your webissues-server installation. -- Bjoern Boschman Tue, 6 Nov 2007 11:31:41 +0200 -- Patrick Matthäi Sun, 17 Feb 2008 10:41:00 +0100 debian/patches/0000755000000000000000000000000011550356206010620 5ustar debian/patches/01-move-config-to-etc.diff0000644000000000000000000000432311550356206015274 0ustar # Use the default paths in Debian for the configuration files. diff -Naur webissues-server-0.8.5.orig/index.php webissues-server-0.8.5/index.php --- webissues-server-0.8.5.orig/index.php 2009-11-25 19:18:27.000000000 +0100 +++ webissues-server-0.8.5/index.php 2009-11-25 19:18:39.000000000 +0100 @@ -12,8 +12,8 @@ define( 'VERSION', '0.8.5' ); -if( !include_once( 'config/config.inc.php' ) ) - die( '

Fatal Error: The configuration file config/config.inc.php does not exist.

' ); +if( !include_once( '/etc/webissues-server/config.inc.php' ) ) + die( '

Fatal Error: The configuration file /etc/webissues-server/config.inc.php does not exist.

' ); if ( $_SERVER[ 'REQUEST_METHOD' ] != 'POST' || isset( $_POST[ 'action' ] ) ) { require_once( 'include/status.inc.php' ); diff -Naur webissues-server-0.8.5.orig/setup.php webissues-server-0.8.5/setup.php --- webissues-server-0.8.5.orig/setup.php 2009-11-25 19:18:27.000000000 +0100 +++ webissues-server-0.8.5/setup.php 2009-11-25 19:18:39.000000000 +0100 @@ -12,8 +12,8 @@ define( 'VERSION', '0.8.5' ); -if( !include_once( 'config/config.inc.php' ) ) - die( '

Fatal Error: The configuration file config/config.inc.php does not exist.

' ); +if( !include_once( '/etc/webissues-server/config.inc.php' ) ) + die( '

Fatal Error: The configuration file /etc/webissues-server/config.inc.php does not exist.

' ); require_once( 'include/common.inc.php' ); diff -Naur webissues-server-0.8.5.orig/update.php webissues-server-0.8.5/update.php --- webissues-server-0.8.5.orig/update.php 2009-11-25 19:18:27.000000000 +0100 +++ webissues-server-0.8.5/update.php 2009-11-25 19:18:39.000000000 +0100 @@ -12,8 +12,8 @@ define( 'VERSION', '0.8.5' ); -if( !include_once( 'config/config.inc.php' ) ) - die( '

Fatal Error: The configuration file config/config.inc.php does not exist.

' ); +if( !include_once( '/etc/webissues-server/config.inc.php' ) ) + die( '

Fatal Error: The configuration file /etc/webissues-server/config.inc.php does not exist.

' ); require_once( 'include/common.inc.php' ); debian/patches/series0000644000000000000000000000007711550356206012041 0ustar 01-move-config-to-etc.diff 02-config-from-dbconfig-common.diff debian/patches/02-config-from-dbconfig-common.diff0000644000000000000000000000417211550356206017142 0ustar # Use the database access from dbconfig-common. diff -Naur webissues-server-0.8.4.orig/config/config-template.inc.php webissues-server-0.8.4/config/config-template.inc.php --- webissues-server-0.8.4.orig/config/config-template.inc.php 2009-03-11 13:51:17.000000000 +0100 +++ webissues-server-0.8.4/config/config-template.inc.php 2009-03-11 13:54:22.000000000 +0100 @@ -3,6 +3,9 @@ * Configuration file for the WebIssues Server. */ +// dbconfig-common include for DB settings +include_once( '/etc/webissues-server/debian-db.php' ); + /* * Database configuration. * @@ -10,19 +13,19 @@ */ // database engine, can be: 'mysql', 'mysqli', 'pgsql', 'mssql' or 'firebird' -$config[ 'db_engine' ] = 'mysql'; +$config[ 'db_engine' ] = $dbtype; // database server, can be: 'host', 'host:port', ':/path/to/socket' or 'host\dbinstance' -$config[ 'db_host' ] = 'localhost'; +$config[ 'db_host' ] = $dbserver; // database name -$config[ 'db_database' ] = 'webissues'; +$config[ 'db_database' ] = $dbname; // optional: database user login (if blank, integrated authentication is used) -$config[ 'db_user' ] = 'webissues'; +$config[ 'db_user' ] = $dbuser; // optional: database user password -$config[ 'db_password' ] = 'secret'; +$config[ 'db_password' ] = $dbpass; // optional: prefix of table names (e.g. 'xyz_' so all tables will be 'xyz_table_name') $config[ 'db_prefix' ] = ''; @@ -35,7 +38,7 @@ */ // optional: path of the storage folder (if blank, file storage is disabled) -$config[ 'storage_path' ] = 'storage'; +$config[ 'storage_path' ] = ''; // minimum size of attachments stored as files $config[ 'storage_min_size' ] = 4000; @@ -104,10 +107,10 @@ */ // optional: logging PHP and SQL errors -$config[ 'log_errors' ] = 'log/errors.log'; +$config[ 'log_errors' ] = ''; // optional: logging cron script runs -$config[ 'log_cron' ] = 'log/cron.log'; +$config[ 'log_cron' ] = ''; // optional: logging commands from the client and server responses (warning: use for debugging only) $config[ 'log_commands' ] = ''; debian/webissues-server.examples0000644000000000000000000000002311550356206014241 0ustar debian/apache.conf debian/compat0000644000000000000000000000000211550356206010367 0ustar 7 debian/rules0000755000000000000000000000123011550356206010245 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk DEB_FIXPERMS_EXCLUDE := usr/share/webissues-server # chown everything to nobody:nogroup to make suphp happy common-binary-post-install-indep:: find debian/webissues-server/usr/share/webissues-server/ -type d -exec chmod 0755 {} \; find debian/webissues-server/usr/share/webissues-server/ -type f -exec chmod 0644 {} \; find debian/webissues-server/usr/share/webissues-server/ -type f -exec chown nobody:nogroup {} \; cp config/config-template.inc.php debian/webissues-server/etc/webissues-server/config.inc.php chown nobody:nogroup debian/webissues-server/etc/webissues-server/config.inc.php debian/postrm0000644000000000000000000000100611550356206010435 0ustar #! /bin/sh set -e if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then . /usr/share/dbconfig-common/dpkg/postrm dbc_go webissues-server $@ fi case "$1" in purge) rm -f /etc/webissues-server/debian-db.php ucf --purge /etc/webissues-server/debian-db.php ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac #DEBHELPER# exit 0 debian/changelog0000644000000000000000000000660311550356206011050 0ustar webissues-server (0.8.5-3) unstable; urgency=low * Bump Standards-Version to 3.9.2 (no changes needed). * Set maintainer to the Debian QA Group. -- Patrick Matthäi Sun, 10 Apr 2011 18:32:49 +0200 webissues-server (0.8.5-2) unstable; urgency=low * Bump Standards-Version to 3.9.1 (no changes needed). * Mangle -alpha to ~alpha in debian/watch. -- Patrick Matthäi Sun, 06 Feb 2011 19:31:20 +0100 webissues-server (0.8.5-1) unstable; urgency=low * New upstream release. * Convert package to the 3.0 (quilt) format. * Add descriptions to the patches. * Rediff hunky 01-move-config-to-etc.diff patch. * Bump to debhelper compat 7. -- Patrick Matthäi Wed, 25 Nov 2009 19:28:00 +0100 webissues-server (0.8.4-4) unstable; urgency=low * Bump Standards-Version to 3.8.3 (no changes needed). * Remove Bjoern Boschman from uploaders. -- Patrick Matthäi Mon, 07 Sep 2009 12:57:03 +0200 webissues-server (0.8.4-3) unstable; urgency=low * Change my email address in debian/copyright. * Bump Standards-Version to 3.8.2 (no changes needed). -- Patrick Matthäi Thu, 18 Jun 2009 08:56:28 +0200 webissues-server (0.8.4-2) unstable; urgency=low * Remove DM-Upload-Allowed control field. * Change my email address. * Refer in debian/copyright to the GPL-2 file instead of GPL. This fixes the lintian warning copyright-refers-to-symlink-license. -- Patrick Matthäi Thu, 23 Apr 2009 13:14:33 +0200 webissues-server (0.8.4-1) unstable; urgency=low [ Bjoern Boschman ] * Removed /var/www symlink to get lintian clean. [ Patrick Matthäi ] * New upstream release. - Refresh 02-config-from-dbconfig-common patch. - Refresh debian/copyright. * Add the new debian/apache.conf as example file and describe in README.Debian how it could be enabled. * Describe steps in README.Debian to upgrade the webissues-server database. * Mangle upstream beta and rc releases dash to a tilde. * Bump Standards-Version to 3.8.1 (no changes needed). * Add missing ${misc:Depends}. Thanks lintian. * Add DM-Upload-Allowed control field. * Fix copyright-with-old-dh-make-debian-copyright. -- Patrick Matthäi Thu, 26 Mar 2009 11:20:40 +0200 webissues-server (0.8.3-2-1) unstable; urgency=low [ Bjoern Boschman ] * New upstream version. [ Patrick Matthäi ] * Removed the dfsg.1 tarball release. - Added the documentation to the doc dir and created an symlink on it. - Added link to the installed documentation in README.Debian. - Added the GFDL license from the doc dir to debian/copyright. * Changed the URL scheme in README.Debian from ":" to "localhost". -- Bjoern Boschman Sun, 17 Feb 2008 12:26:50 +0100 webissues-server (0.8.3-1.dfsg.1-2) unstable; urgency=low [ Bjoern Boschman ] * Corrected ownerships of debian-db.php. [ Patrick Matthäi ] * Added correct purging of debian-db.php in postrm script. -- Patrick Matthäi Thu, 3 Jan 2008 21:35:00 +0100 webissues-server (0.8.3-1.dfsg.1-1) unstable; urgency=low [ Patrick Matthäi ] * Initial release. Closes: #444192 [ Bjoern Boschman ] * Included CDBS and dbconfig-common. -- Bjoern Boschman Tue, 6 Nov 2007 11:31:41 +0200 debian/webissues-server.links0000644000000000000000000000010211550356206013541 0ustar usr/share/doc/webissues-server/doc usr/share/webissues-server/doc debian/source/0000755000000000000000000000000011550356206010471 5ustar debian/source/format0000644000000000000000000000001411550356206011677 0ustar 3.0 (quilt)