OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 19-Aug-2003 11:30:12
Branch: HEAD Handle: 2003081910301002
Modified files:
openpkg-src/snmp snmp.patch snmp.spec
openpkg-web news.txt
Log:
-fpic doesn't work here with solaris, why is it used anyway ?
Additionally disable 64bit off_t for solaris specific procfs/swapctl
code
Summary:
Revision Changes Path
1.3 +16 -0 openpkg-src/snmp/snmp.patch
1.55 +2 -2 openpkg-src/snmp/snmp.spec
1.6231 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/snmp/snmp.patch
============================================================================
$ cvs diff -u -r1.2 -r1.3 snmp.patch
--- openpkg-src/snmp/snmp.patch 8 Aug 2003 08:58:23 -0000 1.2
+++ openpkg-src/snmp/snmp.patch 19 Aug 2003 09:30:12 -0000 1.3
@@ -56,3 +56,19 @@
#ifdef HAVE_LIBRPM
rpmdbClose(swi->swi_rpmdb); /* or only on finishing ? */
swi->swi_rpmdb = NULL;
+--- agent/mibgroup/ucd-snmp/memory_solaris2.c.dist Tue Aug 19 09:46:12 2003
++++ agent/mibgroup/ucd-snmp/memory_solaris2.c Tue Aug 19 09:51:30 2003
+@@ -1,3 +1,4 @@
++#undef _FILE_OFFSET_BITS /* swapctl doesn't support 64bit off_t */
+ #include <net-snmp/net-snmp-config.h> /* local SNMP configuration details */
+ #if HAVE_STRING_H
+ #include <string.h>
+--- agent/mibgroup/ucd-snmp/proc.c.dist 2003-08-19 10:26:49.000000000 +0200
++++ agent/mibgroup/ucd-snmp/proc.c 2003-08-19 10:27:45.000000000 +0200
+@@ -1,3 +1,6 @@
++#ifdef solaris2
++#undef _FILE_OFFSET_BITS /* solaris procfs doesn't support 64bit off_t */
++#endif
+ #include <net-snmp/net-snmp-config.h>
+
+ #ifdef solaris2
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/snmp/snmp.spec
============================================================================
$ cvs diff -u -r1.54 -r1.55 snmp.spec
--- openpkg-src/snmp/snmp.spec 18 Aug 2003 13:42:25 -0000 1.54
+++ openpkg-src/snmp/snmp.spec 19 Aug 2003 09:30:12 -0000 1.55
@@ -33,7 +33,7 @@
Group: Network
License: BSD
Version: 5.0.8
-Release: 20030818
+Release: 20030819
# package options
%option with_fsl yes
@@ -126,7 +126,7 @@
./configure \
--cache-file=./config.cache \
--with-cc="%{l_cc}" \
- --with-cflags="%{l_cflags -O} %{l_cppflags} -fpic" \
+ --with-cflags="%{l_cflags -O} %{l_cppflags}" \
--with-ldflags="%{l_ldflags} %{l_fsl_ldflags}" \
--with-libs="%{l_fsl_libs}" \
--prefix=%{l_prefix} \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6230 -r1.6231 news.txt
--- openpkg-web/news.txt 19 Aug 2003 07:55:12 -0000 1.6230
+++ openpkg-web/news.txt 19 Aug 2003 09:30:10 -0000 1.6231
@@ -1,3 +1,4 @@
+19-Aug-2003: Upgraded package: P<snmp-5.0.8-20030819>
19-Aug-2003: Upgraded package: P<perl-ssl-20030819-20030819>
19-Aug-2003: Upgraded package: P<perl-dbi-20030819-20030819>
19-Aug-2003: Upgraded package: P<perl-xml-20030819-20030819>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]