pkgsrc-Bugs archive

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

pkg/28329: webalizer don't perform reverse DNS lookups under Solaris8



>Number:         28329
>Category:       pkg
>Synopsis:       webalizer don't perform reverse DNS lookups under Solaris8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 16 13:47:00 +0000 2004
>Originator:     Pierre Bourgin
>Release:        Sun Solaris 8/sparc
>Organization:
PCO Technologies
>Environment:
SunOS dapkg 5.8 Generic_117350-12 sun4u sparc SUNW,Ultra-5_10

>Description:
in pkgsrc/web/webalizer as of 20041009, the webalizer tool does not 
performs reverse DNS lookups from IP addresses present in access log 
files to analyse.

This comes from the configure script of the webalizer tarball 
(webalizer-2.01-10-src.tar.bz2) that does not find headers (and libs) 
of db4 database tool under Solaris 8.

>How-To-Repeat:
launch the building of the webalizer-2.1.10nb3 package.

In the output of the configure script of sources, you will see: 
[...]
checking for dbopen... no
checking for library containing dbopen... no
configure: warning: You must have a V1.85 compatable DB library!
configure: warning: DNS lookup code will be disabled...
[...]


then the bin/webalizer generated program is not linked to ant libdb file.

when using it, the following messages appears:
Warning: Invalid keyword 'DNSCache' (webalizer.conf)
Warning: Invalid keyword 'DNSChildren' (webalizer.conf)
Warning: Invalid keyword 'DNSCache' (/local/users/webalizer/webalizer.conf)
Warning: Invalid keyword 'DNSChildren' (/local/users/webalizer/webalizer.conf)


>Fix:
apply the following patch to pkgsrc/www/webalizer/Makefile 
(from # $NetBSD: Makefile,v 1.32 2004/10/03 00:18:27 tv Exp $)

--- Makefile.orig       2004-10-03 05:12:10.000000000 +0200
+++ Makefile    2004-11-16 14:38:11.260030000 +0100
@@ -36,6 +36,12 @@
                ${MV} -f ${WRKSRC}/$${file}.fixed ${WRKSRC}/$${file};   \
        done

+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+=       --with-db=${BUILDLINK_PREFIX.db4}/include/db4
+CONFIGURE_ARGS+=       --with-dblib=${BUILDLINK_PREFIX.db4}/lib/db4
+.include "../../databases/db4/buildlink3.mk"
+.endif
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/gd/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"




Home | Main Index | Thread Index | Old Index