-------- Original-Nachricht --------
> Datum: Sun, 23 Dec 2007 15:07:30 +0100
> Von: Tony Earnshaw <[EMAIL PROTECTED]>
> An: 
> CC: [email protected]
> 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-x    2 dspam   mail                0 Dec 23 14:49 /etc/mail/dspam
> 
> [...]
> -rwxr-xr-x    1 dspam   mail           146805 Dec 23 14:49 /usr/bin/dspam
> 
> [...]
> 
> drwxr-xr-x    2 dspam   mail                0 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

Reply via email to