Update of /cvsroot/fink/dists/10.4-transitional/unstable/crypto/finkinfo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29532
Modified Files:
net-snmp-ssl.info net-snmp-ssl.patch
Log Message:
Working net-snmp for tiger
Index: net-snmp-ssl.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/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 27 Apr 2005 03:07:10 -0000 1.1
+++ net-snmp-ssl.info 27 Apr 2005 14:06:41 -0000 1.2
@@ -1,9 +1,9 @@
Package: net-snmp-ssl
Version: 5.0.7
-Revision: 16
+Revision: 17
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
-Depends: daemonic, openssl097, %n-shlibs
-BuildDepends: gawk, openssl097-dev, gdbm3, gmp, expat, tcltk-dev, cctools (>=
446-1), fink (>= 0.12.0-1)
+Depends: daemonic, openssl097, openssl097-shlibs, %n-shlibs
+BuildDepends: autoconf, gawk, openssl097-dev, gdbm3, gmp, expat, tcltk-dev,
cctools (>= 446-1), fink (>= 0.12.0-1)
Conflicts: net-snmp, ucd-snmp
Replaces: net-snmp, ucd-snmp
Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz
@@ -12,13 +12,19 @@
### Use patchscript here for perlmodule, fix to install man pages in proper
location
sed -e s,@FINKPREFIX@,%p,g -e s,@FINKINSTALL@,%i,g %a/%n.patch | patch -p1
### Fix for openssl 0.9.7 on 10.3
-perl -pi.bak -e 's,#define DES_key_sched des_key_sched,#define
DES_key_sched _ossl_old_des_key_sched,g' snmplib/scapi.c
-perl -pi.bak -e 's,#define DES_ncbc_encrypt des_ncbc_encrypt,#define
DES_ncbc_encrypt _ossl_old_des_ncbc_encrypt,g' snmplib/scapi.c
-perl -pi.bak -e 's,#define DES_cbc_encrypt des_cbc_encrypt,#define
DES_cbc_encrypt _ossl_old_des_cbc_encrypt,g' snmplib/scapi.c
+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
+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
+## more 10.4
+perl -pi -e 's,ortentry,rtentry,g' configure
+perl -pi -e 's,\#ifndef dynix,\#ifdef dynix,g'
agent/mibgroup/mibII/route_write.c
<<
UpdatePOD: True
NoSetMAKEFLAGS: true
-SetMAKEFLAGS: -j1
+SetMAKEFLAGS: -j1
ConfigureParams: --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-perl-modules
--with-sys-location="Fink Build" --with-sys-contact="[EMAIL PROTECTED]"
InstallScript: <<
make install prefix=%i libdir=%i/lib bindir=%i/bin sbindir=%i/sbin
@@ -29,28 +35,28 @@
<<
Splitoff: <<
Package: %N-shlibs
- BuildDepends: gawk, cctools (>= 446), fink (>= 0.12.0-1)
Replaces: %N (<< 5.0-1), net-snmp-shlibs
Conflicts: net-snmp-shlibs
Files: lib/libnetsnmp*.5*.dylib
Shlibs: <<
- %p/lib/libnetsnmp.5.dylib %n (>= %v-%r)
- %p/lib/libnetsnmpagent.5.dylib %n (>= %v-%r)
- %p/lib/libnetsnmphelpers.5.dylib %n (>= %v-%r)
- %p/lib/libnetsnmpmibs.5.dylib %n (>= %v-%r)
+ %p/lib/libnetsnmp.5.dylib 6.0.0 %n (>= 5.0-1)
+ %p/lib/libnetsnmpagent.5.dylib 6.0.0 %n (>= 5.0-1)
+ %p/lib/libnetsnmphelpers.5.dylib 6.0.0 %n (>= 5.0-1)
+ %p/lib/libnetsnmpmibs.5.dylib 6.0.0 %n (>= 5.0-1)
<<
DocFiles: AGENT.txt COPYING ChangeLog CodingStyle EXAMPLE.conf.def FAQ NEWS
PORTING README README.agentx README.krb5 README.snmpv3 README.thread TODO
<<
SplitOff2: <<
Package: %N-dev
- Depends: %N (>= %v-%r)
- BuildDepends: gawk, cctools (>= 446), fink (>= 0.12.0-1)
+ Depends: %N-shlibs (>= %v-%r)
Replaces: %N (<< 5.0-1), net-snmp-dev
Conflicts: net-snmp-dev
- Files: include/net-snmp
+ 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
+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
PreRmScript: <<
if [ $1 != "upgrade" ]; then
daemonic disable net-snmp-ssl
Index: net-snmp-ssl.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/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 27 Apr 2005 03:07:10 -0000 1.1
+++ net-snmp-ssl.patch 27 Apr 2005 14:06:41 -0000 1.2
@@ -43,7 +43,7 @@
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
-+ allow_undefined_flag='-flat_namespace -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.
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits