From nobody@FreeBSD.org  Thu Jun  3 14:37:10 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F1B201065672
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Jun 2010 14:37:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E17118FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Jun 2010 14:37:10 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o53EbASI017362
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 Jun 2010 14:37:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o53EbApk017359;
	Thu, 3 Jun 2010 14:37:10 GMT
	(envelope-from nobody)
Message-Id: <201006031437.o53EbApk017359@www.freebsd.org>
Date: Thu, 3 Jun 2010 14:37:10 GMT
From: ilesik <netilesik@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: php5-snmp-5.3.2_1 build problem
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147441
>Category:       ports
>Synopsis:       net-mgmt/php5-snmp 5.3.2_1 build problem
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 03 14:40:01 UTC 2010
>Closed-Date:    Sun Jun 06 20:49:24 UTC 2010
>Last-Modified:  Sun Jun 06 20:49:24 UTC 2010
>Originator:     ilesik
>Release:        
>Organization:
>Environment:
FreeBSD *********** 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Dec  2 23:49:03 EET 2009     root@********:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
php5-snmp-5.3.2_1 build problem

<cutted>
     to avoid interactive configuration.
/bin/mkdir -p /var/agentx
===> Installing rc.d startup script(s)
===>   Compressing manual pages for net-snmp-5.5
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for net-snmp-5.5
===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libnetsnmp.so.20
/usr/local/lib/libnetsnmpagent.so.20

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/snmpd
/usr/local/etc/rc.d/snmptrapd

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
http://net-snmp.sourceforge.net/
===>   Returning to build of php5-snmp-5.3.2_1
Error: shared library "netsnmp.16" does not exist
*** Error code 1

Stop in /basejail/usr/ports/net-mgmt/php5-snmp.
*** Error code 1

Stop in /basejail/usr/ports/net-mgmt/php5-snmp.
[root@********** /basejail/usr/ports/net-mgmt/php5-snmp]# 



Latest net-mgmt/net-snmp is installed:
pkg_version -v | grep snmp
net-snmp-5.5                        =   up-to-date with port
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jun 3 14:52:43 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147441 

From: Claudiu Bosioc <claudiu@casi.ro>
To: bug-followup@FreeBSD.org, netilesik@gmail.com
Cc:  
Subject: Re: ports/147441: net-mgmt/php5-snmp 5.3.2_1 build problem
Date: Fri, 04 Jun 2010 20:31:18 +0300

 Hello,
 
 The following patch should do the trick:
 ------------------------------
 --- Makefile.ext.orig   2010-06-04 20:26:53.084936269 +0300
 +++ Makefile.ext        2010-06-04 20:27:06.188739317 +0300
 @@ -317,7 +317,7 @@
                  --with-openssl-dir=${OPENSSLBASE} \
                  --enable-ucd-snmp-hack
 
 -LIB_DEPENDS+=   netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
 +LIB_DEPENDS+=   netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
   LDFLAGS+=      -L${OPENSSLLIB} -lcrypto -lssl
   USE_OPENSSL=   yes
   .endif
 ------------------------------
 
 
 regards,
 Claudiu Bosioc
Responsible-Changed-From-To: ale->sylvio 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Jun 6 04:52:50 UTC 2010 
Responsible-Changed-Why:  
from the net-mgmt/net-snmp 5.5 update 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147441 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun Jun 6 20:49:23 UTC 2010 
State-Changed-Why:  
fixed by pav 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147441 
>Unformatted:
