debian/0000755000000000000000000000000012236544100007163 5ustar debian/copyright0000644000000000000000000004277012236544100011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Dolibarr Upstream-Contact: Laurent Destailleur Source: http://sourceforge.net/projects/dolibarr/files/ Files: * Copyright: 2002-2009, Rodolphe Quiedeville 2003-2006, Jean-Louis Bergamo 2003-2013, Laurent Destailleur 2003, Xavier Dutoit 2004-2013, Regis Houssin 2004, Sebastien Di Cintio 2004, Benoit Mortier 2004, Christophe Combelles 2004, Guillaume Delecourt 2004, Eric Seigne 2005, Brice Davoleau 2005, Kai Blankenhorn 2005-2006, Marc Barilley/Ocebo 2005, Matthieu Valleton 2005, Patrick Rouillon 2005, Simon TOSSER 2006, Andre Cianfarani 2006-2011, Auguria SARL 2006, Jean Heimburger 2006, Roman Ozana 2006, Yannick Warnier 2007, Patrick Raguin 2007, Franky Van Liedekerke 2007-2008, Jeremie Ollivier 2008, Matteli 2008, Raphael Bertrand (Resultic) 2010, Francois Legastelois 2010-2013, Juanjo Menent 2010-2013, Philippe Grand 2010, Pierre Morin 2010, Servitux Servicios Informaticos 2011, Herve Prot 2011, Remy Younes 2012-2013, Christophe Battarel License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. Files: htdocs/includes/adodbtime/* Copyright: 2003-2005, John Lim unknown, jackbbs License: BSD 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. . Neither the name of the John Lim nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Comment: Those files are not shipped in the binary package since we use the library as packaged in "libphp-adodb". Files: htdocs/includes/ckeditor/* Copyright: 2003-2012 CKSource - Frederico Knabben License: GPL-2+ The ckeditor is tripple licensed under the GNU General Public License (GPL), GNU Lesser General Public License (LGPL), and Mozilla Public License (MPL). In Debian, it is distributed under the GNU General Public License (GPL). . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. Comment: Sources for all minified javascript libraries are available in same directory than minified version (.min.js), except for ckeditor whose sources are files ckeditor_basic_source.js, ckeditor_source.js and files into directory _source. Those files are not shipped in the binary package since we use the library as packaged in "ckeditor". Files: htdocs/includes/fonts/* Copyright: 2003, Bitstream Inc unknown, Gavin Graham License: other Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: . The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. . The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". . This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. . The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. . THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. . Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. Comments: Those files are not shipped in the binary package as we configure Dolibarr to use Dejavu fonts from "fonts-dejavu-core". Files: docs/images/* Copyright: Laurent Destailleur License: CC-BY-SA-3.0 You are free: to Share (to copy, distribute and transmit the work) and to Remix (to adapt the work) under the following conditions: . Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). . Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. . For more information, see http://creativecommons.org/licenses/by-sa/3.0/ Files: htdocs/includes/fpdi/* Copyright: 2004-2011 Setasign - Jan Slabon License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Comment: Those files are not shipped in the binary package as we configure Dolibarr to use the library packaged in "libfpdi-php". Files: htdocs/includes/geoip/* Copyright: 2007 MaxMind LLC License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Files: htdocs/includes/jquery/* Copyright: JQuery team License: GPL-2+ or MIT === GPL-2+ LICENSE NOTICE === . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. . === MIT LICENSE === . 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. Comment: JQuery itself is not shipped in the binary package, instead Dolibarr is configured to use the packaged version from "libjs-jquery" and "libjs-jquery-ui". Most of the plugins are shipped though. Files: htdocs/includes/jquery/plugins/flot/* Copyright: Flot team License: Public Domain This work is not subject to copyright in any jurisdiction Comment: Those files are not shipped in the binary package because we configure Dolibarr to use the files provided by "libjs-flot". Files: htdocs/includes/jsgantt/* Copyright: JSGantt team License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: htdocs/includes/nusoap/* Copyright: 2002-2010 NuSphere Corporation License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Comment: Those files are not shipped in the binary package since we configure Dolibarr to use the library provided in "libnusoap-php". Files: htdocs/includes/odtphp/* Copyright: 2008, Julien Pauli 2008, Cyril PIERRE de GEYER 2010, Laurent Destailleur License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: htdocs/includes/phpexcel/* Copyright: 2006-2011 PHPExcel (http://www.codeplex.com/PHPExcel) License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Files: htdocs/includes/tcpdf/* Copyright: 2002-2013 Nicola Asuni - Tecnick.com LTD License: LGPL-3.0+ TCPDF is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . TCPDF 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 TCPDF. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". Comment: Those files are not shipped in the binary package since we configure Dolibarr to use the library provided by "php-tcpdf". debian/patches/0000755000000000000000000000000012236544100010612 5ustar debian/patches/series0000644000000000000000000000003412236544100012024 0ustar use-etc-dolibarr-conf.patch debian/patches/use-etc-dolibarr-conf.patch0000644000000000000000000000340412236544100015720 0ustar Description: Enable /etc/dolibarr/conf.php so that we use packaged libraries Update some PHP include files to refer to /etc/dolibarr/conf.php instead of the in-tree conf/conf.php. . /etc/dolibarr/conf.php configures Dolibarr to use packaged libraries instead of the embedded ones. Author: Laurent Destailleur Forwarded: not-needed Last-Update: 2013-07-29 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -63,8 +63,8 @@ $conffiletoshowshort = "conf.php"; $conffile = "conf/conf.php"; $conffiletoshow = "htdocs/conf/conf.php"; // For debian/redhat like systems -//$conffile = "/etc/dolibarr/conf.php"; -//$conffiletoshow = "/etc/dolibarr/conf.php"; +$conffile = "/etc/dolibarr/conf.php"; +$conffiletoshow = "/etc/dolibarr/conf.php"; // Include configuration --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -73,8 +73,8 @@ $conffiletoshowshort = "conf.php"; $conffile = "../conf/conf.php"; $conffiletoshow = "htdocs/conf/conf.php"; // For debian/redhat like systems -//$conffile = "/etc/dolibarr/conf.php"; -//$conffiletoshow = "/etc/dolibarr/conf.php"; +$conffile = "/etc/dolibarr/conf.php"; +$conffiletoshow = "/etc/dolibarr/conf.php"; if (! defined('DONOTLOADCONF') && file_exists($conffile)) --- a/htdocs/support/inc.php +++ b/htdocs/support/inc.php @@ -69,8 +69,8 @@ $conffiletoshowshort = "conf.php"; $conffile = "../conf/conf.php"; $conffiletoshow = "htdocs/conf/conf.php"; // For debian/redhat like systems -//$conffile = "/etc/dolibarr/conf.php"; -//$conffiletoshow = "/etc/dolibarr/conf.php"; +$conffile = "/etc/dolibarr/conf.php"; +$conffiletoshow = "/etc/dolibarr/conf.php"; if (! defined('DONOTLOADCONF') && file_exists($conffile)) debian/dolibarr.desktop0000644000000000000000000000133612236544100012357 0ustar [Desktop Entry] Version=1.0 Name=Dolibarr ERP & CRM Name[es]=Dolibarr ERP & CRM Name[fr]=Dolibarr ERP & CRM Name[it]=Dolibarr ERP & CRM Comment=The easy to use manager (ERP & CRM) for small and medium enterprises or foundations Comment[es]=Software para gestión de PYMES, profesionales independientes, auto emprendedores ó asociaciones Comment[fr]=L'ERP & CRM simple pour la gestion des PME et associations Comment[it]=Programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti Keywords=Enterprise Resource Planning;Customer Relationship Management;Invoicing; Exec=xdg-open http://localhost/dolibarr Icon=dolibarr Terminal=false Type=Application Categories=Office StartupNotify=true debian/TODO0000644000000000000000000000044612236544100007657 0ustar - To simplify the installation, use debconf to ask whether the database must be created. If yes, we create the database on the local machine and we configure the Dolibarr installer to use the created account directly. If no, it's up to the user to set it up via the Dolibarr installer. debian/dolibarr.xpm0000644000000000000000000001131012236544100011503 0ustar /* XPM */ static char * dolibarr_xpm[] = { "32 32 161 2", " c None", ". c #4378AA", "+ c #4277A8", "@ c #4175A7", "# c #3F74A5", "$ c #3E72A3", "% c #3D71A2", "& c #487AA8", "* c #5A87B0", "= c #5987B0", "- c #5986B0", "; c #5583AE", "> c #4678A6", ", c #326A9D", "' c #356C9F", ") c #3B70A1", "! c #3B6FA0", "~ c #90ADC9", "{ c #FFFFFF", "] c #DFE7EF", "^ c #A6BED4", "/ c #5683AD", "( c #346A9D", "_ c #3A6E9F", ": c #8CAAC7", "< c #CFDCE8", "[ c #4B7AA6", "} c #3A6E9E", "| c #396D9D", "1 c #8BA9C6", "2 c #FEFEFE", "3 c #6C92B6", "4 c #376B9C", "5 c #386B9B", "6 c #8AA8C5", "7 c #648CB1", "8 c #366A9A", "9 c #89A8C4", "0 c #FCFCFD", "a c #356898", "b c #89A7C3", "c c #F1F4F8", "d c #C2D1E0", "e c #C4D2E0", "f c #C8D6E3", "g c #E1E8EF", "h c #A4BBD1", "i c #336797", "j c #346797", "k c #88A6C2", "l c #D0DBE6", "m c #285F91", "n c #2F6494", "o c #2E6394", "p c #2B6192", "q c #366898", "r c #A1B9CE", "s c #2A6091", "t c #336595", "u c #88A5C1", "v c #D0DCE7", "w c #2C6092", "x c #2E6193", "y c #9CB4CB", "z c #557FA7", "A c #316493", "B c #86A4C0", "C c #D0DCE6", "D c #2B5F90", "E c #799AB9", "F c #306392", "G c #86A4BF", "H c #2A5E8E", "I c #265B8C", "J c #F2F5F8", "K c #89A5C0", "L c #2F6190", "M c #85A3BE", "N c #285C8D", "O c #23588A", "P c #F7F9FB", "Q c #86A3BF", "R c #2E608E", "S c #85A2BD", "T c #CFDBE5", "U c #275B8A", "V c #3A6995", "W c #7092B2", "X c #2C5E8D", "Y c #84A1BC", "Z c #CFDAE5", "` c #26598A", " . c #245889", ".. c #B1C3D4", "+. c #46729B", "@. c #2B5D8B", "#. c #83A0BB", "$. c #CEDAE5", "%. c #235787", "&. c #265988", "*. c #255988", "=. c #215686", "-. c #376692", ";. c #B3C5D6", ">. c #F3F5F8", ",. c #205585", "'. c #2A5C8A", "). c #82A0BA", "!. c #CEDAE4", "~. c #467199", "{. c #C8D5E0", "]. c #C9D6E1", "^. c #E7EDF2", "/. c #94ADC4", "(. c #285B89", "_. c #285A88", ":. c #819FB9", "<. c #527A9F", "[. c #F9FAFB", "}. c #275987", "|. c #275986", "1. c #819DB8", "2. c #CED9E3", "3. c #51799E", "4. c #567DA0", "5. c #265785", "6. c #809DB8", "7. c #51789D", "8. c #698AAA", "9. c #245584", "0. c #255683", "a. c #809CB7", "b. c #CDD8E3", "c. c #4F779B", "d. c #EDF1F5", "e. c #4B7399", "f. c #235582", "g. c #235482", "h. c #819DB7", "i. c #D2DCE5", "j. c #4F769B", "k. c #D7E0E8", "l. c #7896B2", "m. c #1B4E7D", "n. c #225380", "o. c #36628B", "p. c #53799C", "q. c #52789C", "r. c #477095", "s. c #2F5D87", "t. c #6A8BA9", "u. c #6F8FAD", "v. c #688AA8", "w. c #4F769A", "x. c #235380", "y. c #1A4D7B", "z. c #21527E", "A. c #20507D", "B. c #1E4F7B", "C. c #1D4D7A", "D. c #1B4C78", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", "+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ", "@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ", "# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ", "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ ", "% % % % % % & * = = = = = = - ; > , ' ) % % % % % % % % % % % % ", "! ! ! ! ! ! ~ { { { { { { { { { { { ] ^ / ( ! ! ! ! ! ! ! ! ! ! ", "_ _ _ _ _ _ : { { { { { { { { { { { { { { < [ } _ _ _ _ _ _ _ _ ", "| | | | | | 1 { { { { { { { { { { { { { { 2 { 3 4 | | | | | | | ", "5 5 5 5 5 5 6 { { { { { { { { { { { { { { { 2 { 7 5 5 5 5 5 5 5 ", "8 8 8 8 8 8 9 { { { { { { { { { { { { { { { { 2 0 5 8 8 8 8 8 8 ", "a a a a a a b { { { { { c d e f g { { { { { { { { h i a a a a a ", "j j j j j j k { { { { { l m n o p q r { { { { { { 0 s j j j j j ", "t t t t t t u { { { { { v w t t t t x y { { { { { { z t t t t t ", "A A A A A A B { { { { { C D A A A A A A { { { { { { E A A A A A ", "F F F F F F G { { { { { l H F F F F F I J { { { { { K F F F F F ", "L L L L L L M { { { { { l N L L L L L O P { { { { { Q L L L L L ", "R R R R R R S { { { { { T U R R R R R V { { { { { { W R R R R R ", "X X X X X X Y { { { { { Z ` X X X X ...{ { { { { { +.X X X X X ", "@.@.@.@.@.@.#.{ { { { { $.%.&.*.=.-.;.{ { { { { { >.,.@.@.@.@.@.", "'.'.'.'.'.'.).{ { { { { !.~.{.].^.{ { { { { { { { /.(.'.'.'.'.'.", "_._._._._._.:.{ { { { { !.<.{ { { { { { { { { 2 [.}._._._._._._.", "|.|.|.|.|.|.1.{ { { { { 2.3.{ { { { { { { { 2 { 4.|.|.|.|.|.|.|.", "5.5.5.5.5.5.6.{ { { { { 2.7.{ { { { { { { 2 { 8.9.5.5.5.5.5.5.5.", "0.0.0.0.0.0.a.{ { { { { b.c.{ { { { { 2 { d.e.f.0.0.0.0.0.0.0.0.", "g.g.g.g.g.g.h.{ { { { { i.j.{ { { { { k.l.m.g.g.g.g.g.g.g.g.g.g.", "n.n.n.n.n.n.o.p.q.q.q.q.r.s.t.u.v.w.x.y.n.n.n.n.n.n.n.n.n.n.n.n.", "z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.", "A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.", "B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.", "C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.", "D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."}; debian/changelog0000644000000000000000000000317712236544100011045 0ustar dolibarr (3.3.4-3) unstable; urgency=low * Fix: mysql server host should be free to be edited during setup since mysql is just a recommanded package and not a required package. * Fix: A better way to manage loading of apache2-maintscript-helper. * Fix: indentation into file dolibarr.postinst and dolibarr.postrm -- Laurent Destailleur (eldy) Wed, 6 Nov 2013 19:40:00 +0100 dolibarr (3.3.4-2) unstable; urgency=low * Fix: postinst and postrm are using shell sh. This shell does not propagate $1 var into functions, so we must supply value as parameter because script apache2-maintscript-helper need to know global variable $1 to work correctly. * Remove starting of apache module 'version' in postinst script. This module does not exists anymore. (Closes: #728235) -- Laurent Destailleur (eldy) Tue, 29 Oct 2013 23:45:58 +0100 dolibarr (3.3.4-1) unstable; urgency=low * New upstream release. - Removes unused javascript libraries. - Add source versions to all minified javascript files. * Update copyright file accordingly. * Enable version and alias apache modules in postinst. * Drop dh_linktree which is no longer needed. * Fix syntax error in default-paths.php. * Correct name for Maintainers into control with complete id * Add script get-orig-source.sh to make next upgrade easier -- Laurent Destailleur (eldy) Thu, 19 Sep 2013 01:49:18 +0200 dolibarr (3.3.3-1) unstable; urgency=low * Initial release. (Closes: #634783) -- Raphaël Hertzog Tue, 06 Aug 2013 15:34:17 +0200 debian/lighttpd/0000755000000000000000000000000012236544100011002 5ustar debian/lighttpd/50-dolibarr.conf0000644000000000000000000000076312236544100013677 0ustar # Alias for dolibarr directory alias.url += ( "/dolibarr" => "/usr/share/dolibarr/htdocs", ) # Disallow access to libraries #$HTTP["url"] =~ "^/dolibarr/libraries" { # url.access-deny = ( "" ) #} # Limit access to setup script #$HTTP["url"] =~ "^/dolibarr/setup" { # auth.backend = "htpasswd" # auth.backend.htpasswd.userfile = "/etc/dolibarr/htpasswd.setup" # auth.require = ( # "/" => ( # "method" => "basic", # "realm" => "Dolibarr Setup", # "require" => "valid-user" # ) # ) #} debian/rules0000755000000000000000000000164612236544100010252 0ustar #!/usr/bin/make -f %: dh $@ override_dh_install: dh_install # Remove embedded libraries that we don't use cd debian/dolibarr/usr/share/dolibarr/htdocs/includes/ && \ rm -rf fonts && \ rm -rf tcpdf && \ rm -rf nusoap && \ rm -rf fpdfi && \ rm -rf adodbtime && \ rm -rf jquery/css && \ rm -rf jquery/js && \ rm -rf jquery/plugins/flot && \ rm -rf jquery/plugins/multiselect && \ rm -rf ckeditor && \ rm -rf odtphp/zip/pclzip # Drop unwanted executable permissions find debian/dolibarr/usr/share/dolibarr/htdocs -type f -print0 | \ xargs -0 chmod 644 # Add missing executable permissions find debian/dolibarr/usr/share/dolibarr/scripts -type f -name '*.php' -print0 | \ xargs -0 chmod 755 override_dh_fixperms: dh_fixperms # Give rights to the webserver on the upload directory chown www-data:www-data debian/dolibarr/var/lib/dolibarr/documents chmod 2775 debian/dolibarr/var/lib/dolibarr/documents debian/dolibarr.postrm0000755000000000000000000000221612236544100012233 0ustar #!/bin/sh set -e if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then # Needs to be run outside of functions to have access to parameters . /usr/share/apache2/apache2-maintscript-helper fi deconfigure_httpd() { # Deconfigure apache 2 COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null \ | awk '{print $3}' || true) if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then apache2_invoke disconf dolibarr.conf || true elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ]; then [ -L /etc/apache2/conf.d/dolibarr.conf ] && rm -f /etc/apache2/conf.d/dolibarr.conf fi # Deconfigure lighttpd if which lighty-disable-mod >/dev/null 2>&1 ; then lighty-disable-mod dolibarr || true fi } case "$1" in purge) deconfigure_httpd rm -f /etc/dolibarr/conf.php rm -f /etc/dolibarr/mysql-credentials.php rm -f /var/lib/dolibarr/documents/install.lock # XXX: Do we want to remove all documents stored in # /var/lib/dolibarr/documents/ ? ;; remove) deconfigure_httpd ;; upgrade|remove|failed-upgrade|disappear|abort-install|abort-upgrade) ;; esac #DEBHELPER# exit 0 debian/default-paths.php0000644000000000000000000000242112236544100012434 0ustar debian/install.forced.php0000644000000000000000000000401212236544100012600 0ustar debian/apache/0000755000000000000000000000000012236544100010404 5ustar debian/apache/dolibarr.conf0000644000000000000000000000213212236544100013047 0ustar # Apache config file for Dolibarr Alias /dolibarr /usr/share/dolibarr/htdocs # Directory for web pages = 2.3> Require all granted Order deny,allow Allow from all DirectoryIndex index.php Options +FollowSymLinks +Indexes ErrorDocument 401 /dolibarr/public/error-401.php ErrorDocument 404 /dolibarr/public/error-404.php php_flag magic_quotes_gpc Off php_flag register_globals Off # OPTIMIZE: To use cache on static pages (A259200 = 1 month). # Note that you must also enable the module mod_expires. #ExpiresActive On #ExpiresByType image/x-icon A2592000 #ExpiresByType image/gif A2592000 #ExpiresByType image/png A2592000 #ExpiresByType image/jpeg A2592000 #ExpiresByType text/css A2592000 #ExpiresByType text/javascript A2592000 #ExpiresByType application/x-javascript A2592000 #ExpiresByType application/javascript A2592000 debian/apache/.htaccess0000644000000000000000000000016112236544100012200 0ustar = 2.3> Require all denied Order deny,allow Deny from all debian/dolibarr.postinst0000755000000000000000000000324612236544100012576 0ustar #!/bin/sh set -e if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then # Needs to be run outside of functions to have access to parameters . /usr/share/apache2/apache2-maintscript-helper fi setup_empty_conf() { mkdir -p /etc/dolibarr touch /etc/dolibarr/conf.php chown root:www-data /etc/dolibarr/conf.php chmod 664 /etc/dolibarr/conf.php } is_new_upstream_version() { # $1 can be empty (not installed) and will result in a true value # for the check old_version=$(echo "$1" | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://') new_version=$(dpkg-query -f '${Version}' -W dolibarr | \ sed -e 's/-[^-]*$//' -e 's/^[0-9]*://') test "$old_version" != "$new_version" } enable_install_upgrade_wizard() { rm -f /var/lib/dolibarr/documents/install.lock } setup_httpd() { # Apache 2 setup if which a2enmod >/dev/null 2>&1 ;then a2enmod alias fi COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null \ | awk '{print $3}' || true) if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then apache2_invoke enconf dolibarr || exit $? elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then [ -d /etc/apache2/conf.d/ ] && \ [ ! -e /etc/apache2/conf.d/dolibarr.conf ] && \ ln -s ../conf-available/dolibarr.conf /etc/apache2/conf.d/dolibarr.conf fi # Lighttpd setup if which lighty-enable-mod >/dev/null 2>&1 ; then lighty-enable-mod dolibarr fastcgi-php fi } case "$1" in configure) if [ -z "$2" ]; then setup_empty_conf fi setup_httpd if is_new_upstream_version "$2"; then enable_install_upgrade_wizard fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; esac #DEBHELPER# exit 0 debian/dolibarr.docs0000644000000000000000000000002112236544100011624 0ustar README README-FR debian/dolibarr.lintian-overrides0000644000000000000000000000073712236544100014350 0ustar # We want a www-data group-writable /var/lib/dolibarr/documents/ dolibarr: non-standard-dir-perm var/lib/dolibarr/documents/ 2775 != 0755 # We depend on xdg-utils providing xdg-open and we use that to open an URL dolibarr: desktop-command-not-in-package usr/share/applications/dolibarr.desktop xdg-open # We use to include the correct configuration for each apache version dolibarr: apache2-deprecated-auth-config Order dolibarr: apache2-deprecated-auth-config Allow debian/compat0000644000000000000000000000000212236544100010361 0ustar 9 debian/get-orig-source.sh0000755000000000000000000000107012236544100012533 0ustar #!/bin/sh # Scan for new official sources and download file # run with debian/get-orig-source.sh [x.y.z] tmpdir=$(mktemp -d) echo "tmpdir = $tmpdir" if [ -n "$1" ]; then uscan_opts="--download-version=$1" fi uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_opts cd $tmpdir tgzfile=$(echo *.tgz) version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr-//; s/\.tgz$//; s/_/./g; s/\+nmu1//; ') cd - >/dev/null mv $tmpdir/dolibarr-${version}.tgz ../ echo "File ../dolibarr-${version}.tgz is ready for git-import-orig" rm -rf $tmpdir debian/README.Debian0000644000000000000000000000076612236544100011235 0ustar Information about Dolibarr in Debian ------------------------------------ The Debian package provides integration with apache2 and lighttpd. If you have one of those servers installed, then Dolibarr is immediately accessible at http://localhost/dolibarr/ But it won't be usable until you configure it via http://localhost/dolibarr/install/ To complete the setup process you will need the MySQL root credentials because the Dolibarr installer will create the database and the dedicated user for you. debian/source/0000755000000000000000000000000012236544100010463 5ustar debian/source/format0000644000000000000000000000001412236544100011671 0ustar 3.0 (quilt) debian/dolibarr.install0000644000000000000000000000060712236544100012354 0ustar debian/dolibarr.desktop usr/share/applications/ debian/dolibarr.xpm usr/share/pixmaps/ debian/apache/.htaccess var/lib/dolibarr/documents/ debian/apache/dolibarr.conf etc/apache2/conf-available/ debian/lighttpd/50-dolibarr.conf etc/lighttpd/conf-available/ debian/default-paths.php etc/dolibarr/ debian/install.forced.php etc/dolibarr/ htdocs usr/share/dolibarr/ scripts usr/share/dolibarr/ debian/control0000644000000000000000000000454612236544100010577 0ustar Source: dolibarr Section: web Priority: optional Maintainer: Laurent Destailleur (eldy) Uploaders: Raphaël Hertzog Standards-Version: 3.9.4 Homepage: http://www.dolibarr.org Build-Depends: debhelper (>= 9) Vcs-Git: git://anonscm.debian.org/collab-maint/dolibarr.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/dolibarr.git Package: dolibarr Architecture: all Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5, php5-cli, # Required PHP extensions php5-mysql | php5-mysqli, php5-curl, php5-gd, php5-ldap, php5-geoip, # Required PHP libraries php-pear, php-mail-mime, php-tcpdf, libfpdi-php, libphp-adodb, libnusoap-php, libphp-pclzip, # Required javascript libraries libjs-jquery, libjs-jquery-ui, libjs-flot, ckeditor, # Misc dependencies fonts-dejavu-core | ttf-dejavu-core, xdg-utils, ${misc:Depends} Recommends: mysql-server, mysql-client, apache2 | lighttpd | httpd Suggests: www-browser Description: Web based software to manage a small company or foundation Dolibarr ERP & CRM is an easy to use open source/free software for small and medium companies, foundations or freelances. It includes different features for Enterprise Resource Planning (ERP) and Customer Relationship Management (CRM) but also for different other activities. . It's a web software you can install as a standalone program or on any web hosting provider to use it from anywhere with any web browser. . Dolibarr was designed to be easy to use. Only the features that you need are visible, depending on which module were activated. . Most common used modules are: . * Customers, Suppliers or Prospects directory, * Contacts directory, * Orders management, * Commercial proposals management, * Invoices management, * Products and services catalog, * Stock management, * Foundations members management, * Bank accounts management, * Point of Sale, * Payments management, * Commercial actions management, * Contracts management, * Standing orders management, * Shipping management, * Donations management, * Bookmarks management, * Mass Emailings, * Reports, * Wizards to export and import data, * LDAP connectivity, * PDF exports, * And a lot of more modules... . You can also add third parties external modules or develop yours. debian/watch0000644000000000000000000000024412236544100010214 0ustar version=3 http://sf.net/dolibarr/dolibarr-(.+)\.tgz #http://www.dolibarr.org/files/stable/standard/dolibarr-(.+)\.tgz # Secondary official distribution repository