Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193073
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Alin Năstac <mrness@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Meisel <bugs.gentoo.org@meisel.cc>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193073 depends on: Show dependency tree
Bug 193073 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-19 15:44 0000
The dspam package should not depend on:

postgres?   ( >=dev-db/postgresql-7.4.3 )

If the use flag postgres is set dspam must depend on:

postgres?   ( >=dev-db/libpq-7.4.3 )

because you normally have a centralized database server to ask for the spam
token. At the moment you have to install the database even if you connect to a
remote database which is a waste of space and resources.

Please fix this  



Reproducible: Always

------- Comment #1 From Jeroen Roovers 2007-09-19 16:39:41 0000 -------
*** Bug 193081 has been marked as a duplicate of this bug. ***

------- Comment #2 From Alexander Meisel 2007-09-19 16:56:09 0000 -------
Bug 193081 is actually not a duplicate. I explains what should be done to
accomplish a clean setup procedure, so please look at  Bug 193081 for a
possible solution.

------- Comment #3 From Alin Năstac 2007-09-19 19:02:20 0000 -------
I need /usr/bin/psql in pkg_config.
Closed as INVALID.

------- Comment #4 From Alexander Meisel 2007-09-23 09:55:09 0000 -------
Hi, 

the dependencies should not rely on programs you need for the set-up of the
system. It is enough to install the postgresql bindings. That is all dspam
needs for installation/build and function, the set-up is different story.

At the set-up stage you should inform the user that (s)he needs a Postgresql
server package if they want a "local" installation. A smart set-up routine
would detect that and give the Admin additional information and advise about
the set-up in a local or remote database environment.

From a security standpoint of view is a unused installation of a software
package which is not actively used ALWAYS a security risk, and therefore should
be avoided.

------- Comment #5 From Alin Năstac 2007-09-23 12:40:35 0000 -------
Postgres client is also needed by the current cron script.

------- Comment #6 From Robert Miller 2007-09-24 05:42:29 0000 -------
The clean-up cron script can run on the database server. Why should it be run
remote? There are no dependencies on the local installation.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug