Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv501/main/finkinfo/net
Modified Files: net-snmp-unified.info net-snmp-unified.patch Log Message: SL fix Index: net-snmp-unified.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/net-snmp-unified.patch,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- net-snmp-unified.patch 22 Apr 2009 16:53:41 -0000 1.6 +++ net-snmp-unified.patch 4 Sep 2009 21:03:04 -0000 1.7 @@ -1,6 +1,24 @@ diff -Nurd net-snmp-5.4.2.1/configure.in net-snmp-5.4.2.1-new/configure.in --- net-snmp-5.4.2.1/configure.in 2008-10-31 11:22:23.000000000 -0400 -+++ net-snmp-5.4.2.1-new/configure.in 2009-04-22 12:40:16.000000000 -0400 ++++ net-snmp-5.4.2.1-new/configure.in 2009-09-04 16:32:58.000000000 -0400 +@@ -1057,7 +1057,7 @@ + AC_MSG_RESULT([none]) + fi + ;; +- darwin8*|darwin9*) ++ darwin8*|darwin9*|darwin10*) + AC_MSG_CHECKING([whether darwin ld might need -flat_namespace]) + if test -z "$MACOSX_DEPLOYMENT_TARGET"; then + LDFLAGS="-flat_namespace $LDFLAGS" +@@ -2986,7 +2986,7 @@ + if test "xenable_perl_cc_checks" != "xno" ; then + AC_MSG_CHECKING([for Perl cc]) + changequote(, ) +- PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'` ++ PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\.\/]+).;\s*/$1/);'` + changequote([, ]) + if test "x$PERLCC" != "x" ; then + AC_MSG_RESULT([$PERLCC]) @@ -3072,7 +3072,9 @@ # check the cflags if test "x$embed_perl" != "xno" ; then @@ -34,7 +52,7 @@ PERLLDOPTS_FOR_APPS="$netsnmp_perlccdlflags" diff -Nurd net-snmp-5.4.2.1/perl/TrapReceiver/Makefile.PL net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL --- net-snmp-5.4.2.1/perl/TrapReceiver/Makefile.PL 2007-06-18 10:10:08.000000000 -0400 -+++ net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL 2009-04-22 12:04:19.000000000 -0400 ++++ net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL 2009-09-04 16:21:14.000000000 -0400 @@ -108,7 +108,7 @@ else { $opts = NetSNMPGetOpts(); Index: net-snmp-unified.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/net-snmp-unified.info,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- net-snmp-unified.info 13 May 2009 15:35:44 -0000 1.11 +++ net-snmp-unified.info 4 Sep 2009 21:03:03 -0000 1.12 @@ -1,6 +1,6 @@ Package: net-snmp-unified Version: 5.4.2.1 -Revision: 4 +Revision: 5 Description: SNMP tools and libraries License: BSD Maintainer: Benjamin Reed <net-s...@fink.racoonfink.com> @@ -34,7 +34,7 @@ Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz Source-MD5: 984932520143f0c8bf7b7ce1fc9e1da1 PatchFile: %n.patch -PatchFile-MD5: 057fcf6ece578f34e3077cfb7f561f70 +PatchFile-MD5: 162a91a53fbd2bfa6ea82433862e382a PatchScript: << perl -pi -e 's/#include <kvm.h>/$&\nkvm_t *kd;/' agent/mibgroup/host/hr_swrun.c patch -p1 --fuzz=4 < %{PatchFile} @@ -65,6 +65,7 @@ CompileScript: << #!/bin/sh -ev + ln -sf darwin9.h include/net-snmp/system/darwin10.h eval "`/usr/bin/perl -V:archname -V:version`" export PERLMAKEARGS="PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/$version INSTALLARCHLIB=%p/lib/perl5/$version/$archname INSTALLSITELIB=%p/lib/perl5/$version INSTALLSITEARCH=%p/lib/perl5/$version/$archname INSTALLMAN1DIR=%p/lib/perl5/$version INSTALLMAN3DIR=%p/lib/perl5/$version INSTALLSITEMAN1DIR=%p/lib/perl5/$version INSTALLSITEMAN3DIR=%p/lib/perl5/$version INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin INSTALLSCRIPT=%p/bin" @@ -174,11 +175,17 @@ << DescPackaging: << Customised install script to put files in correct directories. + Logfile set to PREFIX/var/log/snmpd.log Persistent directory set to PREFIX/var/net-snmp + Default snmp version set to 3, but can be overridden using the '-v' flag for the command tools, or alternatively using the 'defVersion' option in the snmp.conf file. + +Need -flat_namespace because net-snmp apps fail otherwise: + +http://lists.apple.com/archives/Unix-porting/2005/Jul/msg00044.html << DescPort: << Based on the net-snmp package developed by Justin Hallett and Jeremy Higgs. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs