spf-discuss
[Top] [All Lists]

Re: [spf-discuss] "In other words, it's fairly easy to get SPF wrong. "

2005-12-31 06:21:09
Unfortunately, I am using SuSE and I did not find a libspf2 SRPM or even an RPM 
package for SuSE.  I found RPMs for Debian, Fedora, RedHat and a whole bunch 
more but I never saw a SRPM file.  The only thing I found on the libspf2 
website was the tar.gz file.  Plus the install instructions I found for the 
milter-greylist referenced downloading the tar.gz file and compiling so that is 
what I did.
 
I see why I did not find the SRPM file when I started looking for libspf2.  I 
was running SuSE and I know better than to install a RPM file from another 
distro.  So when I went to the website, all the links to the RPMs said they 
were for Gentoo, Mandrake & RedHat.  Since SuSE was not listed I didn't check 
to see if there was a SRPM file under RedHat.  I assumed (incorrectly) that all 
the files in the links under RedHat applied only to RedHat.
 
Gentoo
libspf2 and libsrs2 are in the standard portage tree
Mandrake
RPMs for libspf2 and postfix
Red Hat
RPMs for libspf2 by HTTP
RPMs for libspf2 by FTP
RPMs for spfmilter by HTTP
RPMs for spfmilter by FTP
 
Oh, well sorry for the problem.  I am going to attempt to use libspf and see if 
I can get this project done.  If not, I will wait awhile and see if anymore 
progress has been made on libspf2 and I know where the SRPM file is now.  Maybe 
this will help someone in the future.
 
Thanks,
 
Gary

arjen(_at_)de-korte(_dot_)org 12/31/2005 7:40 am >>>
Gary Faith schreef:

I did not find a spec file in the file that I downloaded:
libspf2-1.2.5.tar.gz.  Do you have code that I don't?

Since you are running a RPM based distro (SuSE) I *assumed* that you
downloaded the Red Hat source RPMs and went on from there. If this is
not the case, my apologies, but this route is so obvious, that it never
crossed my mind that you might have downloaded the .tar.gz file and
tried to build libspf2 from those.

Why it is a very bad idea to just run

configure
make
make check
make install

on RPM based distributions (Red Hat, SuSE, to name a few) as mentioned
in the INSTALL file, is beyond the topic of this mailinglist. In short,
don't.

Installing the Red Hat source RPM (libspf2-1.2.5-2.src.rpm, link can be
found on the download page) and then running

rpmbuild -ba --without checks --target=i586 libspf2.spec

will probably create the neccessary RPM's for SuSE (it did for me). You
may need to resolve a few dependencies first in order to build this, but
YaST will help you on your way there.

Arjen

-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com

-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com