--- knowledgeroot-0.9.9.5.orig/debian/rules
+++ knowledgeroot-0.9.9.5/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+%:
+ dh ${@} --with quilt
+
+override_dh_auto_install:
+ dh_auto_install
+
+ mkdir -p debian/knowledgeroot/usr/share/knowledgeroot
+ mkdir -p debian/knowledgeroot/usr/share/knowledgeroot/config
+ mkdir -p debian/knowledgeroot/usr/share/knowledgeroot/system
+ mkdir -p debian/knowledgeroot/usr/share/knowledgeroot/system/javascript
+ mkdir -p debian/knowledgeroot/usr/share/knowledgeroot/system/fckeditor-plugins
+
+ cp -a config/config.inc.php.dist debian/knowledgeroot/usr/share/knowledgeroot/config/
+ cp -a config/admin_config.inc.php.dist debian/knowledgeroot/usr/share/knowledgeroot/config/
+ cp -a admin dumps images include uploads extension debian/knowledgeroot/usr/share/knowledgeroot/
+ cp -a system/extension system/language system/themes system/sysext debian/knowledgeroot/usr/share/knowledgeroot/system/
+ cp -a system/javascript/ajax-tree.js system/javascript/messagebox.js system/javascript/showhide.js system/javascript/knowledgeroot-menu.js system/javascript/dragbox.js debian/knowledgeroot/usr/share/knowledgeroot/system/javascript/
+ cp -a install.php update.php debug.php ajax-xml.php index.php move.php favicon.ico debian/knowledgeroot/usr/share/knowledgeroot/
+
+ rm -rf debian/knowledgeroot/usr/share/knowledgeroot/extension/fckeditor/fckeditor
+ rm -rf debian/knowledgeroot/usr/share/knowledgeroot/extension/tinymce/jscripts/tiny_mce
+ rm -rf debian/knowledgeroot/usr/share/knowledgeroot/extension/libsecure/htmlpurifier/.INSTALL.swp
+ rm -rf debian/knowledgeroot/usr/share/knowledgeroot/extension/libsecure/safehtml/license.txt
+
+ ln -s /usr/share/fckeditor debian/knowledgeroot/usr/share/knowledgeroot/extension/fckeditor/fckeditor
+ ln -s /usr/share/tinymce/www debian/knowledgeroot/usr/share/knowledgeroot/extension/tinymce/jscripts/tiny_mce
+
+ install -D -m 0644 config/config.inc.php.dist debian/knowledgeroot/etc/knowledgeroot/config.inc.php.dist
+ install -D -m 0644 config/admin_config.inc.php.dist debian/knowledgeroot/etc/knowledgeroot/admin_config.inc.php.dist
+ install -D -m 0644 debian/apache.conf debian/knowledgeroot/etc/apache2/conf.d/knowledgeroot.conf
+
+override_dh_fixperms:
+ dh_fixperms
+
+ # setting rights
+ find debian/knowledgeroot/usr/share/knowledgeroot -type f | xargs chmod 644
--- knowledgeroot-0.9.9.5.orig/debian/README.source
+++ knowledgeroot-0.9.9.5/debian/README.source
@@ -0,0 +1,17 @@
+Source Access
+-------------
+
+You can obtain the sources of this package with:
+
+ $ apt-get source ${PACKAGE}
+
+whereas '${PACKAGE}' has to be replaced with the actual name of the package.
+
+This package may use the Quilt patch system to manage all modifications to the
+upstream source. Changes, if any, are stored in the source package as diffs in
+debian/diff and are applied during the build. Current modifications can be
+applied to the source tree with:
+
+ $ quilt push -a
+
+More information about Quilt can be found in the quilt package.
--- knowledgeroot-0.9.9.5.orig/debian/compat
+++ knowledgeroot-0.9.9.5/debian/compat
@@ -0,0 +1 @@
+6
--- knowledgeroot-0.9.9.5.orig/debian/links
+++ knowledgeroot-0.9.9.5/debian/links
@@ -0,0 +1,10 @@
+/usr/share/javascript/scriptaculous/prototype.js /usr/share/knowledgeroot/system/javascript/prototype.js
+/usr/share/javascript/scriptaculous/builder.js /usr/share/knowledgeroot/system/javascript/builder.js
+/usr/share/javascript/scriptaculous/controls.js /usr/share/knowledgeroot/system/javascript/controls.js
+/usr/share/javascript/scriptaculous/dragdrop.js /usr/share/knowledgeroot/system/javascript/dragdrop.js
+/usr/share/javascript/scriptaculous/effects.js /usr/share/knowledgeroot/system/javascript/effects.js
+/usr/share/javascript/scriptaculous/scriptaculous.js /usr/share/knowledgeroot/system/javascript/scriptaculous.js
+/usr/share/javascript/scriptaculous/slider.js /usr/share/knowledgeroot/system/javascript/slider.js
+/usr/share/javascript/scriptaculous/sound.js /usr/share/knowledgeroot/system/javascript/sound.js
+/usr/share/javascript/scriptaculous/unittest.js /usr/share/knowledgeroot/system/javascript/unittest.js
+
--- knowledgeroot-0.9.9.5.orig/debian/apache.conf
+++ knowledgeroot-0.9.9.5/debian/apache.conf
@@ -0,0 +1,13 @@
+Alias /knowledgeroot /usr/share/knowledgeroot/
+
+
+
+Options +FollowSymLinks
+AllowOverride None
+
+order deny,allow
+deny from all
+allow from 127.0.0.0/255.0.0.0
+# allow from all
+
+
--- knowledgeroot-0.9.9.5.orig/debian/control
+++ knowledgeroot-0.9.9.5/debian/control
@@ -0,0 +1,17 @@
+Source: knowledgeroot
+Section: web
+Priority: optional
+Maintainer: Ubuntu Developers
+XSBC-Original-Maintainer: Frank Habermann
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7)
+Standards-Version: 3.8.4
+
+Package: knowledgeroot
+Architecture: all
+Depends: ${misc:Depends}, apache2 | httpd, php5, php5-mysql | php5-pgsql, libphp-phpmailer, php-xml-htmlsax3, fckeditor, libjs-scriptaculous, libjs-prototype, tinymce, php-gettext
+Suggests: mysql-server | postgresql-8.2 | postgresql-8.1
+Description: web-based knowledgebase system
+ This is a knowledgebase system that lets you structure your content
+ in a tree. It is a little bit like a wiki but it is not a wiki!
+ You do not need to learn a wiki syntax; you can use a rich text
+ editor (FCKEditor or TinyMCE) to write content.
--- knowledgeroot-0.9.9.5.orig/debian/changelog
+++ knowledgeroot-0.9.9.5/debian/changelog
@@ -0,0 +1,171 @@
+knowledgeroot (0.9.9.5-3ubuntu1) maverick; urgency=low
+
+ * Merge from debian unstable (LP: #598998), remaining changes:
+ - debian/control: Dont suggest mysql-server-5.0.
+
+ -- Lorenzo De Liso Sun, 27 Jun 2010 12:53:47 +0200
+
+knowledgeroot (0.9.9.5-3) unstable; urgency=low
+
+ * removed installation of config file for apache (Closes: #578238)
+
+ -- Frank Habermann Thu, 22 Apr 2010 22:40:00 +0200
+
+knowledgeroot (0.9.9.5-2) unstable; urgency=low
+
+ * changed rules so the admin config did not override normal config and copy
+ config files as dist files to /etc/knowledgeroot
+ * changed standars version to 3.8.4
+ * set source format version to 1.0
+
+ -- Frank Habermann Fri, 09 Apr 2010 21:17:00 +0200
+
+knowledgeroot (0.9.9.5-1ubuntu1) lucid; urgency=low
+
+ * debian/control: Dont suggest mysql-server-5.0.
+
+ -- Chuck Short Wed, 07 Apr 2010 11:25:29 -0400
+
+knowledgeroot (0.9.9.5-1) unstable; urgency=low
+
+ * new upstream version
+ * changed standars version to 3.8.3
+ * changed debhelper version
+ * added quillt support
+ * using minimalistic rules
+ * require prototype (Closes: #555230, #555229)
+ * require php-gettext
+
+ -- Frank Habermann Sun, 06 Dec 2009 22:00:00 +0200
+
+knowledgeroot (0.9.8.5.1-1) unstable; urgency=medium
+
+ * new upstream version
+ - removed swap file
+
+ -- Frank Habermann Fri, 11 Apr 2008 22:56:00 +0200
+
+knowledgeroot (0.9.8.5-4) unstable; urgency=low
+
+ * package depends now on libjs-scriptaculous (Closes: #475277)
+ * changed compat to version 6
+
+ -- Frank Habermann Fri, 11 Apr 2008 21:55:00 +0200
+
+knowledgeroot (0.9.8.5-3) unstable; urgency=low
+
+ * knowledgeroot uses now fckeditor from package repository instead of own
+ version (Closes: #461555)
+ * fixed problems with wrong path to config file
+
+ -- Frank Habermann Tue, 5 Feb 2008 21:14:04 +0200
+
+knowledgeroot (0.9.8.5-2) unstable; urgency=low
+
+ * now using package php-xml-htmlsax3 for htmlsax3 features that also clearify
+ the license problems (Closes: #431026)
+ * changed standards-version from 3.7.2 to 3.7.3
+
+ -- Frank Habermann Mon, 10 Dec 2007 22:30:45 +0200
+
+knowledgeroot (0.9.8.5-1) unstable; urgency=low
+
+ * New upstream release:
+ - removed blacklist and endabled whitelist in fckeditor upload to
+ disable uploads of unknown filetypes [[CVE-2007-5156]]
+ (Closes: #444928)
+ - added new languagefile for japanese
+ - fixed a problem with the search button in ie
+
+ -- Frank Habermann Wed, 10 Oct 2007 23:51:15 +0200
+
+knowledgeroot (0.9.8.4-1) unstable; urgency=low
+
+ * New upstream release:
+ - added error class
+ - added searchtitel at search
+ - added search with browser back
+ - added highlighting for searchwords
+ - fixed disordered layout on initial load
+ - added pconnects
+ - added new hook in init.php and init_admin.php
+ - added ajaxtree for opera
+ - added tinymce 2.1.1.1
+ - added fckeditor 2.4.3
+ - added libsecure 0.2.3
+ - added better extension handling to class-extension-base.php
+ - added admin_extension 0.2
+ * removed phpmailer in package and use debian package libphp-phpmailer (Closes: #429342)
+ * modified copyright and added missing license for HTMLSax3.php (Closes: #431026)
+
+ -- Frank Habermann Sat, 29 Sep 2007 17:42:23 +0200
+
+knowledgeroot (0.9.8.2-2) unstable; urgency=high
+
+ * Applied patch from phpmailer upstream to fix shell command execution in
+ the included phpmailer code [CVE-2007-3215] (Closes: #429196).
+ * Applied patch from svn repository for fckeditor to fix incomplete
+ blacklist vulnerability in the filemanager [CVE-2007-3163]
+ (Closes: #429204).
+
+ -- Frank Habermann Sun, 01 Jul 2007 23:27:23 +0200
+
+knowledgeroot (0.9.8.2-1) unstable; urgency=low
+
+ * New upstream release (Closes: #420196):
+ - extension interface
+ - using internal cache for better performance
+ - better handling of sql queries
+ - emailnotification as html mail
+ - newer fckeditor and tinymce
+ - internal linking in the editors
+ - aliases for pages are possible to simulate static contents
+ - collapse of content
+ - admin interface for configuration and to add new features as extension
+ - moving a page to root
+ - install/update interface
+ - setting titles for content
+ - using of subinherit rights
+ - many bugs and small other things
+ * changed descripton suggested by Reuben Thomas (Closes: #416003)
+ * changed mysql and postgresql to suggests (Closes: #419289)
+ * changed README.Debian
+
+ -- Frank Habermann Sun, 22 Apr 2007 21:13:23 +0200
+
+knowledgeroot (0.9.7.3-2) unstable; urgency=low
+
+ * config will be installed with install
+ * knowledgeroot use config file from /etc/knowledgeroot
+
+ -- Frank Habermann Mon, 13 Nov 2006 22:20:23 +0200
+
+knowledgeroot (0.9.7.3-1) unstable; urgency=low
+
+ * Bugs with rightmanagement were fixed
+ * fckeditor updated to version 2.3.2
+ * tinymce updated to version 2.0.8
+ * new languages added: japan, netherlands, french
+
+ -- Frank Habermann Fri, 10 Nov 2006 21:23:23 +0200
+
+knowledgeroot (0.9.7.2-1) unstable; urgency=low
+
+ * Bug with german umlauts in the searchengine was fixed
+
+ -- Frank Habermann Wed, 27 Sep 2006 21:26:49 +0200
+
+knowledgeroot (0.9.7.1-1) unstable; urgency=low
+
+ * New upstream release:
+ - Fixed bug: Not all content are show because of a wrong sql statement
+ - removed dump/postgre-ref.sql because it is not useable and obsolete
+ * don't install license file from phpmailer
+
+ -- Frank Habermann Wed, 9 Aug 2006 22:37:18 +0200
+
+knowledgeroot (0.9.7-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Frank Habermann Sun, 16 Jul 2006 17:27:18 +0200
--- knowledgeroot-0.9.9.5.orig/debian/README.Debian
+++ knowledgeroot-0.9.9.5/debian/README.Debian
@@ -0,0 +1,12 @@
+knowledgeroot for Debian
+------------------------
+
+ 1. Installation of Knowledgeroot
+ - open http://domain/knowledgeroot/install.php in your browser
+ - follow the instructions
+
+ 2. Update from Knowledgeroot 0.9.7.x
+ - open http://domain/knowledgeroot/update.php in your browser
+ - follow the instructions
+
+ -- Frank Habermann Sun, 22 Apr 2007 23:11:18 +0200
--- knowledgeroot-0.9.9.5.orig/debian/copyright
+++ knowledgeroot-0.9.9.5/debian/copyright
@@ -0,0 +1,284 @@
+This package was debianized by Frank Habermann on
+Sun, 16 Jul 2006 17:27:18 +0200.
+
+It was downloaded from .
+
+Upstream Author: Frank Habermann
+
+Copyright Holders: Frank Habermann ,
+ Jony dos Santos Kostetzer ,
+ Michael Fields ,
+ Frederico Caldeira Knabben ,
+ Thomas Bruederli ,
+ Moxiecode Systems AB ,
+ Brent R. Matzelle ,
+ Sam Stephenson ,
+ Thomas Fuchs ,
+ Roman Ivanov ,
+ Danilo Segan ,
+ Nico Kaiser ,
+ Steven Armstrong
+
+License (extension/fckeditor/fckeditor/*):
+
+ Copyright (C) 2003-2006 Frederico Caldeira Knabben
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (extension/tinymce/jscripts/tiny_mce/*):
+
+ Copyright (C) 2003-2006 Moxiecode Systems AB
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (system/javascript/prototype.js):
+
+ Copyright (C) 2005 Sam Stephenson
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License (system/javascript/builder.js, system/javascript/controls.js, system/javascript/dragdrop.js, system/javascript/effects.js, system/javascript/scriptaculous.js, system/javascript/slider.js, system/javascript/unittest.js, system/javascript/sound.js):
+
+ Copyright (C) 2005 Thomas Fuchs
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License (system/php-gettext/*):
+
+ Copyright (C) 2003 Danilo Segan
+ Copyright (C) 2005 Nico Kaiser
+ Copyright (C) 2005 Steven Armstrong
+
+ This program 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 program 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 Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (system/phpmailer/*):
+
+ Copyright (C) 2001 - 2003 Brent R. Matzelle
+
+ This program 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 program 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 Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (close.gif, confirm.png, fixed.gif, info.gif, left.gif, loading.gif, minus.gif, minus.jpg, plus.gif, plus.jpg, reload.gif, right.gif, warning.png, system/themes/green/images/bg.gif):
+
+ Copyright (C) 2005, RoundCube Dev. - Switzerland
+
+ This program 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 program 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 Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (system/extension/libsecure/safehtml/*)
+
+ Copyright (C) Roman Ivanov, 2004-2005
+ Copyright (C) Pixel-Apes ( http://pixel-apes.com/ ), 2004-2005
+ Copyright (C) JetStyle ( http://jetstyle.ru/ ), 2004-2005
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License (extension/libsecure/safehtml/classes/HTMLSax3.php)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, is permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ 3. The name "PHP" must not be used to endorse or promote products
+ derived from this software without prior written permission. For
+ written permission, please contact group@php.net.
+
+ 4. Products derived from this software may not be called "PHP", nor
+ may "PHP" appear in their name, without prior written permission
+ from group@php.net. You may indicate that your software works in
+ conjunction with PHP by saying "Foo for PHP" instead of calling
+ it "PHP Foo" or "phpfoo"
+
+ 5. The PHP Group may publish revised and/or new versions of the
+ license from time to time. Each version will be given a
+ distinguishing version number.
+ Once covered code has been published under a particular version
+ of the license, you may always continue to use it under the terms
+ of that version. You may also choose to use such covered code
+ under the terms of any subsequent version of the license
+ published by the PHP Group. No one other than the PHP Group has
+ the right to modify the terms applicable to covered code created
+ under this License.
+
+ 6. Redistributions of any form whatsoever must retain the following
+ acknowledgment:
+ "This product includes PHP, freely available from
+ ".
+
+ THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
+ ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
+ DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License (extension/libsecure/htmlpurifier/*)
+
+ Copyright (C) 2006 Edward Z. Yang
+
+ This program 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 program 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 Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+License (everything else):
+
+ Copyright (C) 2005-2006 Knowledgeroot Dev.
+
+ This program 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 program 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 Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+The Debian packaging is (C) 2006, Frank Habermann and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL file.
+
+On Debian systems, the complete text of the GNU Lesser General Public License
+can be found in /usr/share/common-licenses/LGPL file.
--- knowledgeroot-0.9.9.5.orig/debian/source/format
+++ knowledgeroot-0.9.9.5/debian/source/format
@@ -0,0 +1 @@
+1.0
--- knowledgeroot-0.9.9.5.orig/debian/patches/02-phpmailer.patch
+++ knowledgeroot-0.9.9.5/debian/patches/02-phpmailer.patch
@@ -0,0 +1,15 @@
+Author: Frank Habermann
+Description: change path for phpmailer
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/include/init.php knowledgeroot-0.9.9.5/include/init.php
+--- knowledgeroot-0.9.9.5.orig/include/init.php 2009-07-05 21:43:39.000000000 +0000
++++ knowledgeroot-0.9.9.5/include/init.php 2009-12-30 20:52:07.000000000 +0000
+@@ -21,7 +21,7 @@ require_once($base_path."include/class-k
+ require_once($base_path."include/class-knowledgeroot-content.php");
+ require_once($base_path."include/class-knowledgeroot-themes.php");
+ require_once($base_path."include/class-language.php");
+-require_once($base_path."system/phpmailer/class.phpmailer.php");
++require_once("/usr/share/php/libphp-phpmailer/class.phpmailer.php");
+ require_once($base_path."include/class-email-notification.php");
+ require_once($base_path."include/class-knowledgeroot-extension.php");
+ require_once($base_path."include/class-extension-base.php");
--- knowledgeroot-0.9.9.5.orig/debian/patches/01-config.patch
+++ knowledgeroot-0.9.9.5/debian/patches/01-config.patch
@@ -0,0 +1,151 @@
+Author: Frank Habermann
+Description: change paths to config file
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/admin/index.php knowledgeroot-0.9.9.5/admin/index.php
+--- knowledgeroot-0.9.9.5.orig/admin/index.php 2009-02-12 23:01:21.000000000 +0000
++++ knowledgeroot-0.9.9.5/admin/index.php 2009-12-30 20:30:57.000000000 +0000
+@@ -7,14 +7,14 @@
+ * @version $Id: index.php 632 2009-02-12 23:01:21Z lordlamer $
+ */
+
+-if(!is_file("../config/config.inc.php") || !is_file("../config/admin_config.inc.php")) {
++if(!is_file("/etc/knowledgeroot/config.inc.php") || !is_file("/etc/knowledgeroot/admin_config.inc.php")) {
+ echo "No configuration file found! Please make a install!";
+ exit();
+ }
+
+ // load requiered files
+-require_once("../config/config.inc.php");
+-require_once("../config/admin_config.inc.php");
++require_once("/etc/knowledgeroot/config.inc.php");
++require_once("/etc/knowledgeroot/admin_config.inc.php");
+ require_once("../include/init_admin.php");
+
+ echo '';
+diff -Naurp knowledgeroot-0.9.9.5.orig/ajax-xml.php knowledgeroot-0.9.9.5/ajax-xml.php
+--- knowledgeroot-0.9.9.5.orig/ajax-xml.php 2007-03-31 19:49:44.000000000 +0000
++++ knowledgeroot-0.9.9.5/ajax-xml.php 2009-12-30 20:24:46.000000000 +0000
+@@ -5,12 +5,12 @@
+ * Frank Habermann
+ */
+
+-if(!is_file("config/config.inc.php")) {
++if(!is_file("/etc/knowledgeroot/config.inc.php")) {
+ exit();
+ }
+
+ // load requiered files
+-require_once("config/config.inc.php");
++require_once("/etc/knowledgeroot/config.inc.php");
+ require_once("include/init.php");
+ require_once("include/class-ajax-xml.php");
+
+@@ -27,4 +27,4 @@ header("Content-Type: text/xml");
+ // return xmlcode
+ echo $CLASS['ajax']->get_xml();
+
+-?>
+\ Kein Zeilenumbruch am Dateiende.
++?>
+diff -Naurp knowledgeroot-0.9.9.5.orig/debug.php knowledgeroot-0.9.9.5/debug.php
+--- knowledgeroot-0.9.9.5.orig/debug.php 2007-04-21 17:44:50.000000000 +0000
++++ knowledgeroot-0.9.9.5/debug.php 2009-12-30 20:26:08.000000000 +0000
+@@ -11,11 +11,11 @@ require_once("include/version.php");
+ Knowledgeroot debugcollector
+ \n";
+-echo "config available:" . (is_file("config/config.inc.php")? "yes" : "no") . "
\n";
+-echo "admin_config available:" . (is_file("config/admin_config.inc.php")? "yes" : "no") . "
\n";
++echo "config available:" . (is_file("/etc/knowledgeroot/config.inc.php")? "yes" : "no") . "
\n";
++echo "admin_config available:" . (is_file("/etc/knowledgeroot/admin_config.inc.php")? "yes" : "no") . "
\n";
+
+-if(is_file("config/config.inc.php")) {
+- include("config/config.inc.php");
++if(is_file("/etc/knowledgeroot/config.inc.php")) {
++ include("/etc/knowledgeroot/config.inc.php");
+ echo "database type: " . $CONFIG['db']['type'] . "
\n";
+ }
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/extension/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php knowledgeroot-0.9.9.5/extension/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
+--- knowledgeroot-0.9.9.5.orig/extension/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php 2009-10-31 19:04:21.000000000 +0000
++++ knowledgeroot-0.9.9.5/extension/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php 2009-12-30 20:33:00.000000000 +0000
+@@ -29,7 +29,7 @@ global $Config ;
+ // authenticated users can access this file or use some kind of session checking.
+ $Config['Enabled'] = true ;
+
+-require_once('../../../../../../../config/config.inc.php');
++require_once('/etc/knowledgeroot/config.inc.php');
+ require_once('../../../../../../../include/init.php');
+ $CONFIG = $CLASS['vars'];
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/extension/fckeditor/plugins/krootlink/fck_krootlink.php knowledgeroot-0.9.9.5/extension/fckeditor/plugins/krootlink/fck_krootlink.php
+--- knowledgeroot-0.9.9.5.orig/extension/fckeditor/plugins/krootlink/fck_krootlink.php 2009-04-03 21:56:42.000000000 +0000
++++ knowledgeroot-0.9.9.5/extension/fckeditor/plugins/krootlink/fck_krootlink.php 2009-12-30 20:32:40.000000000 +0000
+@@ -1,5 +1,5 @@
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/extension/tinymce/tinymce-plugins/krootlink/krootlink_popup.php knowledgeroot-0.9.9.5/extension/tinymce/tinymce-plugins/krootlink/krootlink_popup.php
+--- knowledgeroot-0.9.9.5.orig/extension/tinymce/tinymce-plugins/krootlink/krootlink_popup.php 2009-03-19 22:39:51.000000000 +0000
++++ knowledgeroot-0.9.9.5/extension/tinymce/tinymce-plugins/krootlink/krootlink_popup.php 2009-12-30 20:32:14.000000000 +0000
+@@ -1,5 +1,5 @@
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/include/class-knowledgeroot-installer.php knowledgeroot-0.9.9.5/include/class-knowledgeroot-installer.php
+--- knowledgeroot-0.9.9.5.orig/include/class-knowledgeroot-installer.php 2009-08-11 21:47:57.000000000 +0000
++++ knowledgeroot-0.9.9.5/include/class-knowledgeroot-installer.php 2009-12-30 20:29:18.000000000 +0000
+@@ -7,8 +7,8 @@
+ * @version $Id: class-knowledgeroot-installer.php 281 2007-01-28 21:03:07Z lordlamer $
+ */
+ class knowledgeroot_installer {
+- var $file_config = "config/config.inc.php";
+- var $file_admin_config = "config/admin_config.inc.php";
++ var $file_config = "/etc/knowledgeroot/config.inc.php";
++ var $file_admin_config = "/etc/knowledgeroot/admin_config.inc.php";
+ var $file_install = "install.php";
+ var $file_update = "update.php";
+ var $file_pgsql_dump = "dumps/postgre.sql";
+diff -Naurp knowledgeroot-0.9.9.5.orig/index.php knowledgeroot-0.9.9.5/index.php
+--- knowledgeroot-0.9.9.5.orig/index.php 2009-07-31 20:48:26.000000000 +0000
++++ knowledgeroot-0.9.9.5/index.php 2009-12-30 20:23:24.000000000 +0000
+@@ -12,13 +12,13 @@
+ $timer = microtime();
+ $starttime = ((double)strstr($timer, ' ') + (double)substr($timer,0,strpos($timer,' ')));
+
+-if (!is_file("config/config.inc.php")) {
++if (!is_file("/etc/knowledgeroot/config.inc.php")) {
+ echo "No configuration file found! Please make a install!";
+ exit();
+ }
+
+ // load requiered files
+-require_once ('config/config.inc.php');
++require_once ('/etc/knowledgeroot/config.inc.php');
+ require_once ('include/init.php');
+
+
+diff -Naurp knowledgeroot-0.9.9.5.orig/move.php knowledgeroot-0.9.9.5/move.php
+--- knowledgeroot-0.9.9.5.orig/move.php 2007-08-10 19:48:05.000000000 +0000
++++ knowledgeroot-0.9.9.5/move.php 2009-12-30 20:26:51.000000000 +0000
+@@ -1,12 +1,12 @@
+ No configuration file found! Please make a install!