File: README.Debian

package info (click to toggle)
facturalux 0.4-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,064 kB
  • ctags: 1,359
  • sloc: ansic: 15,260; cpp: 12,761; sh: 10,599; perl: 2,023; makefile: 692; xml: 194
file content (73 lines) | stat: -rw-r--r-- 2,853 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
facturalux for Debian
---------------------

There are a few issues you must know before starting to work with this
software. It's VERY IMPORTANT you read this Debian-related info before
start playing with facturalux.

facturalux 0.4 includes internazionalization support.  Wanna see it in
English? You can try:
$ LANG=en facturalux
and see what happens.

Since 0.3 version, documentation has vanished. Upstream thinks that the
best strategy is to make a better documentation and make it available just
to facturalux developers. So, facturalux-doc package is gone :,-(.

In versions 0.3 and newer, source code has been split into a pair of
packages (one called facturalux and other called personalizacion-base). You
need both in order to get a working version of facturalux.  Although,
facturalux_xxx.orig.tar.gz is the same as facturalux source package, and
personalizacion-base is included in .diff.gz, considerably increasing its
size.  Luckily, in the future, I'll use dpatch to manage this issue (thanks
to Luis Bustamante for kind suggestions).


*** UNINSTALL ***

You may be very careful when you uninstall this program. If you supply
"--purge" option to "dpkg", the program will show an interface to ask you
if you want delete or not the database. You should read it with care and
answer the right option to drop the database or let it untouched.

If you said debconf not to ask you this kind of questions, the default
action will be leave the database, not to clean it. This should be done
manually with this command:

 /bin/su postgres -c "/usr/bin/dropdb facturalux"

NOTE: The previous command WILL DROP the database from your system, so use
it ONLY if you know what you are doing.

*** POSTGRESQL ***

There are some issues regarding PostGreSQL support.

First of all is user authentication method.  In Debian, the default
authentication method is called "sameuser".  Thus, you must have the same
user in the database and in the system.  You can create an user in the
database with this command (as root):

/bin/su postgres -c "/usr/bin/createuser -D -A <user>"

where "<user>" is the name of the facturalux user.

There is a somewhat radical and much less secure to connect PostGreSQL.
You can change to "trust" authentication just for local users.  In order
to "trust" local user authentication, change "ident" to "trust" at right
line at "/etc/postgresql/pg_hba.conf". The right line should be at the
end of the file and should look like "local all ident sameuser".

Obviously, you need to be root to do this.

If you can't get superuser access, you'll have to ask for a new postgresql
user to your system admin.


I'd like to thank Oliver Elphick for helping me to understand PostGreSQL
authentication.


Any comments, suggests, etc. will be welcome.

 -- Juan Manuel Garcia Molina <juanma@debian.org>, Sat,  7 Oct 2006 15:01:18 +0200