[arch-general] spamassassin and perl-net-dns fail to find nameserver

Armin K. krejzi at email.com
Thu Jun 5 20:40:11 EDT 2014


On 06/05/2014 10:27 PM, Florian Pritz wrote:
> Hi,
> 
> I've worked around the error caused by net-dns being a developer
> release, but SA still fails to find nameservers so DNSBL checks will not
> be used.
> 
> If you have the same problem add 'dns_server 127.0.0.1' or similar to
> your /etc/mail/spamassassin/local.cf or better yet figure out why it
> fails and contact the right people.
> 
> I currently don't have enough time to take a good look at the issue, but
> I figured I should probably write this so you can at least properly
> block spam.
> 
> Happy mailing and sorry for all the perl breakage. Ideas on how to
> prevent them (library soname? sadly that seems unsupported by upstream
> afaict) are very welcome.
> 

Speaking of soname, I have been using that one on my custom Linux OS. I
borrowed it from Debian. The script part is down below:

make libperl.so.${VER} SHRPLDFLAGS='$(LDDLFLAGS)
-Wl,-soname,libperl.so.${MAJOR_VER}'

ln -s libperl.so.${VER} libperl.so.${MAJOR_VER}
ln -s libperl.so.${MAJOR_VER} libperl.so

...

rm -f ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so
rm -f ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so.${MAJOR_VER}

mv ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so.${VER} ${DEST}/usr/lib
ln -sf libperl.so.${VER} ${DEST}/usr/lib/libperl.so.${MAJOR_VER}
ln -sf libperl.so.${MAJOR_VER} ${DEST}/usr/lib/libperl.so

...

-- 
Note: My last name is not Krejzi.


More information about the arch-general mailing list