Update of /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4285/10.4/unstable/crypto/finkinfo

Modified Files:
        net-snmp-ssl.info net-snmp-ssl.patch 
Log Message:
Maybe this thing will compile now? Still needs to have perl modules moved
into separate pkg


Index: net-snmp-ssl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo/net-snmp-ssl.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- net-snmp-ssl.info   20 Jan 2006 20:16:56 -0000      1.1
+++ net-snmp-ssl.info   3 Mar 2006 18:45:07 -0000       1.2
@@ -1,9 +1,10 @@
 Package: net-snmp-ssl
 Version: 5.0.7
-Revision: 17
+Revision: 118
 Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
-Depends: daemonic, openssl097, openssl097-shlibs, %n-shlibs
-BuildDepends: autoconf, gawk, openssl097-dev, gdbm3, gmp (>= 4.1.4-1), 
libmpfr1, expat, tcltk-dev, cctools (>= 446-1), fink (>= 0.12.0-1)
+Depends: openssl097, openssl097-shlibs, daemonic, %n-shlibs (>= %v-%r)
+BuildDepends: autoconf, gawk, openssl097-dev
+BuildConflicts: automaken
 Conflicts: net-snmp, ucd-snmp
 Replaces: net-snmp, ucd-snmp
 Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz
@@ -15,6 +16,7 @@
 perl -pi -e 's,#define DES_key_sched       des_key_sched,#define DES_key_sched 
      _ossl_old_des_key_sched,g' snmplib/scapi.c
 perl -pi -e 's,#define DES_ncbc_encrypt    des_ncbc_encrypt,#define 
DES_ncbc_encrypt    _ossl_old_des_ncbc_encrypt,g' snmplib/scapi.c
 perl -pi -e 's,#define DES_cbc_encrypt    des_cbc_encrypt,#define 
DES_cbc_encrypt    _ossl_old_des_cbc_encrypt,g' snmplib/scapi.c
+### modern syntax
 egrep -rI '(head|tail) +\-[0-9]' *|cut -f1 -d:|sort -u|xargs perl -pi -e 
's,(head|tail) +\-([0-9]),\1 \-n\2,g'
 ## 10.4 no idea why this is happening, as net-snmp-config.h defines this
 perl -pi -e 's,\#include \<net-snmp/net-snmp-config.h\>,\#include 
\<net-snmp/net-snmp-config.h\>\n\#define HAVE_FSTAB_H 1,g' 
agent/mibgroup/ucd-snmp/disk.c
@@ -35,7 +37,7 @@
 <<
 Splitoff: <<
   Package: %N-shlibs
-  Replaces: %N (<< 5.0-1), net-snmp-shlibs
+  Replaces: net-snmp (<< 5.0-1),net-snmp-ssl (<< 5.0-1), net-snmp-shlibs
   Conflicts: net-snmp-shlibs
   Files: lib/libnetsnmp*.5*.dylib
   Shlibs: <<
@@ -48,18 +50,18 @@
 <<
 SplitOff2: <<
   Package: %N-dev
-  Depends: %N-shlibs (>= %v-%r)
-  Replaces: %N (<< 5.0-1), net-snmp-dev
+  Depends: %N-shlibs (= %v-%r)
+  Replaces: net-snmp (<< 5.0.7-18),net-snmp-ssl (<< 5.0.7-18), net-snmp-dev
   Conflicts: net-snmp-dev
   BuildDependsOnly: true
   Files: include/net-snmp lib/libnetsnmp*.dylib
   DocFiles: AGENT.txt COPYING ChangeLog CodingStyle EXAMPLE.conf.def FAQ NEWS 
PORTING README README.agentx README.krb5 README.snmpv3 README.thread TODO
 <<
-SetCPPFLAGS: -no-cpp-precomp -I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include 
-D_BSD_SOCKLEN_T_=int32_t -DSIOCADDRT -DSIOCDELRT -DTCPTV_MIN -DTCPTV_REXMTMAX
-# SetCPPFLAGS: -no-cpp-precomp -D_BSD_SOCKLEN_T_=int32_t -DSIOCADDRT 
-DSIOCDELRT -DTCPTV_MIN -DTCPTV_REXMTMAX
+#SetCPPFLAGS: -no-cpp-precomp -I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include 
-DSIOCADDRT -DSIOCDELRT -DTCPTV_MIN -DTCPTV_REXMTMAX
+SetCPPFLAGS: -no-cpp-precomp -DSIOCADDRT -DSIOCDELRT -DTCPTV_MIN 
-DTCPTV_REXMTMAX
 PreRmScript: <<
 if [ $1 != "upgrade" ]; then
-        daemonic disable net-snmp-ssl
+        daemonic disable %N
 fi
 <<
 PostRmScript: <<
@@ -94,6 +96,14 @@
 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.
+
+This packaeg includes perl modules, but they are not up to current
+fink perl-modle packaging standards and have OSX-version-dependent
+differences.
+
+This thing has some very old auto* syntaxes, so need the old autoconf
+package.  BConf:automaken helps install autoconf, because automake1.*
+have Depends on the other autoconf*.
 <<
 DescUsage: <<
 In order to run net-snmp correctly, the community name needs to be set. The
@@ -105,15 +115,12 @@
 Added '-flat_namespace' to configure script to compile properly, and fixed
 the bash versioning bug.
 
-perl -pi.bak added by Justin F. Hallett to correctly work with openssl 097 
when the system has 096 installed.
+DES symbol changes added by Justin F. Hallett to correctly work with
+openssl 097 when the system has 096 installed.
 
 -I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include added by Justin F. Hallett for
-gcc 3.3 and 10.3 since tcp_var.h is missing yet it's in the sdk, for
-10.2.6 + gcc 3.3 the MacOSX10.3.0 should be MacOSX10.2.6
-
--D_BSD_SOCKLEN_T_=int32_t added by Justin F. Hallett to fix a problem when
-compiling against net-snmp, as for some reason on 10.2 it doesn't find
-socklen_t even though 10.2 does have it.
+gcc 3.3 and 10.3 since tcp_var.h is missing yet it's in the sdk
+removed by dmacks, since it's present in recent /usr/include on 10.3 and 10.4
 <<
 License: BSD
 Homepage: http://net-snmp.sourceforge.net/

Index: net-snmp-ssl.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo/net-snmp-ssl.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- net-snmp-ssl.patch  20 Jan 2006 20:16:56 -0000      1.1
+++ net-snmp-ssl.patch  3 Mar 2006 18:45:07 -0000       1.2
@@ -24,6 +24,18 @@
          if test $$? != 0 ; then \
             exit 1 ; \
          fi  \
+diff -Nurd -x'*~' net-snmp-5.0.7.orig/aclocal.m4 net-snmp-5.0.7/aclocal.m4
+--- net-snmp-5.0.7.orig/aclocal.m4     2002-10-17 22:39:47.000000000 -0400
++++ net-snmp-5.0.7/aclocal.m4  2006-03-03 13:14:26.000000000 -0500
+@@ -1708,7 +1708,7 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    allow_undefined_flag='-undefined dynamic_lookup'
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+     #        yet detect zsh echo's removal of \ escapes.
 diff -ruN net-snmp-5.0.7.orig/agent/mibgroup/mibII/tcp.c 
net-snmp-5.0.7/agent/mibgroup/mibII/tcp.c
 --- net-snmp-5.0.7.orig/agent/mibgroup/mibII/tcp.c     Fri May 17 10:05:13 2002
 +++ net-snmp-5.0.7/agent/mibgroup/mibII/tcp.c  Mon Oct 27 10:58:36 2003



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to