From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 21 05:10:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A57D16A4E1 for ; Fri, 21 Jul 2006 05:10:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8F3643D45 for ; Fri, 21 Jul 2006 05:10:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6L5AGnA086339 for ; Fri, 21 Jul 2006 05:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6L5AGsj086338; Fri, 21 Jul 2006 05:10:16 GMT (envelope-from gnats) Resent-Date: Fri, 21 Jul 2006 05:10:16 GMT Resent-Message-Id: <200607210510.k6L5AGsj086338@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Esa Karkkainen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FBB216A4E0; Fri, 21 Jul 2006 05:04:26 +0000 (UTC) (envelope-from ekarkkai@pp.htv.fi) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67EEF43D58; Fri, 21 Jul 2006 05:04:24 +0000 (GMT) (envelope-from ekarkkai@pp.htv.fi) Received: from cs181097070.pp.htv.fi (cs181097070.pp.htv.fi [82.181.97.70]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 7C4FA27ACCD; Fri, 21 Jul 2006 08:04:23 +0300 (EEST) Received: from thunderbolt.my.domain (thunderbolt.my.domain [10.192.168.30]) by cs181097070.pp.htv.fi (8.13.6/8.13.6) with ESMTP id k6L54NQs031901; Fri, 21 Jul 2006 08:04:23 +0300 (EEST) (envelope-from ekarkkai@pp.htv.fi) Received: from thunderbolt.my.domain (localhost [127.0.0.1]) by thunderbolt.my.domain (8.13.6/8.13.6) with ESMTP id k6L54MJO058102; Fri, 21 Jul 2006 08:04:22 +0300 (EEST) (envelope-from ejk@thunderbolt.my.domain) Received: (from ejk@localhost) by thunderbolt.my.domain (8.13.6/8.13.6/Submit) id k6L54MOT058101; Fri, 21 Jul 2006 08:04:22 +0300 (EEST) (envelope-from ejk) Message-Id: <200607210504.k6L54MOT058101@thunderbolt.my.domain> Date: Fri, 21 Jul 2006 08:04:22 +0300 (EEST) From: Esa Karkkainen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: marcus@FreeBSD.org, Esa Karkkainen Subject: ports/100645: Wireshark 0.99.2 does not compile without GNUTLS library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Esa Karkkainen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 05:10:17 -0000 >Number: 100645 >Category: ports >Synopsis: Wireshark 0.99.2 does not compile without GNUTLS library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 21 05:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Esa Karkkainen >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: Is in state of disintegration >Environment: System: 6.1-RELEASE-p2 Thu Jun 15 07:22:23 EEST 2006 Ports tree cvsupped at Fri Jul 21 06:21:00 EEST 2006 >Description: It seems, at least to me, that wireshark 0.99.2 needs gnutls library, at least in the build phase. Please note that I've installed net/wireshark-lite port and resulting wireshark works for me. >How-To-Repeat: # pkg_delete gnutls-1.4.1 # cd /usr/ports/net/wireshark-lite && make all ===> Extracting for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/lib/libcrypto.so.5 - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/python - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/intltool-extract - found ===> wireshark-lite-0.99.2 depends on executable: pkg-config - found ===> wireshark-lite-0.99.2 depends on shared library: iconv.3 - found ===> wireshark-lite-0.99.2 depends on shared library: atk-1.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: glib-2.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: gtk-x11-2.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: pango-1.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: X11.6 - found ===> Configuring for wireshark-lite-0.99.2 ===> Building for wireshark-lite-0.99.2 [ lines deleted ] epan/.libs/libwireshark.so: undefined reference to `gpg_strerror' epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt' epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_algo_name' *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite. >Fix: This patch makes gnutls dependecy explicit. diff -ruN /usr/ports/net/wireshark/Makefile ports/net/wireshark/Makefile --- /usr/ports/net/wireshark/Makefile Fri Jul 21 06:21:48 2006 +++ ports/net/wireshark/Makefile Fri Jul 21 07:38:11 2006 @@ -25,10 +25,13 @@ USE_OPENSSL= yes CONFIGURE_ENV= MIBDIRS="/dev/null" CONFIGURE_ARGS+= --program-transform-name="" \ - --with-ssl=/usr + --with-ssl=/usr \ + --with-libgnutls-prefix=${LOCALBASE} MAKE_ENV= MIBDIRS="/dev/null" INSTALLS_SHLIB= yes +LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls + .for x in capinfos editcap idl2wrs mergecap text2pcap .if defined(LITE) PLIST_SUB+= ${x:U}="@comment $x not installed" @@ -106,11 +109,6 @@ CONFIGURE_ARGS+= --with-adns=${LOCALBASE}/lib .else CONFIGURE_ARGS+= --with-adns=no -.endif - -.if exists(${LOCALBASE}/lib/libgnutls.so) || defined(WITH_GNUTLS) -LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls -CONFIGURE_ARGS+=--with-libgnutls-prefix=${LOCALBASE} .endif MAN1+= dumpcap.1 tshark.1 >Release-Note: >Audit-Trail: >Unformatted: