OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 25-Aug-2006 18:36:41
Branch: OPENPKG_2_5_SOLID Handle: 2006082517364000
Modified files: (Branch: OPENPKG_2_5_SOLID)
openpkg-src/snmp snmp.spec
Log:
add specific header file for Solaris 10, otherwise a generic Solaris
header file is picked up. While build runs clean, under run-time snmpd
refuses to start at least on amd64 platform with error message
'init_kmem: kvm_open failed: Error 0'
Summary:
Revision Changes Path
1.78.2.2 +9 -1 openpkg-src/snmp/snmp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/snmp/snmp.spec
============================================================================
$ cvs diff -u -r1.78.2.1 -r1.78.2.2 snmp.spec
--- openpkg-src/snmp/snmp.spec 11 Oct 2005 12:51:56 -0000 1.78.2.1
+++ openpkg-src/snmp/snmp.spec 25 Aug 2006 16:36:40 -0000 1.78.2.2
@@ -36,7 +36,7 @@
Group: Network
License: BSD
Version: 5.2.1
-Release: 2.5.0
+Release: 2.5.1
# package options
%option with_fsl yes
@@ -122,6 +122,14 @@
-e 's/cd perl ; $(MAKE) install/cd perl ; $(MAKE) pure_install/g' \
Makefile.in
+ # supply system include file
+ case "%{l_platform -t}" in
+ *-sunos5.10 )
+ # support for Solaris 10 does not differ from Solaris 9
+ ln -s solaris2.9.h include/net-snmp/system/solaris2.10.h
+ ;;
+ esac
+
%build
# disable search for db library
( echo "ac_cv_lib_db1_dbopen=no"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]