Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70647 - DSPAM 3.2.0 and 3.2.1 ebuilds don't create /etc/mail/dspam/data symlink
Summary: DSPAM 3.2.0 and 3.2.1 ebuilds don't create /etc/mail/dspam/data symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Lim Swee Tat (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 02:30 UTC by Jonathan Wheeler
Modified: 2004-11-11 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Wheeler 2004-11-10 02:30:02 UTC
There is meant to be a symlink /etc/mail/dspam/data -> /var/spool/dspam
This is present in the earlier ebuilds, but doesn't appear to be in the last two.

Reproducible: Always
Steps to Reproduce:
1. emerge =dspam-3.1.2, and you'll see the symlink in /etc/mail/dspam
2. emerge unmerge dspam
3. emerge dspam (3.2.1) and there is no symlink.

Actual Results:  
The symlink isn't present in the later version.
I think because the 3.2.1 ebuild doesn't include this.

Expected Results:  
The symlink should still be there

if I'm looking at this correctly:
# grep /data *
dspam-3.0.0.ebuild:     # ${HOMEDIR}/data is a symlink to ${DATADIR}
dspam-3.0.0.ebuild:     dosym ${DATADIR} ${HOMEDIR}/data
dspam-3.1.2.ebuild:     # ${HOMEDIR}/data is a symlink to ${DATADIR}
dspam-3.1.2.ebuild:     dosym ${DATADIR} ${HOMEDIR}/data
dspam-3.2.0.ebuild:     # ${HOMEDIR}/data is a symlink to ${DATADIR}
dspam-3.2.1.ebuild:     # ${HOMEDIR}/data is a symlink to ${DATADIR}

..the problem is simply that this hasn't been included in the ebuild. Am I
sourcing the problem correctly or has something changed and the comment in the
ebuild needs updating?
Comment 1 Jonathan Wheeler 2004-11-10 02:54:06 UTC
I also noticed that I've having to chown and chmod the dspam.conf
By default it's
-rwxr-x---  1 root  root  11722 Nov 10 23:48 dspam.conf
rather then 
-rw-r--r--  1 dspam  dspam  11722 Nov 10 23:48 dspam.conf

Should this be a seperate bug, or can you fix them both at once here?

Jonathan.
Comment 2 Lim Swee Tat (RETIRED) gentoo-dev 2004-11-11 07:54:16 UTC
Fixing both in CVS.  Thanx for the report.