diff --git a/build/README-FR b/build/README-FR new file mode 100644 index 0000000000000000000000000000000000000000..1d3dad0e196b3ce3afcad3eb9fd2d015baa9ebf3 --- /dev/null +++ b/build/README-FR @@ -0,0 +1,28 @@ +README FR build + +Les sous r�pertoires du r�pertoire build contiennent tous les fichiers +requis pour packager Dolibarr de mani�re automatis�. +Le r�pertoire build et tout ce qu'il contient n'est absolument pas requis +pour faire fonctionner Dolibarr. Ils ne servent qu'� la g�n�ration du package, +lequel package, une fois construit, n'inclut aucun d'eux. + + +On trouve ainsi les sous-r�pertoires suivants: + +* debian: +Permet de construire un package debian + +* rpm: +Permet de construire un package redhat ou mandrake + +* tgz: +Permet de construire un package tgz (ne contenant que les fichiers +et instructions d'installation manuelle) + +* exe: +Permet de construire un package exe pour windows + +* pad: +Permet de construire un fichier descriptif PAD pour la promotion +de nouvelles versions de Dolibarr + diff --git a/build/deb/apache.conf b/build/deb/apache.conf new file mode 100644 index 0000000000000000000000000000000000000000..81cd142043c45c0d7b951b59de7f5f716574c165 --- /dev/null +++ b/build/deb/apache.conf @@ -0,0 +1,55 @@ +Alias /dolibarr /usr/share/dolibarr + +<DirectoryMatch /usr/share/dolibarr/> + Options +FollowSymLinks +Indexes + + ErrorDocument 401 /public/error-401.html + + <IfModule mod_php4.c> + php_flag magic_quotes_gpc Off + php_flag track_vars On + php_flag register_globals On + </IfModule> + +</DirectoryMatch> + +<DirectoryMatch /usr/share/dolibarr/public/> + AllowOverride All + Order deny,allow + Allow from all +</DirectoryMatch> + +<DirectoryMatch /usr/share/dolibarr/theme/> + AllowOverride All + Order deny,allow + Allow from all +</DirectoryMatch> + +#<DirectoryMatch /usr/share/dolibarr/public/adherents/priv_*> +# Options Indexes FollowSymLinks +# AllowOverride All +# Order deny,allow +# Deny from all +# +# AuthType Basic +# Auth_MySQL_Authoritative on +# Auth_MySQL_DB dolibarr +# Auth_MySQL_Password_Table llx_adherent +# Auth_MySQL_Username_Field login +# Auth_MySQL_Password_Field pass +# Auth_MySQL_Encrypted_Passwords off +# AuthName "Adherents" +# +# require valid-user +# satisfy any +#</DirectoryMatch> +# + +# +# Not yet obsolete (donation module) +# +SetEnv LLX_DBTYPE mysql +SetEnv LLX_DBHOST localhost +SetEnv LLX_DBUSER user +SetEnv LLX_DBPASS pass +SetEnv LLX_DBNAME dolibarr diff --git a/build/deb/changelog b/build/deb/changelog new file mode 100644 index 0000000000000000000000000000000000000000..e7db0defad574855cef91faade16d34ffeb14cad --- /dev/null +++ b/build/deb/changelog @@ -0,0 +1,23 @@ +dolibarr (1.0.0_RC1-1) unstable; urgency=low + + * Upstream update + + -- Rodolphe Quiedeville <rq@quiedeville.org> Sun, 14 Sep 2003 11:40:15 +0200 + +dolibarr (0.7.1-1) unstable; urgency=low + + * Upstream update + + -- Loic Dachary (OuoU) <loic@debian.org> Fri, 12 Sep 2003 15:18:50 +0200 + +dolibarr (0.7.0-2) unstable; urgency=low + + * Install scripts and fix php install + + -- Loic Dachary (OuoU) <loic@debian.org> Thu, 11 Sep 2003 17:14:40 +0200 + +dolibarr (0.7.0-1) unstable; urgency=low + + * initial version + + -- Loic Dachary (OuoU) <loic@debian.org> Sat, 6 Sep 2003 02:49:31 +0200 diff --git a/build/deb/conf.php b/build/deb/conf.php new file mode 100644 index 0000000000000000000000000000000000000000..951ab0f2e8bd71a886f0e0964f18e609bd572993 --- /dev/null +++ b/build/deb/conf.php @@ -0,0 +1,8 @@ +<?PHP +$dolibarr_main_document_root="/usr/share/dolibarr"; +$dolibarr_main_url_root="http://localhost/dolibarr"; +$dolibarr_main_db_host="DBHOST"; +$dolibarr_main_db_name="DBNAME"; +$dolibarr_main_db_user="DBUSER"; +$dolibarr_main_db_pass="DBPASS"; +?> \ No newline at end of file diff --git a/build/deb/control b/build/deb/control new file mode 100644 index 0000000000000000000000000000000000000000..dfa043479a921ec2cb9d5bf7be1efec519b76065 --- /dev/null +++ b/build/deb/control @@ -0,0 +1,16 @@ +Source: dolibarr +Section: web +Priority: optional +Maintainer: Loic Dachary (OuoU) <loic@debian.org> +Build-Depends: debhelper (>> 4.0.0), +Standards-Version: 3.5.8 + +Package: dolibarr +Section: web +Architecture: all +Depends: apache, wwwconfig-common (>= 0.0.7), php4, php4-cgi, php4-mysql, php4-curl, php4-pear | libapache-mod-auth-mysql, debconf, perl +Description: Company account management software. + Dolibarr is a small and simple Web interface with ERP and CRM + capabilities. It is designed for small companies and freelancers, and + can be used to deal with the bills and documentation required for + company management. diff --git a/build/deb/copyright b/build/deb/copyright new file mode 100644 index 0000000000000000000000000000000000000000..ede912f06a7fa2624b10a70bc88adf0a64f4610f --- /dev/null +++ b/build/deb/copyright @@ -0,0 +1,26 @@ +This package was debianized by Loic Dachary (OuoU) <loic@debian.org> on +Sat, 6 Sep 2003 02:49:31 +0200. + +It was downloaded from http://nongnu.org/download/dolibarr/ + +Upstream Author: Rodolphe Quiedeville <rodolphe@quiedeville.org> + +Copyright: + + 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; version 2 dated June, 1991. + + 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., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/build/deb/dolibarr.config b/build/deb/dolibarr.config new file mode 100644 index 0000000000000000000000000000000000000000..48af0da316bfaad1b160aded2547ed2074ba7250 --- /dev/null +++ b/build/deb/dolibarr.config @@ -0,0 +1,119 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +db_version 2.0 + +if [ "$1" = "reconfigure" ] ; then + # Rotate old configuration + config="/etc/dolibarr/apache.conf" + for i in $(seq 8 -1 0) ; do + if [ -f ${config}.$i ] + then mv ${config}.$i ${config}.$(($i +1)) + fi + done + mv ${config} ${config}.0 +fi +step=0 +finished="false" + +db_capb backup +while ! $finished ; do + skip="false" + forward=1 + backward=1 + password="" + confirm="" + case $step in + 0) # Prompt user for notes. + db_beginblock + db_input low "dolibarr/configuration/note" || true + db_endblock + backward=0 + ;; + 1) # Ask for web server type. + db_input medium "dolibarr/webserver" || true + ;; + 2) # Ask on wich host the DBMS is installed. + db_input critical "dolibarr/db/host" || true + # Skip previous step. + backward=1 + ;; + 3) # Get the database administrator name and password. + db_beginblock + db_input critical "dolibarr/db/admin/name" || true + db_input critical "dolibarr/db/admin/password" || true + db_endblock + # Skip previous step. + backward=1 + ;; + 4) # Ask for DB name. + db_input critical "dolibarr/db/name" || true + ;; + 5) # Get the DBMS account username + db_input critical "dolibarr/db/user/name" || true + ;; + 6) # Get the DBMS account password + db_fset "dolibarr/db/user/password/mismatch" "seen" "false" || true + db_beginblock + db_input critical "dolibarr/db/user/password" || true + db_input critical "dolibarr/db/user/password/confirm" || true + db_endblock + ;; + 7) # Check if passwords match. + db_get "dolibarr/db/user/password" + password="$RET" + db_get "dolibarr/db/user/password/confirm" + confirm="$RET" + if [ "$password" != "$confirm" ] ; then + # Reset the template used + db_reset "dolibarr/db/user/password" || true + db_fset "dolibarr/db/user/password" "seen" "false" || true + db_reset "dolibarr/db/user/password/confirm" || true + db_fset "dolibarr/db/user/password/confirm" "seen" "false" || true + # Promt the user + db_input critical "dolibarr/header/password/mismatch" || true + # Do one step back anyway. + forward=-1 + else + # Do not prompt, go to the next step. + skip="true" + fi + ;; + 8) # Ask for deleting all the database on package purge. + db_input medium "dolibarr/postrm" || true + onsuccess='finished="true"' + # Skip previous step + backward=2 + ;; + *) + skip="true" + message="Unknown step #$tep." + if [ $step -lt 0 ] ; then + step=-1 + elif [ $step -gt 11 ] ; then + finished="true" + fi + ;; + esac + + if $skip ; then + next=$(($step + 1)) + eval $onsuccess + onsuccess='' + else + db_title "dolibarr" || true + if db_go ; then + next=$(($step + $forward)) + eval $onsuccess + onsuccess='' + else + next=$(($step - $backward)) + onsuccess='' + fi + fi + step=$next +done + +db_stop +exit 0 diff --git a/build/deb/dolibarr.docs b/build/deb/dolibarr.docs new file mode 100644 index 0000000000000000000000000000000000000000..30d29dea9becd50f5a7218c0e6eaaafbe5ca4dcd --- /dev/null +++ b/build/deb/dolibarr.docs @@ -0,0 +1 @@ +doc/* diff --git a/build/deb/dolibarr.files b/build/deb/dolibarr.files new file mode 100644 index 0000000000000000000000000000000000000000..a75e23712602e7c51f911b24e15b15ae2ae4d05a --- /dev/null +++ b/build/deb/dolibarr.files @@ -0,0 +1,2 @@ +etc +usr diff --git a/build/deb/dolibarr.postinst b/build/deb/dolibarr.postinst new file mode 100644 index 0000000000000000000000000000000000000000..d781f909e3abdced1d0b4c461ad6341ff5129048 --- /dev/null +++ b/build/deb/dolibarr.postinst @@ -0,0 +1,182 @@ +#! /bin/sh +# postinst script for dolibarr +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +. /usr/share/debconf/confmodule +db_version 2.0 + +# +# Description: Verifies that the env module is loaded in the apache config file. +# Needs: $server the apache server to use, +# anything that matches /etc/$server/*.conf +# +env_enable() +{ + envverm="env_module" + if grep -e "^[[:space:]]*#[[:space:]]*LoadModule[[:space:]]\+$envverm" /etc/$server/httpd.conf > /dev/null 2>&1; then + # Uncommenting + sed -e "s#\([[:space:]]*\)\#[[:space:]]\+\(LoadModule $envverm\)#\1\2#" /etc/$server/httpd.conf > /etc/$server/httpd.conf.tmp + status=uncomment + if grep -e "^[[:space:]]*LoadModule[[:space:]]\+$envverm" /etc/$server/httpd.conf.tmp >/dev/null 2>&1; then + # Uncomment successful. + cp /etc/$server/httpd.conf /etc/$server/httpd.conf.back >/dev/null 2>&1 + mv /etc/$server/httpd.conf.tmp /etc/$server/httpd.conf + else + # Uncomment unsuccessful. + status=error + rm /etc/$server/httpd.conf.tmp + fi + fi +} + +set -x + +case "$1" in + configure) + config="/etc/dolibarr/apache.conf" + + # Get the web server type. + db_get "dolibarr/webserver" + webserver="$RET" + case $webserver in + Apache) webservers="apache" ;; + Apache-SSL) webservers="apache-ssl" ;; + Both) webservers="apache apache-ssl" ;; + *) webservers="" ;; + esac + . /usr/share/wwwconfig-common/php.get + # Set up web server. + for server in $webservers ; do + env_enable + typestr='application/x-httpd-php' + extension='.php3' + . /usr/share/wwwconfig-common/apache-addtype_all.sh + . /usr/share/wwwconfig-common/apache-php.sh + . /usr/share/wwwconfig-common/apache-run.get + trustuser=$webuser + # + # That may lead to problems if apache & apache-ssl do + # not have the same user/group. + # + chown -R $webuser.$webgroup /usr/share/dolibarr + includefile="/etc/dolibarr/apache.conf" + . /usr/share/wwwconfig-common/apache-include_all.sh + test "$status" = "uncomment" -o "$status" = "include" && restart="$server $restart" + for index in index.php; do + . /usr/share/wwwconfig-common/apache-index_all.sh + test "$status" = "added" && restart="$server $restart" + done + done + + # + # Pear + # + if [ ! -f /usr/bin/php ] ; then ln -s /usr/bin/php4 /usr/bin/php ; fi + pear install Archive_Tar || true + pear install Console_Getopt || true + pear install PEAR || true + pear install Auth || true + pear install DB || true + + # + # Database + # + db_get "dolibarr/db/setup/skip" + if [ "$RET" = "false" ] ; then + db_get "dolibarr/db/host" + dbserver="$RET" + db_get "dolibarr/db/name" + dbname="$RET" + db_get "dolibarr/db/admin/name" + dbadmin="$RET" + db_get "dolibarr/db/admin/password" + dbadmpass="$RET" + db_get "dolibarr/db/user/name" + dbuser="$RET" + db_get "dolibarr/db/user/password" + dbpass="$RET" + dbtype="mysql" + status='' + # User may have choosen to continue anyway + # with the configuration, so: + if [ "$dbtype" = "mysql" ] ; then + . /usr/share/wwwconfig-common/${dbtype}-createuser.sh + test "$error" && echo $error + . /usr/share/wwwconfig-common/${dbtype}-createdb.sh + test "$error" && echo $error + fi + + if [ "$status" = "create" ] ; then + sqlfile=/usr/lib/dolibarr/${dbtype}.sql + perl -pi -e "s/'admin','admin'/'$dbuser','$dbpass'/" $sqlfile + . /usr/share/wwwconfig-common/${dbtype}-exec.sh + + if [ -z "$error" ] ; then + + echo "Visit http://localhost/dolibarr/install.php to complete the installation" + else + echo $error + fi + else + # + # This dangerous file should be removed + # after the user visits install.php but this + # is beyond the control of the script. By + # removing it at this point we ensure that + # it does not survive an upgrade of dolibarr. + # + rm -f /usr/share/dolibarr/install.php + fi + fi + + perl -pi -e "s/Auth_MySQL_DB.*/Auth_MySQL_DB '$dbname'/" /etc/dolibarr/apache.conf + perl -pi -e "s/Auth_MySQL_Username_Field.*/Auth_MySQL_Username_Field '$dbuser'/" /etc/dolibarr/apache.conf + perl -pi -e "s/Auth_MySQL_Password_Field.*/Auth_MySQL_Password_Field '$dbpass'/" /etc/dolibarr/apache.conf + perl -pi -e "s/DBNAME.*/DBNAME $dbname/" /etc/dolibarr/apache.conf + perl -pi -e "s/DBUSER.*/DBUSER $dbuser/" /etc/dolibarr/apache.conf + perl -pi -e "s/DBPASS.*/DBPASS $dbpass/" /etc/dolibarr/apache.conf + + if grep DBHOST /usr/share/dolibarr/conf/conf.php > /dev/null + then + perl -pi -e "s/DBHOST/$dbserver/" /usr/share/dolibarr/conf/conf.php + perl -pi -e "s/DBNAME/$dbname/" /usr/share/dolibarr/conf/conf.php + perl -pi -e "s/DBUSER/$dbuser/" /usr/share/dolibarr/conf/conf.php + perl -pi -e "s/DBPASS/$dbpass/" /usr/share/dolibarr/conf/conf.php + fi + + # Reset passwords + db_reset "dolibarr/db/user/password" + + servers="apache-ssl apache mysql" + . /usr/share/wwwconfig-common/restart.sh + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +db_stop + +#DEBHELPER# + +exit 0 diff --git a/build/deb/dolibarr.postrm b/build/deb/dolibarr.postrm new file mode 100644 index 0000000000000000000000000000000000000000..c280c8c55693387d2012a9146e0cee1944f758cb --- /dev/null +++ b/build/deb/dolibarr.postrm @@ -0,0 +1,89 @@ +#! /bin/sh +# postrm script for dolibarr +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +. /usr/share/debconf/confmodule +db_version 2.0 +db_get "dolibarr/webserver" || true +webserver="$RET" + +# Allows us to loop and substitute in one pass +case $webserver in + Apache) webservers="apache" ;; + Apache-SSL) webservers="apache-ssl" ;; + Both) webservers="apache apache-ssl" ;; + *) webservers="" ;; +esac +includefile=/etc/dolibarr/apache.conf + +case "$1" in + purge) + db_get "dolibarr/postrm" + if [ "$RET" = "true" ] ; then + # Get database configuration + db_get "dolibarr/db/user/name" + dbuser="$RET" + db_get "dolibarr/db/user/password" + dbpass="$RET" + db_get "dolibarr/db/host" + dbserver="$RET" + db_get "dolibarr/db/name" + dbname="$RET" + db_get "dolibarr/db/admin/name" + dbadmin="$RET" + db_get "dolibarr/db/admin/password" + dbadmpass="$RET" + dbtype="mysql" + + . /usr/share/wwwconfig-common/${dbtype}-dropuser.sh + . /usr/share/wwwconfig-common/${dbtype}-dropdb.sh + + fi + + rm -rf /etc/dolibarr + for server in $webservers ; do + conffile="/etc/$server/httpd.conf" + . /usr/share/wwwconfig-common/apache-uninclude.sh + if [ "$status" = "purge" ] ; + then restart="$restart $server" + fi + done + + servers="apache-ssl apache mysql" + . /usr/share/wwwconfig-common/restart.sh + + for dir in /usr/share/dolibarr ; do + if [ -d ${dir} ] ; then rm -rf ${dir} ; fi + done + + db_purge + ;; + remove) + ;; + upgrade) + ;; + failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +db_stop + +exit 0 diff --git a/build/deb/dolibarr.templates b/build/deb/dolibarr.templates new file mode 100644 index 0000000000000000000000000000000000000000..928cf05feefbda08d29ba189590191fc29d1efdb --- /dev/null +++ b/build/deb/dolibarr.templates @@ -0,0 +1,94 @@ +Template: dolibarr/configuration/note +Type: note +Description: Package configuration note. + dolibarr can be and should be configured entirely via web, so, in the + following configuration steps, I'm going to prompt you for the passwords that + dolibarr uses for web configuration and some default values for the + application startup. Then you should point your browser to the dolibarr + setup, for example: + . + http://localhost/dolibarr/install.php + . + continue the configuration, fill the database and let dolibarr be aware of + the installed modules. + +Template: dolibarr/webserver +Type: select +Choices: Apache, Apache-ssl, Both, None +Description: Which Web Server are you running? + dolibarr supports any web server with CGI capabilities, but this + configuration process only supports Apache and Apache-SSL. + +Template: dolibarr/db/setup/skip +Type: boolean +Default: false +Description: DB setup skipped. + DB setup will be skipped. + +Template: dolibarr/db +Type: text +Description: dolibarr DB setup NOTE. + Now you should specify the DBMS settings. You must provide the host name on + which the DBMS server is installed, the type (i.e. MySql), the DB name, the DBMS administrator user-name, etc. + +Template: dolibarr/db/host +Type: string +Default: localhost +Description: Please, insert dolibarr DB host name: + This should be the host-name or IP address that dolibarr will use to access + the DB. + +Template: dolibarr/db/name +Type: string +Default: dolibarr +Description: Please, insert dolibarr DB name: + This is the name of the DB that dolibarr will use. + +Template: dolibarr/db/user/name +Type: string +Default: dolibarr +Description: Please, insert the DBMS user-name to access the DB: + This is the user-name that dolibarr will use to access the DB. + +Template: dolibarr/db/user/password +Type: password +Description: Please, insert the password to access the DB: + This is the password that dolibarr will use, along with user-name you + provided, to access the DB. + +Template: dolibarr/db/user/password/confirm +Type: password +Description: Please, retype the password to access the DB: + Please insert the DB access password again. If the password you are going to + retype mismatch the previous inserted one, I'll ask you to insert them again. + +Template: dolibarr/db/user/password/mismatch +Type: text +Description: Passwords mismatch. + The DB access passwords you inserted mismatch. Please, try again. + +Template: dolibarr/db/admin/name +Type: string +Description: Please, insert the DBMS administrator user-name: + This user-name will be used to access the DBMS to create (if needed): + . + (1) The DB + (2) The new DBMS account that dolibarr will use to access the DB + . + It should be 'root' for MySql. + +Template: dolibarr/db/admin/password +Type: password +Description: Please, insert the DBMS administrator password (if any): + This is the password that will be used along with the DBMS administrator + user-name. + . + NOTE: This password will not be asked twice, since it's not a new password. + +Template: dolibarr/postrm +Type: boolean +Default: true +Description: Delete *ALL*? + Datas subjected to this question are the DBMS account, the DB and the + dolibarr users ang group files. Do I have to delete *ALL* datas whenever + the the dolibarr package will be completely removed from the system? diff --git a/build/deb/rules b/build/deb/rules new file mode 100644 index 0000000000000000000000000000000000000000..9939c499b54e89453b2fc35d33dd1acc668af786 --- /dev/null +++ b/build/deb/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + @# Add here commands to install the package into debian/tmp + + install --mode=644 -D --group=www-data --owner=www-data \ + debian/apache.conf \ + debian/dolibarr/etc/dolibarr/apache.conf + + mkdir -p debian/dolibarr/usr/share/dolibarr + cp -rp htdocs/* debian/dolibarr/usr/share/dolibarr + mkdir -p debian/dolibarr/usr/share/dolibarr/document + install --mode 644 --group=www-data --owner=www-data debian/conf.php debian/dolibarr/usr/share/dolibarr/conf/conf.php + chmod -R 644 debian/dolibarr/usr/share/dolibarr + find debian/dolibarr/usr/share/dolibarr -type d | xargs chmod 755 + + find debian/dolibarr \( -name CVS -o -name .cvsignore \) | xargs rm -fr + + mkdir -p debian/dolibarr/usr/lib/dolibarr + install --mode=444 mysql/mysql.sql debian/dolibarr/usr/lib/dolibarr/mysql.sql + for i in count-dons.pl file-dons.pl ; do \ + install --mode=755 scripts/$$i debian/dolibarr/usr/lib/dolibarr/$$i ; \ + done + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_movefiles + + dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman +# dh_installinfo +# dh_undocumented +# dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/build/exe/dolibarr.nsi b/build/exe/dolibarr.nsi new file mode 100644 index 0000000000000000000000000000000000000000..46647db8fe1514533407a30cc74ebf769e0c6ee1 --- /dev/null +++ b/build/exe/dolibarr.nsi @@ -0,0 +1,178 @@ +; dolibarr.nsi +; + +!define MUI_PRODUCT "Dolibarr" ;Define your own software name here +!define MUI_VERSION "2.0" ;Define your own software version here +!define MUI_VERSION_NODOT "20" ;Define your own software version here +!define MUI_PUBLISHER "Rodolphe Quiedeville, Laurent Destailleur" +!define MUI_URL "http://dolibarr.com" + + +!include "MUI.nsh" + +;-------------------------------- +;Configuration + + ;General + OutFile "dolibarr-${MUI_VERSION_NODOT}.exe" + Icon "C:\temp\buildroot\dolibarr-${MUI_VERSION}\docs\images\dolibarr.ico" + UninstallIcon "C:\temp\buildroot\dolibarr-${MUI_VERSION}\docs\images\dolibarr.ico" + !define MUI_ICON "C:\temp\buildroot\dolibarr-${MUI_VERSION}\docs\images\dolibarr.ico" + !define MUI_UNICON "C:\temp\buildroot\dolibarr-${MUI_VERSION}\docs\images\dolibarr.ico" + + BrandingText "" +; ShowInstDetails nevershow + CompletedText 'Read opened dolibarr ${MUI_VERSION} documentation page to continue setup process.' + + ;Set install dir + InstallDir "$PROGRAMFILES\${MUI_PRODUCT}" + + ;Get install folder from registry if available + InstallDirRegKey HKCU "Software\${MUI_PRODUCT}" "" + + + + +;-------------------------------- +;Modern UI Configuration + + !define MUI_WELCOMEPAGE + + !define MUI_LICENSEPAGE + +; !define MUI_COMPONENTSPAGE + + !define MUI_DIRECTORYPAGE + + !define MUI_ABORTWARNING + + !define MUI_UNINSTALLER + + !define MUI_UNCONFIRMPAGE + +; !define MUI_SPECIALBITMAP "C:\Mes Developpements\dolibarr\build\exe\dolibarr_bitmap1.bmp" +; !define MUI_HEADERBITMAP "C:\Mes Developpements\dolibarr\build\exe\dolibarr_bitmap2.bmp" + !define MUI_SPECIALBITMAP ".\dolibarr_bitmap1.bmp" + !define MUI_HEADERBITMAP ".\dolibarr_bitmap2.bmp" + +;-------------------------------- +;Languages + + !insertmacro MUI_LANGUAGE "English" + +;-------------------------------- +;Language Strings + + ;Header + LangString PERLCHECK_TITLE ${LANG_ENGLISH} "Perl check" + LangString PERLCHECK_SUBTITLE ${LANG_ENGLISH} "Check if a working Perl interpreter can be found" + LangString SETUP_TITLE ${LANG_ENGLISH} "Setup" + LangString SETUP_SUBTITLE ${LANG_ENGLISH} "Building dolibarr config files" + + ;Description + LangString DESC_dolibarr ${LANG_ENGLISH} "dolibarr main files" + + +;-------------------------------- +;Data + + LicenseData "C:\temp\buildroot\dolibarr-${MUI_VERSION}\COPYRIGHT" + +;-------------------------------- +;Reserve Files + + ;Things that need to be extracted on first (keep these lines before any File command!) + ;Only useful for BZIP2 compression +; !insertmacro MUI_RESERVEFILE_WELCOMEFINISHPAGE +; !insertmacro MUI_RESERVEFILE_INSTALLOPTION ;InstallOptions +; !insertmacro MUI_RESERVEFILE_LANGDLL ;LangDLL (language selection dialog) + + + + + +;-------------------------------- +;Installer Sections + +; Check for a Perl interpreter +Section "CheckPerl" + !insertmacro MUI_HEADER_TEXT "$(PERLCHECK_TITLE)" "$(PERLCHECK_SUBTITLE)" +CHECKPERL: + SearchPath $1 "perl.exe" + IfErrors NOPERL PERL +NOPERL: + MessageBox MB_ABORTRETRYIGNORE "The installer did not find any Perl interpreter in your PATH.$\r$\ndolibarr can't work without Perl. You must install one to use dolibarr (For example the free Perl found at http://activestate.com).$\r$\nContinue setup anyway ?" IDABORT ABORT IDRETRY CHECKPERL +PERL: + GOTO NOABORT +ABORT: + Abort "dolibarr ${MUI_VERSION} setup has been canceled" +NOABORT: +SectionEnd + + +; Copy the files into install directory +Section "dolibarr" dolibarr + + SetOutPath $INSTDIR + File /r "C:\temp\buildroot\dolibarr-${MUI_VERSION}\*" + + ;Store install folder + WriteRegStr HKCU "Software\${MUI_PRODUCT}" "" $INSTDIR + + ;Write uninstall entries + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "DisplayName" "${MUI_PRODUCT}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "UninstallString" "$INSTDIR/uninstall.exe" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "Publisher" "${MUI_PUBLISHER}" + + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "URLInfoAbout" "${MUI_URL}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "Comments" "${MUI_COMMENTS}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "HelpLink" "${MUI_HELPLINK}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "URLUpdateInfo" "${MUI_URLUPDATE}" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "DisplayVersion" "${MUI_VERSION}" + + ;Create uninstaller + WriteUninstaller "uninstall.exe" + +SectionEnd + + +; Run setup script +;Section "Create config file" Setup +; !insertmacro MUI_HEADER_TEXT "$(SETUP_TITLE)" "$(SETUP_SUBTITLE)" +; SetOutPath $INSTDIR +; StrLen $2 $1 +; IntCmpU $2 0 NOCONFIGURE +; ExecWait '"$1" "$INSTDIR\tools\configure.pl"' $3 +;NOCONFIGURE: +; ExecShell open $INSTDIR\docs\dolibarr_setup.html SW_SHOWNORMAL +; BringToFront +;SectionEnd + + + +;-------------------------------- +;Descriptions + +!insertmacro MUI_FUNCTIONS_DESCRIPTION_BEGIN + !insertmacro MUI_DESCRIPTION_TEXT ${dolibarr} $(DESC_dolibarr) +!insertmacro MUI_FUNCTIONS_DESCRIPTION_END + + + +;-------------------------------- +;Uninstaller Section + +Section "Uninstall" + + DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}" + + Delete "$INSTDIR\Uninstall.exe" + + RMDir /r "$INSTDIR" + +SectionEnd + + + + +!define MUI_FINISHPAGE diff --git a/build/exe/dolibarr_bitmap1.bmp b/build/exe/dolibarr_bitmap1.bmp new file mode 100644 index 0000000000000000000000000000000000000000..093f33753455b7955ca086a25c7c69b3296af8a0 Binary files /dev/null and b/build/exe/dolibarr_bitmap1.bmp differ diff --git a/build/exe/dolibarr_bitmap2.bmp b/build/exe/dolibarr_bitmap2.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a0ea875104c18fdd3c58217058de587013f92c64 Binary files /dev/null and b/build/exe/dolibarr_bitmap2.bmp differ diff --git a/build/pad/Dolibarr developpers.cml b/build/pad/Dolibarr developpers.cml new file mode 100644 index 0000000000000000000000000000000000000000..4f7071fc9bb574a4e0cb30a2bb909f18de188e82 --- /dev/null +++ b/build/pad/Dolibarr developpers.cml @@ -0,0 +1,27 @@ +<Company_Info> + <Company_Name>Dolibarr Developpers</Company_Name> + <Address_1 /> + <Address_2 /> + <City_Town /> + <State_Province /> + <Zip_Postal_Code /> + <Country>FRANCE</Country> + <Company_WebSite_URL>http://dolibarr.com</Company_WebSite_URL> +<Contact_Info> + <Author_First_Name /> + <Author_Last_Name /> + <Author_Email>eldy@users.sourceforge.net</Author_Email> + <Contact_First_Name /> + <Contact_Last_Name /> + <Contact_Email /> + </Contact_Info> +<Support_Info> + <Sales_Email /> + <Support_Email /> + <General_Email /> + <Sales_Phone /> + <Support_Phone /> + <General_Phone /> + <Fax_Phone /> + </Support_Info> +</Company_Info> diff --git a/build/pad/Dolibarr v2.0.pml b/build/pad/Dolibarr v2.0.pml new file mode 100644 index 0000000000000000000000000000000000000000..02294cc03656e031daf49337ee46c3f02723cd66 --- /dev/null +++ b/build/pad/Dolibarr v2.0.pml @@ -0,0 +1,83 @@ +<CompanyName> +Laurent Destailleur +</CompanyName> +<Program_Info> + <Program_Name>AWStats</Program_Name> + <Program_Version>6.2</Program_Version> + <Program_Release_Month>11</Program_Release_Month> + <Program_Release_Day>06</Program_Release_Day> + <Program_Release_Year>2004</Program_Release_Year> + <Program_Cost_Dollars>0</Program_Cost_Dollars> + <Program_Cost_Other_Code /> + <Program_Cost_Other>0</Program_Cost_Other> + <Program_Type>Freeware</Program_Type> + <Program_Release_Status>Minor Update</Program_Release_Status> + <Program_Install_Support>No Install Support</Program_Install_Support> + <Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,WinXP,Windows2000,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC</Program_OS_Support> + <Program_Language>English,Spanish,French,German,Italian,Japanese,ChineseSimplified,ChineseTraditional,Russian</Program_Language> +<File_Info> + <Filename_Versioned>awstats-62.zip</Filename_Versioned> + <Filename_Previous>awstats-61.zip</Filename_Previous> + <Filename_Generic>awstats-.zip</Filename_Generic> + <Filename_Long>awstats.zip</Filename_Long> + <File_Size_Bytes>1016660</File_Size_Bytes> + <File_Size_K>993</File_Size_K> + <File_Size_MB>0.99</File_Size_MB> + </File_Info> +<Expire_Info> + <Has_Expire_Info>N</Has_Expire_Info> + <Expire_Count /> + <Expire_Based_On>Days</Expire_Based_On> + <Expire_Other_Info /> + <Expire_Month /> + <Expire_Day /> + <Expire_Year /> + </Expire_Info> + <Program_Change_Info>http://awstats.sourceforge.net/docs/awstats_changelog.txt</Program_Change_Info> + <Program_Specific_Category>Internet</Program_Specific_Category> + <Program_Categories>Log analyzer</Program_Categories> + <Program_System_Requirements>None</Program_System_Requirements> + <Includes_JAVA_VM>N</Includes_JAVA_VM> + <Includes_VB_Runtime>N</Includes_VB_Runtime> + <Includes_DirectX>N</Includes_DirectX> +</Program_Info> +<Program_Descriptions> +<English> + <Keywords>awstats, awstat, log, file, analyzer, analysis, web, mail, logfile, free, advanced, real-time, tool, perl, cgi, software, statistics, stats, analyze, apache, IIS, reports, counter, graphical, analyse, statistiques, freeware, gnu, gpl, project, linux</Keywords> + <Char_Desc_45>AWStats - Free log file analyzer (GNU GPL)</Char_Desc_45> + <Char_Desc_80>AWStats - Free web server log file analyzer for advanced web statistics (GPL)</Char_Desc_80> + <Char_Desc_250>Advanced Web Statistics (AWStats) is a free powerful web server logfile analyzer that shows you all your Web statistics including visits, unique visitors, pages, hits, rush hours, os, browsers, search engines, keywords, robots, errors, and more...</Char_Desc_250> + <Char_Desc_450>Advanced Web Statistics (AWStats) is a free powerful and featureful web server logfile analyzer that shows you all your Web statistics including visits, unique visitors, pages, hits, rush hours, os, browser's versions, search engines, keywords, robots visits, broken links, HTTP errors and more... +Works with all major web (but also mail and FTP) log servers as a CGI and/or from command line. +Distributed under GNU General Public License.</Char_Desc_450> + <Char_Desc_2000>Advanced Web Statistics (AWStats) is a free powerful and featureful server logfile analyzer that shows you all your Web statistics including visits, unique visitors, pages, hits, rush hours, os, browsers and versions, search engines, keywords, robots visits, broken links, HTTP errors, mod_gzip or mod_deflate compression ratios, number of times your site is "added to favourites", report browser support for PDF, Flash, Java, screen size, other personalized reports, and more... +Many plugins, dynamic filters, and a very high level of parameters. +Reports can be in serveral languages. +Works with all major web (but also mail and FTP) log servers as a CGI and/or from command line. +Distributed under GNU General Public License.</Char_Desc_2000> +</English> +</Program_Descriptions> +<Web_Info> +<Application_URLs> + <Application_Info_URL>http://awstats.sourceforge.net</Application_Info_URL> + <Application_Order_URL>http://awstats.sourceforge.net</Application_Order_URL> + <Application_Screenshot_URL>http://awstats.sourceforge.net/docs/images/screen_shot_1.jpg</Application_Screenshot_URL> + <Application_Icon_URL>http://awstats.sourceforge.net/docs/images/awstats_logo1.gif</Application_Icon_URL> + <Application_XML_File_URL>http://awstats.sourceforge.net/docs/pad_awstats.xml</Application_XML_File_URL> + </Application_URLs> +<Download_URLs> + <Primary_Download_URL>http://awstats.sourceforge.net/files/awstats.zip</Primary_Download_URL> + <Secondary_Download_URL>http://prdownloads.sourceforge.net/awstats/awstats-62.zip</Secondary_Download_URL> + <Additional_Download_URL_1 /> + <Additional_Download_URL_2 /> + </Download_URLs> +</Web_Info> +<Permissions> + <Distribution_Permissions>GNU GPL</Distribution_Permissions> + <EULA>GNU GPL</EULA> +</Permissions> +<ASP> + <ASP_FORM>Y</ASP_FORM> + <ASP_Member>N</ASP_Member> + <ASP_Member_Number /> +</ASP> diff --git a/build/pad/pad_dolibarr.htm b/build/pad/pad_dolibarr.htm new file mode 100644 index 0000000000000000000000000000000000000000..c5d6c33d6228f05088d71fe16978ec236192d87a --- /dev/null +++ b/build/pad/pad_dolibarr.htm @@ -0,0 +1,108 @@ +<TABLE border=1 bgcolor="#e0e0e0" > +<TR> +<TD> +<TABLE border=0 bgcolor="#ffffe1" > +<TR valign=top > +<TD rowspan=2 valign=top align=left > +<CENTER> +<img src=""> +</CENTER> +<P> + + +</TD> +<TD > +<TABLE border=0 width="100%" bgcolor="#FFFFF0"> +<TR> +<TD colspan=2 valign=top> +<a href="http://dolibarr.com">Dolibarr</a> + - Ver: 2.0 <BR> +Written by: <a href="http://dolibarr.com">Dolibarr Developpers</a><BR> +<BR>, <BR>FRANCE + +</TD> +<TD width="33%"> +<CENTER> +<a href="">Screen Shot</a> +<BR> +<a href="http://www.asp-shareware.org">ASP Member</a>=<!--ASP.ASP_Member--><BR> +</CENTER> +</TD> +</TR> +<TR> +<TD width="33%"> +<FONT SIZE=2>Release Date: 11/11/2005<BR> +Release Status: <B>Major Update</B> +</FONT> +</TD> +<TD width="33%"> +<FONT SIZE=2>File Size: k - MB</FONT> +</TD> +<TD width="33%"> +<FONT SIZE=2> +Type: Freeware<BR> +Cost: 0 +</font> +</TD> + +</TR> + +</TABLE> +<B>Keywords:</B> <font size=2>dolbarr, crm, erp, business, pme, pmi, gestion, factures, facturation, contacts</font><p> +<B>Description:</B> <BR> +<font size=2> +Dolibarr<P> +</font> +<hr width=75%> +<TABLE BORDER=0 width=100%> +<TR> +<td colspan=2> +<B>Contact Info:</B> +</td> +</TR> +<TR valign=top> +<TD> +<font size=2> +General Phone: <BR> +General Email: <a href="mailto:"></a><P> + +Support Phone: <BR> +Support Email: <a href="mailto:"></a> +</font> +</TD> +<TD> +<font size=2> +Sales Phone: <BR> +Sales Email: <a href="mailto:"></a><P> +Order Online: <a href=""></a> +</font> +</TR> +</TABLE> +<hr width=75%> +<TABLE BORDER=0 > +<TR> +<TD><B>Download URLs:</B></TD> +</TR> +<TR> +<TD> +<font size=2> +<a href="http://dolibarr.com">http://dolibarr.com</a><BR> +<a href=""></a><BR> +<a href="<!--Web_Info.Download_URLs.Additional_Download_URL_1 -->"><!--Web_Info.Download_URLs.Additional_Download_URL_1 --></a><BR> +<a href="<!--Web_Info.Download_URLs.Additional_Download_URL_2 -->"><!--Web_Info.Download_URLs.Additional_Download_URL_2 --></a><BR> +</font> +</TD> +</TR> + +</TABLE> + +</TD> +</TR> +</TABLE> +<B>Supported Operating Systems:</B> Win95,Win98,WinME,WinNT 4.x,WinXP,Windows2000,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC <BR> +<B>System Requirements:</B>None<br> +<B>Install Support:</B> No Install Support +</TD> +</TR> +</TABLE> +<hr> diff --git a/build/pad/pad_dolibarr.xml b/build/pad/pad_dolibarr.xml new file mode 100644 index 0000000000000000000000000000000000000000..de99ae97e694bcf210dcb5c2d4029dbe3fd8a38d --- /dev/null +++ b/build/pad/pad_dolibarr.xml @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="Windows-1252" ?> +<XML_DIZ_INFO> +<MASTER_PAD_VERSION_INFO> + <MASTER_PAD_VERSION>1.15</MASTER_PAD_VERSION> + <MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://www.asp-shareware.org/pad</MASTER_PAD_INFO> +</MASTER_PAD_VERSION_INFO> +<Company_Info> + <Company_Name>Dolibarr Developpers</Company_Name> + <Address_1 /> + <Address_2 /> + <City_Town /> + <State_Province /> + <Zip_Postal_Code /> + <Country>FRANCE</Country> + <Company_WebSite_URL>http://dolibarr.com</Company_WebSite_URL> +<Contact_Info> + <Author_First_Name /> + <Author_Last_Name /> + <Author_Email>eldy@users.sourceforge.net</Author_Email> + <Contact_First_Name /> + <Contact_Last_Name /> + <Contact_Email /> + </Contact_Info> +<Support_Info> + <Sales_Email /> + <Support_Email /> + <General_Email /> + <Sales_Phone /> + <Support_Phone /> + <General_Phone /> + <Fax_Phone /> + </Support_Info> +</Company_Info> +<Program_Info> + <Program_Name>Dolibarr</Program_Name> + <Program_Version>2.0</Program_Version> + <Program_Release_Month>11</Program_Release_Month> + <Program_Release_Day>11</Program_Release_Day> + <Program_Release_Year>2005</Program_Release_Year> + <Program_Cost_Dollars>0</Program_Cost_Dollars> + <Program_Cost_Other_Code /> + <Program_Cost_Other>0</Program_Cost_Other> + <Program_Type>Freeware</Program_Type> + <Program_Release_Status>Major Update</Program_Release_Status> + <Program_Install_Support>No Install Support</Program_Install_Support> + <Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,WinXP,Windows2000,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC</Program_OS_Support> + <Program_Language>French</Program_Language> +<File_Info> + <Filename_Versioned>awstats-62.tgz</Filename_Versioned> + <Filename_Previous /> + <Filename_Generic /> + <Filename_Long /> + <File_Size_Bytes>1016660</File_Size_Bytes> + <File_Size_K /> + <File_Size_MB /> + </File_Info> +<Expire_Info> + <Has_Expire_Info>N</Has_Expire_Info> + <Expire_Count /> + <Expire_Based_On>Days</Expire_Based_On> + <Expire_Other_Info /> + <Expire_Month /> + <Expire_Day /> + <Expire_Year /> + </Expire_Info> + <Program_Change_Info>http://dolibarr.com</Program_Change_Info> + <Program_Specific_Category>Internet</Program_Specific_Category> + <Program_Categories>Log analyzer</Program_Categories> + <Program_System_Requirements>None</Program_System_Requirements> + <Includes_JAVA_VM>N</Includes_JAVA_VM> + <Includes_VB_Runtime>N</Includes_VB_Runtime> + <Includes_DirectX>N</Includes_DirectX> +</Program_Info> +<Program_Descriptions> +<English> + <Keywords>dolbarr, crm, erp, business, pme, pmi, gestion, factures, facturation, contacts</Keywords> + <Char_Desc_45>Dolibarr</Char_Desc_45> + <Char_Desc_80>Dolibarr</Char_Desc_80> + <Char_Desc_250>Dolibarr</Char_Desc_250> + <Char_Desc_450>Dolibarr</Char_Desc_450> + <Char_Desc_2000>Dolibarr</Char_Desc_2000> +</English> +</Program_Descriptions> +<Web_Info> +<Application_URLs> + <Application_Info_URL>http://dolibarr.com</Application_Info_URL> + <Application_Order_URL /> + <Application_Screenshot_URL /> + <Application_Icon_URL /> + <Application_XML_File_URL>http://dolibarr.com/build/pad/pad_dolibarr.xml</Application_XML_File_URL> + </Application_URLs> +<Download_URLs> + <Primary_Download_URL>http://dolibarr.com</Primary_Download_URL> + <Secondary_Download_URL /> + <Additional_Download_URL_1 /> + <Additional_Download_URL_2 /> + </Download_URLs> +</Web_Info> +<Permissions> + <Distribution_Permissions>GNU GPL</Distribution_Permissions> + <EULA>GNU GPL</EULA> +</Permissions> +</XML_DIZ_INFO> diff --git a/build/rpm/httpd-dolibarr.conf b/build/rpm/httpd-dolibarr.conf new file mode 100644 index 0000000000000000000000000000000000000000..63cc47083ac9d13a78a567c3d66f4cb109f4fea9 --- /dev/null +++ b/build/rpm/httpd-dolibarr.conf @@ -0,0 +1,27 @@ +Alias /dolibarr /usr/share/dolibarr + +<DirectoryMatch /usr/share/dolibarr/> + Options +FollowSymLinks +Indexes + + ErrorDocument 401 /public/error-401.html + ErrorDocument 404 /public/error-404.php + + <IfModule mod_php4.c> + php_flag magic_quotes_gpc Off + php_flag track_vars On + php_flag register_globals On + </IfModule> + +</DirectoryMatch> + +<DirectoryMatch /usr/share/dolibarr/public/> + AllowOverride All + Order deny,allow + Allow from all +</DirectoryMatch> + +<DirectoryMatch /usr/share/dolibarr/theme/> + AllowOverride All + Order deny,allow + Allow from all +</DirectoryMatch>