From ea011cc61a28a931274572f1ea4437fdf75df8d1 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 4 Oct 2010 06:35:36 +0000 Subject: [PATCH] Removed debian subdir git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19892 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/debian/README.Debian | 73 --- gosa-core/debian/changelog | 54 -- gosa-core/debian/compat | 1 - gosa-core/debian/control | 103 ---- gosa-core/debian/copyright | 189 ------- gosa-core/debian/gosa-16.xpm | 137 ----- gosa-core/debian/gosa-apache.conf | 26 - gosa-core/debian/gosa-desktop.config | 11 - gosa-core/debian/gosa-desktop.desktop | 11 - gosa-core/debian/gosa-desktop.dirs | 4 - gosa-core/debian/gosa-desktop.install | 5 - gosa-core/debian/gosa-desktop.manpages | 1 - gosa-core/debian/gosa-desktop.menu | 8 - gosa-core/debian/gosa-desktop.postinst | 13 - gosa-core/debian/gosa-desktop.postrm | 9 - gosa-core/debian/gosa-desktop.templates | 9 - gosa-core/debian/gosa-dev.dirs | 1 - gosa-core/debian/gosa-dev.install | 3 - gosa-core/debian/gosa-dev.manpages | 5 - gosa-core/debian/gosa-help-de.dirs | 1 - gosa-core/debian/gosa-help-de.install | 1 - gosa-core/debian/gosa-help-en.dirs | 1 - gosa-core/debian/gosa-help-en.install | 1 - gosa-core/debian/gosa-help-es.dirs | 1 - gosa-core/debian/gosa-help-es.install | 1 - gosa-core/debian/gosa-help-fr.dirs | 1 - gosa-core/debian/gosa-help-fr.install | 1 - gosa-core/debian/gosa-help-nl.dirs | 1 - gosa-core/debian/gosa-help-nl.install | 1 - gosa-core/debian/gosa-lighttpd.conf | 29 -- gosa-core/debian/gosa-schema.dirs | 1 - gosa-core/debian/gosa-schema.install | 11 - gosa-core/debian/gosa.dirs | 6 - gosa-core/debian/gosa.docs | 4 - gosa-core/debian/gosa.install | 14 - gosa-core/debian/gosa.lintian-overrides | 7 - gosa-core/debian/gosa.manpages | 4 - gosa-core/debian/gosa.postinst | 107 ---- gosa-core/debian/gosa.postrm | 55 -- gosa-core/debian/gosa.xpm | 490 ------------------ gosa-core/debian/patches/00list | 5 - .../patches/01_fix_smarty_location.dpatch | 23 - .../patches/02_fix_template_location.dpatch | 20 - .../patches/03_fix_class_mapping.dpatch | 60 --- .../patches/04_fix_locale_location.dpatch | 48 -- .../04_fix_online_help_location.dpatch | 31 -- gosa-core/debian/po/POTFILES.in | 1 - gosa-core/debian/po/cs.po | 39 -- gosa-core/debian/po/cz.po | 39 -- gosa-core/debian/po/de.po | 39 -- gosa-core/debian/po/es.po | 63 --- gosa-core/debian/po/eu.po | 42 -- gosa-core/debian/po/fi.po | 32 -- gosa-core/debian/po/fr.po | 41 -- gosa-core/debian/po/it.po | 42 -- gosa-core/debian/po/ja.po | 38 -- gosa-core/debian/po/nl.po | 36 -- gosa-core/debian/po/pl.po | 40 -- gosa-core/debian/po/pt.po | 41 -- gosa-core/debian/po/pt_BR.po | 37 -- gosa-core/debian/po/ru.po | 43 -- gosa-core/debian/po/sv.po | 43 -- gosa-core/debian/po/templates.pot | 37 -- gosa-core/debian/rules | 86 --- gosa-core/debian/smarty-acl-render.dirs | 1 - gosa-core/debian/smarty-acl-render.install | 3 - gosa-core/debian/watch | 3 - .../locale/core/de/LC_MESSAGES/messages.po | 382 +++++++------- .../locale/core/es/LC_MESSAGES/messages.po | 368 +++++++------ .../locale/core/fr/LC_MESSAGES/messages.po | 390 +++++++------- .../locale/core/it/LC_MESSAGES/messages.po | 366 +++++++------ gosa-core/locale/core/messages.po | 364 +++++++------ .../locale/core/nl/LC_MESSAGES/messages.po | 370 +++++++------ .../locale/core/pl/LC_MESSAGES/messages.po | 364 +++++++------ .../locale/core/pt/LC_MESSAGES/messages.po | 366 +++++++------ .../locale/core/pt_BR/LC_MESSAGES/messages.po | 366 +++++++------ .../locale/core/ru/LC_MESSAGES/messages.po | 368 +++++++------ .../locale/core/vi/LC_MESSAGES/messages.po | 366 +++++++------ .../locale/core/zh/LC_MESSAGES/messages.po | 366 +++++++------ 79 files changed, 2357 insertions(+), 4413 deletions(-) delete mode 100644 gosa-core/debian/README.Debian delete mode 100644 gosa-core/debian/changelog delete mode 100644 gosa-core/debian/compat delete mode 100644 gosa-core/debian/control delete mode 100644 gosa-core/debian/copyright delete mode 100644 gosa-core/debian/gosa-16.xpm delete mode 100644 gosa-core/debian/gosa-apache.conf delete mode 100644 gosa-core/debian/gosa-desktop.config delete mode 100644 gosa-core/debian/gosa-desktop.desktop delete mode 100644 gosa-core/debian/gosa-desktop.dirs delete mode 100644 gosa-core/debian/gosa-desktop.install delete mode 100644 gosa-core/debian/gosa-desktop.manpages delete mode 100644 gosa-core/debian/gosa-desktop.menu delete mode 100644 gosa-core/debian/gosa-desktop.postinst delete mode 100644 gosa-core/debian/gosa-desktop.postrm delete mode 100644 gosa-core/debian/gosa-desktop.templates delete mode 100644 gosa-core/debian/gosa-dev.dirs delete mode 100644 gosa-core/debian/gosa-dev.install delete mode 100644 gosa-core/debian/gosa-dev.manpages delete mode 100644 gosa-core/debian/gosa-help-de.dirs delete mode 100644 gosa-core/debian/gosa-help-de.install delete mode 100644 gosa-core/debian/gosa-help-en.dirs delete mode 100644 gosa-core/debian/gosa-help-en.install delete mode 100644 gosa-core/debian/gosa-help-es.dirs delete mode 100644 gosa-core/debian/gosa-help-es.install delete mode 100644 gosa-core/debian/gosa-help-fr.dirs delete mode 100644 gosa-core/debian/gosa-help-fr.install delete mode 100644 gosa-core/debian/gosa-help-nl.dirs delete mode 100644 gosa-core/debian/gosa-help-nl.install delete mode 100644 gosa-core/debian/gosa-lighttpd.conf delete mode 100644 gosa-core/debian/gosa-schema.dirs delete mode 100644 gosa-core/debian/gosa-schema.install delete mode 100644 gosa-core/debian/gosa.dirs delete mode 100644 gosa-core/debian/gosa.docs delete mode 100644 gosa-core/debian/gosa.install delete mode 100644 gosa-core/debian/gosa.lintian-overrides delete mode 100644 gosa-core/debian/gosa.manpages delete mode 100644 gosa-core/debian/gosa.postinst delete mode 100644 gosa-core/debian/gosa.postrm delete mode 100644 gosa-core/debian/gosa.xpm delete mode 100644 gosa-core/debian/patches/00list delete mode 100755 gosa-core/debian/patches/01_fix_smarty_location.dpatch delete mode 100755 gosa-core/debian/patches/02_fix_template_location.dpatch delete mode 100755 gosa-core/debian/patches/03_fix_class_mapping.dpatch delete mode 100755 gosa-core/debian/patches/04_fix_locale_location.dpatch delete mode 100755 gosa-core/debian/patches/04_fix_online_help_location.dpatch delete mode 100644 gosa-core/debian/po/POTFILES.in delete mode 100644 gosa-core/debian/po/cs.po delete mode 100644 gosa-core/debian/po/cz.po delete mode 100644 gosa-core/debian/po/de.po delete mode 100644 gosa-core/debian/po/es.po delete mode 100644 gosa-core/debian/po/eu.po delete mode 100644 gosa-core/debian/po/fi.po delete mode 100644 gosa-core/debian/po/fr.po delete mode 100644 gosa-core/debian/po/it.po delete mode 100644 gosa-core/debian/po/ja.po delete mode 100644 gosa-core/debian/po/nl.po delete mode 100644 gosa-core/debian/po/pl.po delete mode 100644 gosa-core/debian/po/pt.po delete mode 100644 gosa-core/debian/po/pt_BR.po delete mode 100644 gosa-core/debian/po/ru.po delete mode 100644 gosa-core/debian/po/sv.po delete mode 100644 gosa-core/debian/po/templates.pot delete mode 100755 gosa-core/debian/rules delete mode 100644 gosa-core/debian/smarty-acl-render.dirs delete mode 100644 gosa-core/debian/smarty-acl-render.install delete mode 100644 gosa-core/debian/watch diff --git a/gosa-core/debian/README.Debian b/gosa-core/debian/README.Debian deleted file mode 100644 index 1e4397316..000000000 --- a/gosa-core/debian/README.Debian +++ /dev/null @@ -1,73 +0,0 @@ -GOsa 2.6 for debian -------------------- - -* Configure GOsa - -By default you can point your favorite browser to the GOsa setup by -using this URL: - -http://you.server.address/gosa - -Follow the instructions on the screen. - - -* Security related information - -GOsa is running as the www-data user. This makes it possible for other -web applications (well, this is the rule for allmost every web application -that stores information somewhere around) to read the gosa.conf file, which -may contain vital information about your LDAP service. - -To make it harder to extract these passwords, they get encrypted by a -master password only readable by the GOsa location. - -You can simply migrate old existing passwords by typing: - -# a2enmod headers -# gosa-encrypt-passwords -# /etc/init.d/apache2 reload - -If this is not enough for you (exploitable PHP code may make it possible to -read the webservers memory), you can simply create another webserver instance -running as a different user on different port for GOsa exclusively. Or use -apache2-mpm-itk and assign a different user to a virtual host. - - -* Generic informations - -Getting GOsa running itself is not very complicated. Problems normally -arise when integrating it in various services. - -To play nice with your LDAP, you need to include the gosa schema files -into your LDAP configuration. For Debian, you should install the -gosa-schema package and add at least the following lines to your -LDAP-servers slapd.conf: - -Samba 3: -include /etc/ldap/schema/gosa/samba3.schema -include /etc/ldap/schema/gosa/trust.schema -include /etc/ldap/schema/gosa/gosystem.schema -include /etc/ldap/schema/gosa/gofon.schema -include /etc/ldap/schema/gosa/goto.schema -include /etc/ldap/schema/gosa/gosa-samba3.schema -include /etc/ldap/schema/gosa/gofax.schema -include /etc/ldap/schema/gosa/goserver.schema -include /etc/ldap/schema/gosa/goto-mime.schema - -There's no need to have samba services up and running, GOsa only -uses the NT/LM attributes to pre-generate samba password hashes - -to allow easy switching of account properties without asking for -passwords after adding samba accounts. - - -* Smarty PHP errors - -There might pop up messages about "Only variables should be passed by -reference" when using PHP5. I can't do anything about them - these are -cause by smarty. To get rid of them set your "error_reporting" in the -php.ini to "E_ALL ^ E_NOTICE". This is a workaround only, wait for the -debian smarty package to support PHP5 in a propper way. - - - -- Cajus Pollmeier Mon, 07 Apr 2008 11:18:53 +0200 - diff --git a/gosa-core/debian/changelog b/gosa-core/debian/changelog deleted file mode 100644 index 70bcac552..000000000 --- a/gosa-core/debian/changelog +++ /dev/null @@ -1,54 +0,0 @@ -gosa (2.7) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Sun, 25 Apr 2010 18:40:02 +0200 - -gosa (2.6.8-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Mon, 15 Feb 2010 14:19:14 +0100 - -gosa (2.6.7-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Wed, 27 Jan 2010 21:53:12 +0100 - -gosa (2.6.6-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Mon, 05 Oct 2009 15:03:41 +0200 - -gosa (2.6.5-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Wed, 25 Feb 2009 13:36:18 +0100 - -gosa (2.6.4-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Fri, 06 Feb 2009 11:35:38 +0100 - -gosa (2.6.3-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Thu, 15 Jan 2009 11:43:15 +0100 - -gosa (2.6.2-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Fri, 19 Dec 2008 09:51:32 +0100 - -gosa (2.6.1-1) unstable; urgency=low - - * New upstream release - - -- Cajus Pollmeier Mon, 07 Apr 2008 11:18:53 +0200 - diff --git a/gosa-core/debian/compat b/gosa-core/debian/compat deleted file mode 100644 index 7ed6ff82d..000000000 --- a/gosa-core/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/gosa-core/debian/control b/gosa-core/debian/control deleted file mode 100644 index 704bc92ca..000000000 --- a/gosa-core/debian/control +++ /dev/null @@ -1,103 +0,0 @@ -Source: gosa -Section: web -Priority: optional -Maintainer: GOsa packages maintainers group -Uploaders: Cajus Pollmeier , Benoit Mortier -Build-Depends: debhelper (>= 5), dpatch -Build-Depends-Indep: po-debconf -Standards-Version: 3.8.4 -Homepage: https://oss.gonicus.de/labs/gosa/ -Vcs-Browser: https://oss.gonicus.de/repositories/gosa/trunk -Vcs-Svn: https://oss.gonicus.de/repositories/gosa/trunk -DM-Upload-Allowed: yes - -Package: gosa -Architecture: all -Depends: php5, php5-cli, apache2-mpm-prefork | lighttpd , exim4 | mail-transport-agent, php5-gd, php5-imap, php5-ldap, php5-mcrypt, php5-mysql, php5-imagick | imagemagick (>= 5.4.4.5-1) | graphicsmagick-im-compat, libcrypt-smbhash-perl, smarty, php5-recode, smarty-gettext, smarty-acl-render, gettext, ${misc:Depends}, libapache2-mod-php5 | php5-cgi -Suggests: gosa-si-server, cyrus21-imapd (>= 2.1.11), postfix-ldap, slapd, gosa-schema, php5-suhosin, php-apc, php-fpdf -Description: Web Based LDAP Administration Program - Provided is access to posix, shadow, samba, proxy, fax, pureftp and - kerberos accounts. It is able to manage the postfix/cyrus server - combination and can write user adapted sieve scripts. - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-dev -Architecture: all -Depends: gosa, php5-cli, latex2html, lyx, ${misc:Depends} -Description: GOsa development utiles - This package contains a couple of tools to generate online - help, extract localisations and aid developing. - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-desktop -Architecture: all -Depends: konqueror | iceweasel | mozilla | firefox, debconf, ${misc:Depends} -Description: Desktop integration for GOsa - This package includes a menu definition for your desktop - environment. - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-schema -Architecture: all -Depends: ${misc:Depends} -Recommends: slapd -Description: LDAP schema for GOsa - This package includes the LDAP schema needed by GOsa. - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-help-en -Architecture: all -Depends: gosa, ${misc:Depends} -Description: English online help for GOsa - This package includes the English online documentation for GOsa - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-help-de -Architecture: all -Depends: gosa, ${misc:Depends} -Description: German online help for GOsa - This package includes the German online documentation for GOsa - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-help-fr -Architecture: all -Depends: gosa, ${misc:Depends} -Description: French online help for GOsa - This package includes the French online documentation for GOsa - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: gosa-help-nl -Architecture: all -Depends: gosa, ${misc:Depends} -Description: Dutch online help for GOsa - This package includes the Dutch online documentation for GOsa - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - -Package: smarty-acl-render -Architecture: all -Depends: smarty, ${misc:Depends} -Suggests: gosa -Description: Provide ACL based rendering for Smarty - smarty-acl-render provides acl based rendering support for Smarty, - the popular PHP templating engine (http://smarty.php.net/). This - module is mainly used by GOsa. - . - GOsa is a combination of system-administrator and end-user web - interface, designed to handle LDAP based setups. - diff --git a/gosa-core/debian/copyright b/gosa-core/debian/copyright deleted file mode 100644 index e46552aa3..000000000 --- a/gosa-core/debian/copyright +++ /dev/null @@ -1,189 +0,0 @@ -This package was debianized by Cajus Pollmeier on -Mon, 07 Apr 2008 11:18:53 +0200. - -It was downloaded from http://www.gosa-project.org - -Copyright: - - Copyright (C) 2001-2008 Cajus Pollmeier - -License: - - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Files: builder.js, dragdrop.js, effects.js, scriptaculous.js, sound.js -Copyright: (C) 2005-2008 Thomas Fuchs -License: MIT - 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. - -Files: controls.js -Copyright: (C) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) - (C) 2005-2009 Ivan Krstic (http://blogs.law.harvard.edu/ivan) - (C) 2005-2009 Jon Tirsen (http://www.tirsen.com) -License: MIT - 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. - -Files: prototype.js -Copyright: (C) 2005-2009 Sam Stephenson -License: MIT - 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. - -Files: pulldown.js -Copyright: (C) 2004 Knallgrau New Medias Solutions GmbH, BSD -Licence: BSD - -Files: pwdStrength.js -Copyright: (C) 2006 Steve Moitozo -Licence: MIT -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. - -Files: slider.js -Copyright: - (C) 2005-2008 Marty Haught - (C) 2005-2008 Thomas Fuchs -License: MIT - 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. - -Files: datepicker.js -Copyright: (C) 2007 Mathieu Jondet -Licence: MIT - 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. - -Files: unittest.js -Copyright: (C) 2005-2009 Thomas Fuchs, Jon Tirsen, Michael Schuerig -Licence: MIT - 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. - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL-2'. - -The Debian packaging is Copyright (C) 2010, Cajus Pollmeier and -is licensed under the GPL, see above. diff --git a/gosa-core/debian/gosa-16.xpm b/gosa-core/debian/gosa-16.xpm deleted file mode 100644 index d9940d026..000000000 --- a/gosa-core/debian/gosa-16.xpm +++ /dev/null @@ -1,137 +0,0 @@ -/* XPM */ -static char * gosa_16_xpm[] = { -"16 16 118 2", -" c None", -". c #B0B1D3", -"+ c #B3B4D3", -"@ c #BEC1DF", -"# c #C6C9E7", -"$ c #CED0EE", -"% c #D4DAF3", -"& c #CCE0FA", -"* c #9ECEFE", -"= c #BBDDFF", -"- c #D1D8FA", -"; c #BEC8EE", -"> c #B1D3F4", -", c #95D4F5", -"' c #75CDF9", -") c #51BEFE", -"! c #3FAEFF", -"~ c #34A0FF", -"{ c #49A0FC", -"] c #B3B0C4", -"^ c #D0D6FA", -"/ c #A6D5F1", -"( c #87E0FF", -"_ c #6BD9FF", -": c #5BCCFF", -"< c #4EBCFF", -"[ c #41AEFF", -"} c #349FFF", -"| c #308AF1", -"1 c #BABACE", -"2 c #CFD4F4", -"3 c #9AC4EA", -"4 c #76DCFF", -"5 c #63D4FF", -"6 c #57C7FF", -"7 c #4AB8FF", -"8 c #3EAAFF", -"9 c #2C93F8", -"0 c #1D78EA", -"a c #B3B8D4", -"b c #C2C4E3", -"c c #A4C3ED", -"d c #63D6FF", -"e c #5BCBFF", -"f c #50BFFF", -"g c #44B1FE", -"h c #3198F8", -"i c #2382EF", -"j c #1572EA", -"k c #A3B5E2", -"l c #B5B6D2", -"m c #BAC9F3", -"n c #58C8FE", -"o c #51C0FF", -"p c #40ACFE", -"q c #3096F8", -"r c #2688F4", -"s c #1E7BEF", -"t c #136EEA", -"u c #94B4EE", -"v c #C9CEF2", -"w c #57B4F4", -"x c #3EABFF", -"y c #3098FC", -"z c #288CF8", -"A c #2081F4", -"B c #1875EF", -"C c #0D66EA", -"D c #95B8F4", -"E c #C7CBEE", -"F c #64ACF3", -"G c #2F97FF", -"H c #278CFC", -"I c #2082F8", -"J c #1978F3", -"K c #4288F0", -"L c #A0BFF4", -"M c #C1C2DA", -"N c #ACAED4", -"O c #82ABED", -"P c #238AFF", -"Q c #2282FA", -"R c #659FF5", -"S c #B6C8F2", -"T c #B1B2D0", -"U c #9F9FC6", -"V c #C0CAF3", -"W c #83AEF6", -"X c #BCC4EB", -"Y c #BCC1E8", -"Z c #7C7EB2", -"` c #B7BAE1", -" . c #B7B9DE", -".. c #DBE0F8", -"+. c #D1DAFF", -"@. c #9EA4D8", -"#. c #A9B2E1", -"$. c #B6C0F2", -"%. c #9197CF", -"&. c #DADBE9", -"*. c #EEF1FB", -"=. c #BBBDDE", -"-. c #C3C6E6", -";. c #A5AAD9", -">. c #B0B6E3", -",. c #B2BBEC", -"'. c #888DC6", -"). c #EDEDF9", -"!. c #F0F2FE", -"~. c #E8EDFE", -"{. c #D8DDF7", -"]. c #C5CBF0", -"^. c #888CBF", -"/. c #B6B7D4", -"(. c #F2F5FE", -"_. c #CBCFEA", -":. c #8B8CB9", -"<. c #7B7BA8", -" . + ", -" @ # $ % & * = ", -" - ; > , ' ) ! ~ { ] ", -" ^ / ( _ : < [ } | 1 ", -" 2 3 4 5 6 7 8 9 0 a ", -" b c d e f g h i j k ", -" l m n o p q r s t u ", -" v w x y z A B C D ", -" E F G H I J K L M ", -" N O P Q R S T ", -" U V W X Y Z ", -" ` ...+.@.#.$.%. ", -" &.*.=.-.;.>.,.'. ", -" ).!.~.{.].^. ", -" /.(._.:. ", -" <. "}; diff --git a/gosa-core/debian/gosa-apache.conf b/gosa-core/debian/gosa-apache.conf deleted file mode 100644 index 60c712ab8..000000000 --- a/gosa-core/debian/gosa-apache.conf +++ /dev/null @@ -1,26 +0,0 @@ -# Include GOsa to your web service -Alias /gosa /usr/share/gosa/html - - - - php_admin_flag engine on - php_admin_flag register_globals off - php_admin_flag allow_call_time_pass_reference off - php_admin_flag expose_php off - php_admin_flag zend.ze1_compatibility_mode off - php_admin_value upload_tmp_dir /var/spool/gosa/ - php_admin_value session.cookie_lifetime 0 - include /etc/gosa/gosa.secrets - - - - - PHP_Fix_Pathinfo_Enable 1 - - Options +ExecCGI - AddHandler fcgid-script .php - FCGIWrapper /var/www/php-fcgi/php-fcgi-starter .php - include /etc/gosa/gosa.secrets - - - diff --git a/gosa-core/debian/gosa-desktop.config b/gosa-core/debian/gosa-desktop.config deleted file mode 100644 index 2b251a7fc..000000000 --- a/gosa-core/debian/gosa-desktop.config +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -e - -set -e - -# Source debconf library. -. /usr/share/debconf/confmodule - -# What is the URL? -db_input medium gosa-desktop/url || true -db_go - diff --git a/gosa-core/debian/gosa-desktop.desktop b/gosa-core/debian/gosa-desktop.desktop deleted file mode 100644 index 1ff534edf..000000000 --- a/gosa-core/debian/gosa-desktop.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -MimeType=text/plain; -GenericName=GOsa² -Exec=/usr/bin/gosa -Icon=gosa -Path=/usr/bin -Type=Application -Terminal=false -Name=GOsa -X-KDE-StartupNotify=true -Categories=Qt;KDE;Utility;System; diff --git a/gosa-core/debian/gosa-desktop.dirs b/gosa-core/debian/gosa-desktop.dirs deleted file mode 100644 index d519c5232..000000000 --- a/gosa-core/debian/gosa-desktop.dirs +++ /dev/null @@ -1,4 +0,0 @@ -etc/gosa -usr/bin -usr/share/pixmaps -usr/share/applications diff --git a/gosa-core/debian/gosa-desktop.install b/gosa-core/debian/gosa-desktop.install deleted file mode 100644 index 0be551155..000000000 --- a/gosa-core/debian/gosa-desktop.install +++ /dev/null @@ -1,5 +0,0 @@ -contrib/desktoprc /etc/gosa -contrib/gosa /usr/bin -debian/gosa.xpm /usr/share/pixmaps -debian/gosa-16.xpm /usr/share/pixmaps -debian/gosa-desktop.desktop /usr/share/applications diff --git a/gosa-core/debian/gosa-desktop.manpages b/gosa-core/debian/gosa-desktop.manpages deleted file mode 100644 index dac696456..000000000 --- a/gosa-core/debian/gosa-desktop.manpages +++ /dev/null @@ -1 +0,0 @@ -contrib/gosa.1 diff --git a/gosa-core/debian/gosa-desktop.menu b/gosa-core/debian/gosa-desktop.menu deleted file mode 100644 index d47e0d096..000000000 --- a/gosa-core/debian/gosa-desktop.menu +++ /dev/null @@ -1,8 +0,0 @@ -?package(gosa-desktop):\ - needs="x11"\ - section="Applications/System/Administration"\ - hints="KDE"\ - icon32x32="/usr/share/pixmaps/gosa.xpm"\ - icon16x16="/usr/share/pixmaps/gosa-16.xpm"\ - title="GOsa"\ - command="gosa" diff --git a/gosa-core/debian/gosa-desktop.postinst b/gosa-core/debian/gosa-desktop.postinst deleted file mode 100644 index cd8b7792e..000000000 --- a/gosa-core/debian/gosa-desktop.postinst +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -#DEBHELPER# - -# Source debconf library. -. /usr/share/debconf/confmodule - -db_get gosa-desktop/url -if [ -n "$RET" ]; then - echo "URL='$RET'" > /etc/gosa/desktoprc -fi diff --git a/gosa-core/debian/gosa-desktop.postrm b/gosa-core/debian/gosa-desktop.postrm deleted file mode 100644 index 8c3d081cf..000000000 --- a/gosa-core/debian/gosa-desktop.postrm +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -#DEBHELPER# - -if [ "$1" = "purge" ]; then - rm -f /etc/gosa/desktoprc -fi diff --git a/gosa-core/debian/gosa-desktop.templates b/gosa-core/debian/gosa-desktop.templates deleted file mode 100644 index 6a90b6f3a..000000000 --- a/gosa-core/debian/gosa-desktop.templates +++ /dev/null @@ -1,9 +0,0 @@ -Template: gosa-desktop/url -Type: string -_Description: URL to your GOsa installation: - The gosa start script can automatically point your - browser to a system wide default location of your - GOsa instance. - . - Enter the URL in order to set this default. -Default: https://www.gosa-project.org/demo/trunk diff --git a/gosa-core/debian/gosa-dev.dirs b/gosa-core/debian/gosa-dev.dirs deleted file mode 100644 index 415f082dd..000000000 --- a/gosa-core/debian/gosa-dev.dirs +++ /dev/null @@ -1 +0,0 @@ -/usr/bin diff --git a/gosa-core/debian/gosa-dev.install b/gosa-core/debian/gosa-dev.install deleted file mode 100644 index 1e2645c98..000000000 --- a/gosa-core/debian/gosa-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -update-locale /usr/bin -update-pdf-help /usr/bin -dh-make-gosa /usr/bin diff --git a/gosa-core/debian/gosa-dev.manpages b/gosa-core/debian/gosa-dev.manpages deleted file mode 100644 index cf07bd069..000000000 --- a/gosa-core/debian/gosa-dev.manpages +++ /dev/null @@ -1,5 +0,0 @@ -dh-make-gosa.1 -update-locale.1 -update-online-help.1 -update-pdf-help.1 - diff --git a/gosa-core/debian/gosa-help-de.dirs b/gosa-core/debian/gosa-help-de.dirs deleted file mode 100644 index a69a58719..000000000 --- a/gosa-core/debian/gosa-help-de.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/gosa/doc/core/de diff --git a/gosa-core/debian/gosa-help-de.install b/gosa-core/debian/gosa-help-de.install deleted file mode 100644 index fe29d06e2..000000000 --- a/gosa-core/debian/gosa-help-de.install +++ /dev/null @@ -1 +0,0 @@ -doc/core/de/html /usr/share/gosa/doc/core/de diff --git a/gosa-core/debian/gosa-help-en.dirs b/gosa-core/debian/gosa-help-en.dirs deleted file mode 100644 index 30369bb26..000000000 --- a/gosa-core/debian/gosa-help-en.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/gosa/doc/core/en diff --git a/gosa-core/debian/gosa-help-en.install b/gosa-core/debian/gosa-help-en.install deleted file mode 100644 index 1a9031263..000000000 --- a/gosa-core/debian/gosa-help-en.install +++ /dev/null @@ -1 +0,0 @@ -doc/core/en/html /usr/share/gosa/doc/core/en diff --git a/gosa-core/debian/gosa-help-es.dirs b/gosa-core/debian/gosa-help-es.dirs deleted file mode 100644 index 037d7ae7a..000000000 --- a/gosa-core/debian/gosa-help-es.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/gosa/doc/core/es diff --git a/gosa-core/debian/gosa-help-es.install b/gosa-core/debian/gosa-help-es.install deleted file mode 100644 index ddc282d73..000000000 --- a/gosa-core/debian/gosa-help-es.install +++ /dev/null @@ -1 +0,0 @@ -doc/core/es/html /usr/share/gosa/doc/core/es diff --git a/gosa-core/debian/gosa-help-fr.dirs b/gosa-core/debian/gosa-help-fr.dirs deleted file mode 100644 index cd83d4b36..000000000 --- a/gosa-core/debian/gosa-help-fr.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/gosa/doc/core/fr diff --git a/gosa-core/debian/gosa-help-fr.install b/gosa-core/debian/gosa-help-fr.install deleted file mode 100644 index af2c9f684..000000000 --- a/gosa-core/debian/gosa-help-fr.install +++ /dev/null @@ -1 +0,0 @@ -doc/core/fr/html /usr/share/gosa/doc/core/fr diff --git a/gosa-core/debian/gosa-help-nl.dirs b/gosa-core/debian/gosa-help-nl.dirs deleted file mode 100644 index e82c70d34..000000000 --- a/gosa-core/debian/gosa-help-nl.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/gosa/doc/core/nl diff --git a/gosa-core/debian/gosa-help-nl.install b/gosa-core/debian/gosa-help-nl.install deleted file mode 100644 index 361496739..000000000 --- a/gosa-core/debian/gosa-help-nl.install +++ /dev/null @@ -1 +0,0 @@ -doc/core/nl/html /usr/share/gosa/doc/core/nl diff --git a/gosa-core/debian/gosa-lighttpd.conf b/gosa-core/debian/gosa-lighttpd.conf deleted file mode 100644 index 858c65bc2..000000000 --- a/gosa-core/debian/gosa-lighttpd.conf +++ /dev/null @@ -1,29 +0,0 @@ -# lighttpd configuration for GOsa - -# Set alias to http:///gosa/ -alias.url += ( - "/gosa/" => "/usr/share/gosa/html/" -) - -# Enable FastCGI and set it to handle .php URLs -# php-cgi is run with the GOsa-required options -server.modules += ( "mod_fastcgi" ) - -$HTTP["url"] =~ "^/gosa/" { - fastcgi.server = ( ".php" => - (( - "bin-path" => "/usr/bin/php-cgi -d expose_php=Off -d magic_quotes_gpc=On", - "socket" => "/tmp/php.socket", - "max-procs" => 2, - "idle-timeout" => 20, - "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "4", - "PHP_FCGI_MAX_REQUESTS" => "10000" - ), - "bin-copy-environment" => ( - "PATH", "SHELL", "USER" - ), - "broken-scriptfilename" => "enable" - )) - ) -} diff --git a/gosa-core/debian/gosa-schema.dirs b/gosa-core/debian/gosa-schema.dirs deleted file mode 100644 index 44eb13d0c..000000000 --- a/gosa-core/debian/gosa-schema.dirs +++ /dev/null @@ -1 +0,0 @@ -etc/ldap/schema/gosa diff --git a/gosa-core/debian/gosa-schema.install b/gosa-core/debian/gosa-schema.install deleted file mode 100644 index 88a5e6dd8..000000000 --- a/gosa-core/debian/gosa-schema.install +++ /dev/null @@ -1,11 +0,0 @@ -contrib/openldap/gosa-samba3.schema /etc/ldap/schema/gosa -contrib/openldap/rfc2307bis.schema /etc/ldap/schema/gosa -contrib/openldap/samba3.schema /etc/ldap/schema/gosa -contrib/openldap/samba.schema /etc/ldap/schema/gosa -contrib/openldap/trust.schema /etc/ldap/schema/gosa -contrib/openldap/gofax.schema /etc/ldap/schema/gosa -contrib/openldap/goto-mime.schema /etc/ldap/schema/gosa -contrib/openldap/gofon.schema /etc/ldap/schema/gosa -contrib/openldap/goserver.schema /etc/ldap/schema/gosa -contrib/openldap/goto.schema /etc/ldap/schema/gosa -contrib/openldap/gosystem.schema /etc/ldap/schema/gosa diff --git a/gosa-core/debian/gosa.dirs b/gosa-core/debian/gosa.dirs deleted file mode 100644 index fc29e294c..000000000 --- a/gosa-core/debian/gosa.dirs +++ /dev/null @@ -1,6 +0,0 @@ -etc/gosa -usr/sbin -usr/share/gosa -usr/share/gosa/bin -var/spool/gosa -var/cache/gosa diff --git a/gosa-core/debian/gosa.docs b/gosa-core/debian/gosa.docs deleted file mode 100644 index 3c121149f..000000000 --- a/gosa-core/debian/gosa.docs +++ /dev/null @@ -1,4 +0,0 @@ -FAQ -AUTHORS -README -README.safemode diff --git a/gosa-core/debian/gosa.install b/gosa-core/debian/gosa.install deleted file mode 100644 index f3bc55e2c..000000000 --- a/gosa-core/debian/gosa.install +++ /dev/null @@ -1,14 +0,0 @@ -update-gosa /usr/sbin -bin/gosa-encrypt-passwords /usr/sbin -html /usr/share/gosa -ihtml /usr/share/gosa -include /usr/share/gosa -locale /usr/share/gosa -plugins /usr/share/gosa -setup /usr/share/gosa -debian/gosa-apache.conf /etc/gosa -debian/gosa-lighttpd.conf /etc/gosa -contrib/shells /etc/gosa -contrib/encodings /etc/gosa -contrib/openldap/slapd.conf /usr/share/doc/gosa/slapd.conf-example -contrib/gosa.conf /usr/share/doc/gosa diff --git a/gosa-core/debian/gosa.lintian-overrides b/gosa-core/debian/gosa.lintian-overrides deleted file mode 100644 index 96d11e431..000000000 --- a/gosa-core/debian/gosa.lintian-overrides +++ /dev/null @@ -1,7 +0,0 @@ -gosa: extra-license-file usr/share/gosa/setup/class_setupStep_License.inc -gosa: extra-license-file usr/share/gosa/setup/license.txt -gosa: extra-license-file usr/share/gosa/setup/setup_license.tpl -gosa: package-contains-empty-directory usr/share/gosa/locale/core/en/LC_MESSAGES/ -gosa: package-contains-empty-directory usr/share/gosa/html/plugins/welcome/ -gosa: package-contains-empty-directory usr/share/gosa/bin/ -gosa: package-contains-empty-directory usr/share/gosa/html/plugins/references/ diff --git a/gosa-core/debian/gosa.manpages b/gosa-core/debian/gosa.manpages deleted file mode 100644 index 742cd4ccb..000000000 --- a/gosa-core/debian/gosa.manpages +++ /dev/null @@ -1,4 +0,0 @@ -contrib/gosa.conf.5 -gosa-encrypt-passwords.1 -update-gosa.1 - diff --git a/gosa-core/debian/gosa.postinst b/gosa-core/debian/gosa.postinst deleted file mode 100644 index 6286d073a..000000000 --- a/gosa-core/debian/gosa.postinst +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh -# postinst script for gosa -# -# see: dh_installdeb(1) - -set -e - -case "$1" in - configure) - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -# Set ID's -WEBUSER="www-data" -WEBGROUP="www-data" - -# Create empty inclusion file for apache -if [ ! -f /etc/gosa/gosa.secrets ]; then - touch /etc/gosa/gosa.secrets - chmod 600 /etc/gosa/gosa.secrets -fi - -if [ -d /etc/apache2/conf.d ]; then - - # Copy GOsa configuration to conf.d directories - if [ ! -L /etc/apache2/conf.d/gosa.conf ]; then - - # Remove old instances of this file - if [ -f /etc/apache2/conf.d/gosa.conf ]; then - echo "Found old gosa apache configuration in /etc/apache2/conf.d - moving it to gosa.conf.orig..." - echo "Please check for changes in /etc/gosa/gosa-apache.conf if you modified this file!" - mv /etc/apache2/conf.d/gosa.conf /etc/apache2/conf.d/gosa.conf.orig - fi - - echo "Making /gosa available in /etc/apache2/conf.d" - - # Add GOsa include file - ln -s /etc/gosa/gosa-apache.conf /etc/apache2/conf.d/gosa.conf - fi - - # Add support for RequestHeader - a2enmod headers - - # Finally restart servers - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d apache2 reload - else - /etc/init.d/apache2 reload - fi -fi - -if [ -d /etc/lighttpd/conf-available ]; then - - # Copy GOsa configuration to conf-available directories /etc/lighttpd/conf-available - if [ ! -L /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf ]; then - - # Remove old instances of this file - if [ -f /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf ]; then - echo "Found old gosa apache configuration in /etc/lighttpd/conf-enabled - moving it to orig.gosa-lighttpd.conf ..." - echo "Please check for changes in /etc/lighttpd/conf-available/orig.99gosa-lighttpd.conf if you modified this file!" - mv /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf /etc/lighttpd/conf-available/orig.gosa-lighttpd.conf - fi - - echo "Making /gosa available in /etc/lighttpd/conf-enabled/" - - # Add GOsa include file - ln -s /etc/gosa/gosa-lighttpd.conf /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf - fi - - # Finally restart servers - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d lighttpd reload - else - /etc/init.d/lighttpd reload - fi - -fi - -# Add links for safe mode -[ ! -d /usr/share/gosa/bin ] && mkdir -p /usr/share/gosa/bin -for source in /usr/bin/convert /usr/bin/lpstat; do - if [ -e $source ]; then - target=/usr/share/gosa/bin/${source##*/} - [ ! -L $target ] && ln -sf $source $target - fi -done - -# Fix permission in /var/(spool|cache)/gosa -chown root.$WEBGROUP -R /var/spool/gosa -chmod 770 -R /var/spool/gosa -chown root.$WEBGROUP -R /var/cache/gosa -chmod 770 -R /var/cache/gosa - -update-gosa - -exit 0 - diff --git a/gosa-core/debian/gosa.postrm b/gosa-core/debian/gosa.postrm deleted file mode 100644 index 6a4a072aa..000000000 --- a/gosa-core/debian/gosa.postrm +++ /dev/null @@ -1,55 +0,0 @@ -#! /bin/sh -# postrm script for GOsa -# - -set -e - -case "$1" in - purge|remove) - - # Pure here - if [ "$1" = "purge" ] ; then - if [ -d /var/spool/gosa ] ; then - echo "Removing /var/spool/gosa as requested." - rm -Rf /var/spool/gosa - fi - fi - - if [ -d /etc/apache2/conf.d ]; then - # Remove GOsa include - [ -L /etc/apache2/conf.d/gosa.conf ] && rm -f /etc/apache2/conf.d/gosa.conf - - # Restart servers - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d apache2 restart - else - /etc/init.d/apache2 restart - fi - fi - - if [ -d /etc/lighttpd/conf-available ]; then - # Remove GOsa include - [ -L /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf ] && rm -f /etc/lighttpd/conf-enabled/99gosa-lighttpd.conf - - # Restart servers - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d lighttpd restart - else - /etc/init.d/lighttpd restart - fi - fi - - ;; - - upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 0 - ;; -esac - -#DEBHELPER# - -exit 0 diff --git a/gosa-core/debian/gosa.xpm b/gosa-core/debian/gosa.xpm deleted file mode 100644 index b27a7ae0d..000000000 --- a/gosa-core/debian/gosa.xpm +++ /dev/null @@ -1,490 +0,0 @@ -/* XPM */ -static char * gosa_xpm[] = { -"32 32 455 2", -" c None", -". c #8585A9", -"+ c #9E9EC5", -"@ c #A8A8CF", -"# c #ACADD2", -"$ c #B5B7D9", -"% c #C1C2E2", -"& c #D8DAF2", -"* c #C0C2E2", -"= c #7B7BA6", -"- c #AFAFCE", -"; c #B5B6D6", -"> c #BBBDDE", -", c #C1C3E5", -"' c #CBCDEB", -") c #D8DAF3", -"! c #E7E9FB", -"~ c #EDEFFD", -"{ c #E9EFFE", -"] c #DCECFE", -"^ c #DDEEFF", -"/ c #F6F9FE", -"( c #9696BD", -"_ c #BDBCD6", -": c #C0C1DC", -"< c #BEBFDD", -"[ c #C3C5E4", -"} c #C9CDED", -"| c #D1D7F5", -"1 c #D6DCF8", -"2 c #DCDEFA", -"3 c #DFE0F9", -"4 c #DBE2F8", -"5 c #D0E0F7", -"6 c #BBD9F7", -"7 c #9FCFF9", -"8 c #6AB8FD", -"9 c #4AA7FE", -"0 c #4DA6FF", -"a c #CCE6FF", -"b c #ABAAC9", -"c c #C8C8E0", -"d c #D8DBF2", -"e c #CED5F8", -"f c #CCD5FB", -"g c #CBD2F7", -"h c #CAD2F6", -"i c #C8D3F6", -"j c #BCD1F2", -"k c #B1CEED", -"l c #9BCDF0", -"m c #80CBF5", -"n c #5DC3FC", -"o c #4BBAFF", -"p c #40B1FF", -"q c #39AAFF", -"r c #36A3FF", -"s c #319DFF", -"t c #2490FF", -"u c #7DBCFE", -"v c #C7C3D7", -"w c #C9C9DC", -"x c #D5DDFE", -"y c #C9D4FF", -"z c #B4BBE3", -"A c #ADC0E3", -"B c #A2D0EF", -"C c #91D8F7", -"D c #7BD9FA", -"E c #6CD7FC", -"F c #60D1FF", -"G c #58CBFF", -"H c #51C2FF", -"I c #4CBBFF", -"J c #44B2FF", -"K c #3FACFF", -"L c #37A3FF", -"M c #2490FD", -"N c #5FA6F7", -"O c #D6D4E1", -"P c #C4C4DB", -"Q c #D5DDFD", -"R c #C5CDF9", -"S c #A8C1E3", -"T c #A9EAFE", -"U c #92E4FF", -"V c #83DFFF", -"W c #71DBFF", -"X c #67D8FF", -"Y c #5ED0FF", -"Z c #59CAFF", -"` c #51C1FF", -" . c #3EABFF", -".. c #37A2FF", -"+. c #319CFF", -"@. c #238BF8", -"#. c #4592EF", -"$. c #DEDEEA", -"%. c #B8B8D2", -"&. c #DBDFF8", -"*. c #C9D1FC", -"=. c #A6C3E6", -"-. c #9FE5FE", -";. c #8BE1FF", -">. c #7DDEFF", -",. c #6EDAFF", -"'. c #65D6FF", -"). c #5DCFFF", -"!. c #58C8FF", -"~. c #50BFFF", -"{. c #4AB8FF", -"]. c #43B0FF", -"^. c #3EAAFF", -"/. c #36A2FF", -"(. c #309CFF", -"_. c #2083F2", -":. c #3788EC", -"<. c #DFE1EF", -"[. c #737291", -"}. c #D5D6F0", -"|. c #CFD8FE", -"1. c #A5B5DF", -"2. c #8FDAF7", -"3. c #80DFFF", -"4. c #74DBFF", -"5. c #68D8FF", -"6. c #62D3FF", -"7. c #5BCBFF", -"8. c #56C6FF", -"9. c #4EBDFF", -"0. c #48B6FF", -"a. c #41AFFF", -"b. c #3CA8FF", -"c. c #34A0FF", -"d. c #2B91F8", -"e. c #1D7AEB", -"f. c #247CEB", -"g. c #DBE2F5", -"h. c #7F7E9F", -"i. c #C7C8E6", -"j. c #D0D8FB", -"k. c #ADB6E2", -"l. c #86CDF1", -"m. c #76DCFF", -"n. c #6CD9FF", -"o. c #63D5FF", -"p. c #5FD0FF", -"q. c #53C2FF", -"r. c #4CBAFF", -"s. c #46B4FF", -"t. c #3AA7FF", -"u. c #2F97FA", -"v. c #2485F0", -"w. c #1D79EB", -"x. c #1773E9", -"y. c #CFDCF7", -"z. c #8988AB", -"A. c #B6B6D4", -"B. c #CED4F7", -"C. c #BDC3EE", -"D. c #84C0E9", -"E. c #68DAFF", -"F. c #64D6FF", -"G. c #60D0FF", -"H. c #54C4FF", -"I. c #50BEFF", -"J. c #49B7FF", -"K. c #44B1FF", -"L. c #3BA7FE", -"M. c #3199F9", -"N. c #2685F0", -"O. c #2280EE", -"P. c #1C78EB", -"Q. c #0F6DE9", -"R. c #A8C7F6", -"S. c #A6A4C6", -"T. c #A5A4C0", -"U. c #D2D6F4", -"V. c #C5CCF6", -"W. c #8ABDE8", -"X. c #62D7FF", -"Y. c #5FD1FF", -"Z. c #51C0FF", -"`. c #45B2FF", -" + c #3DA9FD", -".+ c #3096F7", -"++ c #298BF3", -"@+ c #2483F0", -"#+ c #207EEE", -"$+ c #1A76EB", -"%+ c #0E6BE9", -"&+ c #88B4F4", -"*+ c #B6B5D5", -"=+ c #CBCCE6", -"-+ c #CED5FC", -";+ c #9DBCEA", -">+ c #5ACEFF", -",+ c #55C5FF", -"'+ c #4BB9FF", -")+ c #42AFFE", -"!+ c #369EFA", -"~+ c #2F94F7", -"{+ c #2A8DF5", -"]+ c #2687F3", -"^+ c #2180F0", -"/+ c #1D7AEE", -"(+ c #1773EB", -"_+ c #106BE9", -":+ c #609AF0", -"<+ c #CCCDE6", -"[+ c #B5B5D4", -"}+ c #D1D9FE", -"|+ c #AEBAE7", -"1+ c #58C3FA", -"2+ c #3EA9FE", -"3+ c #359EFC", -"4+ c #2F96F9", -"5+ c #2C91F7", -"6+ c #278AF5", -"7+ c #2384F3", -"8+ c #1E7CF0", -"9+ c #1A77EE", -"0+ c #1570EB", -"a+ c #0F69E9", -"b+ c #4D8DEF", -"c+ c #D9DDF2", -"d+ c #A2A1C6", -"e+ c #CFD6F8", -"f+ c #BEC0EA", -"g+ c #61B2EC", -"h+ c #4BBDFF", -"i+ c #3DA9FF", -"j+ c #339CFD", -"k+ c #3098FB", -"l+ c #2C91F9", -"m+ c #288CF7", -"n+ c #2486F5", -"o+ c #2080F3", -"p+ c #1B79F0", -"q+ c #1774EE", -"r+ c #126CEB", -"s+ c #0E66E9", -"t+ c #3B7FEC", -"u+ c #E3EBFC", -"v+ c #9898BD", -"w+ c #CED3F2", -"x+ c #CACEF5", -"y+ c #6AAAE7", -"z+ c #46B6FF", -"A+ c #349FFF", -"B+ c #2F97FD", -"C+ c #2C93FB", -"D+ c #288DF9", -"E+ c #2588F7", -"F+ c #2182F4", -"G+ c #1D7CF2", -"H+ c #1876F0", -"I+ c #1570EE", -"J+ c #0E68EB", -"K+ c #0660E9", -"L+ c #4D88ED", -"M+ c #E9F0FD", -"N+ c #C5C6E8", -"O+ c #D3DAFE", -"P+ c #80AFEA", -"Q+ c #3FACFD", -"R+ c #339DFF", -"S+ c #2F97FF", -"T+ c #2A91FD", -"U+ c #288DFB", -"V+ c #2387F9", -"W+ c #2182F7", -"X+ c #1D7DF4", -"Y+ c #1977F2", -"Z+ c #116EF0", -"`+ c #176EED", -" @ c #3E83ED", -".@ c #7DA9F1", -"+@ c #EDF0FA", -"@@ c #E0E0F1", -"#@ c #B0B0D6", -"$@ c #D4DAFA", -"%@ c #95B4EB", -"&@ c #3DA3F9", -"*@ c #2E97FF", -"=@ c #2B92FF", -"-@ c #268CFD", -";@ c #2488FB", -">@ c #2082F9", -",@ c #1D7EF7", -"'@ c #1576F5", -")@ c #1874F1", -"!@ c #488BEF", -"~@ c #96B8F3", -"{@ c #E0E9FB", -"]@ c #E5E7F8", -"^@ c #B4B5D6", -"/@ c #6C6C98", -"(@ c #9090B6", -"_@ c #CACFF2", -":@ c #AEBBEB", -"<@ c #4498F2", -"[@ c #288FFF", -"}@ c #248BFF", -"|@ c #2185FD", -"1@ c #1C80FB", -"2@ c #1D7CF7", -"3@ c #3284F4", -"4@ c #70A3F2", -"5@ c #C5D3F3", -"6@ c #E7E8F8", -"7@ c #D4D5EC", -"8@ c #9797C1", -"9@ c #5F5F95", -"0@ c #8181A7", -"a@ c #BFC3EA", -"b@ c #BEC6F0", -"c@ c #5894E8", -"d@ c #2189FF", -"e@ c #1E84FF", -"f@ c #1B7EFC", -"g@ c #3285F6", -"h@ c #80AAF1", -"i@ c #C4D2F7", -"j@ c #DBE0F8", -"k@ c #C9CCEB", -"l@ c #8586B1", -"m@ c #5F6089", -"n@ c #B4B5DB", -"o@ c #D0D7F9", -"p@ c #94A7E0", -"q@ c #388AF5", -"r@ c #4D94F7", -"s@ c #A6BDF0", -"t@ c #D4D9F5", -"u@ c #CFD1EE", -"v@ c #B9BEE4", -"w@ c #7C7EB5", -"x@ c #3A3A5E", -"y@ c #A09FC9", -"z@ c #D3DAFB", -"A@ c #CAD2F8", -"B@ c #BCC7F2", -"C@ c #CCD5FA", -"D@ c #C5C9EC", -"E@ c #AFB1DB", -"F@ c #AAAEDD", -"G@ c #8D91CA", -"H@ c #9094C7", -"I@ c #8B8FC7", -"J@ c #A6A9D8", -"K@ c #BEC5EE", -"L@ c #B8BEE7", -"M@ c #ACAED7", -"N@ c #C5C7E6", -"O@ c #DBE1FA", -"P@ c #D7DFFF", -"Q@ c #CED8FF", -"R@ c #9BA0D8", -"S@ c #A8AFDC", -"T@ c #ACB5E3", -"U@ c #ADB6E7", -"V@ c #B9C2F6", -"W@ c #9DA4DB", -"X@ c #767BAE", -"Y@ c #BFC0E1", -"Z@ c #B7B9DD", -"`@ c #9D9ECC", -" # c #DBDBEC", -".# c #ECF0FF", -"+# c #E1E7FF", -"@# c #D5DEFF", -"## c #CBD5FE", -"$# c #969BD4", -"%# c #A1A7D7", -"&# c #A8B1DF", -"*# c #A2ABDC", -"=# c #BCC7F7", -"-# c #C6D1FF", -";# c #BAC4F6", -"># c #8387C9", -",# c #E6E8F4", -"'# c #F2F5FD", -")# c #F3F6FE", -"!# c #C8C9E2", -"~# c #D7DCF6", -"{# c #B2B7E4", -"]# c #9194CC", -"^# c #9296CB", -"/# c #ADB4E1", -"(# c #B1B9E6", -"_# c #BBC5F4", -":# c #B7C1F3", -"<# c #A0A8E2", -"[# c #6668A9", -"}# c #474685", -"|# c #CBCBDE", -"1# c #F5F7FC", -"2# c #EBECF8", -"3# c #E9ECF9", -"4# c #D1D4EE", -"5# c #B2B4DA", -"6# c #9798CB", -"7# c #9EA2D1", -"8# c #B4BAE2", -"9# c #BDC4EC", -"0# c #C2CBF4", -"a# c #BDC6F5", -"b# c #A1A8E2", -"c# c #6668A8", -"d# c #48497F", -"e# c #E4E5F6", -"f# c #F8F9FE", -"g# c #EFF1FC", -"h# c #EDF0FD", -"i# c #EAEEFE", -"j# c #E5EAFC", -"k# c #C3C8E8", -"l# c #D5DAF6", -"m# c #DAE1FD", -"n# c #D4DCFD", -"o# c #BCC3EE", -"p# c #989CD4", -"q# c #5B5C9C", -"r# c #3F3E73", -"s# c #DCDCF1", -"t# c #FAFBFF", -"u# c #F3F6FF", -"v# c #EFF2FF", -"w# c #EBEFFF", -"x# c #E8ECFF", -"y# c #E5EBFF", -"z# c #E2E8FF", -"A# c #C7CCF0", -"B# c #9EA1D6", -"C# c #61629B", -"D# c #444374", -"E# c #9F9FC5", -"F# c #EEF0F9", -"G# c #F4F6FF", -"H# c #EFF3FF", -"I# c #EDF1FF", -"J# c #E1E6F9", -"K# c #C3C7EA", -"L# c #9293C6", -"M# c #5A5996", -"N# c #B5B6D7", -"O# c #F5F8FE", -"P# c #EEF2FC", -"Q# c #CACDEA", -"R# c #9496C7", -"S# c #5F5F92", -"T# c #9696C4", -"U# c #8585B7", -"V# c #585890", -" . ", -" + @ # $ % & * = ", -" - ; > , ' ) ! ~ { ] ^ / ( ", -" _ : < [ } | 1 2 3 4 5 6 7 8 9 0 a b ", -" c d e f g h i j k l m n o p q r s t u v ", -" w x y z A B C D E F G H I J K L s M N O ", -" P Q R S T U V W X Y Z ` o J ...+.@.#.$. ", -" %.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[. ", -" }.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h. ", -" i.j.k.l.m.n.o.p.!.q.r.s.K t.u.v.w.x.y.z. ", -" A.B.C.D.E.F.G.7.H.I.J.K.L.M.N.O.P.Q.R.S. ", -" T.U.V.W.X.Y.7.8.Z.I `. +.+++@+#+$+%+&+*+ ", -" =+-+;+>+Z ,+Z.'+)+!+~+{+]+^+/+(+_+:+<+ ", -" [+}+|+1+H.Z.I 2+3+4+5+6+7+8+9+0+a+b+c+ ", -" d+e+f+g+h+J.i+j+k+l+m+n+o+p+q+r+s+t+u+ ", -" v+w+x+y+z+K A+B+C+D+E+F+G+H+I+J+K+L+M+ ", -" N+O+P+Q+R+S+T+U+V+W+X+Y+Z+`+ @.@+@@@ ", -" #@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@ ", -" (@_@:@<@[@}@|@1@2@3@4@5@6@7@8@9@ ", -" 0@a@b@c@d@e@f@g@h@i@j@k@l@m@ ", -" n@o@p@q@r@s@t@u@v@w@x@ ", -" y@z@A@B@C@D@E@F@b@G@H@I@ ", -" J@K@L@M@N@O@P@Q@R@S@T@U@V@W@X@ ", -" Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#># ", -" ,#'#)#Z@!#.#~#{#]#^#/#(#_#:#<#[#}# ", -" |#1#2#3#4#`@5#6#7#8#9#0#a#b#c#d# ", -" e#f#g#h#i#j#k#l#m#n#o#p#q#r# ", -" s#t#u#v#w#x#y#z#A#B#C#D# ", -" E#F#G#H#I#J#K#L#M# ", -" N#O#P#Q#R#S# ", -" T#U#V# ", -" "}; diff --git a/gosa-core/debian/patches/00list b/gosa-core/debian/patches/00list deleted file mode 100644 index d2a19ffb8..000000000 --- a/gosa-core/debian/patches/00list +++ /dev/null @@ -1,5 +0,0 @@ -01_fix_smarty_location -02_fix_template_location -03_fix_class_mapping -04_fix_locale_location -04_fix_online_help_location diff --git a/gosa-core/debian/patches/01_fix_smarty_location.dpatch b/gosa-core/debian/patches/01_fix_smarty_location.dpatch deleted file mode 100755 index 1e543c2e7..000000000 --- a/gosa-core/debian/patches/01_fix_smarty_location.dpatch +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 01_fix_smarty_location.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Adapt location for debian packaged smarty - -@DPATCH@ -diff -urNad gosa-core~/include/php_setup.inc gosa-core/include/php_setup.inc ---- gosa-core~/include/php_setup.inc 2008-12-12 13:31:08.000000000 +0100 -+++ gosa-core/include/php_setup.inc 2009-02-09 17:25:51.000000000 +0100 -@@ -277,7 +277,11 @@ - ini_set("include_path",".:$BASE_DIR/include:$BASE_DIR/include/utils/excel"); - - /* Do smarty setup */ --require("smarty/Smarty.class.php"); -+if (file_exists("/usr/share/php/smarty/Smarty.class.php")){ -+ require("/usr/share/php/smarty/Smarty.class.php"); -+} else { -+ require("/usr/share/php/smarty/libs/Smarty.class.php"); -+} - $smarty = new Smarty; - $smarty->template_dir = $BASE_DIR.'/ihtml/'; - $smarty->caching= false; diff --git a/gosa-core/debian/patches/02_fix_template_location.dpatch b/gosa-core/debian/patches/02_fix_template_location.dpatch deleted file mode 100755 index 5a797304c..000000000 --- a/gosa-core/debian/patches/02_fix_template_location.dpatch +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 02_fix_template_location.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix location of configuration template. - -@DPATCH@ -diff -uNr gosa-core/include/functions.inc gosa-core/include/functions.new ---- gosa-core/include/functions.inc 2009-12-03 11:23:55.000000000 +0100 -+++ gosa-core/include/functions.new 2009-12-03 11:26:16.000000000 +0100 -@@ -40,7 +40,7 @@ - } - - /* Define common locatitions */ --define ("CONFIG_TEMPLATE_DIR", "../contrib"); -+define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa"); - define ("TEMP_DIR","/var/cache/gosa/tmp"); - - /* Define get_list flags */ - diff --git a/gosa-core/debian/patches/03_fix_class_mapping.dpatch b/gosa-core/debian/patches/03_fix_class_mapping.dpatch deleted file mode 100755 index d4ea5b6e5..000000000 --- a/gosa-core/debian/patches/03_fix_class_mapping.dpatch +++ /dev/null @@ -1,60 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 03_fix_class_mapping.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix location of auto-generated class mapping file - -@DPATCH@ -diff -urNad gosa-2.6.3~/include/class_config.inc gosa-2.6.3/include/class_config.inc ---- gosa-2.6.3~/include/class_config.inc 2008-12-18 15:13:44.000000000 +0100 -+++ gosa-2.6.3/include/class_config.inc 2009-01-15 14:08:54.000000000 +0100 -@@ -76,12 +76,12 @@ - if we have installed or removed plugins. - */ - if(session::global_is_set("class_location.inc:timestamp")){ -- $tmp = stat("../include/class_location.inc"); -+ $tmp = stat("/var/cache/gosa/class.cache"); - if($tmp['mtime'] != session::global_get("class_location.inc:timestamp")){ - session::global_un_set("plist"); - } - } -- $tmp = stat("../include/class_location.inc"); -+ $tmp = stat("/var/cache/gosa/class.cache"); - session::global_set("class_location.inc:timestamp",$tmp['mtime']); - - -diff -urNad gosa-2.6.3~/include/functions.inc gosa-2.6.3/include/functions.inc ---- gosa-2.6.3~/include/functions.inc 2009-01-15 14:07:35.000000000 +0100 -+++ gosa-2.6.3/include/functions.inc 2009-01-15 14:07:36.000000000 +0100 -@@ -73,7 +73,7 @@ - $svn_revision = '$Revision: 13322 $'; - - /* Include required files */ --require_once("class_location.inc"); -+require_once("/var/cache/gosa/class.cache"); - require_once ("functions_debug.inc"); - require_once ("accept-to-gettext.inc"); - -diff -urNad gosa-2.6.3~/update-gosa gosa-2.6.3/update-gosa ---- gosa-2.6.3~/update-gosa 2008-06-10 09:56:22.000000000 +0200 -+++ gosa-2.6.3/update-gosa 2009-01-15 14:07:36.000000000 +0100 -@@ -21,7 +21,7 @@ - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - --define ("GOSA_HOME", dirname(__FILE__)); -+define ("GOSA_HOME", "/usr/share/gosa"); - define ("LOCALE_DIR", GOSA_HOME."/locale"); - define ("PLUGSTATE_DIR", GOSA_HOME."/state"); - -@@ -122,8 +122,8 @@ - function rescan_classes() - { - echo "Updating class cache...\n"; -- $class_mapping= get_classes(); -- $filename= GOSA_HOME."/include/class_location.inc"; -+ $class_mapping= get_classes("/usr/share/gosa"); -+ $filename= "/var/cache/gosa/class.cache"; - - /* Sanity checks */ - if (!file_exists($filename) || is_writable($filename)) { diff --git a/gosa-core/debian/patches/04_fix_locale_location.dpatch b/gosa-core/debian/patches/04_fix_locale_location.dpatch deleted file mode 100755 index 6ed0165ac..000000000 --- a/gosa-core/debian/patches/04_fix_locale_location.dpatch +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 04_fix_locale_location.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fixed location of auto-generated locales - -@DPATCH@ -diff -urNad gosa-2.6.0+svn11288~/include/php_setup.inc gosa-2.6.0+svn11288/include/php_setup.inc ---- gosa-2.6.0+svn11288~/include/php_setup.inc 2008-06-11 15:55:59.000000000 +0200 -+++ gosa-2.6.0+svn11288/include/php_setup.inc 2008-06-11 15:56:00.000000000 +0200 -@@ -20,7 +20,7 @@ - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - --define ("LOCALE_DIR", dirname(dirname(__FILE__))."/locale/compiled"); -+define ("LOCALE_DIR", "/var/cache/gosa/locale"); - - function gosaRaiseError($errno, $errstr, $errfile, $errline) - { -diff -urNad gosa-2.6.0+svn11288~/update-gosa gosa-2.6.0+svn11288/update-gosa ---- gosa-2.6.0+svn11288~/update-gosa 2008-06-11 15:55:59.000000000 +0200 -+++ gosa-2.6.0+svn11288/update-gosa 2008-06-11 16:02:30.000000000 +0200 -@@ -169,20 +169,20 @@ - - /* For each language, merge the target .mo to the compiled directory. */ - foreach ($languages as $language => $po_files){ -- if (!is_dir(LOCALE_DIR."/compiled/${language}/LC_MESSAGES")){ -- if (!mkdir (LOCALE_DIR."/compiled/${language}/LC_MESSAGES", 0755, TRUE)){ -- echo "Failed to create '".LOCALE_DIR."/compiled/${language}/LC_MESSAGES'- aborted"; -+ if (!is_dir("/var/cache/gosa/locale/${language}/LC_MESSAGES")){ -+ if (!mkdir ("/var/cache/gosa/locale/${language}/LC_MESSAGES", 0755, TRUE)){ -+ echo "Failed to create '/var/cache/gosa/locale/${language}/LC_MESSAGES'- aborted"; - exit (3); - } - } - - /* Cat all these po files into one single file */ -- system ("(cd ".LOCALE_DIR." && msgcat --use-first ".implode(" ", $po_files)." > compiled/${language}/LC_MESSAGES/messages.po)", $val); -+ system ("(cd ".LOCALE_DIR." && msgcat --use-first ".implode(" ", $po_files)." > /var/cache/gosa/locale/${language}/LC_MESSAGES/messages.po)", $val); - if ($val != 0){ - echo "Merging of message files failed - aborted"; - exit (4); - } -- system ("(cd ".LOCALE_DIR."/compiled/${language}/LC_MESSAGES && msgfmt -o messages.mo messages.po && rm messages.po)", $val); -+ system ("(cd /var/cache/gosa/locale/${language}/LC_MESSAGES && msgfmt -o messages.mo messages.po && rm messages.po)", $val); - if ($val != 0){ - echo "Compiling of message files failed - aborted"; - exit (5); diff --git a/gosa-core/debian/patches/04_fix_online_help_location.dpatch b/gosa-core/debian/patches/04_fix_online_help_location.dpatch deleted file mode 100755 index f4ec71b31..000000000 --- a/gosa-core/debian/patches/04_fix_online_help_location.dpatch +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 04_fix_online_help_location.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix location of auto-generated online help. - -@DPATCH@ -diff -urNad gosa-core~/html/helpviewer.php gosa-core/html/helpviewer.php ---- gosa-core~/html/helpviewer.php 2008-04-12 19:58:14.000000000 +0200 -+++ gosa-core/html/helpviewer.php 2008-04-14 17:25:10.000000000 +0200 -@@ -110,7 +110,7 @@ - if(session::is_set('current_class_for_help')){ - - /* Create new XML parser with the path to the Xml file */ -- $xml = new parseXml("../doc/guide.xml"); -+ $xml = new parseXml("/etc/gosa/guide.xml"); - - /* Generate help array */ - $str = $xml->parse(); -diff -urNad gosa-core~/update-gosa gosa-core/update-gosa ---- gosa-core~/update-gosa 2008-04-14 14:59:22.000000000 +0200 -+++ gosa-core/update-gosa 2008-04-14 17:24:53.000000000 +0200 -@@ -193,7 +193,7 @@ - - function rescan_guide() - { -- $master_guide= "doc/guide.xml"; -+ $master_guide= "/etc/gosa/guide.xml"; - echo "Updating Online Help Index...\n"; - $master_guide_content="\n". - "