OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Sep-2007 17:07:20
Branch: HEAD Handle: 2007092916072000
Modified files:
openpkg-src/sysmon sysmon.conf sysmon.patch sysmon.spec
Log:
modifying package: sysmon-0.92.2 20070720 -> 20070929
Summary:
Revision Changes Path
1.2 +6 -6 openpkg-src/sysmon/sysmon.conf
1.4 +58 -1 openpkg-src/sysmon/sysmon.patch
1.54 +5 -7 openpkg-src/sysmon/sysmon.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sysmon/sysmon.conf
============================================================================
$ cvs diff -u -r1.1 -r1.2 sysmon.conf
--- openpkg-src/sysmon/sysmon.conf 3 Mar 2002 12:27:41 -0000 1.1
+++ openpkg-src/sysmon/sysmon.conf 29 Sep 2007 15:07:20 -0000 1.2
@@ -1,18 +1,18 @@
-;;
-;; sysmon.conf -- sysmon configuration
-;;
+##
+## sysmon.conf -- sysmon configuration
+##
-; global configuration
+# global configuration
config logging file "@l_prefix@/var/sysmon/sysmon.log";
config logging syslog "none";
config statusfile text "@l_prefix@/var/sysmon/sysmon.status";
config sender "[EMAIL PROTECTED]";
config noheartbeat;
-; the root of the object tree
+# the root of the object tree
root = "localhost";
-; a sample object (myself)
+# a sample object (myself)
object localhost {
ip "127.0.0.1";
type ping;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/sysmon/sysmon.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 sysmon.patch
--- openpkg-src/sysmon/sysmon.patch 12 Oct 2005 06:35:00 -0000 1.3
+++ openpkg-src/sysmon/sysmon.patch 29 Sep 2007 15:07:20 -0000 1.4
@@ -1,6 +1,51 @@
+Index: autoconf/Makefile.in
+--- autoconf/Makefile.in.orig 2003-11-06 04:41:31 +0100
++++ autoconf/Makefile.in 2007-09-29 17:02:52 +0200
+@@ -11,7 +11,7 @@
+ CC = @CC@
+ LEX = @LEX@
+ CFILE = @sysconfdir@/sysmon.conf
+-INCLUDES = -I/usr/local/include
++INCLUDES = @CPPFLAGS@
+ CFLAGS = @CFLAGS@ '@SENDMAIL@' -DCFILE='"$(CFILE)"' @SNP@
$(INCLUDES)
+ [EMAIL PROTECTED]@
+
+Index: configure
+--- configure.orig 2005-09-21 03:23:51 +0200
++++ configure 2007-09-29 17:02:52 +0200
+@@ -1390,14 +1390,6 @@
+ fi;
+
+
+- if test "x/usr/local/" != x -a -d /usr/local/; then
+- if test -d /usr/local//lib; then
+- LDFLAGS="-L/usr/local//lib $LDFLAGS"
+- fi
+- if test -d /usr/local//include; then
+- CPPFLAGS="-I/usr/local//include $CPPFLAGS"
+- fi
+- fi
+
+
+ ac_ext=c
+@@ -4475,14 +4467,6 @@
+
+
+
+- if test "x/usr/local/ssl" != x -a -d /usr/local/ssl; then
+- if test -d /usr/local/ssl/lib; then
+- LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS"
+- fi
+- if test -d /usr/local/ssl/include; then
+- CPPFLAGS="-I/usr/local/ssl/include $CPPFLAGS"
+- fi
+- fi
+
+ echo "$as_me:$LINENO: checking for main in -lssl" >&5
+ echo $ECHO_N "checking for main in -lssl... $ECHO_C" >&6
Index: src/config.h
--- src/config.h.orig 2005-10-12 05:30:05 +0200
-+++ src/config.h 2005-10-12 08:33:55 +0200
++++ src/config.h 2007-09-29 17:02:52 +0200
@@ -13,7 +13,7 @@
#include <string.h>
#include <pwd.h>
@@ -10,3 +55,15 @@
#include <sys/filio.h>
#endif
#include <sys/types.h>
+@@ -72,11 +72,7 @@
+ #endif /* HAVE_LIBNCURSES */
+
+ #ifdef NICEINTERFACE
+-#ifdef sgi
+-#include "/usr/local/include/ncurses.h"
+-#else
+ #include <curses.h>
+-#endif /* sgi */
+ #endif /* NICEINTERFACE */
+
+ #ifdef HAVE_NET_SNMP_VERSION_H
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/sysmon/sysmon.spec
============================================================================
$ cvs diff -u -r1.53 -r1.54 sysmon.spec
--- openpkg-src/sysmon/sysmon.spec 20 Jul 2007 20:18:32 -0000 1.53
+++ openpkg-src/sysmon/sysmon.spec 29 Sep 2007 15:07:20 -0000 1.54
@@ -33,11 +33,11 @@
Group: Monitoring
License: GPL
Version: 0.92.2
-Release: 20070720
+Release: 20070929
# package options
-%option with_snmp no
%option with_fsl yes
+%option with_snmp no
# list of sources
Source0: ftp://puck.nether.net/pub/jared/sysmon-%{version}.tar.gz
@@ -67,7 +67,8 @@
%description
Sysmon is a network monitoring tool designed to provide high
performance and accurate network monitoring. Currently supported
- protocols include SMTP, IMAP, HTTP, TCP, UDP, NNTP, and PING tests.
+ protocols include SMTP, IMAP, HTTP, NNTP, RADIUS, SNMP, TCP, UDP,
+ and ICMP/PING tests.
%track
prog sysmon = {
@@ -100,7 +101,6 @@
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags ncurses}" \
- CPPFLAGS="%{l_cppflags ncurses}" \
LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
%if "%{with_snmp}" == "yes"
LIBS="%{l_fsl_libs} `%{l_prefix}/bin/net-snmp-config --libs`" \
@@ -112,9 +112,7 @@
--prefix=%{l_prefix}
# build program
- %{l_make} %{l_mflags -O} \
- CPPFLAGS="%{l_cppflags ncurses}" \
- LDFLAGS="%{l_ldflags}"
+ %{l_make} %{l_mflags}
%install
# install program
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]