pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mail/p5-Mail-SPF-Query conflicts with mail/libspf_alt



Rhialto wrote:
Information for libspf_alt-0.4.0nb3:

Files:
/usr/pkg/bin/spfquery
/usr/pkg/bin/spfd
...

Information for p5-Mail-SPF-Query-1.999:

Files:
/usr/pkg/lib/perl5/vendor_perl/5.8.0/Mail/SPF/Query.pm
/usr/pkg/lib/perl5/vendor_perl/5.8.0/x86_64-netbsd-thread-multi/auto/Mail/SPF/Query/.packlist
/usr/pkg/lib/perl5/vendor_perl/bin/spfd
/usr/pkg/lib/perl5/vendor_perl/bin/spfquery
/usr/pkg/lib/perl5/vendor_perl/man/man1/spfd.1.gz
/usr/pkg/lib/perl5/vendor_perl/man/man1/spfquery.1.gz
/usr/pkg/lib/perl5/vendor_perl/man/man3/Mail::SPF::Query.3.gz

but, after installing both, I have

lrwxr-xr-x  1 root  wheel      33 Jul 30 13:17 /usr/pkg/bin/spfd@ -> 
../lib/perl5/vendor_perl/bin/spfd
lrwxr-xr-x  1 root  wheel      37 Jul 30 13:17 /usr/pkg/bin/spfquery@ -> 
../lib/perl5/vendor_perl/bin/spfquery

The lang/perl5/files/perllink.in script should be modified so that it checks to see if $dest is a symlink or not before overwriting it. The check should be done by Perl, so the appropriate code needs to be emitted to the Perl interpreter instead of simply using "test -h" in shell. Incidentally, if someone who knows Perl could rewrite that script so that it's pure Perl instead of a shell script emitting Perl code to the Perl interpreter, that would be great.

        Cheers,

        -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index