Re: [dspam-users] RPM?

2007-12-23 Thread Tony Earnshaw

Steve skrev, on 23-12-2007 10:29:

[...]


Hallo Tony


Hi Steve :)


Built as an rpm on a good ASUS machine under patched Red Hat RHAS4

Do you have any pointers for the RPM? I use Fedora Core 4

Yes, it's mine.

SRPM sentt off list. Should build on most FCs.


This year I had one customer requesting a RPM for DSPAM and I had quickly to do 
one for him while I was away on a business trip. Luckily I have saved it on my 
server and the other day when you mentioned that you had a RPM I remembered, 
that I had done the spec file for DSPAM. Today I took the time to search for it 
and found it :)
I don't know how well it is? I am not using it. As you already know I use 
Gentoo. Anyway... today I modified the spec file to use the latest Gentoo patch 
set and added a comment in the spec file to reflect the change.


Well, I see you began in April and finalized Dec 27 ultimo.


Most of the helper stuff (except the init.d script) are +/- the one I have 
written for Gentoo. I wrote the stuff long time ago for me and for some 
customers but then switched to use stored procedures on MySQL to purge the 
tokens (except the hapaxial tokens which get cleaned once monthly with another 
job).

The spec file is written in such a way that you can specify on the command line 
what storage drivers you would like to compile and some other stuff (I tried to 
follow Gentoo's USE flags). Currently I have the following switches:
use rpmbuild --with bnr_debug or rpm --define '_with_bnr_debug 1' (for RPM 
3.x)
use rpmbuild --with clamav or rpm --define '_with_clamav 1' (for RPM 3.x)
use rpmbuild --with daemon or rpm --define '_with_daemon 1' (for RPM 3.x)
use rpmbuild --with debug or rpm --define '_with_debug 1' (for RPM 3.x)
use rpmbuild --with large_domain or rpm --define '_with_large_domain 1' 
(for RPM 3.x)
use rpmbuild --with ldap or rpm --define '_with_ldap 1' (for RPM 3.x)
use rpmbuild --with mysql or rpm --define '_with_mysql 1' (for RPM 3.x)
use rpmbuild --with postgres or rpm --define '_with_postgres 1' (for RPM 
3.x)
use rpmbuild --with sqlite or rpm --define '_with_sqlite 1' (for RPM 3.x)
use rpmbuild --with sqlite3 or rpm --define '_with_sqlite3 1' (for RPM 3.x)
use rpmbuild --with syslog or rpm --define '_with_syslog 1' (for RPM 3.x)
use rpmbuild --with user_homedirs or rpm --define '_with_user_homedirs 1' 
(for RPM 3.x)
use rpmbuild --with verbose_debug or rpm --define '_with_verbose_debug 1' 
(for RPM 3.x)
use rpmbuild --with virtual_users or rpm --define '_with_virtual_users 1' 
(for RPM 3.x)

If you would like to build for i686 and with MySQL, SQLite3, PostgreSQL, 
ClamAV, Syslog, large scale and virtual users then you would issue this command 
on a RPM 4.x system:
rpmbuild --with mysql --with postgres --with sqlite3 --with clamav --with 
daemon --with syslog --with large-domain --with virtual_users --target=i686 -ba 
dspam-3.8.0.spec

The spec would then build the following on a RH 5.1:
/usr/src/redhat/SRPMS/dspam-3.8.0-1.0.src.rpm
/usr/src/redhat/RPMS/i686/dspam-3.8.0-1.0.i686.rpm
/usr/src/redhat/RPMS/i686/dspam-mysql_drv-3.8.0-1.0.i686.rpm
/usr/src/redhat/RPMS/i686/dspam-pgsql_drv-3.8.0-1.0.i686.rpm
/usr/src/redhat/RPMS/i686/dspam-sqlite3_drv-3.8.0-1.0.i686.rpm
/usr/src/redhat/RPMS/i686/dspam-devel-3.8.0-1.0.i686.rpm
/usr/src/redhat/RPMS/i686/dspam-web-3.8.0-1.0.i686.rpm

I splitted the storage drivers into separate RPMs. The hash driver is always 
included but the other storage drivers requiring additional libraries are in 
separate RPMs.

Let me know what you think about it? Can you compile with the spec file a RPM 
on your FC6 system?


My first impression is that it's very professional, but also incredibly 
complicated. Looking for patches, the build of course couldn't find any:


/bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
Cannot open: No such file or directory


Could you please give me the address of an FTP or HTML server where I 
could get an srpm, or failing that put one onto 
ftp://ipd50aa34e.speed.planet.nl/../uploads? This is a proftpd server 
where you may upload, but neither you nor anyone see the files you've 
uploaded, nor retrieve them.


I'm especially interested in this, since in spite of what I recently 
reported about CVS now not sigseving any longer, it still is. I can't 
honestly see what non-descriptive Gentoo patches can possibly do for 
FC6/RHELL5 where dspam 3.8.0 is running well and stably, without memory 
leaks or anything, for weeks at a time.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Tony Earnshaw

Tony Earnshaw skrev, on 22-12-2007 10:58:

FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
don't get it with 3.8.0.


CVS is a no-go for me.

I'll update my last post about available rpms.


This doesn't happen any more with CVS 0712220843, so I'll leave it as it 
is; happy to go with CVS on FC6.


I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
wrote in a post mainly to Steve, I can't honestly see what 
non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
dspam 3.8.0 is running well and stably, without memory leaks or 
anything, for weeks at a time.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] RPM?

2007-12-23 Thread Steve
 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 11:12:16 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 10:29:
 
 [...]
 
  Hallo Tony
 
 Hi Steve :)
 
Hallo Tony


  Built as an rpm on a good ASUS machine under patched Red Hat RHAS4
  Do you have any pointers for the RPM? I use Fedora Core 4
  Yes, it's mine.
 
  SRPM sentt off list. Should build on most FCs.
 
  This year I had one customer requesting a RPM for DSPAM and I had
 quickly to do one for him while I was away on a business trip. Luckily I have
 saved it on my server and the other day when you mentioned that you had a RPM
 I remembered, that I had done the spec file for DSPAM. Today I took the
 time to search for it and found it :)
  I don't know how well it is? I am not using it. As you already know I
 use Gentoo. Anyway... today I modified the spec file to use the latest Gentoo
 patch set and added a comment in the spec file to reflect the change.
 
 Well, I see you began in April and finalized Dec 27 ultimo.
 
Well in April was the first creation while I was in working in Stockholm for 
Hewlett Packard. The project there was about outsorcing and transforming a huge 
environment (around 800 servers) to virtual systems. HP had to transform those 
servers from many Linux distros to 1 distro (Red Hat Enterprise Server). So I 
was just in the right mood and mode to write a RPM.


  Most of the helper stuff (except the init.d script) are +/- the one I
 have written for Gentoo. I wrote the stuff long time ago for me and for some
 customers but then switched to use stored procedures on MySQL to purge the
 tokens (except the hapaxial tokens which get cleaned once monthly with
 another job).
  
  The spec file is written in such a way that you can specify on the
 command line what storage drivers you would like to compile and some other 
 stuff
 (I tried to follow Gentoo's USE flags). Currently I have the following
 switches:
  use rpmbuild --with bnr_debug or rpm --define '_with_bnr_debug 1'
 (for RPM 3.x)
  use rpmbuild --with clamav or rpm --define '_with_clamav 1' (for RPM
 3.x)
  use rpmbuild --with daemon or rpm --define '_with_daemon 1' (for RPM
 3.x)
  use rpmbuild --with debug or rpm --define '_with_debug 1' (for RPM
 3.x)
  use rpmbuild --with large_domain or rpm --define '_with_large_domain
 1' (for RPM 3.x)
  use rpmbuild --with ldap or rpm --define '_with_ldap 1' (for RPM
 3.x)
  use rpmbuild --with mysql or rpm --define '_with_mysql 1' (for RPM
 3.x)
  use rpmbuild --with postgres or rpm --define '_with_postgres 1' (for
 RPM 3.x)
  use rpmbuild --with sqlite or rpm --define '_with_sqlite 1' (for RPM
 3.x)
  use rpmbuild --with sqlite3 or rpm --define '_with_sqlite3 1' (for
 RPM 3.x)
  use rpmbuild --with syslog or rpm --define '_with_syslog 1' (for RPM
 3.x)
  use rpmbuild --with user_homedirs or rpm --define
 '_with_user_homedirs 1' (for RPM 3.x)
  use rpmbuild --with verbose_debug or rpm --define
 '_with_verbose_debug 1' (for RPM 3.x)
  use rpmbuild --with virtual_users or rpm --define
 '_with_virtual_users 1' (for RPM 3.x)
  
  If you would like to build for i686 and with MySQL, SQLite3, PostgreSQL,
 ClamAV, Syslog, large scale and virtual users then you would issue this
 command on a RPM 4.x system:
  rpmbuild --with mysql --with postgres --with sqlite3 --with clamav
 --with daemon --with syslog --with large-domain --with virtual_users
 --target=i686 -ba dspam-3.8.0.spec
  
  The spec would then build the following on a RH 5.1:
  /usr/src/redhat/SRPMS/dspam-3.8.0-1.0.src.rpm
  /usr/src/redhat/RPMS/i686/dspam-3.8.0-1.0.i686.rpm
  /usr/src/redhat/RPMS/i686/dspam-mysql_drv-3.8.0-1.0.i686.rpm
  /usr/src/redhat/RPMS/i686/dspam-pgsql_drv-3.8.0-1.0.i686.rpm
  /usr/src/redhat/RPMS/i686/dspam-sqlite3_drv-3.8.0-1.0.i686.rpm
  /usr/src/redhat/RPMS/i686/dspam-devel-3.8.0-1.0.i686.rpm
  /usr/src/redhat/RPMS/i686/dspam-web-3.8.0-1.0.i686.rpm
  
  I splitted the storage drivers into separate RPMs. The hash driver is
 always included but the other storage drivers requiring additional libraries
 are in separate RPMs.
  
  Let me know what you think about it? Can you compile with the spec file
 a RPM on your FC6 system?
 
 My first impression is that it's very professional, but also incredibly 
 complicated.

The internals are complicated. But I tried to make the outside (the interface 
with the user or package maker) as simple as possible. I think that most users 
anyway will not look into the spec. They just want a working and flexible spec 
file. The internal logic (complicated or not) does not interests them (most of 
the time).


 Looking for patches, the build of course couldn't find any:
 
 /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
 Cannot open: No such file or directory
 
If you look inside the spec then you will see this:
Source4:

Re: [dspam-users] RPM?

2007-12-23 Thread Tony Earnshaw

Steve skrev, on 23-12-2007 11:59:

[...]


Let me know what you think about it? Can you compile with the spec file

a RPM on your FC6 system?

My first impression is that it's very professional, but also incredibly 
complicated.



The internals are complicated. But I tried to make the outside (the interface 
with the user or package maker) as simple as possible. I think that most users 
anyway will not look into the spec. They just want a working and flexible spec 
file. The internal logic (complicated or not) does not interests them (most of 
the time).



Looking for patches, the build of course couldn't find any:

/bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
Cannot open: No such file or directory



If you look inside the spec then you will see this:
Source4:
http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz


Well, that was a simple wget into ~/rpm/SOURCES.

[...]

1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba 
dspam-3.8.0.spec --with mysql


[...]

Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm

But:

rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm

[...]

drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /etc/mail/dspam

[...]
-rwxr-xr-x1 dspam   mail   146805 Dec 23 14:49 /usr/bin/dspam

[...]

drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /var/spool/dspam

You put stuff into Debian directories where Red Hat wouldn't put them, 
so I'm not going to install them, sorry ;)


I still don't see the point of Gentoo patches on stuff which, though it 
might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6 
and (judging from what the CVS stuff does) sigsegvs when I don't want it to.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Tony Earnshaw

Tony Earnshaw skrev, on 23-12-2007 15:32:

Steve skrev, on 23-12-2007 12:02:

[...]

I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
wrote in a post mainly to Steve, I can't honestly see what 
non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
dspam 3.8.0 is running well and stably, without memory leaks or 
anything, for weeks at a time.



Sorry to say: Shit!


No need to be sorry, shit happens.

I have over here the possibility to run DSPAM on CentOS 5.1. Should I 
do that?


Up to you, ain' it? Works for me on RHEL5. I only work with Red Hat 
systems, someoe once forced me to use Debian Sarge (wasn't allowed to 
use Etch) and that was horrible.



What switches have you active in DSPAM?


Well, he offered cautiously, I have my own srpm for RHEL5, which was 
written at the behest of Jonz.



How did you compile it?


See the above. It's available at my ftp site, which I've already given. 
It should build on CentOS5, maybe not recognize the Release. It will 
install to LFH directories, which you might not like.


Any thing other you can tell me in order to reproduce that issue on my 
end?


Oh, sorry, dspam-3.8.0-4.rhl5.src.rpm is the good one.

dspam-cvs0712220843-1.fc6.src.rpm is the one that sigsegvs. That's from 
the CVS. It might say fc6, but it will build ok on Centos5.


It's not patched 3.8.0, just pure CVS:

Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


Re: [dspam-users] RPM?

2007-12-23 Thread Steve

 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 15:07:30 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 11:59:
 
 [...]
 
  Let me know what you think about it? Can you compile with the spec
 file
  a RPM on your FC6 system?
 
  My first impression is that it's very professional, but also incredibly
  complicated.
 
  The internals are complicated. But I tried to make the outside (the
 interface with the user or package maker) as simple as possible. I think that
 most users anyway will not look into the spec. They just want a working and
 flexible spec file. The internal logic (complicated or not) does not
 interests them (most of the time).
  
  
  Looking for patches, the build of course couldn't find any:
 
  /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
  Cannot open: No such file or directory
 
  If you look inside the spec then you will see this:
 
 Source4:  
 http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz
 
 Well, that was a simple wget into ~/rpm/SOURCES.
 
Yes. I expected that :)


 [...]
 
 1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba 
 dspam-3.8.0.spec --with mysql
 
 [...]
 
 Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm
 
 But:
 
 rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /etc/mail/dspam
 
 [...]
 -rwxr-xr-x1 dspam   mail   146805 Dec 23 14:49 /usr/bin/dspam
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49
 /var/spool/dspam
 
 You put stuff into Debian directories

The directory layout is the same as in Gentoo.


 where Red Hat wouldn't put them, 
 so I'm not going to install them, sorry ;)
 
Don't sorry. Just tell me how the layout would be on a Red Hat system and I 
will change the spec file.


 I still don't see the point of Gentoo patches on stuff which, though it 
 might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6 
 and (judging from what the CVS stuff does) sigsegvs when I don't want it
 to.
 
Tony. I think we all here on the list are for two simple reasons here: We 
either need or we want to give help. I am here because of the later. So if you 
have a segmentation fault then I declare your problem as my problem and try to 
fix it. Help me to get to the point where I can help. What do I need to do to 
replicate your problem in my environment? I can take a CentOS 5.1 system and 
play around with DSPAM. But you need to feed me with information so I can 
quickly nail the problem or draw a circle around the areas where the problem 
could be. Without that I am lost and can not help the way I would like.

I think the first thing to do is to build a RPM having a Red Hat layout. If we 
get that, then we could start to work from that point. What do you think?


 Best,
 
 --Tonni
 
Steve

 -- 
 Tony Earnshaw
 Email: tonni at hetnet dot nl

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-23 Thread Steve

 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 17:32:45 +0100
 Von: Steve [EMAIL PROTECTED]
 An: Tony Earnshaw [EMAIL PROTECTED]
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] Problem with dspam_admin and other tools

 
  Original-Nachricht 
  Datum: Sun, 23 Dec 2007 15:32:52 +0100
  Von: Tony Earnshaw [EMAIL PROTECTED]
  An: 
  CC: dspam-users@lists.nuclearelephant.com
  Betreff: Re: [dspam-users] Problem with dspam_admin and other tools
 
  Steve skrev, on 23-12-2007 12:02:
  
  [...]
  
   I lied, it's still sigseving; back to 3.8.0 that doesn't. As I just 
   wrote in a post mainly to Steve, I can't honestly see what 
   non-descriptive Gentoo patches can possibly do for FC6/RHELL5 where 
   dspam 3.8.0 is running well and stably, without memory leaks or 
   anything, for weeks at a time.
  
   Sorry to say: Shit!
  
  No need to be sorry, shit happens.
  
 I know, I know...
 
 
   I have over here the possibility to run DSPAM on CentOS 5.1. Should I
 do
  that?
  
  Up to you, ain' it?
 
 Sort of. If you want me to find the error and want to work with me
 together to find/spot the error, then I need your okay. I know that I am free 
 to
 do what ever I like. I am Swiss! We are free. No torture, no repression,
 nothing. I am free as free can be.
 
 
  Works for me on RHEL5. I only work with Red Hat 
  systems,
 
 I work mainly with Gentoo on my end. But on the customers side I have
 everything you could possibly imagine. Red Hat (the old things before Fedora
 Core), SuSE (any flavor. SLES, etc), Debian, RHAS, Debian, HPUX, AIX,
 Solaris, etc, etc...
 
 
  someoe once forced me to use Debian Sarge (wasn't allowed to 
  use Etch) and that was horrible.
  
 LOL. After a while you get used to it. I personally like Red Hat. It is a
 good system. I don't like so much SuSE but that's another story.
 
 
   What switches have you active in DSPAM?
  
  Well, he offered cautiously, I have my own srpm for RHEL5, which was 
  written at the behest of Jonz.
  
 Okay.
 
 
   How did you compile it?
  
  See the above. It's available at my ftp site, which I've already given. 
  It should build on CentOS5, maybe not recognize the Release. It will 
  install to LFH directories, which you might not like.
  
 I will take your spec as the base for the layout. Btw: Why is LFH?
 The only thing regarding where to put stuff on a system I know is FHS
 (File System Hierarchy Standard). Is LFH now something new?
 
 
   Any thing other you can tell me in order to reproduce that issue on my
  end?
  
  Just don't patch with any Gentoo patches ;)
  
 And what about the other patches? BTW: I run DSPAM since years. I had
 3.8.0 in production without any single patch from Gentoo for months. It never
 crashed. Never!
 
 
   Any message triggering that segmentation fault?
  
  This was the line in my cron script that caused it:
  
  /usr/bin/dspam --class=spam --source=error --deliver=spam --user $mail 
  $misclass  /dev/null 21
  
 Can you reproduce this by passing that message again over DSPAM? If this
 is the case, then allow me to ask you if I could have that message? If it is
 nothing sensitive, then I would love to get that message.
 
 
  $mail is the shared group leerlingen.
 
 leerlingen? Probably this is the same as the German word Lehrlinge? LOL.
 I like the NL langauge. Currently working at Heineken in a project. It
 kills me when I hear them some time in a telco breaking out of the English we
 are forced to talk. As a Swiss I understand some of their words. It is
 funny. The ending of a conversation mostly ends with Puss, Puss

Ach! I think it is hey, hey or hay, hay and not puss, puss. But I don't 
remember exactly.


 (I don't know
 if it is written correctly, nor I know what it means). This sounds so
 funny to me :)
 
 
  $misclass is the message.
  
This is what happened:
  
  /etc/cron.hourly/dspam.cron:
  
  /etc/cron.hourly/dspam.cron: line 14:  3620 Segmentation fault 
  /usr/bin/dspam --class=spam --source=error --deliver=spam --user $mail 
  $misclass /dev/null 21
  
  It don't happen with 3.8.0 on RHEL5 nor FC6.
  
 But when it happens with the CVS version it happens immediately or you
 have to wait for DSPAM to crash?
 
 
  Best,
  
  --Tonni
  
 Steve
 
  -- 
  Tony Earnshaw
  Email: tonni at hetnet dot nl
 
 -- 
 Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
 Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10


Re: [dspam-users] RPM?

2007-12-23 Thread Steve

 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 15:07:30 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 11:59:
 
 [...]
 
  Let me know what you think about it? Can you compile with the spec
 file
  a RPM on your FC6 system?
 
  My first impression is that it's very professional, but also incredibly
  complicated.
 
  The internals are complicated. But I tried to make the outside (the
 interface with the user or package maker) as simple as possible. I think that
 most users anyway will not look into the spec. They just want a working and
 flexible spec file. The internal logic (complicated or not) does not
 interests them (most of the time).
  
  
  Looking for patches, the build of course couldn't find any:
 
  /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
  Cannot open: No such file or directory
 
  If you look inside the spec then you will see this:
 
 Source4:  
 http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz
 
 Well, that was a simple wget into ~/rpm/SOURCES.
 
 [...]
 
 1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba 
 dspam-3.8.0.spec --with mysql
 
 [...]
 
 Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm
 
 But:
 
 rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /etc/mail/dspam
 
 [...]
 -rwxr-xr-x1 dspam   mail   146805 Dec 23 14:49 /usr/bin/dspam
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49
 /var/spool/dspam
 
 You put stuff into Debian directories where Red Hat wouldn't put them, 
 so I'm not going to install them, sorry ;)
 
I have some issues with your layout:

1) Your put the SQL scripts into the documentation directory. Why that? The 
scripts are from my viewpoint not part of the documentation.

1a) You install the SQL scripts by hand. You copy them into the documentation 
directory. If I have the RPM guide correctly memorized, then the RPM macro 
%doc should do that and not a manual copy.

2) You install the Web-UI into the documentation directory. Any reason doing 
this?

2a) Same issue with the Web-UI as with the manually copied SQL purge scripts 
from topic 1a.


 I still don't see the point of Gentoo patches on stuff which, though it 
 might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6 
 and (judging from what the CVS stuff does) sigsegvs when I don't want it
 to.
 
 Best,
 
 --Tonni
 
 -- 
 Tony Earnshaw
 Email: tonni at hetnet dot nl

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


Re: [dspam-users] RPM?

2007-12-23 Thread Steve
 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 15:07:30 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 11:59:
 
 [...]
 
  Let me know what you think about it? Can you compile with the spec
 file
  a RPM on your FC6 system?
 
  My first impression is that it's very professional, but also incredibly
  complicated.
 
  The internals are complicated. But I tried to make the outside (the
 interface with the user or package maker) as simple as possible. I think that
 most users anyway will not look into the spec. They just want a working and
 flexible spec file. The internal logic (complicated or not) does not
 interests them (most of the time).
  
  
  Looking for patches, the build of course couldn't find any:
 
  /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
  Cannot open: No such file or directory
 
  If you look inside the spec then you will see this:
 
 Source4:  
 http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz
 
 Well, that was a simple wget into ~/rpm/SOURCES.
 
 [...]
 
 1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba 
 dspam-3.8.0.spec --with mysql
 
 [...]
 
 Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm
 
 But:
 
 rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /etc/mail/dspam
 
 [...]
 -rwxr-xr-x1 dspam   mail   146805 Dec 23 14:49 /usr/bin/dspam
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49
 /var/spool/dspam
 
 You put stuff into Debian directories where Red Hat wouldn't put them, 
 so I'm not going to install them, sorry ;)
 
Is this more suiting your needs:

# rpmbuild --with mysql --with clamav --with daemon --with syslog --with 
large-domain --with virtual_users --target=i686 -ba dspam-3.8.0-1.1.spec

Wrote: /usr/src/redhat/SRPMS/dspam-3.8.0-1.1.src.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-mysql_drv-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-devel-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-web-3.8.0-1.1.i686.rpm



And here the content:

/usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm:
-rwxr-xr-x1 rootroot 9126 Dec 23 20:41 
/etc/cron.daily/dspam.cron
-rw-r-1 nobody  mail30254 Dec 23 20:41 /etc/dspam.conf
-rw-r-1 rootmail30254 Dec 23 20:41 
/etc/dspam.conf.default
-rw-r-1 rootroot  255 Dec 23 20:41 
/etc/logrotate.d/dspam.logrotate
-rwxr-xr-x1 rootroot 1431 Apr 18  2007 
/etc/rc.d/init.d/dspam
-rwxr-xr-x1 rootroot   122158 Dec 23 20:41 /usr/bin/cssclean
-rwxr-xr-x1 rootroot   118060 Dec 23 20:41 /usr/bin/cssconvert
-rwxr-xr-x1 rootroot   118260 Dec 23 20:41 /usr/bin/cssstat
-rwxr-xr-x1 rootroot   209893 Dec 23 20:41 /usr/bin/dspam
-rwxr-xr-x1 rootroot32342 Dec 23 20:41 /usr/bin/dspam_2sql
-rwxr-xr-x1 rootroot34245 Dec 23 20:41 /usr/bin/dspam_admin
-rwxr-xr-x1 rootroot40616 Dec 23 20:41 /usr/bin/dspam_clean
-rwxr-xr-x1 rootroot 8480 Dec 23 20:41 /usr/bin/dspam_crc
-rwxr-xr-x1 rootroot33106 Dec 23 20:41 /usr/bin/dspam_dump
-rwxr-xr-x1 rootroot 4202 Dec 23 20:41 
/usr/bin/dspam_logrotate
-rwxr-xr-x1 rootroot35205 Dec 23 20:41 /usr/bin/dspam_merge
-rwxr-xr-x1 rootroot37288 Dec 23 20:41 /usr/bin/dspam_stats
-rwxr-xr-x1 rootroot 6916 Dec 23 20:41 /usr/bin/dspam_train
-rwxr-xr-x1 rootroot   123406 Dec 23 20:41 /usr/bin/dspamc
drwxr-xr-x2 rootroot0 Dec 23 20:41 /usr/lib/dspam
-rwxr-xr-x1 rootroot51488 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.a
-rwxr-xr-x1 rootroot  850 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.la
lrwxr-xr-x1 rootroot   20 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so - libhash_drv.so.7.0.0
lrwxr-xr-x1 rootroot   20 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so.7 - libhash_drv.so.7.0.0
-rwxr-xr-x1 rootroot51657 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so.7.0.0
-rwxr-xr-x1 rootroot   310260 Dec 23 20:41 /usr/lib/libdspam.a
-rwxr-xr-x1 rootroot  802 Dec 23 20:41 /usr/lib/libdspam.la
lrwxr-xr-x1 rootroot   17 Dec 23 20:41 /usr/lib/libdspam.so 
- libdspam.so.7.0.0
lrwxr-xr-x1 rootroot   

Re: [dspam-users] RPM?

2007-12-23 Thread Steve
 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 15:07:30 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: 
 CC: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 11:59:
 
 [...]
 
  Let me know what you think about it? Can you compile with the spec
 file
  a RPM on your FC6 system?
 
  My first impression is that it's very professional, but also incredibly
  complicated.
 
  The internals are complicated. But I tried to make the outside (the
 interface with the user or package maker) as simple as possible. I think that
 most users anyway will not look into the spec. They just want a working and
 flexible spec file. The internal logic (complicated or not) does not
 interests them (most of the time).
  
  
  Looking for patches, the build of course couldn't find any:
 
  /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: 
  Cannot open: No such file or directory
 
  If you look inside the spec then you will see this:
 
 Source4:  
 http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz
 
 Well, that was a simple wget into ~/rpm/SOURCES.
 
 [...]
 
 1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba 
 dspam-3.8.0.spec --with mysql
 
 [...]
 
 Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
 Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm
 
 But:
 
 rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49 /etc/mail/dspam
 
 [...]
 -rwxr-xr-x1 dspam   mail   146805 Dec 23 14:49 /usr/bin/dspam
 
 [...]
 
 drwxr-xr-x2 dspam   mail0 Dec 23 14:49
 /var/spool/dspam
 
 You put stuff into Debian directories where Red Hat wouldn't put them, 
 so I'm not going to install them, sorry ;)
 
I attached a new spec file. This one should put the files +/- in the same 
layout as yours. Could you test that one?

The cron script will probably not work as expected. I need to change it and 
make it flexible and generic. But before starting that I would like to have 
your okay for the layout inside the spec/rpm.


 I still don't see the point of Gentoo patches on stuff which, though it 
 might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6 
 and (judging from what the CVS stuff does) sigsegvs when I don't want it
 to.
 
 Best,
 
 --Tonni
 
Steve


 -- 
 Tony Earnshaw
 Email: tonni at hetnet dot nl

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10


dspam-3.8.0-1.1.spec
Description: Binary data


Re: [dspam-users] RPM?

2007-12-23 Thread Tony Earnshaw

Steve skrev, on 23-12-2007 19:53:

[...]


Is this more suiting your needs:


I don't have any needs ;) Everything works for me.


# rpmbuild --with mysql --with clamav --with daemon --with syslog --with 
large-domain --with virtual_users --target=i686 -ba dspam-3.8.0-1.1.spec


I don't call Clamav from dspam and never would - I call clamd from 
amavisd-new, together with BitDefender and Sophos AV. Where's your 
BitDefender here?



Wrote: /usr/src/redhat/SRPMS/dspam-3.8.0-1.1.src.rpm


It's generally considered bad practice for root to build rpms (or 
software at all, imagine the make cd'ing to a non-existent directory and 
doing 'rm -rf *') and you have to be root to build in the 
/usr/src/redhat/ hierarchy. I build as the mortal tonni in my own home 
directory and have a ~/.rpmmacros that gives the hierarchy.



Wrote: /usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-mysql_drv-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-devel-3.8.0-1.1.i686.rpm
Wrote: /usr/src/redhat/RPMS/i686/dspam-web-3.8.0-1.1.i686.rpm


I don't have a web rpm; I suppose I  should (I don't use the web GUI). 
Then everything would have to go into /usr/share, according to Red Hat.



And here the content:

/usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm:


Ok up to here ...

[...]


drwxr-xr-x2 rootroot0 Dec 23 20:41 /usr/lib/dspam


I don't have a directory /usr/lib/dspam in 3.8.0, but ok.


-rwxr-xr-x1 rootroot51488 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.a
-rwxr-xr-x1 rootroot  850 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.la
lrwxr-xr-x1 rootroot   20 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so - libhash_drv.so.7.0.0
lrwxr-xr-x1 rootroot   20 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so.7 - libhash_drv.so.7.0.0
-rwxr-xr-x1 rootroot51657 Dec 23 20:41 
/usr/lib/dspam/libhash_drv.so.7.0.0


All these go into /usr/lib.


-rwxr-xr-x1 rootroot   310260 Dec 23 20:41 /usr/lib/libdspam.a
-rwxr-xr-x1 rootroot  802 Dec 23 20:41 /usr/lib/libdspam.la
lrwxr-xr-x1 rootroot   17 Dec 23 20:41 /usr/lib/libdspam.so 
- libdspam.so.7.0.0
lrwxr-xr-x1 rootroot   17 Dec 23 20:41 /usr/lib/libdspam.so.7 
- libdspam.so.7.0.0
-rwxr-xr-x1 rootroot   227730 Dec 23 20:41 
/usr/lib/libdspam.so.7.0.0


Same as these.


drwxr-xr-x2 rootroot0 Dec 23 20:41 
/usr/share/doc/dspam-3.8.0
-rw-r--r--1 rootroot   210769 Mar 18  2007 
/usr/share/doc/dspam-3.8.0/CHANGELOG
-rw-r--r--1 rootroot89797 Mar 18  2007 
/usr/share/doc/dspam-3.8.0/README
-rw-r--r--1 rootroot  211 Mar 18  2007 
/usr/share/doc/dspam-3.8.0/RELEASE.NOTES
-rw-r--r--1 rootroot 3179 Mar 18  2007 
/usr/share/doc/dspam-3.8.0/UPGRADING
-rwxr-xr-x1 rootroot 1409 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/courier.txt
-rwxr-xr-x1 rootroot 4221 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/exim.txt
-rw-r--r--1 rootroot 1629 May 17  2006 
/usr/share/doc/dspam-3.8.0/markov.txt
-rwxr-xr-x1 rootroot 8431 Dec 23 20:39 
/usr/share/doc/dspam-3.8.0/mysql_drv.txt
-rw-r--r--1 rootroot 1505 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/osx.txt
-rwxr-xr-x1 rootroot 5925 Sep 24  2005 
/usr/share/doc/dspam-3.8.0/pgsql_drv.txt
-rwxr-xr-x1 rootroot 1858 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/pop3filter.txt
-rwxr-xr-x1 rootroot 7018 Jan 18  2006 
/usr/share/doc/dspam-3.8.0/postfix.txt
-rwxr-xr-x1 rootroot 2372 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/qmail.txt
-rwxr-xr-x1 rootroot 6796 Mar 18  2007 
/usr/share/doc/dspam-3.8.0/relay.txt
-rwxr-xr-x1 rootroot 1312 Mar 11  2005 
/usr/share/doc/dspam-3.8.0/sendmail.txt
-rwxr-xr-x1 rootroot 3704 May 25  2006 
/usr/share/doc/dspam-3.8.0/sqlite_drv.txt
-rw-r--r--1 rootroot 3585 May 24  2006 
/usr/share/doc/dspam-3.8.0/tests.txt
-rw-r--r--1 rootroot 4731 Dec 23 20:41 
/usr/share/man/man1/dspam.1.gz
-rw-r--r--1 rootroot 1138 Dec 23 20:41 
/usr/share/man/man1/dspam_clean.1.gz
-rw-r--r--1 rootroot  788 Dec 23 20:41 
/usr/share/man/man1/dspam_dump.1.gz
-rw-r--r--1 rootroot  940 Dec 23 20:41 
/usr/share/man/man1/dspam_merge.1.gz
-rw-r--r--1 rootroot  859 Dec 23 20:41 
/usr/share/man/man1/dspam_stats.1.gz
-rw-r--r--1 rootroot  867 Dec 23 20:41 
/usr/share/man/man1/dspam_train.1.gz
 
drwxr-xr-x2 rootroot0 Dec 23 20:41 /var/lib/dspam

drw-r--r--2 rootroot0 Dec 23 20:41 /var/lib/dspam/opt-in
drw-r--r--2 rootroot 

RE: [dspam-users] RPM?

2007-12-23 Thread Jani Partanen
 Tony. I think we all here on the list are for two simple 
 reasons here: We either need or we want to give help. I am 
 here because of the later. So if you have a segmentation 
 fault then I declare your problem as my problem and try to 
 fix it. Help me to get to the point where I can help. What do 
 I need to do to replicate your problem in my environment? I 
 can take a CentOS 5.1 system and play around with DSPAM. But 
 you need to feed me with information so I can quickly nail 
 the problem or draw a circle around the areas where the 
 problem could be. Without that I am lost and can not help the 
 way I would like.

Well he does have too big ego to ask help ;)

 I think the first thing to do is to build a RPM having a Red 
 Hat layout. If we get that, then we could start to work from 
 that point. What do you think?

Can you share your .spec file to me, I would like to take alook at it. I
have used Tony's spec file, but done some smaall modify. My goal has been to
make spec file almost exactly what you already does, but never had actually
time to make it.

Next thing when we have good spec file should be that it will be released to
some repository. atrpms would be good because it support fedora and rhel.



Re: [dspam-users] RPM?

2007-12-23 Thread Steve

 Original-Nachricht 
 Datum: Sun, 23 Dec 2007 22:42:18 +0100
 Von: Tony Earnshaw [EMAIL PROTECTED]
 An: dspam-users@lists.nuclearelephant.com
 Betreff: Re: [dspam-users] RPM?

 Steve skrev, on 23-12-2007 19:53:
 
 [...]
 
  Is this more suiting your needs:
 
 I don't have any needs ;) Everything works for me.
 
Okay. Then my work was +/- for nothing :)


  # rpmbuild --with mysql --with clamav --with daemon --with syslog --with
 large-domain --with virtual_users --target=i686 -ba dspam-3.8.0-1.1.spec
 
 I don't call Clamav from dspam and never would - I call clamd from 
 amavisd-new, together with BitDefender and Sophos AV. Where's your 
 BitDefender here?
 
Tonni! It is an example! I don't use ClamAV with DSPAM and have not planned to 
use it. I use Amavis-New with ClamAV, BitDefender, F-Prot and Sophos AV.


  Wrote: /usr/src/redhat/SRPMS/dspam-3.8.0-1.1.src.rpm
 
 It's generally considered bad practice for root to build rpms (or 
 software at all, imagine the make cd'ing to a non-existent directory and 
 doing 'rm -rf *') and you have to be root to build in the 
 /usr/src/redhat/ hierarchy. I build as the mortal tonni in my own home 
 directory and have a ~/.rpmmacros that gives the hierarchy.
 
Don't worry. It is done in a chroot jail. I am no n00b. I do Linux since long 
time. A rm -rf * will not do any harm :). At least nothing I could not 
recover in 1 minute.


  Wrote: /usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm
  Wrote: /usr/src/redhat/RPMS/i686/dspam-mysql_drv-3.8.0-1.1.i686.rpm
  Wrote: /usr/src/redhat/RPMS/i686/dspam-devel-3.8.0-1.1.i686.rpm
  Wrote: /usr/src/redhat/RPMS/i686/dspam-web-3.8.0-1.1.i686.rpm
 
 I don't have a web rpm; I suppose I  should (I don't use the web GUI). 
 Then everything would have to go into /usr/share, according to Red Hat.
 
A static and dynamic (cgi stuff) web page goes into /usr/share? Since when is a 
web page a Unix System Resource (aka: usr)? Is this the way Red Hat is  
installing web pages? Under what directory in /usr/share?


  And here the content:
  
  /usr/src/redhat/RPMS/i686/dspam-3.8.0-1.1.i686.rpm:
 
 Ok up to here ...
 
 [...]
 
  drwxr-xr-x2 rootroot0 Dec 23 20:41
 /usr/lib/dspam
 
 I don't have a directory /usr/lib/dspam in 3.8.0, but ok.
 
In Gentoo we separated the storage drivers into a separate directory. I just 
used the same approach with the RPM.


  -rwxr-xr-x1 rootroot51488 Dec 23 20:41
 /usr/lib/dspam/libhash_drv.a
  -rwxr-xr-x1 rootroot  850 Dec 23 20:41
 /usr/lib/dspam/libhash_drv.la
  lrwxr-xr-x1 rootroot   20 Dec 23 20:41
 /usr/lib/dspam/libhash_drv.so - libhash_drv.so.7.0.0
  lrwxr-xr-x1 rootroot   20 Dec 23 20:41
 /usr/lib/dspam/libhash_drv.so.7 - libhash_drv.so.7.0.0
  -rwxr-xr-x1 rootroot51657 Dec 23 20:41
 /usr/lib/dspam/libhash_drv.so.7.0.0
 
 All these go into /usr/lib.
 
See above.


  -rwxr-xr-x1 rootroot   310260 Dec 23 20:41
 /usr/lib/libdspam.a
  -rwxr-xr-x1 rootroot  802 Dec 23 20:41
 /usr/lib/libdspam.la
  lrwxr-xr-x1 rootroot   17 Dec 23 20:41
 /usr/lib/libdspam.so - libdspam.so.7.0.0
  lrwxr-xr-x1 rootroot   17 Dec 23 20:41
 /usr/lib/libdspam.so.7 - libdspam.so.7.0.0
  -rwxr-xr-x1 rootroot   227730 Dec 23 20:41
 /usr/lib/libdspam.so.7.0.0
 
 Same as these.
 
See above.


  drwxr-xr-x2 rootroot0 Dec 23 20:41
 /usr/share/doc/dspam-3.8.0
  -rw-r--r--1 rootroot   210769 Mar 18  2007
 /usr/share/doc/dspam-3.8.0/CHANGELOG
  -rw-r--r--1 rootroot89797 Mar 18  2007
 /usr/share/doc/dspam-3.8.0/README
  -rw-r--r--1 rootroot  211 Mar 18  2007
 /usr/share/doc/dspam-3.8.0/RELEASE.NOTES
  -rw-r--r--1 rootroot 3179 Mar 18  2007
 /usr/share/doc/dspam-3.8.0/UPGRADING
  -rwxr-xr-x1 rootroot 1409 Mar 11  2005
 /usr/share/doc/dspam-3.8.0/courier.txt
  -rwxr-xr-x1 rootroot 4221 Mar 11  2005
 /usr/share/doc/dspam-3.8.0/exim.txt
  -rw-r--r--1 rootroot 1629 May 17  2006
 /usr/share/doc/dspam-3.8.0/markov.txt
  -rwxr-xr-x1 rootroot 8431 Dec 23 20:39
 /usr/share/doc/dspam-3.8.0/mysql_drv.txt
  -rw-r--r--1 rootroot 1505 Mar 11  2005
 /usr/share/doc/dspam-3.8.0/osx.txt
  -rwxr-xr-x1 rootroot 5925 Sep 24  2005
 /usr/share/doc/dspam-3.8.0/pgsql_drv.txt
  -rwxr-xr-x1 rootroot 1858 Mar 11  2005
 /usr/share/doc/dspam-3.8.0/pop3filter.txt
  -rwxr-xr-x1 rootroot 7018 Jan 18  2006
 /usr/share/doc/dspam-3.8.0/postfix.txt
  -rwxr-xr-x1 rootroot 2372 Mar 11  2005
 /usr/share/doc/dspam-3.8.0/qmail.txt
  -rwxr-xr-x1 rootroot 6796 Mar 18  2007
 /usr/share/doc/dspam-3.8.0/relay.txt
  -rwxr-xr-x1 rootroot 1312