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:   09-Dec-2007 19:02:49
  Branch: HEAD                             Handle: 2007120918024800

  Modified files:
    openpkg-src/sysmon      sysmon.patch sysmon.spec

  Log:
    use a more canonical User-Agent

  Summary:
    Revision    Changes     Path
    1.6         +16 -4      openpkg-src/sysmon/sysmon.patch
    1.57        +1  -1      openpkg-src/sysmon/sysmon.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sysmon/sysmon.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 sysmon.patch
  --- openpkg-src/sysmon/sysmon.patch   29 Sep 2007 17:07:26 -0000      1.5
  +++ openpkg-src/sysmon/sysmon.patch   9 Dec 2007 18:02:48 -0000       1.6
  @@ -1,6 +1,6 @@
   Index: autoconf/Makefile.in
   --- autoconf/Makefile.in.orig        2003-11-06 04:41:31 +0100
  -+++ autoconf/Makefile.in     2007-09-29 19:05:30 +0200
  ++++ autoconf/Makefile.in     2007-12-09 19:01:16 +0100
   @@ -11,7 +11,7 @@
    CC              = @CC@
    LEX         = @LEX@
  @@ -12,7 +12,7 @@
    
   Index: configure
   --- configure.orig   2005-09-21 03:23:51 +0200
  -+++ configure        2007-09-29 19:05:30 +0200
  ++++ configure        2007-12-09 19:01:16 +0100
   @@ -1390,14 +1390,6 @@
    fi;
    
  @@ -45,7 +45,7 @@
    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     2007-09-29 19:05:30 +0200
  ++++ src/config.h     2007-12-09 19:01:16 +0100
   @@ -13,7 +13,7 @@
    #include <string.h>
    #include <pwd.h>
  @@ -67,9 +67,21 @@
    #endif /* NICEINTERFACE */
    
    #ifdef HAVE_NET_SNMP_VERSION_H
  +Index: src/http.c
  +--- src/http.c.orig  2003-12-16 18:33:44 +0100
  ++++ src/http.c       2007-12-09 19:01:28 +0100
  +@@ -174,7 +174,7 @@
  +                             memset(buffer, 0, 1024);
  +                             snprintf(buffer, 1024, "GET %s HTTP/1.0", 
here->checkent->url);
  +                             sendline(here->filedes, buffer);
  +-                            sendline(here->filedes, "User-Agent: 
sysmond/http.c");
  ++                            sendline(here->filedes, "User-Agent: SysMon");
  +                             memset(buffer, 0, 1024);
  +                             snprintf(buffer, 1024, "Host: %s", 
here->checkent->hostname);
  +                             sendline(here->filedes, buffer);
   Index: src/page.c
   --- src/page.c.orig  2003-12-16 18:33:44 +0100
  -+++ src/page.c       2007-09-29 19:05:38 +0200
  ++++ src/page.c       2007-12-09 19:01:16 +0100
   @@ -102,17 +102,17 @@
                                        memcpy(out,tmp,1024);
                                        break;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sysmon/sysmon.spec
  ============================================================================
  $ cvs diff -u -r1.56 -r1.57 sysmon.spec
  --- openpkg-src/sysmon/sysmon.spec    27 Oct 2007 12:00:21 -0000      1.56
  +++ openpkg-src/sysmon/sysmon.spec    9 Dec 2007 18:02:48 -0000       1.57
  @@ -33,7 +33,7 @@
   Group:        Monitoring
   License:      GPL
   Version:      0.92.2
  -Release:      20071027
  +Release:      20071209
   
   #   package options
   %option       with_fsl  yes
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to