pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/hobbitmon/patches Hobbit-0.6beta2: bugfixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e3238369a5d
branches:  trunk
changeset: 488076:0e3238369a5d
user:      manu <manu%pkgsrc.org@localhost>
date:      Mon Jan 24 18:18:31 2005 +0000

description:
Hobbit-0.6beta2: bugfixes

diffstat:

 net/hobbitmon/patches/patch-aa |  214 -----------------------------------------
 net/hobbitmon/patches/patch-ac |   13 --
 net/hobbitmon/patches/patch-ad |   12 --
 net/hobbitmon/patches/patch-af |   12 --
 net/hobbitmon/patches/patch-ag |   18 ---
 net/hobbitmon/patches/patch-ah |   13 --
 net/hobbitmon/patches/patch-ai |   11 --
 7 files changed, 0 insertions(+), 293 deletions(-)

diffs (truncated from 321 to 300 lines):

diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-aa
--- a/net/hobbitmon/patches/patch-aa    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,214 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- configure.orig     2005-01-01 14:38:16.000000000 +0100
-+++ configure  2005-01-12 23:58:45.000000000 +0100
-@@ -13,9 +13,8 @@
- else
-       echo "This script asks a few questions and builds a Makefile to compile Hobbit"
-       echo ""
-       echo "Are you setting up a Hobbit server (hobbit), or using Hobbit with BB (bb) [hobbit] ?"
--      read TARGET
-       if test -z "$TARGET"
-       then
-               TARGET="hobbit"
-       fi
-@@ -48,9 +47,11 @@
-               echo "like POP3S, IMAPS, NNTPS and TELNETS. If you have the OpenSSL"
-               echo "library installed, I recommend that you enable this."
-               echo ""
-               echo "Do you want to be able to test SSL-enabled services (y) ?"
--              read ENABLESSL
-+              if test -z "$ENABLESSL" ; then
-+                      read ENABLESSL
-+              fi
-               if test "$ENABLESSL" = "" -o "$ENABLESSL" = "y"
-               then
-                       SSLDEF="-DBBGEN_SSL"
-               else
-@@ -69,9 +70,11 @@
-               echo ""
-               echo "Hobbit can use your $LDAPVENDOR LDAP client library to test LDAP servers."
-               echo ""
-               echo "Do you want to be able to test LDAP servers (y) ?"
--              read ENABLELDAP
-+              if test -z "$ENABLELDAP" ; then
-+                      read ENABLELDAP
-+              fi
-               if test "$ENABLELDAP" = "" -o "$ENABLELDAP" = "y"
-               then
-                       if test "$LDAPVENDOR" = "OpenLDAP"; then
-                               echo "Enable experimental support for LDAP/SSL (OpenLDAP 2.x only) (y) ?"
-@@ -177,57 +180,68 @@
-               echo "Setting up for a Hobbit server"
-               echo ""; echo ""
- 
-               echo "What userid will be running Hobbit [hobbit] ?"
--              read BBUSER
-+              if test -z "$BBUSER" ; then
-+                      read BBUSER
-+              fi
-               if test -z "$BBUSER"
-               then
-                       BBUSER="hobbit"
-               fi
--              USERDATA=`getent passwd $BBUSER || grep "^${BBUSER}:" /etc/passwd`
-+              USERDATA=`awk -F: -vbbuser=${BBUSER} '($1 == bbuser){print $5}' /etc/passwd`
-               if test $? -eq 0
-               then
-                       echo "Found passwd entry for user $USERDATA"
-               else
-                       echo "FAILURE: The user $BBUSER does not exist. Create user and try again."
-                       exit 1
-+              A
-               fi
-               echo ""; echo ""
- 
-               HOMEDIR="`echo $USERDATA|cut -d: -f6`"
-               echo "Where do you want the Hobbit installation [${HOMEDIR}] ?"
--              read BBTOPDIR
-+              if test -z "$BBTOPDIR" ; then
-+                      read BBTOPDIR
-+              fi
-               if test -z "$BBTOPDIR"
-               then
-                       BBTOPDIR=${HOMEDIR}
-               fi
--              if test -d "$BBTOPDIR"
--              then
--                      echo "OK, will configure to use $BBTOPDIR as the Hobbit toplevel directory"
--              else
--                      echo "** FAILURE: $BBTOPDIR does not exist. Create it and try again."
--                      exit 1
--              fi
-+#             if test -d "$BBTOPDIR"
-+#             then
-+#                     echo "OK, will configure to use $BBTOPDIR as the Hobbit toplevel directory"
-+#             else
-+#                     echo "** FAILURE: $BBTOPDIR does not exist. Create it and try again."
-+#                     exit 1
-+#             fi
-               echo ""; echo ""
- 
-               echo "What URL will you use for the Hobbit webpages [/hobbit] ? "
--              read BBHOSTURL
-+              if test -z "$BBHOSTURL"; then
-+                      read BBHOSTURL
-+              fi
-               if test -z "$BBHOSTURL"
-               then
-                       BBHOSTURL="/hobbit"
-               fi
-               echo ""; echo ""
- 
-               echo "Where to put the Hobbit CGI scripts [$BBTOPDIR/cgi-bin] ? "
--              read CGIDIR
-+              if test -z "$CGIDIR"; then
-+                      read CGIDIR
-+              fi
-               if test -z "$CGIDIR"
-               then
-                       CGIDIR=$BBTOPDIR/cgi-bin
-               fi
-               echo ""; echo ""
- 
-               echo "What is the URL for the Hobbit CGI directory [/hobbit-cgi] ? "
--              read BBCGIURL
-+              if test -z "$BBCGIURL" ; then
-+                      read BBCGIURL
-+              fi
-               if test -z "$BBCGIURL"
-               then
-                       BBCGIURL="/hobbit-cgi"
-               fi
-@@ -244,29 +258,35 @@
-               echo "'nobody' or 'apache' or 'www-data'"
-               echo "If you dont know, just hit ENTER and we will handle it later."
-               echo ""
-               echo "What group-ID does your webserver use ?"
--              read HTTPDGID
-+              if test -z "$HTTPDGID" ; then
-+                      read HTTPDGID
-+              fi
-               echo ""; echo ""
- 
-               echo "Where to put the Hobbit logfiles [/var/log/hobbit] ? "
--              read BBLOGDIR
-+              if test -z "$BBLOGDIR" ; then
-+                      read BBLOGDIR
-+              fi
-               if test -z "$BBLOGDIR"
-               then
-                       BBLOGDIR=/var/log/hobbit
-               fi
-               echo ""; echo ""
- 
--              echo "What is the name of this host [`uname -n`] ? "
--              read BBHOSTNAME
-+#             echo "What is the name of this host [`uname -n`] ? "
-+#             read BBHOSTNAME
-               if test -z "$BBHOSTNAME"
-               then
-                       BBHOSTNAME=`uname -n`
-               fi
-               echo ""; echo ""
- 
-               echo "What is the IP-address of this host [127.0.0.1] ? "
--              read BBHOSTIP
-+              if test -z "$BBHOSTIP" ; then
-+                      read BBHOSTIP
-+              fi
-               if test -z "$BBHOSTIP"
-               then
-                       echo "** NOTE: Using 127.0.0.1 (loopback), but it is probably not what you want **"
-                       BBHOSTIP=127.0.0.1
-@@ -281,9 +301,11 @@
-               MAXMSG=32768
-       fi
- 
-       echo "Where should I install the Hobbit man-pages (/usr/local/man) ?"
--      read MANROOT
-+      if test -z "$MANROOT" ; then
-+              read MANROOT
-+      fi
-       if test -z "$MANROOT"
-       then
-               MANROOT=/usr/local/man
-       fi
-@@ -293,9 +315,11 @@
-       echo "graph of the history. It can also show a 1-week, 4-weeks and"
-       echo "1-year graphs, or any combination of these."
-       echo ""
-       echo "Which graphs to show by default (1d/1w/4w/1y/all) [all]"
--      read BARS
-+      if test -z "$BARS" ; then
-+              read BARS
-+      fi
-       if test "$BARS" = "all" -o "$BARS" = ""
-       then
-               BARSUMS=15
-               export BARSUMS
-@@ -341,9 +365,11 @@
-       echo "graph instead of the standard Big Brother graph that automatically"
-       echo "resizes to fit your browser window."
-       echo ""
-       echo "Use the new detailed Hobbit history graph (y/n) [y] ? "
--      read USENEWHIST
-+      if test -z "$USENEWHIST"  ; then
-+              read USENEWHIST
-+      fi
-       if test "$USENEWHIST" = "" -o "$USENEWHIST" = "y"
-       then
-               echo "   Tell me the display width (in pixels) to use for"
-               echo "   the history graph. This could be anything, but to"
-@@ -351,9 +377,11 @@
-               echo "   is best to use a multiple of 24."
-               echo "   The default value (960) is good on 1024x768 displays"
-               echo ""
-               echo "   What width should I use for the graph [960] ? "
--              read PIXELCOUNT
-+              if test -z "$PIXELCOUNT" ; then
-+                      read PIXELCOUNT
-+              fi
-               if test "$PIXELCOUNT" = ""
-               then
-                       HISTGRAPHDEF="-DDEFPIXELS=960"
-                       export HISTGRAPHDEF
diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-ac
--- a/net/hobbitmon/patches/patch-ac    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- build/rrd.sh.orig  2005-01-12 18:58:04.000000000 +0100
-+++ build/rrd.sh       2005-01-12 18:58:53.000000000 +0100
-@@ -1,9 +1,6 @@
-       echo "Checking for RRDtool ..."
- 
--      RRDINC=""
--      RRDLIB=""
--      PNGLIB=""
-       for DIR in /opt/rrdtool* /usr/local/rrdtool* /usr/local /usr
-       do
-               if test -f $DIR/include/rrd.h
-               then
diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-ad
--- a/net/hobbitmon/patches/patch-ad    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- build/ldap.sh.orig 2005-01-12 18:59:22.000000000 +0100
-+++ build/ldap.sh      2005-01-12 18:59:54.000000000 +0100
-@@ -1,8 +1,6 @@
-       echo "Checking for LDAP ..."
- 
--      LDAPINC=""
--      LDAPLIB=""
-       for DIR in /opt/openldap* /opt/ldap* /usr/local/openldap* /usr/local/ldap* /usr/local /usr
-       do
-               if test -f $DIR/include/ldap.h
-               then
diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-af
--- a/net/hobbitmon/patches/patch-af    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- build/pcre.sh.orig 2005-01-12 19:01:30.000000000 +0100
-+++ build/pcre.sh      2005-01-12 19:02:00.000000000 +0100
-@@ -1,8 +1,6 @@
-       echo "Checking for PCRE ..."
- 
--      PCREINC=""
--      PCRELIB=""
-       for DIR in /opt/pcre* /usr/local/pcre* /usr/local /usr
-       do
-               if test -f $DIR/include/pcre.h
-               then
diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-ag
--- a/net/hobbitmon/patches/patch-ag    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- build/Makefile.NetBSD.orig 2005-01-12 19:27:25.000000000 +0100
-+++ build/Makefile.NetBSD      2005-01-12 21:49:42.000000000 +0100
-@@ -0,0 +1,14 @@
-+# bbgen compile-time settings for FreeBSD systems
-+
-+OSDEF = -DBSD
-+
-+# NETLIBS: None needed
-+NETLIBS =
-+
-+# Compile flags for normal build
-+CC = gcc
-+CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -I/usr/pkg/include -L/usr/local/lib -L/usr/pkg/lib
-+
-+# Compile flags for debugging
-+# CFLAGS = -g -DDEBUG -Wall -D_REENTRANT -I/usr/local/include -L/usr/local/lib
-+
diff -r 3bdc92f29d63 -r 0e3238369a5d net/hobbitmon/patches/patch-ah
--- a/net/hobbitmon/patches/patch-ah    Mon Jan 24 18:16:20 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1.1.1 2005/01/13 09:27:06 manu Exp $
---- build/Makefile.test-rrd.orig       2005-01-12 19:19:58.000000000 +0100
-+++ build/Makefile.test-rrd    2005-01-12 19:23:36.000000000 +0100
-@@ -1,8 +1,8 @@
- include Makefile.$(OS)
- 
- test-compile:



Home | Main Index | Thread Index | Old Index