From 2fd0f6c50d9f8e94bc932144ad5f6d2798a0ba18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20F=C3=BCrstenberg?= Date: Fri, 18 Jun 2010 16:46:59 +0200 Subject: [PATCH] Imported Debian patch 3.3.8-1 --- debian/README.Debian | 212 +++++++ debian/changelog | 450 ++++++++++++++ debian/cleanup.sh | 58 ++ debian/compat | 1 + debian/control | 49 ++ debian/copyright | 647 ++++++++++++++++++++ debian/horde3-base.dirs | 2 + debian/horde3-base.docs | 2 + debian/horde3-base.examples | 3 + debian/horde3-base.install | 14 + debian/horde3-base.links | 9 + debian/horde3.dirs | 2 + debian/horde3.logrotate | 10 + debian/patches/01_default-charset-utf8.diff | 156 +++++ debian/patches/debian-changes-3.3.6-2 | 31 + debian/patches/series | 1 + debian/rules | 74 +++ debian/source/format | 1 + debian/watch | 3 + 19 files changed, 1725 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/cleanup.sh create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/horde3-base.dirs create mode 100644 debian/horde3-base.docs create mode 100644 debian/horde3-base.examples create mode 100644 debian/horde3-base.install create mode 100644 debian/horde3-base.links create mode 100644 debian/horde3.dirs create mode 100644 debian/horde3.logrotate create mode 100644 debian/patches/01_default-charset-utf8.diff create mode 100644 debian/patches/debian-changes-3.3.6-2 create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..55629b7 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,212 @@ +horde3 for Debian +----------------- + +Configuring Horde +================= + +1. Configuring the web server + + The webserver is normally configured by default in a Debian system but you + need to check if you have configured it in some other way; in + particular, you need the following to apply to the + /usr/share/horde3/ hierarchy: + + Options FollowSymLinks + AllowOverride Limit + + For the webserver you also need to tell where your horde3 installation + is. This done by adding an alias to the apache configuration like this: + + Alias /horde3 /usr/share/horde3 + + Note that the /horde3 prefix is only the default; it is configured in + /etc/horde/horde3/registry.php, in: + + $this->applications['horde'] = array( + ... + 'webroot' => $webroot, + ... + ) + + You can change this setting if you wish. + + Horde requires the following webserver settings. Examples shown are for + Apache; other webservers' configurations will differ. + + a. PHP interpretation for files matching ``*.php``:: + + AddType application/x-httpd-php .php + + .. Note:: The above instructions may not work if you have specified PHP + as an output filter with ``SetOutputFilter`` directive in + Apache 2.x versions. In particular, Red Hat 8.0 and above + Apache 2.x RPMS have the output filter set, and **MUST NOT** + have the above ``AddType`` directive added. + + b. ``index.php`` as an index file (brought up when a user requests a URL for + a directory):: + + DirectoryIndex index.php + + c. Horde also require that the php is set to session.auto_start = Off. + So if you have changed that you need to add this to your apache + configuration (at least for horde). + + php_flag session.auto_start Off + +2. Creating databases + + The specific steps to create a preferences storage container depend on + which database you've chosen to use. + + First, look in ``usr/share/doc/horde3/examples/scripts/sql``/ to see + if a ``create.`` script already exists for your database. + If so, you should be able to simply execute that + script as superuser in your database. Consult the ``scripts/sql/README`` + file for more information. + + Be sure to change the default password, ``horde``, to something else before + creating the tables! (Remember to use this password when you configure + Horde in the next step.) + + If such a script does not exist, you'll need to build your own, using the + files ``horde_users.sql``, ``horde_prefs.sql``, and ``horde_datatree.sql`` + as a starting point. If you need assistance in creating databases for a + database for which no ``create.`` script exists, you may wish to let us + know on the `Horde mailing list`_. + + If you are going to use database based sessions, create a table using the + files ``scripts/sql/horde_sessionhandler*.sql`` as a starting point. + + .. _`Horde mailing list`: horde@lists.horde.org + +3. Configuring Horde + + To configure horde3 use the web configuration wizard. It is disabled + by default for security reasons. To enable it remove the exit (0) directive + and the echo line above it in /etc/horde/horde3/conf.php file. To let the + configuration wizard write to the configuration files you have to change + the owner of the /etc/horde/horde3 dir and config files to be owned by + www-data. + + If you do not do that you have to cut from the web configuration + program and paste into the config file yourself. + + The reason why this is not the default option is, that allow writing + to configuration files without any authentication is a big + security hole, so you should reset the owner to root when you are done + with the configuration. + + The wizard appears at the webroot of Horde if the latter is not + configured yet; later, login as an admin user to get it in the + menu. The webroot of Horde is http://HOSTNAME/horde3/ by default. + + You can now access Horde without a password, and you will be logged in as + an administrator. You should first configure a real authentication backend. + Click on ``Configuration`` in the ``Administration`` menu and configure + Horde. Start in the ``Authentication`` tab. + + Here is an example for configuring authentication against a remote IMAP + server. Similar steps apply for authenticating against a database, an LDAP + server, etc. + + If you want the Administrator of the web account able to write to the + configuration files without the need of cut and paste you need to make + /etc/horde/horde3/config (with corresponding files) owned and writeable + by the webserver user (normally www-data). In order to configure other + applications like imp such files also need to be writeable by the webserver + user. + + Note! Giving the web user access to write to the configuration may be + a security issue, so this is not recommended to keep for a long time (if + at all). + + a. In the ``Which users should be treated as administrators`` field enter a + comma separated list of user names of your choosing. This will control + who is allowed to make configuration changes, see passwords, potentially + add users, etc. + + b. In the ``What backend should we use for authenticating users to Horde`` + pulldown menu select ``IMAP authentication``. The page will reload and + you will have specific options for IMAP authentication. + + c. In the ``Configuration type`` pulldown menu select ``Separate values``. + The page will reload with additional options. Fill in the remaining + three fields appropriately: + + - IP name/number of the IMAP server + - For a secure connection, select port 993. + - Select the protocol; for a secure connection either ``imap/ssl`` or + ``imap/ssl/novalidate-cert`` (for self-signed certificates). + + Continue to configure Horde through all the tabs of the configuration + interface and click on ``Generate Horde Configuration``. + + Configuration of applications in ``registry.php`` is documented in the + ``INSTALL`` file of each application. Most applications require you to + configure them with a "Horde administrator" account. A Horde administrator + account is any normal Horde account that has been added to the + administrator list in the ``Authentication`` tab of the Horde + configuration. + + The other files in that directory need only be modified if you wish to + customize Horde's appearance or behaviour -- the defaults will work at most + sites. + + .. _translations: + + Note for international users: Horde uses GNU gettext to provide local + translations of text displayed by applications; the translations are found + in the po/ directory. If a translation is not yet available for your + locale (and you wish to create one), see the ``horde/po/README`` file, or + if you're having trouble using a provided translation, please see the + `horde/docs/TRANSLATIONS`_ file for instructions. + +4. Miscellaneous + + If the temporary directory of the PHP serving Horde is not /tmp/, + you need to set it in /etc/default/horde3 for the weekly clean-up + to work correctly. + +6. Securing Horde + + a. Passwords + + Some of Horde's configuration files contain passwords which local users + could use to access your database. It is recommended to ensure that at + least the Horde configuration files (in ``/etc/horde/horde3/``) are not + readable to system users. There are ``.htaccess`` files restricting + access to directories that do not need to be accessed directly; before + relying on those, ensure that your webserver supports ``.htaccess`` and + is configured to use them, and that the files in those directories are in + fact inaccessible via the browser. + + An additional approach is to make Horde's configuration files owned by + the user ``root`` and by a group which only the webserver user belongs + to, and then making them readable only to owner and group. For example, + if your webserver runs as ``www-data.www-data``, do as follows:: + + chown root.www-data config/* + chmod 0440 config/* + + b. Sessions + + Session data -- including hashed versions of your users' passwords, in + some applications -- may not be stored as securely as necessary. + + If you are using file-based PHP sessions (which are the default), be + sure that session files are not being written into ``/tmp`` with + permissions that allow other users to read them. Ideally, change the + ``session.save_path`` setting in ``php.ini`` to a directory only + readable and writeable by your webserver. + + Additionally, you can change the session handler of PHP to use any + storage backend requested (e.g. SQL database) via the ``Custom Session + Handler`` tab in the Horde configuration. + +7. Entering the survey + + If you like, go to http://www.horde.org/survey/ and enter the details of + your system. + + -- Lionel Elie Mamane , Sun, 16 Jul 2006 12:54:19 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..76b179f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,450 @@ +horde3 (3.3.8-1) vincent; urgency=low + + * Imported Upstream version 3.3.8 + * remove old arch file + + -- Carl Fürstenberg Fri, 18 Jun 2010 16:46:59 +0200 + +horde3 (3.3.6-2) vincent; urgency=low + + * B3 + * Switch to dpkg-source 3.0 (native) format + + -- Carl Fürstenberg Wed, 09 Jun 2010 16:20:38 +0200 + +horde3 (3.3.6-1) claire; urgency=low + + * New upstream release + + -- Carl Fürstenberg Wed, 09 Jun 2010 16:19:59 +0200 + +horde3 (3.3.5-1) claire; urgency=low + + * New upstream release + + -- Carl Fürstenberg Wed, 16 Sep 2009 09:52:57 +0200 + +horde3 (3.3.3-1) claire; urgency=low + + * New upstream release + + -- Carl Fürstenberg Fri, 30 Jan 2009 21:56:26 +0100 + +horde3 (3.3-6) intrepid; urgency=low + + * conflict on old horde package + + -- Carl Fürstenberg Mon, 01 Dec 2008 12:44:06 +0100 + +horde3 (3.3-5) intrepid; urgency=low + + * update patch + + -- Carl Fürstenberg Mon, 01 Dec 2008 11:12:46 +0100 + +horde3 (3.3-4) hardy; urgency=low + + * force usage of UTF-8 + + -- Carl Fürstenberg Wed, 15 Oct 2008 17:45:41 +0200 + +horde3 (3.3-3) hardy; urgency=low + + * add forgotten login.php + + -- Carl Fürstenberg Wed, 15 Oct 2008 13:58:01 +0200 + +horde3 (3.3-2) unstable; urgency=low + + * readd logrotate to horde3 package + + -- Carl Fürstenberg Fri, 10 Oct 2008 17:31:04 +0200 + +horde3 (3.3-1) unstable; urgency=low + + * New upstream release + * Split package into two, a base package and a config package + + -- Carl Fürstenberg Wed, 08 Oct 2008 15:43:33 +0200 + +horde3 (3.2.1+debian0-1ex6) unstable; urgency=low + + * really remove the cron file + + -- Carl Fürstenberg Sun, 31 Aug 2008 01:48:57 +0200 + +horde3 (3.2.1+debian0-1ex5) unstable; urgency=low + + * dump cron from here + + -- Carl Fürstenberg Sun, 31 Aug 2008 00:52:09 +0200 + +horde3 (3.2.1+debian0-1ex4) unstable; urgency=low + + * one too much depoendice + + -- Carl Fürstenberg Mon, 21 Jul 2008 08:53:35 +0000 + +horde3 (3.2.1+debian0-1ex3) unstable; urgency=low + + * no depencies here to webservers and engines + + -- Carl Fürstenberg Mon, 21 Jul 2008 08:35:34 +0000 + +horde3 (3.2.1+debian0-1ex2) unstable; urgency=low + + * move logging to bubba-horde package + + -- Carl Fürstenberg Mon, 07 Jul 2008 08:59:03 +0000 + +horde3 (3.2.1+debian0-1ex1) unstable; urgency=low + + * Moving the configuration out of the wat to allow sub-packages to handle + the conf. + + -- Carl Fürstenberg Tue, 24 Jun 2008 13:32:19 +0200 + +horde3 (3.2.1+debian0-1) unstable; urgency=low + + * New upstream release. + * This new version has major changes compared to the previous version: an + alarm system that can send email, generate inline notifications, and play + sounds for events in any Horde application; support for read and write + databases; operation when the database is down; many performance + improvements, several slick new themes; WCAG 1.0 Priority 2/Section 508 + accessibility guidelines compliance; full Kolab webclient support; many + improvements in the JavaScript and user interface; a new tree view for + Help along with keyword search; support for memcache clustering; and many, + many bug fixes and small enhancements. + * With this new version: remove of backported patch for correcting invalid + entities in es_ES (#461400) and manual merge for + config/mime_drivers.php.dist and config.conf.xml for keeping Debian + specific patches. + * Thanks to Mathieu Parent for his help/patches for + this package. + * Repack upstream source to remove fckeditor, tinymce and scriptaculous + (size of upstream source is now instead 7 Mo instead of 8 Mo). + * Added a check in debian/rules to make sure that those external libs are not + in the orig.tar.gz + * A lot of improvements in debian/copyright file. + * Some adjustements in debian/rules: remove exec rights for xml/png/gif/css/ + js/jpg/html/htm files, no more need to remove empty directories and copy + CREDITS file. + * Link some *.js files with libjs-scriptaculous package. + * Link editors (tinymce and fckeditor) with tinymce2 and fckeditor packages. + * Add unrtf and libwpd-tools in "Suggests" field. + * Add patch to keep PAM authentication stays compatible with precedent + version (and with php5-auth-pam package). Add php5-auth-pam to Suggests: + field. + * Update to standards version 3.8.0, no further required changes. + + -- Gregory Colpart (evolix) Sat, 14 Jun 2008 17:14:51 +0200 + +horde3 (3.1.7-1) unstable; urgency=high + + * New upstream release. + * This new version has security fix: fix arbitrary file inclusion through + abuse of the theme preference (see CVE-2008-1284 for more informations). + (Closes: #470640) + * Fix typo in debian/rules comments. + * Add php-net-imap package in "Suggests" field. (Closes: #470283) + * Add libgeoip1 package in "Suggests" field. (Closes: #376935) + + -- Gregory Colpart (evolix) Sat, 15 Mar 2008 14:00:34 +0100 + +horde3 (3.1.6-1) unstable; urgency=high + + * New upstream release. + * This new version has security fixes : privilege escalation in the Horde + API and XSS vulnerabilities (see CVE-2007-6018 for more informations). + (Closes: #461131) + * This new version fixes also translation error in it_IT locale + (Closes: #459555) + * Import fix from Horde CVS to correct invalid entities in es_ES + translantion (thanks to Adrian Santos Marrero ) + (Closes: #461400) + * Update to standards version 3.7.3, no further required changes. + * Use now Vcs-* fields in debian/control. + * Remove empty directories which causes lintian warnings. + * Bump debhelper compat level to 5. + * Add Homepage field. + + -- Gregory Colpart (evolix) Sun, 20 Jan 2008 20:52:59 +0100 + +horde3 (3.1.4-2) unstable; urgency=low + + [ Gregory Colpart (evolix) ] + * Added XS-VCS-* fields in debian/control. + * Typo in previous changelog. + + [ Ola Lundqvist ] + * Correction of log file problem in configuration file, closes: #452351. + * Document that the echo line need to be removed as well, closes: #456908. + + -- Ola Lundqvist Sat, 22 Dec 2007 11:21:40 +0100 + +horde3 (3.1.4-1) unstable; urgency=high + + * New upstream release. + * Transition to PHP5 for Recommends and Suggests fields. (Closes: #432237) + * Remove old phpapi-* from Depends: (Closes: #420644) + * Clean Depends, Recommends and Suggests fields. + * Remove exec right for XML files in debian/rules. + * Add locales in Recommends. + * Disable upstream _detect_webroot() function (unusable in Debian). + * Fix XSS vulnerability. See CVE-2007-1473 for more information. + (Closes: #434045) + + -- Gregory Colpart (evolix) Tue, 24 Jul 2007 18:48:35 -0400 + +horde3 (3.1.3-5) unstable; urgency=low + + * Changed webroot from /horde to /horde3, especially regarding cookie + handling, closes: #391493. + + -- Ola Lundqvist Mon, 21 May 2007 07:03:41 +0200 + +horde3 (3.1.3-4) unstable; urgency=high + + * Correction for arbitrary file deletion vulnerability, + closes: #415116. Thanks to Paul TBBle Hampson + for providing the patch. + + -- Ola Lundqvist Sat, 24 Mar 2007 21:19:05 +0100 + +horde3 (3.1.3-3) unstable; urgency=low + + * Recommend php-db (closes: #400277) + + -- Lionel Elie Mamane Sat, 27 Jan 2007 19:38:21 +0100 + +horde3 (3.1.3-2) unstable; urgency=low + + * Changed the default cookie path from /horde to horde3, closes: + #391493. Thanks for Gregory Colpart for committing + this change and to Lorenzo Bettini for + suggesting it. + + -- Ola Lundqvist Mon, 9 Oct 2006 14:00:35 +0200 + +horde3 (3.1.3-1) unstable; urgency=low + + * New upstream version, closes: #383416. This is a bugfix release to + correct CVE-2006-4256. + * Now suggests gettext, closes: #385457. + + -- Ola Lundqvist Sun, 3 Sep 2006 12:34:06 +0200 + +horde3 (3.1.2-1) unstable; urgency=medium + + * New upstream release. + One of the following is true: + - This release fixes security problems CVE-2006-3549 and CVE-2006-3548 + - These security problems were already fixed in the past in the Debian + branch. + - These security problems were already partially fixed in the past in + the Debian version and this release mops up the rest. + In all cases, closes: #378281 + * Tweak README.Debian and example config a bit (closes: #373235) + * Make the PHP tempdir configurable instead of hardcoded in the weekly + cleanup script (closes: #376526) + * Put the CREDITS file where the online help viewer expects it + (closes: #357377) + * Bump up Standards-Version + + -- Lionel Elie Mamane Sun, 16 Jul 2006 13:12:10 +0200 + +horde3 (3.1.1-4) UNRELEASED; urgency=low + + * Put debhelper in Build-Depends, not B-D-Indep. + + -- Lionel Elie Mamane Fri, 16 Jun 2006 11:49:45 +0200 + +horde3 (3.1.1-3) unstable; urgency=high + + * The SuSE maintainer found several XSS isses in Horde. See + CVE-2006-2195 for more information. Thanks to Moritz Muehlenhoff + for providing the patch. + + -- Ola Lundqvist Wed, 14 Jun 2006 09:36:43 +0200 + +horde3 (3.1.1-2) unstable; urgency=low + + * Correcting the dependencies for php5. + * Jose Carlos Medeiros no longer maintainer of this package. + + -- Ola Lundqvist Sat, 6 May 2006 21:01:48 +0200 + +horde3 (3.1.1-1) unstable; urgency=high + + [ Lionel Elie Mamane ] + * New upstream version + - Close remote arbitrary command execution hole (closes: #360023) + CVE-2006-1491 + * Really exclude {arch} directory from being installed in binary + package. + + -- Lionel Elie Mamane Thu, 6 Apr 2006 19:14:56 +0200 + +horde3 (3.1-2) UNRELEASED; urgency=low + + [ Lionel Elie Mamane ] + * Conflict with versions of turba2 we break compatibility with. + (closes: #360231) + + -- Lionel Elie Mamane Fri, 31 Mar 2006 23:08:02 +0200 + +horde3 (3.1-1) unstable; urgency=low + + [ Lionel Elie Mamane ] + * Tweak the "Admin interface disabled because insecure" message. + + [ Ola Lundqvist ] + * Updated to upstream version 3.1, closes: #356186, #356526. + With correction for CVE-2006-1260 file disclosure vulnerability. + Closes: #358812. + This version correct CVE-2005-4190 as well, closes: #354512. + * Modified dependencies in order to support php5 and to support + recent installations of php4, closes: #353612, #359700, #359208. + + -- Ola Lundqvist Tue, 28 Mar 2006 20:58:38 +0200 + +horde3 (3.0.9-3) unstable; urgency=low + + * Move to team maintainership. + * Make sure that {arch} is not a part of installed dir. + + -- Ola Lundqvist Sun, 12 Mar 2006 21:40:35 +0100 + +horde3 (3.0.9-2) unstable; urgency=high + + * Correct fix for weatherdotcom. + + -- Ola Lundqvist Fri, 16 Dec 2005 20:50:01 +0100 + +horde3 (3.0.9-1) unstable; urgency=high + + * New upstream release that correct a cross site scripting vulnerability + as described in CVE-2005-4190, closes: #342942. + * Documented that horde is incompatible with php4 session.auto_start option + in the README.Debian file, closes: #341695. + * Added php-mail to recommends list, closes: #339135. + * Applied a patch to make weatherdotcom work, closes: #342161. + Thanks to Giuseppe Iuculano . + * Documented how to add alias to apache config, closes: #306605. + * Changed the initial config message slightly, closes: #341358. + + -- Ola Lundqvist Fri, 16 Dec 2005 17:51:15 +0100 + +horde3 (3.0.7-1) unstable; urgency=high + + * New upstream release. + This version fix cross site scripting vulnerabilities (CVE-2005-3759), + closes: #340323. + + -- Ola Lundqvist Tue, 22 Nov 2005 22:45:59 +0100 + +horde3 (3.0.6-1) unstable; urgency=low + + * New upstream release. + * Added phpapi-20041030 to the supported api versions (to support php5), + closes: #333155. + * Fixed so files in etc are rewritten the same was as files in usr/share, + closes: #319780. + * Updated to standards version 3.6.2. + * Corrected to new FSF address. + + -- Ola Lundqvist Sat, 5 Nov 2005 16:11:03 +0100 + +horde3 (3.0.5-4) unstable; urgency=low + + * Minor fix for README.Debian file. + * Added suggests of php4-mhash, closes: #335913. + * Corrected dependency on php4, closes: #329940. + * Corrected problem with ispell and Brazilian Language, closes: #328155. + Thanks to Jose Carlos Medeiros for the fix. + + -- Ola Lundqvist Sat, 5 Nov 2005 12:40:43 +0100 + +horde3 (3.0.5-3) unstable; urgency=high + + * Improved description on why horde3 is disabled by default. + + -- Ola Lundqvist Sun, 9 Oct 2005 12:54:43 +0200 + +horde3 (3.0.5-2) unstable; urgency=high + + * Configuration disabled by default, closes: #332290, #332289. + * Removed some crap from the README.Debian file, closes: #332276. + + -- Ola Lundqvist Sat, 8 Oct 2005 21:10:48 +0200 + +horde3 (3.0.5-1) unstable; urgency=low + + * New upstream release, + closes: #325146, #315571, #325727, #321490, #309729, #304186. + * Added gollem to suggest list, closes: #325492. + * Added webcpp, chora2, xlhtml, ppthtml, wv, source-highlight, enscript + and rpm to suggest list, closes: #309657, #326066. + * Patched config/mime_drivers.php.dist so that no /usr/local is used + for programs that exist in Debian archive, closes: #309661. + + -- Ola Lundqvist Fri, 9 Sep 2005 22:53:15 +0200 + +horde3 (3.0.4-4) unstable; urgency=low + + * Added conflict on horde so removing horde do not cause configuration + removal in horde3, closes: #307623. + + -- Ola Lundqvist Wed, 4 May 2005 23:08:08 +0200 + +horde3 (3.0.4-3) unstable; urgency=medium + + * Removed post* and pre* files becuase they contain nothing that + should remain. + * Fixed dependency problem, closes: #294026. + * Added a note about configuration to README.Debian, closes: #304086. + + -- Ola Lundqvist Sun, 17 Apr 2005 14:27:31 +0200 + +horde3 (3.0.4-2) unstable; urgency=low + + * Fixed permission problem on log file. + * Updated copyright file. It actually use LGPL and not GPL. + * Removed unnecessary config dir in /etc/horde/horde3. + + -- Ola Lundqvist Sun, 10 Apr 2005 19:51:55 +0200 + +horde3 (3.0.4-1) unstable; urgency=low + + * New upstream release. + + -- Ola Lundqvist Mon, 4 Apr 2005 08:11:18 +0200 + +horde3 (3.0.3-1) unstable; urgency=low + + * New upstream release. + Jose Carlos Medeiros have helped a lot with + this version. + + -- Ola Lundqvist Thu, 17 Feb 2005 15:41:33 -0200 + +horde3 (3.0.2-1) unstable; urgency=low + + * New upstream release. + * Cooperated with Roberto Sanchez in + order to complete this version. + + -- Ola Lundqvist Fri, 7 Jan 2005 13:41:54 +0100 + +horde3 (3.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Ola Lundqvist Thu, 6 Jan 2005 16:35:23 +0100 + +horde3 (3.0-1) unstable; urgency=low + + * Initial Release. + + -- Ola Lundqvist Sat, 1 Jan 2005 14:51:04 +0100 diff --git a/debian/cleanup.sh b/debian/cleanup.sh new file mode 100644 index 0000000..e7fcbef --- /dev/null +++ b/debian/cleanup.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# Repack upstream source to remove fckeditor, tinymce and scriptaculous +# (size of upstream source is now 7 Mo instead of 8 Mo) + +# HOWTO : +# % wget ftp://ftp.horde.org/pub/horde/horde-3.2.1.tar.gz +# % cleanup.sh horde-3.2.1.tar.gz + +set -e + +# I want an argument +if [ "$1" = "" ]; then + echo "$0: needs a .tar.gz filename argument" + exit 1 +fi + +PKG=$(basename $1) +TMPDIR=$(mktemp -d) +WHERE=$(pwd) + +# copy stuff in temp dir +if ! cp $1 $TMPDIR; then + echo "$1 isn't a valid filename" + exit 1 +fi + +cd $TMPDIR + +# extract files +if ! tar -zxf $1; then + echo "$1 isn't a valid tarball" + exit 1 +fi + +#don't remove xinha as it is not packaged yet +#rm -rf horde-3.2/services/editor/xinha +# Remove fckeditor, tinymce, scriptaculous... +rm -rf horde-3.2.1/services/editor/fckeditor +rm -rf horde-3.2.1/services/editor/tinymce +rm -f horde-3.2.1/js/controls.js +rm -f horde-3.2.1/js/src/controls.js +rm -f horde-3.2.1/js/dragdrop.js +rm -f horde-3.2.1/js/src/dragdrop.js +rm -f horde-3.2.1/js/effects.js +rm -f horde-3.2.1/js/src/effects.js +rm -f horde-3.2.1/js/prototype.js +rm -f horde-3.2.1/js/src/prototype.js +rm -f horde-3.2.1/js/scriptaculous.js +rm -f horde-3.2.1/js/src/scriptaculous.js +rm -f horde-3.2.1/js/slider.js +rm -f horde-3.2.1/js/src/slider.js + +# Create the new source +tar -czf horde3_3.2.1+debian0.orig.tar.gz horde-3.2.1/ + +mv horde3_3.2.1+debian0.orig.tar.gz $WHERE +rm -rf $TMPDIR + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6b9d326 --- /dev/null +++ b/debian/control @@ -0,0 +1,49 @@ +Source: horde3 +Section: web +Priority: optional +Maintainer: Horde Maintainers +Uploaders: Carl Fürstenberg , Ola Lundqvist , Lionel Elie Mamane , Gregory Colpart (evolix) +Build-Depends: debhelper (>= 7.2.6) +Vcs-Arch: http://arch.debian.org/arch/pkg-horde/2006/horde--sid--3 +Vcs-Browser: http://arch.debian.org/cgi-bin/archzoom.cgi/pkg-horde-hackers%40lists.alioth.debian.org--2006/horde?expand +Standards-Version: 3.8.4 +Homepage: http://www.horde.org/ + +Package: horde3 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, horde3-base +Recommends: php5-mysql | php5-pgsql | php5-ldap, logrotate, php-file, php-date, php-mail-mime, php-mail, php-services-weather, php5-gd, php5-mcrypt, php-db, locales, fckeditor, tinymce2 | tinymce (<< 3) +Suggests: imp4, dimp, turba2, php5-cli, gollem, webcpp, chora2, xlhtml, ppthtml, wv, source-highlight, enscript, rpm, php5-mhash, gettext, php-net-imap, libgeoip1, unrtf, libwpd-tools, php5-auth-pam +Conflicts: horde, turba2 (<< 2.1) +Description: horde web application framework + The Horde Framework is written in PHP, and provides the common + tools a Web application requires: classes for dealing with preferences, + compression, browser detection, connection tracking, MIME, and more. + . + The Horde Framework, by itself, does not provide any significant end user + functionality; it provides a base for other applications and tools for + developers. You will probably want to install some of the available Horde + applications, such as IMP (a webmail client), or Kronolith (a calendar). + . + There is a list of Horde applications and projects at + http://www.horde.org/projects.php. + +Package: horde3-base +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, php-log, php-pear, libjs-scriptaculous, php5-cli +Suggests: imp4-base, dimp1-base, turba2-base, gollem-base, chora2-base +Conflicts: horde3 (<< 3.3) +Description: horde web application framework + The Horde Framework is written in PHP, and provides the common + tools a Web application requires: classes for dealing with preferences, + compression, browser detection, connection tracking, MIME, and more. + . + The Horde Framework, by itself, does not provide any significant end user + functionality; it provides a base for other applications and tools for + developers. You will probably want to install some of the available Horde + applications, such as IMP (a webmail client), or Kronolith (a calendar). + . + There is a list of Horde applications and projects at + http://www.horde.org/projects.php. + . + This package contains the base files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..19090b2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,647 @@ +This package was debianized by Ola Lundqvist on +Sat, 1 Jan 2005 14:51:04 +0100. + +It was downloaded from: + http://ftp.horde.org/pub/horde/ + +Upstream Authors: Chuck Hagenbuch , Jan Schneider , Michael Slusarz . See all authors in /usr/share/doc/horde3/CREDITS. + +Copyright 1999-2008 The Horde Project (http://www.horde.org/) + + + +js/addEvent.php: +Copyright 2005-2007 Chuck Hagenbuch + + +js/src/dhtmlHistory.js: +Original code (c) 2005, Brad Neuberg, bkn3@columbia.edu + (http://codinginparadise.org) + +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. + +This file has been altered from the original dhtmlHistory (v0.05) to +remove functionality not needed for DIMP and to provide bug fixes and +enhancements. + +Support from Safari adapted from code (c) 2007, Brian Dillard, + bdillard@pathf.com (http://blogs.pathf.com/agileajax/) + +This file requires the Prototype Javscript Library v1.6.0+ + +Additions Copyright 2005-2008 The Horde Project (http://www.horde.org/) + + +lib/SyncML.php: +Copyright 2003-2007 Karsten Fourmont + + +lib/File/CSV.php: +Copyright 2002-2003 Tomas Von Veschler Cox +Copyright 2005-2008 The Horde Project (http://www.horde.org/) + +This source file is subject to version 2.0 of the PHP license, that is +bundled with this package in the file LICENSE, and is available at through +the world-wide-web at http://www.php.net/license/2_02.txt. If you did not +receive a copy of the PHP license and are unable to obtain it through the +world-wide-web, please send a note to license@php.net so we can mail you a +copy immediately. + + +lib/File/PDF.php: +Copyright 2001-2003 Olivier Plathey +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Feed.php: +Portions Copyright 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) +Copyright 2007-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Form.php: +Copyright 2001-2007 Robert E. Coyle +Copyright 2001-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Release.php: +Copyright 1999 Mike Hardy +Copyright 2004-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Share.php: +Copyright 2002-2008 The Horde Project (http://www.horde.org/) +Copyright 2002-2007 Infoteck Internet + + +lib/Horde/Util.php: +Copyright 1999-2008 The Horde Project (http://www.horde.org/) +_deleteAtShutdown() function contains code from gpg_functions.php (Copyright (c) 2002-2003 Braverock Ventures) + + +lib/Horde/VC.php: +Copyright Anil Madhavapeddy, + + +lib/Horde/Yaml.php: +This package is heavily inspired by the Spyc PHP YAML +implementation (http://spyc.sourceforge.net/), and portions are +copyright 2005-2006 Chris Wanstrath. + + +lib/Horde/Argv/*.php: +Authors: Chuck Hagenbuch (chuck@horde.org), Mike Naberezny (mike@maintainable.com) +License: http://opensource.org/licenses/bsd-license.php BSD + + +lib/Horde/Auth/customsql.php: +Copyright 2002 Ronnie Garcia + + +lib/Horde/Auth/kolab.php: +Copyright 2004-2007 Stuart Binge + + +lib/Horde/Auth/passwd.php: +Copyright 1997-2007 Rasmus Lerdorf +Copyright 2002-2008 Chuck Hagenbuch + + +lib/Horde/Auth/shibboleth.php: +Copyright 9Star Research, Inc. 2006 http://www.protectnetwork.org + + +lib/Horde/Browser/imode.php: +Copyright 2000-2007 Mika Tuupola +Copyright 2002-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Cache/memcache.php: +Copyright 2006-2007 Duck +Copyright 2007-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Cache/xcache.php: +Copyright 2006-2007 Duck + + +lib/Horde/Cache/apc.php: +Copyright 2006-2007 Duck + + +lib/Horde/Cache/eaccelerator.php: +Copyright 2006-2007 Duck + + +lib/Horde/Compress/dbx.php: +This class is based on code by: +Antony Raijekov +http://uruds.gateway.bg/zeos/ + +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Compress/tnef.php: +The TNEF rendering is based on code by: + Graham Norbury +Original design by: + Thomas Boll , Mark Simpson + +Copyright 2002-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Compress/zip.php: +The ZIP compression code is partially based on code from: + Eric Mueller + http://www.zend.com/codex.php?id=535&single=1 + + Deins125 + http://www.zend.com/codex.php?id=470&single=1 + +The ZIP compression date code is partially based on code from + Peter Listiak + +Copyright 2000-2008 The Horde Project (http://www.horde.org/) +Copyright 2003-2007 Michael Slusarz + + +lib/Horde/Feed/*.php: +Portions Copyright 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) +Copyright 2007-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Image/Effect/gd/{drop_shadow,round_corners}.php: +This algorithm is from the phpThumb project available at +http://phpthumb.sourceforge.net and all credit for this script should go to +James Heinrich . Modifications made to the code +to fit it within the Horde framework and to adjust for our coding standards. + + +lib/Horde/Image/Effect/gd/unsharp_mask.php: +Unsharp mask algorithm by Torstein Hønsi 2003 +From: http://www.vikjavev.com/hovudsida/umtestside.php + + +lib/Horde/iCalendar/vcard.php: +Copyright 2003-2007 Karsten Fourmont (karsten@horde.org) + + +lib/Horde/Log/*: +Authors: Mike Naberezny (mike@maintainable.com), Chuck Hagenbuch (chuck@horde.org) +License: http://opensource.org/licenses/bsd-license.php BSD + + +lib/Horde/MIME/Viewer/rtf.php: +Copyright 2007 Duck + + +lib/Horde/MIME/Viewer/ooo/*.xsl: +The Contents of this file are made available subject to the terms of +either of the following licenses + + - GNU Lesser General Public License Version 2.1 + - Sun Industry Standards Source License Version 1.1 + +Sun Microsystems Inc., October, 2000 + +GNU Lesser General Public License Version 2.1 +============================================= +Copyright 2000 by Sun Microsystems, Inc. +901 San Antonio Road, Palo Alto, CA 94303, USA + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License version 2.1, as published by the Free Software Foundation. + +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. + +Sun Industry Standards Source License Version 1.1 +================================================= +The contents of this file are subject to the Sun Industry Standards +Source License Version 1.1 (the "License"); You may not use this file +except in compliance with the License. You may obtain a copy of the +License at http://www.openoffice.org/license.html. + +Software provided under this License is provided on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, +WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +See the License for the specific provisions governing your rights and +obligations concerning the Software. + +The Initial Developer of the Original Code is: Sun Microsystems, Inc. + +Copyright © 2002 by Sun Microsystems, Inc. + +All Rights Reserved. + + +lib/Horde/NLS/GeoIP.php: +Based on PHP geoip.inc library by MaxMind LLC: + http://www.maxmind.com/download/geoip/api/php/ + +Originally based on php version of the geoip library written in May +2002 by jim winstead + +Copyright (C) 2003 MaxMind LLC +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/NLS/tld.php: +Generated from IANA (Internet Assigned Numbers Authority) data located +at http://www.iana.org/cctld/cctld-whois.htm + + +lib/Horde/Prefs/kolab.php: +Copyright 2004-2007 Stuart Binge + + +lib/Horde/Routes/*.php: +Authors: Maintainable Software, LLC. (http://www.maintainable.com), Mike Naberezny (mike@maintainable.com) +License: http://opensource.org/licenses/bsd-license.php BSD + + +lib/Horde/Serialize/JSON.php: +Copyright: 2005 Michal Migurski +Authors: Michal Migurski , Matt Knapp , Brett Stimmerman +License: http://www.opensource.org/licenses/bsd-license.php + +LICENSE: Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the following +conditions are met: Redistributions of source code must retain the +above copyright notice, this list of conditions and the following +disclaimer. 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. + +THIS SOFTWARE IS PROVIDED ``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 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. + + +lib/Horde/SessionHandler/ldap.php: +This code is adapted from the comments at +http://www.php.net/session-set-save-handler. + + +lib/Horde/SessionHandler/oci8.php: +Copyright 2003-2007 Liam Hoekenga + + +lib/Horde/Share/datatree.php: +Copyright 2002-2008 The Horde Project (http://www.horde.org/) +Copyright 2002-2007 Infoteck Internet + + +lib/Horde/UI/Tabs.php: +Copyright 2001-2003 Robert E. Coyle +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/VC/rcs.php: +Copyright 2004-2007 Jeff Schwentner + + +lib/Horde/VC/cvs.php: +Copyright 2000-2008 The Horde Project (http://www.horde.org/) +Copyright Anil Madhavapeddy, + + +lib/Horde/VC/svn.php: +Copyright 2000-2008 The Horde Project (http://www.horde.org/) +Copyright Anil Madhavapeddy, + + +lib/Net/SMS/vodafoneitaly_smtp.php: +Copyright 2003-2008 The Horde Project (http://www.horde.org/) +Copyright 2003-2007 Matteo Zambelli + + +lib/Net/SMS/generic_*.php: +Copyright 2005-2007 WebSprockets, LLC + + +lib/Net/IMSP/Auth/imtest.php: +Copyright 2005-2007 Liam Hoekenga +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/SyncML/*: +Copyright 2003-2007 Karsten Fourmont +Copyright 2003-2008 The Horde Project (http://www.horde.org/) + + +lib/Text/Diff.php: +Copyright 2004 Geoffrey T. Dairiki +Copyright 2004-2008 The Horde Project (http://www.horde.org/) + + +lib/Text/Flowed.php: +Copyright 2002-2003 Philip Mak +Copyright 2004-2008 The Horde Project (http://www.horde.org/) + + +lib/Text/Diff/Engine/string.php: +Copyright 2005 Örjan Persson +Copyright 2005-2008 The Horde Project (http://www.horde.org/) + + +lib/Horde/Text/Filter/html2text.php: +Copyright 2003-2004 Jon Abernathy +Original source: http://www.chuggnutt.com/html2text.php +Copyright 2004-2008 The Horde Project (http://www.horde.org/) + + +lib/VFS/ftp.php: +Copyright 2002-2008 The Horde Project (http://www.horde.org/) +Copyright 2002-2007 Michael Varghese + + +lib/VFS/smb.php: +Codebase copyright 2002 Paul Gareau . Adapted with +permission by Patrice Levesque from phpsmb-0.8 code, and +converted to the LGPL. Please do not taunt original author, contact +Patrice Levesque or dev@lists.horde.org. + + +lib/VFS/Object.php: +Copyright 2002-2007 Jon Wood + + +lib/VFS/ListItem.php: +Copyright 2002-2007 Jon Wood + + +po/README: +Copyright 2004 The Horde Project (http://www.horde.org/) +Joris Braakman , 2004. + + +po/zh_CN.po: +Copyright (C) 2001 WangHengWen. +WangHengWen , 2001. +David Chang , 2001. +liaobin ,2004. + + +po/zh_TW.po: +Copyright (C) 2001 David Chang,TAIWAN. +David Chang , 2001. + + +po/hu_HU.po: +Copyright (C) 2002-2008 Laszlo L. Tornoci +Laszlo L. Tornoci , 2008. + + +po/fi_FI.po: +Copyright (C) Leena Heino , 2001-2008. + + +po/ru_RU.po: +Copyright (C) Ignat Ikryanov , 2001 +Fedor A. Fetisov , 2002 +Alexey Zakharov , 2008 + + +po/ca_ES.po: +Copyright 2004 The Horde Project (http://www.horde.org/) +Jordi Giralt , 2006. + + +po/bs_BA.po: +Copyright 2003 The Horde Project (http://www.horde.org/) +Alen Sarkinovic , 2004. +Vedran Ljubovic , 2005. + + +po/id_ID.po: +Copyright 2005 The Horde Project (http://www.horde.org/) +James , 2005. + + +po/ro_RO.po: +Copyright 2002 The Horde Project (http://www.horde.org/) +Corneliu MUSAT , 2002. + + +po/sk_SK.po: +Copyright (C) 2002 Leo Mrafko (original translator) +(C) 2002, 2003 Ivan Noris +Martin Matu¹ka , 2008 + + +po/lt_LT.po: +Copyright 2007 The Horde Project (http://www.horde.org/) +Darius Matuliauskas , 2002. +Vilius Sumskas , 2003, 2004, 2007. + + +po/de_DE.po: +Copyright 2001-2008 The Horde Project (http://www.horde.org/) +Jan Schneider , 2001-2008. + + +po/nl_NL.po: +Copyright (C) 2001 Jan Kuipers. +Jan Kuipers , 2001-2007. +Updated Han Spruyt 2005 + + +po/ja_JP.po: +Copyright 2004 The Horde Project (http://www.horde.org/) +Hiromi Kimura + + +po/bg_BG.po: +Copyright 2002 The Horde Project (http://www.horde.org/) +Miroslav Pendev , 2002. + + +po/fr_FR.po: +Copyright 2001-2002 The Horde Project (http://www.horde.org/) +Pierre Lachance et Benoit St-André (ben@benoitst-andre.net), 2003, 2004. +Frederic Trudeau , 2001. +Thierry Thomas , 2002, 2005, 2006, 2007. +Country tranlations from Miguel Tremblay , 2004. +Benoit St-André , 2004. +Yannick Sebastia , 2008. + + +po/ar_SY.po: +Copyright (C) 2003 Platinum Inc. +Custom Web Applications +Platinum Development Team + + +po/uk_UA.po: +Copyright (C) Andriy Kopystyansky , 2007 + + +po/it_IT.po: +Copyright (C) 2001 Paola Carpenter. +Paola Carpenter , 2001. +Giovanni Meneghetti , 2001. +Copyright (c) 2003 Sergio G. Caredda. +Sergio G. Caredda , 2003. +Copyright (c) 2007 nethesis srl. +Cristian Manoni, Alessio Fattorini, Davide marini 2007 + + +po/mk_MK.po: +Copyright (C) 2003 Eureka Informatika +Stojan Pesov , 2003 + + +po/nn_NO.po: +Copyright (C) 2002 Per-Stian Vatne +Per-Stian Vatne , 2002. + + +po/pl_PL.po: +Copyright (C) 2001 Mariusz Zynel +Mariusz Zynel , 2001. +Piotr Roszatycki , 2001. +Krzysztof Kozlowski , 2005. +Daniel Horecki , 2007. + + +po/km_KH.po: +Leang Chumsoben , 2006. + + +po/da_DK.po: +Copyright 2001-2006 The Horde Project (http://www.horde.org/) +Martin List-Petersen , 2001 +Brian Truelsen , 2005-2006. + + +po/cs_CZ.po: +Copyright 2004 The Horde Project (http://www.horde.org/) +Pavel Chytil , 2001-2004. + + +po/pt_BR.po: +Fabio Gomes , 2005. + + +po/nb_NO.po: +Copyright 2001-2007 The Horde Project (http://www.horde.org/) +Oystein Steimler , 2001. +Torstein S. Hansen , 2002. +Andreas Gunleikskaas , 2003. +Geir O. Hogberg , 2005. +Lars Tobias Børsting , 2007. + + +po/sv_SE.po: +Copyright (C) 2002-2005 Andreas Dahlén. +Andreas Dahlén , 2005. + + +po/tr_TR.po: +Copyright 2008 The Horde Project (http://www.horde.org/) +horde-tr at metu.edu.tr, 2005-2008. + + +po/el_GR.po: +Copyright (C) 2002 Stefanos I. Dimitriou. +Stefanos I. Dimitriou , 2002. +Silligardos Xristoforos, 2002. +Anagnostopoulos Apostolis, 2002. +Milosis C. Konstantinos, 2005. + + +po/fa_IR.po: +Copyright (C) 2004 High Concil of Informatics (www.shci.ir) +Provided by Amirkabir Metanetworking Ltd, 2004 +Mohsen Nader-Badr +Chackameh Mortezania +Salman Niksefat +Hamed Gheybi +Vahid Ghafarpour +Zahra Ahmadi + + +services/editors/xinha/*: +htmlArea License (based on BSD license) +Copyright (c) 2002-2004, interactivetools.com, inc. +Copyright (c) 2003-2004 dynarch.com +All rights reserved. + +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) Neither the name of interactivetools.com, inc. nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR 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: Horde is licenced under LGPL license. + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library 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 +Library General Public License for more details. + +A copy of the GNU Library General Public License is available as +/usr/share/common-licenses/LGPL in the Debian GNU/Linux distribution +or on the World Wide Web at http://www.gnu.org/copyleft/lgpl.html. +You can also obtain it by writing to the Free Software Foundation, +Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/debian/horde3-base.dirs b/debian/horde3-base.dirs new file mode 100644 index 0000000..59b1309 --- /dev/null +++ b/debian/horde3-base.dirs @@ -0,0 +1,2 @@ +/usr/share/horde3 +/usr/share/horde3/scripts diff --git a/debian/horde3-base.docs b/debian/horde3-base.docs new file mode 100644 index 0000000..aa0b29e --- /dev/null +++ b/debian/horde3-base.docs @@ -0,0 +1,2 @@ +README +docs/* diff --git a/debian/horde3-base.examples b/debian/horde3-base.examples new file mode 100644 index 0000000..17eb1af --- /dev/null +++ b/debian/horde3-base.examples @@ -0,0 +1,3 @@ +config/ +po/ +scripts/ diff --git a/debian/horde3-base.install b/debian/horde3-base.install new file mode 100644 index 0000000..f1a0e5c --- /dev/null +++ b/debian/horde3-base.install @@ -0,0 +1,14 @@ +*.php /usr/share/horde3 + +admin /usr/share/horde3 +js /usr/share/horde3 +lib /usr/share/horde3 +locale /usr/share/horde3 +rpc /usr/share/horde3 +services /usr/share/horde3 +templates /usr/share/horde3 +themes /usr/share/horde3 +util /usr/share/horde3 + +scripts/temp-cleanup.cron /usr/share/horde3/scripts +scripts/alarms.php /usr/share/horde3/scripts diff --git a/debian/horde3-base.links b/debian/horde3-base.links new file mode 100644 index 0000000..5e0830e --- /dev/null +++ b/debian/horde3-base.links @@ -0,0 +1,9 @@ +/usr/share/javascript/scriptaculous/dragdrop.js /usr/share/horde3/js/dragdrop.js +/usr/share/javascript/scriptaculous/slider.js /usr/share/horde3/js/slider.js +/usr/share/javascript/scriptaculous/controls.js /usr/share/horde3/js/controls.js +/usr/share/javascript/scriptaculous/scriptaculous.js /usr/share/horde3/js/scriptaculous.js +/usr/share/javascript/scriptaculous/effects.js /usr/share/horde3/js/effects.js +/usr/share/javascript/scriptaculous/prototype.js /usr/share/horde3/js/prototype.js +/usr/share/tinymce2/www /usr/share/horde3/services/editor/tinymce +/usr/share/fckeditor /usr/share/horde3/services/editor/fckeditor +/etc/horde/horde3 /usr/share/horde3/config diff --git a/debian/horde3.dirs b/debian/horde3.dirs new file mode 100644 index 0000000..f76b33f --- /dev/null +++ b/debian/horde3.dirs @@ -0,0 +1,2 @@ +/etc/horde +/etc/horde/horde3 diff --git a/debian/horde3.logrotate b/debian/horde3.logrotate new file mode 100644 index 0000000..6530b17 --- /dev/null +++ b/debian/horde3.logrotate @@ -0,0 +1,10 @@ +/var/log/horde/*.log { + weekly + missingok + copytruncate + rotate 12 + compress + notifempty + sharedscripts + create 0660 root www-data +} diff --git a/debian/patches/01_default-charset-utf8.diff b/debian/patches/01_default-charset-utf8.diff new file mode 100644 index 0000000..a7828da --- /dev/null +++ b/debian/patches/01_default-charset-utf8.diff @@ -0,0 +1,156 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## charset.dpatch by Carl Fürstenberg +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Force usage of UTF-8 + +@DPATCH@ +Index: horde3/config/nls.php.dist +=================================================================== +--- horde3.orig/config/nls.php.dist 2010-02-11 20:04:12.000000000 +0100 ++++ horde3/config/nls.php.dist 2010-02-11 20:04:37.000000000 +0100 +@@ -118,74 +118,33 @@ + + + /** +- ** Charsets. These differ somewhat on different systems; see below +- ** for a set of BSD charset names. ++ ** Charsets. Force UTF-8 onto people + **/ + +-$nls['charsets']['ar_OM'] = 'windows-1256'; +-$nls['charsets']['ar_SY'] = 'windows-1256'; +-$nls['charsets']['bg_BG'] = 'windows-1251'; +-$nls['charsets']['bs_BA'] = 'ISO-8859-2'; +-$nls['charsets']['cs_CZ'] = 'ISO-8859-2'; +-$nls['charsets']['el_GR'] = 'ISO-8859-7'; ++$nls['charsets']['ar_OM'] = 'UTF-8'; ++$nls['charsets']['ar_SY'] = 'UTF-8'; ++$nls['charsets']['bg_BG'] = 'UTF-8'; ++$nls['charsets']['bs_BA'] = 'UTF-8'; ++$nls['charsets']['cs_CZ'] = 'UTF-8'; ++$nls['charsets']['el_GR'] = 'UTF-8'; + $nls['charsets']['eu_ES'] = 'UTF-8'; + $nls['charsets']['fa_IR'] = 'UTF-8'; + $nls['charsets']['he_IL'] = 'UTF-8'; +-$nls['charsets']['hu_HU'] = 'ISO-8859-2'; +-$nls['charsets']['ja_JP'] = 'SHIFT_JIS'; ++$nls['charsets']['hu_HU'] = 'UTF-8'; ++$nls['charsets']['ja_JP'] = 'UTF-8'; + $nls['charsets']['km_KH'] = 'UTF-8'; +-$nls['charsets']['ko_KR'] = 'EUC-KR'; +-$nls['charsets']['lt_LT'] = 'ISO-8859-13'; +-$nls['charsets']['lv_LV'] = 'windows-1257'; +-$nls['charsets']['mk_MK'] = 'ISO-8859-5'; +-$nls['charsets']['pl_PL'] = 'ISO-8859-2'; +-$nls['charsets']['ru_RU'] = 'windows-1251'; +-$nls['charsets']['ru_RU.KOI8-R'] = 'KOI8-R'; +-$nls['charsets']['sk_SK'] = 'ISO-8859-2'; +-$nls['charsets']['sl_SI'] = 'ISO-8859-2'; +-$nls['charsets']['th_TH'] = 'TIS-620'; +-if (version_compare(PHP_VERSION, '5', 'lt') || version_compare(PHP_VERSION, '6', 'ge')) { +- $nls['charsets']['tr_TR'] = 'ISO-8859-9'; +-} +-$nls['charsets']['uk_UA'] = 'windows-1251'; +-$nls['charsets']['zh_CN'] = 'GB2312'; +-$nls['charsets']['zh_TW'] = 'BIG5'; +- +-/** +- * BSD charsets. +- */ +-if (strpos(PHP_OS, 'BSD') !== false) { +- $nls['charsets']['ar_OM'] = 'windows-1256'; +- $nls['charsets']['ar_SY'] = 'windows-1256'; +- $nls['charsets']['bg_BG'] = 'windows-1251'; +- $nls['charsets']['bs_BA'] = 'ISO8859-2'; +- $nls['charsets']['cs_CZ'] = 'ISO8859-2'; +- $nls['charsets']['el_GR'] = 'ISO8859-7'; +- $nls['charsets']['eu_ES'] = 'UTF-8'; +- $nls['charsets']['fa_IR'] = 'UTF-8'; +- $nls['charsets']['he_IL'] = 'UTF-8'; +- $nls['charsets']['hu_HU'] = 'ISO8859-2'; +- $nls['charsets']['ja_JP'] = 'SHIFT_JIS'; +- $nls['charsets']['km_KH'] = 'UTF-8'; +- $nls['charsets']['ko_KR'] = 'EUC-KR'; +- $nls['charsets']['lt_LT'] = 'ISO8859-13'; +- $nls['charsets']['lv_LV'] = 'windows-1257'; +- $nls['charsets']['mk_MK'] = 'ISO8859-5'; +- $nls['charsets']['pl_PL'] = 'ISO8859-2'; +- $nls['charsets']['ru_RU'] = 'windows-1251'; +- $nls['charsets']['ru_RU.KOI8-R'] = 'KOI8-R'; +- $nls['charsets']['sk_SK'] = 'ISO8859-2'; +- $nls['charsets']['sl_SI'] = 'ISO8859-2'; +- $nls['charsets']['th_TH'] = 'TIS-620'; +- if (version_compare(PHP_VERSION, '5', 'lt') || +- version_compare(PHP_VERSION, '6', 'ge')) { +- $nls['charsets']['tr_TR'] = 'ISO-8859-9'; +- } +- $nls['charsets']['uk_UA'] = 'windows-1251'; +- $nls['charsets']['zh_CN'] = 'GB2312'; +- $nls['charsets']['zh_TW'] = 'BIG5'; +-} +- ++$nls['charsets']['ko_KR'] = 'UTF-8'; ++$nls['charsets']['lt_LT'] = 'UTF-8'; ++$nls['charsets']['lv_LV'] = 'UTF-8'; ++$nls['charsets']['mk_MK'] = 'UTF-8'; ++$nls['charsets']['pl_PL'] = 'UTF-8'; ++$nls['charsets']['ru_RU'] = 'UTF-8'; ++$nls['charsets']['sk_SK'] = 'UTF-8'; ++$nls['charsets']['sl_SI'] = 'UTF-8'; ++$nls['charsets']['th_TH'] = 'UTF-8'; ++$nls['charsets']['uk_UA'] = 'UTF-8'; ++$nls['charsets']['zh_CN'] = 'UTF-8'; ++$nls['charsets']['zh_TW'] = 'UTF-8'; + + /** + ** Multibyte charsets +@@ -213,7 +172,7 @@ + ** charsets. + **/ + +-$nls['emails']['ja_JP'] = 'ISO-2022-JP'; ++$nls['emails']['ja_JP'] = 'UTF-8'; + + + /** +Index: horde3/lib/Horde/NLS.php +=================================================================== +--- horde3.orig/lib/Horde/NLS.php 2010-02-11 20:04:12.000000000 +0100 ++++ horde3/lib/Horde/NLS.php 2010-02-11 20:04:37.000000000 +0100 +@@ -123,7 +123,7 @@ + if ($lang_charset != setlocale(LC_ALL, $lang_charset)) { + /* Next try language with its default charset. */ + global $nls; +- $charset = !empty($nls['charsets'][$lang]) ? $nls['charsets'][$lang] : 'ISO-8859-1'; ++ $charset = !empty($nls['charsets'][$lang]) ? $nls['charsets'][$lang] : 'UTF-8'; + $lang_charset = $lang . '.' . $charset; + NLS::_cachedCharset(0, $charset); + if ($lang_charset != setlocale(LC_ALL, $lang_charset)) { +@@ -255,7 +255,7 @@ + } + + if ($original) { +- $charset = empty($nls['charsets'][$language]) ? 'ISO-8859-1' : $nls['charsets'][$language]; ++ $charset = empty($nls['charsets'][$language]) ? 'UTF-8' : $nls['charsets'][$language]; + } else { + require_once 'Horde/Browser.php'; + $browser = &Browser::singleton(); +@@ -301,7 +301,7 @@ + } + } + +- return (!empty($nls['charsets'][$language])) ? $nls['charsets'][$language] : 'ISO-8859-1'; ++ return (!empty($nls['charsets'][$language])) ? $nls['charsets'][$language] : 'UTF-8'; + } + + /** +@@ -342,7 +342,7 @@ + return $charset; + } + return isset($nls['emails'][$language]) ? $nls['emails'][$language] : +- (isset($nls['charsets'][$language]) ? $nls['charsets'][$language] : 'ISO-8859-1'); ++ (isset($nls['charsets'][$language]) ? $nls['charsets'][$language] : 'UTF-8'); + } + + /** diff --git a/debian/patches/debian-changes-3.3.6-2 b/debian/patches/debian-changes-3.3.6-2 new file mode 100644 index 0000000..7eb5a58 --- /dev/null +++ b/debian/patches/debian-changes-3.3.6-2 @@ -0,0 +1,31 @@ +Description: Upstream changes introduced in version 3.3.6-2 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + horde3 (3.3.6-2) vincent; urgency=low + . + * B3 + * Switch to dpkg-source 3.0 (native) format + . + The person named in the Author field signed this changelog entry. +Author: Carl Fürstenberg + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Forwarded: +Reviewed-By: +Last-Update: + +--- /dev/null ++++ horde3-3.3.6/++log.horde--sid--3--pkg-horde-hackers@lists.alioth.debian.org--2006 +@@ -0,0 +1,3 @@ ++Summary: update to standards version 3.8.0 + typo in changelog ++Keywords: ++ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8d6a78d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01_default-charset-utf8.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..938c5e6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_install: + #### copy configuration files #### + for i in config/*.dist; do \ + NAME=etc/horde/horde3/$$(basename $$i ".dist"); \ + cp -a $$i debian/horde3/$$NAME; \ + done + + dh_install; + + rm -rf debian/horde3-base/usr/share/horde3/services/editor/fckeditor; + rm -rf debian/horde3-base/usr/share/horde3/services/editor/tinymce; + for i in controls.js dragdrop.js effects.js prototype.js scriptaculous.js slider.js; do \ + rm -f debian/horde3-base/usr/share/horde3/js/$$i debian/horde3-base/usr/share/horde3/js/src/$$i; \ + done + + rm -f debian/horde3-base/usr/share/horde3/services/editor/xinha/license.txt + chmod +x debian/horde3-base/usr/share/horde3/scripts/temp-cleanup.cron + + #### create htaccess to restrict acess by web #### + echo "Deny from all" > debian/horde3-base/usr/share/horde3/scripts/.htaccess + echo "Deny from all" > debian/horde3/etc/horde/horde3/.htaccess + + # change HORDE_BASE in php files + # change /usr/local/bin/php to /usr/bin/php + for i in $$(find debian/horde3-base -name "*.php"); do \ + cat $$i | \ + sed -e "s/define('HORDE_BASE'.*;/define\('HORDE_BASE', '\/usr\/share\/horde3\'\);/" |\ + sed -e "s/\/usr\/local\/bin/\/usr\/bin/" > $$i.rew; \ + mv $$i.rew $$i; \ + done + + #### change permissions of scripts #### + for i in $$(find debian/horde3-base/usr/share/horde3 -type f | \ + xargs grep '^#!\/' |cut -d: -f1); do \ + chmod u+x $$i; \ + done + + #### no exec right for .xml/png/gif/css/js/jpg/html/htm files (lintian warnings) #### + find debian/horde3-base/usr/share/horde3 \( \ + -name "*.xml" \ + -o -name "*.png" \ + -o -name "*.gif" \ + -o -name "*.css" \ + -o -name "*.js" \ + -o -name "*.jpg" \ + -o -name "*.html" \ + -o -name "*.htm" \) \ + -type f -exec chmod -x '{}' \; + + # Use '/horde3' for default cookie path (See #391493) + cat config/conf.xml | \ + sed -e "70,81s@/horde@/horde3@" > debian/horde3/etc/horde/horde3/conf.xml + + #### log file #### + printf "\n\$$conf['log']['name'] = '/var/log/horde/horde3.log';" >> \ + debian/horde3/etc/horde/horde3/conf.php + + #### change made for program run with no problems ### + cat config/registry.php.dist | \ + sed -e "s/'fileroot' *=> *dirname(__FILE__)/'fileroot' => '\/usr\/share\/horde3\/lib'/"| \ + sed -e "s/'templates' *=> *dirname(__FILE__)/'templates' => '\/usr\/share\/horde3\/lib'/"| \ + sed -e "s/webroot *= * '\/horde';/webroot = '\/horde3';/" > \ + debian/horde3/etc/horde/horde3/registry.php + +override_dh_installchangelogs: + dh_installchangelogs docs/CHANGES + +override_dh_installdocs: + dh_installdocs -X docs/CHANGES -X docs/INSTALL diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..28e5faa --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=2 +http://ftp.horde.org/pub/horde/horde-([\d\.]*)\.tar\.gz +