[Bug 239096] Review Request: perl-libwhisker2 - Perl module geared specificly for HTTP testing

bugzilla at redhat.com bugzilla at redhat.com
Wed May 23 01:22:28 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: perl-libwhisker2 - Perl module geared specificly for HTTP testing


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239096





------- Additional Comments From rayvd at bludgeon.org  2007-05-22 21:22 EST -------
Found this as a result of a review on nikto (#239097).

They LW1 compatability bridge does not appear to be being installed correctly:

# rpm -ql perl-libwhisker2.noarch
/usr/lib/perl5/vendor_perl/5.8.8/LW2.pm
/usr/share/doc/perl-libwhisker2-2.4
/usr/share/doc/perl-libwhisker2-2.4/CHANGES
/usr/share/doc/perl-libwhisker2-2.4/LICENSE
/usr/share/doc/perl-libwhisker2-2.4/README
/usr/share/man/man3/LW2.3pm.gz

(Note: this is from FC6, but I think the same would occur in FC7)

Building from the .spec file I see the following:

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.98077
+ umask 022
+ cd /net/leoray/leoray1/users/ray5147/rpmbuild/BUILD
+ cd libwhisker2-2.4
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/perl-libwhisker2-2.4-2-root-ray5147
+ mkdir -p
/var/tmp/perl-libwhisker2-2.4-2-root-ray5147/usr/lib/perl5/vendor_perl/5.8.8
+ mkdir -p /var/tmp/perl-libwhisker2-2.4-2-root-ray5147/usr/share/man/man3
+ make install DESTDIR=/var/tmp/perl-libwhisker2-2.4-2-root-ray5147
export DESTDIR
perl Makefile.pl install
LW2.pm installed to
/var/tmp/perl-libwhisker2-2.4-2-root-ray5147/usr/lib/perl5/vendor_perl/5.8.8
LW2.3pm installed to /var/tmp/perl-libwhisker2-2.4-2-root-ray5147/usr/share/man/man3
perl Makefile.pl install_compat
Error: bad build command 'install_compat'

The solution is to use this libwhisker2-2.4-lw1bridge.patch file instead of the
one in the SRPM:

http://www.bludgeon.org/~rayvd/rpms/perl-libwhisker2/libwhisker2-2.4-lw1bridge.patch

The only difference being that we use "perl Makefile.pl install_lw1" as per the
documentation instead of "perl Makefile.pl install_compat"

Once I make this change I now see the LW v1 compatability bridge installed
correctly and can use the nikto package.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list