Qual: A lot of fixes to enhance package quality

This commit is contained in:
Laurent Destailleur 2011-07-09 14:11:40 +00:00
parent 61b8d255c4
commit e06484bfba
6 changed files with 36 additions and 59 deletions

View File

@ -13,10 +13,7 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
# CustomLog logs/ldap.example.com-access.log common
# </VirtualHost>
# Directory for web pages
<DirectoryMatch /usr/share/dolibarr>
Order deny,allow
Allow from all
<Directory /usr/share/dolibarr/htdocs>
DirectoryIndex index.php
Options +FollowSymLinks +Indexes
@ -56,23 +53,16 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
#ExpiresByType application/x-javascript A2592000
#ExpiresByType application/javascript A2592000
</DirectoryMatch>
</Directory>
# Directory for public pages
<DirectoryMatch /usr/share/dolibarr/htdocs/public>
<Directory /usr/share/dolibarr/htdocs/public/>
AllowOverride All
Order deny,allow
Allow from all
</DirectoryMatch>
</Directory>
# Directory for data files
<DirectoryMatch /usr/share/dolibarr/documents>
<Directory /var/lib/dolibarr>
AllowOverride All
Order deny,allow
Allow from all
</DirectoryMatch>
<DirectoryMatch /var/lib/dolibarr>
AllowOverride All
Order deny,allow
Allow from all
</DirectoryMatch>
</Directory>

View File

@ -1,4 +1,4 @@
dolibarr 3.1.0 unstable; urgency=low
dolibarr 3.1.0 unstable; urgency=low
* New 3.1.0 release
More information into /usr/share/dolibarr/ChangeLog file.
-- maintainer Laurent Destailleur <eldy@users.sourceforge.net> 2011-07-09

View File

@ -3,39 +3,35 @@ Version: __VERSION__
Architecture: all
Maintainer: Laurent Destailleur <eldy@users.sourceforge.net>
Essential: no
Installed-Size: 61200
Installed-Size: 31200
Depends: apache2, libapache2-mod-php5, php5, php5-cli, php5-cgi, php5-curl, php5-gd, php5-ldap, php5-mysql, mysql-server, perl
Section: web
Priority: optional
Recommends: firefox
Recommends: mozilla | netscape
Homepage: http://www.dolibarr.org
Description: Easy to use ERP & CRM software to manage your activity.
Description: ERP & CRM software to manage your activity.
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 provide only features you need and be easy to use.
Management (CRM) but also other features for different activities.
.
Only features you need are visible, depending on which module were activated.
Most common used modules are:
Dolibarr features are activated by modules. Most common modules are:
.
* Products and services catalog
* Stock management
* Bank accounts management
* 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
* Foundations members management
* Donations management
* Bookmarks management
* Mass Emailings
@ -43,7 +39,4 @@ Description: Easy to use ERP & CRM software to manage your activity.
* Data export and import tools
* LDAP connectivity
* PDF exports
* And a lot of more modules...
.
You can also add third parties external modules or develop yours.
* And a lot of other modules

View File

@ -4,13 +4,12 @@
// This file must be present into htdocs/install directory
// during install process to be used.
//
// $Id: install.forced.php.install,v 1.7 2011/07/09 15:48:19 eldy Exp $
// $Id: install.forced.php.install,v 1.6 2011/07/09 14:11:40 eldy Exp $
//
$force_install_noedit=1;
$force_install_message='KeepDefaultValuesDeb';
$force_install_main_data_root='/usr/share/dolibarr/documents';
#$force_install_main_data_root='/var/lib/dolibarr';
#$force_install_main_data_root='/usr/share/dolibarr/documents';
$force_install_main_data_root='/var/lib/dolibarr';
$force_install_type='mysqli';
$force_install_dbserver='localhost';
$force_install_port='3306';

View File

@ -49,21 +49,19 @@ case "$1" in
cat $fileorig | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $config
fi
# Create document directory
#docdir='/var/lib/dolibarr/documents'
docdir='/usr/share/dolibarr/documents'
mkdir -p $docdir
chown -R www-data:www-data $docdir
chmod -R 775 $docdir
chmod -R g+s $docdir
# Create /var/lib/dolibarr/documents
mkdir -p /var/lib/dolibarr/documents
chown -R www-data:www-data /var/lib/dolibarr/documents;
chmod -R 775 /var/lib/dolibarr/documents;
chmod -R g+s /var/lib/dolibarr/documents;
# Create an empty conf.php with permission to web server
if [ ! -f /usr/share/dolibarr/htdocs/conf/conf.php ]
then
echo Create empty file /usr/share/dolibarr/htdocs/conf/conf.php
touch /usr/share/dolibarr/htdocs/conf/conf.php
chown -R www-data:www-data /usr/share/dolibarr/htdocs/conf/conf.php
chmod -R 750 /usr/share/dolibarr/htdocs/conf/conf.php
chown -R www-data:www-data /usr/share/dolibarr/htdocs/conf/conf.php;
chmod -R 750 /usr/share/dolibarr/htdocs/conf/conf.php;
fi
#db_reset "dolibarr/webserver"
@ -108,6 +106,12 @@ case "$1" in
done
# Copy icon file
#echo "Copy icon file"
#fileorig="/usr/share/dolibarr/doc/images/dolibarr.xpm"
#target="/usr/share/pixmaps/"
#cp -f $fileorig $target
#echo "Install menu entry"
# This one is for Gnome ubuntu
#fileorig="/usr/share/dolibarr/build/deb/dolibarr.desktop"

View File

@ -15,7 +15,7 @@ Description: Package configuration note
Template: dolibarr/webserver
Type: select
Choices: Apache, Apache-ssl, Both, None
Description: Which Web Server are you running ?
Description: Which Web Server are you running?
Dolibarr supports any web server with PHP capabilities, but this
configuration process only supports Apache and Apache-SSL.
@ -91,15 +91,6 @@ Template: dolibarr/postrm
Type: boolean
Default: true
Description: Delete database ?
Delete the Dolibarr MySQL database and all its datas (datas related
to this quetion are the Dolibarr DBMS account and all
Answer yes if you want to delete also the Dolibarr MySQL database and all
its datas (datas subjected to this quetion are the Dolibarr DBMS account and all
Dolibarr tables) ?
Template: dolibarr/postrmfile
Type: boolean
Default: true
Description: Delete attached files ?
Delete also all uploaded and generated files (datas related
to this quetion are all files found into /usr/share/dolibarr/documents,
uploaded or generated when using Dolibarr) ?