Author: ranger
Date: Sat Sep  8 22:56:16 2007
New Revision: 966

URL: 
http://svn.finkproject.org/websvn/listing.php?sc=1&rev=966&repname=user%3a+ranger
Log:
fix for 10.3, also clean up the perl directory bits

Added:
    trunk/experimental/10.3/main/finkinfo/net/net-snmp-unified.info
    trunk/experimental/10.4/main/finkinfo/net/net-snmp-unified.info
Modified:
    trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info

Added: trunk/experimental/10.3/main/finkinfo/net/net-snmp-unified.info
URL: 
http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/10.3/main/finkinfo/net/net-snmp-unified.info&rev=966&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.3/main/finkinfo/net/net-snmp-unified.info (added)
+++ trunk/experimental/10.3/main/finkinfo/net/net-snmp-unified.info Sat Sep  8 
22:56:16 2007
@@ -1,0 +1,184 @@
+Package: net-snmp-unified
+Version: 5.4
+Revision: 12
+Description: SNMP tools and libraries
+License: BSD
+Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
+
+Depends: <<
+       daemonic,
+       %N15-shlibs (>= %v-%r)
+<<
+BuildDepends: <<
+       fink (>= 0.26.0-1),
+       gawk,
+       expat1,
+       system-perl
+<<
+Conflicts: <<
+       net-snmp (<< 5.4-1),
+       net-snmp-ssl (<< 5.4-1),
+       ucd-snmp (<< 5.4-1)
+<<
+Replaces: <<
+       net-snmp (<< 5.4-1),
+       net-snmp-ssl (<< 5.4-1),
+       ucd-snmp (<< 5.4-1)
+<<
+
+Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz
+Source-MD5: 46d893281056ff476e597659cb91574d
+PatchScript:   perl -pi -e 's/#include <kvm.h>/$&\nkvm_t *kd;/' 
agent/mibgroup/host/hr_swrun.c
+
+SetCPPFLAGS: -I%p/lib/system-openssl/include
+SetLDFLAGS: -L%p/lib/system-openssl/lib
+ConfigureParams: <<
+       --with-install-prefix='%d' \
+       --enable-ipv6 \
+       --with-out-mib-modules=mibII/ipv6 \
+       --mandir='${prefix}/share/man' \
+       --with-logfile=%p/var/log/snmpd.log \
+       --with-persistent-directory=%p/var/%N \
+       --with-default-snmp-version="3" \
+       --enable-shared \
+       --with-openssl=%p/lib/system-openssl \
+       
--with-mibdirs='$HOME/.snmp/mibs:%p/share/snmp/mibs:/usr/share/snmp/mibs' \
+       --with-sys-contact='[EMAIL PROTECTED]' \
+       --with-sys-location=Unknown \
+       --without-kmem-usage \
+       --without-python-modules
+<<
+CompileScript: <<
+#!/bin/sh -ev
+
+       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"
+
+       PERLPROG=/usr/bin/perl ./configure %c 
--with-perl-modules="$PERLMAKEARGS"
+       make
+<<
+
+InstallScript: <<
+       make install DESTDIR=%d
+       install -d -m 755 %i/var/log
+<<
+DocFiles: AGENT.txt CHANGES COPYING ChangeLog CodingStyle EXAMPLE.conf.def FAQ 
NEWS PORTING README* TODO
+SplitOff: <<
+       Package: %N15-shlibs
+       DocFiles: COPYING
+       Files: lib/libnetsnmp*.15*.dylib
+       Shlibs: <<
+               %p/lib/libnetsnmp.15.dylib        16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmpagent.15.dylib   16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmphelpers.15.dylib 16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmpmibs.15.dylib    16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmptrapd.15.dylib   16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+       <<
+<<
+SplitOff2: <<
+       Package: %N-dev
+       Depends: %N (>= %v-%r)
+       Conflicts: <<
+               net-snmp-dev (<< 5.4-1),
+               net-snmp-ssl-dev (<< 5.4-1)
+       <<
+       Replaces: <<
+               net-snmp-dev (<< 5.4-1),
+               net-snmp (<< 5.4-1),
+               net-snmp-ssl-dev (<< 5.4-1),
+               net-snmp-ssl (<< 5.4-1)
+       <<
+       DocFiles: COPYING
+       Files: include lib/*.a lib/*.dylib bin/net-snmp-config
+<<
+SplitOff3: <<
+       Package: net-snmp
+       Description: upgrade package for net-snmp-unified
+       Depends: <<
+               %N (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff4: <<
+       Package: net-snmp-ssl
+       Description: upgrade package for net-snmp-unified
+       Depends: <<
+               %N (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff7: <<
+       Package: net-snmp-dev
+       Description: upgrade package for net-snmp-unified-dev
+       Depends: <<
+               %N-dev (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff8: <<
+       Package: net-snmp-ssl-dev
+       Description: upgrade package for net-snmp-unified-dev
+       Depends: <<
+               %N-dev (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+
+PreRmScript: <<
+if [ $1 != "upgrade" ]; then
+       daemonic disable %N
+fi
+<<
+PostRmScript: <<
+if [ $1 = "remove" ]; then
+       rm -rf %p/share/snmp
+       rm -rf %p/var/%n
+fi
+<<
+DaemonicFile: <<
+<service>
+<description>An SNMP daemon to respond to SNMP request packets.</description>
+<message>snmpd</message>
+
+<daemon name="snmpd">
+<executable checkexit="true">%p/sbin/snmpd</executable>
+
+</daemon>
+
+</service>
+<<
+
+Homepage: http://net-snmp.sourceforge.net/
+DescDetail: <<
+       The net-snmp package, previously known as ucd-snmp, provides tools 
+       and libraries relating to SNMP. It provides SNMP libraries, tools 
+       to request and set information, an SNMP daemon, among other features.
+<<
+DescUsage: <<
+In order to run net-snmp correctly, the community name needs to be set. The
+easiest way to set this is to run the 'snmpconf' program, allowing you to
+setup the various net-snmp configuration files.
+<<
+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.
+<<
+DescPort: <<
+Based on the net-snmp package developed by Justin Hallett and Jeremy Higgs.
+
+dmacks: OS X 10.3 has kvm.h but that header does not declare an
+(apparently global var) "kd". Later OS X disable kvm altogether (via
+the platform-specific defs in net-snmp/system/*.h, which override
+configure detection) so it's not a problem there, but backporting that
+solution to 10.3 fails to build for deeper reasons. So we'll just
+declare kd and hope for the best.
+<<
+

Added: trunk/experimental/10.4/main/finkinfo/net/net-snmp-unified.info
URL: 
http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/10.4/main/finkinfo/net/net-snmp-unified.info&rev=966&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.4/main/finkinfo/net/net-snmp-unified.info (added)
+++ trunk/experimental/10.4/main/finkinfo/net/net-snmp-unified.info Sat Sep  8 
22:56:16 2007
@@ -1,0 +1,184 @@
+Package: net-snmp-unified
+Version: 5.4
+Revision: 1022
+Description: SNMP tools and libraries
+License: BSD
+Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
+
+Depends: <<
+       daemonic,
+       %N15-shlibs (>= %v-%r)
+<<
+BuildDepends: <<
+       fink (>= 0.26.0-1),
+       gawk,
+       expat1,
+       system-perl
+<<
+Conflicts: <<
+       net-snmp (<< 5.4-1),
+       net-snmp-ssl (<< 5.4-1),
+       ucd-snmp (<< 5.4-1)
+<<
+Replaces: <<
+       net-snmp (<< 5.4-1),
+       net-snmp-ssl (<< 5.4-1),
+       ucd-snmp (<< 5.4-1)
+<<
+
+Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz
+Source-MD5: 46d893281056ff476e597659cb91574d
+PatchScript:   perl -pi -e 's/#include <kvm.h>/$&\nkvm_t *kd;/' 
agent/mibgroup/host/hr_swrun.c
+
+SetCPPFLAGS: -I%p/lib/system-openssl/include
+SetLDFLAGS: -L%p/lib/system-openssl/lib
+ConfigureParams: <<
+       --with-install-prefix='%d' \
+       --enable-ipv6 \
+       --with-out-mib-modules=mibII/ipv6 \
+       --mandir='${prefix}/share/man' \
+       --with-logfile=%p/var/log/snmpd.log \
+       --with-persistent-directory=%p/var/%N \
+       --with-default-snmp-version="3" \
+       --enable-shared \
+       --with-openssl=%p/lib/system-openssl \
+       
--with-mibdirs='$HOME/.snmp/mibs:%p/share/snmp/mibs:/usr/share/snmp/mibs' \
+       --with-sys-contact='[EMAIL PROTECTED]' \
+       --with-sys-location=Unknown \
+       --without-kmem-usage \
+       --without-python-modules
+<<
+CompileScript: <<
+#!/bin/sh -ev
+
+       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"
+
+       PERLPROG=/usr/bin/perl ./configure %c 
--with-perl-modules="$PERLMAKEARGS"
+       make
+<<
+
+InstallScript: <<
+       make install DESTDIR=%d
+       install -d -m 755 %i/var/log
+<<
+DocFiles: AGENT.txt CHANGES COPYING ChangeLog CodingStyle EXAMPLE.conf.def FAQ 
NEWS PORTING README* TODO
+SplitOff: <<
+       Package: %N15-shlibs
+       DocFiles: COPYING
+       Files: lib/libnetsnmp*.15*.dylib
+       Shlibs: <<
+               %p/lib/libnetsnmp.15.dylib        16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmpagent.15.dylib   16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmphelpers.15.dylib 16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmpmibs.15.dylib    16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+               %p/lib/libnetsnmptrapd.15.dylib   16.0.0 
net-snmp-unified15-shlibs (>= 5.4-1)
+       <<
+<<
+SplitOff2: <<
+       Package: %N-dev
+       Depends: %N (>= %v-%r)
+       Conflicts: <<
+               net-snmp-dev (<< 5.4-1),
+               net-snmp-ssl-dev (<< 5.4-1)
+       <<
+       Replaces: <<
+               net-snmp-dev (<< 5.4-1),
+               net-snmp (<< 5.4-1),
+               net-snmp-ssl-dev (<< 5.4-1),
+               net-snmp-ssl (<< 5.4-1)
+       <<
+       DocFiles: COPYING
+       Files: include lib/*.a lib/*.dylib bin/net-snmp-config
+<<
+SplitOff3: <<
+       Package: net-snmp
+       Description: upgrade package for net-snmp-unified
+       Depends: <<
+               %N (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff4: <<
+       Package: net-snmp-ssl
+       Description: upgrade package for net-snmp-unified
+       Depends: <<
+               %N (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff7: <<
+       Package: net-snmp-dev
+       Description: upgrade package for net-snmp-unified-dev
+       Depends: <<
+               %N-dev (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+SplitOff8: <<
+       Package: net-snmp-ssl-dev
+       Description: upgrade package for net-snmp-unified-dev
+       Depends: <<
+               %N-dev (>= %v-%r),
+               fink (>= 0.26.0-1),
+               fink-obsolete-packages
+       <<
+<<
+
+PreRmScript: <<
+if [ $1 != "upgrade" ]; then
+       daemonic disable %N
+fi
+<<
+PostRmScript: <<
+if [ $1 = "remove" ]; then
+       rm -rf %p/share/snmp
+       rm -rf %p/var/%n
+fi
+<<
+DaemonicFile: <<
+<service>
+<description>An SNMP daemon to respond to SNMP request packets.</description>
+<message>snmpd</message>
+
+<daemon name="snmpd">
+<executable checkexit="true">%p/sbin/snmpd</executable>
+
+</daemon>
+
+</service>
+<<
+
+Homepage: http://net-snmp.sourceforge.net/
+DescDetail: <<
+       The net-snmp package, previously known as ucd-snmp, provides tools 
+       and libraries relating to SNMP. It provides SNMP libraries, tools 
+       to request and set information, an SNMP daemon, among other features.
+<<
+DescUsage: <<
+In order to run net-snmp correctly, the community name needs to be set. The
+easiest way to set this is to run the 'snmpconf' program, allowing you to
+setup the various net-snmp configuration files.
+<<
+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.
+<<
+DescPort: <<
+Based on the net-snmp package developed by Justin Hallett and Jeremy Higgs.
+
+dmacks: OS X 10.3 has kvm.h but that header does not declare an
+(apparently global var) "kd". Later OS X disable kvm altogether (via
+the platform-specific defs in net-snmp/system/*.h, which override
+configure detection) so it's not a problem there, but backporting that
+solution to 10.3 fails to build for deeper reasons. So we'll just
+declare kd and hope for the best.
+<<
+

Modified: trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info&rev=966&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info (original)
+++ trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info Sat Sep  
8 22:56:16 2007
@@ -1,6 +1,6 @@
 Package: net-snmp-unified
 Version: 5.4
-Revision: 1
+Revision: 2
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
 Depends: <<
        daemonic, 
@@ -18,6 +18,10 @@
 Source-MD5: 46d893281056ff476e597659cb91574d
 SetCPPFLAGS: -I%p/lib/system-openssl/include
 SetLDFLAGS: -L%p/lib/system-openssl/lib
+PatchScript: <<
+       perl -pi -e 's/#include <kvm.h>/$&\nkvm_t *kd;/' 
agent/mibgroup/host/hr_swrun.c
+<<
+
 ConfigureParams: <<
        --with-install-prefix='%d' \
        --enable-ipv6 \
@@ -32,11 +36,15 @@
        --with-sys-contact='[EMAIL PROTECTED]' \
        --with-sys-location=Unknown \
        --without-kmem-usage \
-       --without-python-modules \
-       --with-perl-modules='PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5 
INSTALLARCHLIB=%p/lib/perl5/darwin INSTALLSITELIB=%p/lib/perl5 
INSTALLSITEARCH=%p/lib/perl5/darwin INSTALLMAN1DIR=%p/share/man/man1 
INSTALLMAN3DIR=%p/share/man/man3 INSTALLSITEMAN1DIR=%p/share/man/man1 
INSTALLSITEMAN3DIR=%p/share/man/man3 INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin 
INSTALLSCRIPT=%p/bin'
+       --without-python-modules
 <<
 CompileScript: <<
-       PERLPROG=/usr/bin/perl ./configure %c
+#!/bin/sh -ev
+
+       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"
+
+       PERLPROG=/usr/bin/perl ./configure %c 
--with-perl-modules="$PERLMAKEARGS"
        make
 <<
 InstallScript: <<
@@ -144,6 +152,13 @@
 <<
 DescPort: <<
 Based on the net-snmp package developed by Justin Hallett and Jeremy Higgs.
+
+dmacks: OS X 10.3 has kvm.h but that header does not declare an
+(apparently global var) "kd". Later OS X disable kvm altogether (via
+the platform-specific defs in net-snmp/system/*.h, which override
+configure detection) so it's not a problem there, but backporting that
+solution to 10.3 fails to build for deeper reasons. So we'll just
+declare kd and hope for the best.
 <<
 License: BSD
 Homepage: http://net-snmp.sourceforge.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to