php5-snmp broken on some systems for more than 2 months

Helmut Schneider jumper99 at gmx.de
Mon Apr 26 13:32:42 UTC 2010


Matthew Seaman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 26/04/2010 12:52:11, Helmut Schneider wrote:
> > Matthew Seaman wrote:
> > 
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> > > 
> >> On 26/04/2010 11:32:45, Helmut Schneider wrote:
> >>> Hi,
> > > > 
> >>> I fully understand that the current and past actions on php, png
> >>> and so on were very time consuming. Anyway php5-snmp (5.2.12 and
> >>> 5.3.2) are broken on obviously a few systems, including mine. A PR
> >>> was opened 2 months ago but I even cannot find a reply from any of
> >>> the maintainers.
> > > > 
> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144137
> > > > 
> >>> Again, I fully understand that people also have to do other things
> >>> but in my (and others) case it is sooo painful not being able to
> >>> move ahead to 5.3 or back to 5.2 because of this problem.
> > > > 
> >>> Any advise what I can do to support this process? It is meanwhile
> a >>> real pain.
> > > > 
> >>> Thanks and Regards, Helmut
> > > > 
> > > 
> >> This is actually a problem in net-mgmt/net-snmp.
> > > 
> >> There's a patch in ports/141238 which will let you compile, but
> >> pkg-plist for net-mgmt/net-snmp needs attention.
> > 
> > The patch is ASCII-corrupted, do you have the original you could
> > post?
> > 
> 
> happy-idiot-talk:...ports/net-mgmt/net-snmp:% diff -u Makefile.orig
> Makefile
> - --- Makefile.orig	2010-04-26 13:09:49.000000000 +0100
> +++ Makefile	2010-04-26 13:09:58.000000000 +0100
> @@ -106,6 +106,10 @@
>  NET_SNMP_MIB_MODULE_LIST+=	sctp-mib
>  .endif
> 
> +.if ${OSVERSION} >= 800000
> +CONFIGURE_ARGS+= --with-libs="-lssp_nonshared"
> +.endif
> +
>  .if defined(WITH_MFD_REWRITES)
>  CONFIGURE_ARGS+=--enable-mfd-rewrites
>  NET_SNMP_MIB_MODULE_LIST+=	if-mib

Great. I can confirm that with the patch php5-snmp (tested with 5.3.2)
builds fine now.

Thanks, Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn



More information about the freebsd-ports mailing list