pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mbrowse Initial version 0.3.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce7c24bceb2d
branches:  trunk
changeset: 508095:ce7c24bceb2d
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Tue Feb 14 21:47:41 2006 +0000

description:
Initial version 0.3.1.

Mbrowse is an SNMP MIB browser based on GTK and net-snmp.
SNMP v1 and v2c are supported.



Pkgsrc changes:
  - The 'pre-configure' target avoids an irritating warning message during
    the configure stage.
  - patch-aa works around an "identifier undeclared" error.
    patch-ab updates the configure script accordingly.

diffstat:

 net/mbrowse/DESCR            |     2 +
 net/mbrowse/Makefile         |    21 +
 net/mbrowse/PLIST            |     2 +
 net/mbrowse/distinfo         |     7 +
 net/mbrowse/patches/patch-aa |    13 +
 net/mbrowse/patches/patch-ab |  2257 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 2302 insertions(+), 0 deletions(-)

diffs (truncated from 2326 to 300 lines):

diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/DESCR Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,2 @@
+Mbrowse is an SNMP MIB browser based on GTK and net-snmp.
+SNMP v1 and v2c are supported.
diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/Makefile      Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/14 21:47:41 heinz Exp $
+
+DISTNAME=              mbrowse-0.3.1
+CATEGORIES=            net
+MASTER_SITES=          http://www.kill-9.org/mbrowse/
+
+MAINTAINER=            heinz%NetBSD.org@localhost
+HOMEPAGE=              http://www.kill-9.org/mbrowse/
+COMMENT=               Graphical SNMP MIB browser
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+GNU_CONFIGURE=         yes
+
+pre-configure:
+       @ ${TEST} -r ${PKGDIR}/../../mk/gnu-config/missing && \
+         ${CP} -f ${PKGDIR}/../../mk/gnu-config/missing ${WRKSRC}
+
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/PLIST Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/14 21:47:41 heinz Exp $
+bin/mbrowse
diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/distinfo      Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/02/14 21:47:41 heinz Exp $
+
+SHA1 (mbrowse-0.3.1.tar.gz) = aee6fd632e41a19007c1b40f198e55ed1d4bd699
+RMD160 (mbrowse-0.3.1.tar.gz) = 4a17ad1d7dd85e04f6ce37d6baaa9ef0b5a630fa
+Size (mbrowse-0.3.1.tar.gz) = 99948 bytes
+SHA1 (patch-aa) = 156ed9a22ecc3a557de38f3a3bcfe54e2f498a17
+SHA1 (patch-ab) = fb9b0946ec607a7e3471f4620cbb5792a7596eef
diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/patches/patch-aa      Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/02/14 21:47:41 heinz Exp $
+
+--- aclocal.m4.orig    Wed Mar 12 17:37:32 2003
++++ aclocal.m4
+@@ -1156,7 +1156,7 @@ AC_DEFUN(AM_PATH_NETSNMP,[
+           }
+ 
+           #ifdef HAVE_NETSNMP
+-          version2 = strdup( NetSnmpVersionInfo );
++          version2 = strdup( netsnmp_get_version() );
+           #else
+             version2 = strdup( VersionInfo);
+           #endif
diff -r 50c75a43805e -r ce7c24bceb2d net/mbrowse/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mbrowse/patches/patch-ab      Tue Feb 14 21:47:41 2006 +0000
@@ -0,0 +1,2257 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/02/14 21:47:48 heinz Exp $
+
+--- configure.orig     Wed Mar 12 17:37:41 2003
++++ configure
+@@ -1,9 +1,8 @@
+ #! /bin/sh
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated by GNU Autoconf 2.57.
++# Generated by GNU Autoconf 2.59.
+ #
+-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+-# Free Software Foundation, Inc.
++# Copyright (C) 2003 Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+ ## --------------------- ##
+@@ -20,9 +19,10 @@ if test -n "${ZSH_VERSION+set}" && (emul
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+   set -o posix
+ fi
++DUALCASE=1; export DUALCASE # for MKS sh
+ 
+ # Support unset when possible.
+-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+   as_unset=unset
+ else
+   as_unset=false
+@@ -41,7 +41,7 @@ for as_var in \
+   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+   LC_TELEPHONE LC_TIME
+ do
+-  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+     eval $as_var=C; export $as_var
+   else
+     $as_unset $as_var
+@@ -218,16 +218,17 @@ rm -f conf$$ conf$$.exe conf$$.file
+ if mkdir -p . 2>/dev/null; then
+   as_mkdir_p=:
+ else
++  test -d ./-p && rmdir ./-p
+   as_mkdir_p=false
+ fi
+ 
+ as_executable_p="test -f"
+ 
+ # Sed expression to map a string onto a valid CPP name.
+-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+ 
+ # Sed expression to map a string onto a valid variable name.
+-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+ 
+ 
+ # IFS
+@@ -630,7 +631,7 @@ done
+ 
+ # Be sure to have absolute paths.
+ for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
+-              localstatedir libdir includedir oldincludedir infodir mandir
++            localstatedir libdir includedir oldincludedir infodir mandir
+ do
+   eval ac_val=$`echo $ac_var`
+   case $ac_val in
+@@ -670,10 +671,10 @@ if test -z "$srcdir"; then
+   # Try the directory containing this script, then its parent.
+   ac_confdir=`(dirname "$0") 2>/dev/null ||
+ $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-         X"$0" : 'X\(//\)[^/]' \| \
+-         X"$0" : 'X\(//\)$' \| \
+-         X"$0" : 'X\(/\)' \| \
+-         .     : '\(.\)' 2>/dev/null ||
++       X"$0" : 'X\(//\)[^/]' \| \
++       X"$0" : 'X\(//\)$' \| \
++       X"$0" : 'X\(/\)' \| \
++       .     : '\(.\)' 2>/dev/null ||
+ echo X"$0" |
+     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+@@ -765,9 +766,9 @@ _ACEOF
+   cat <<_ACEOF
+ Installation directories:
+   --prefix=PREFIX         install architecture-independent files in PREFIX
+-                          [$ac_default_prefix]
++                        [$ac_default_prefix]
+   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
+-                          [PREFIX]
++                        [PREFIX]
+ 
+ By default, \`make install' will install all the files in
+ \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
+@@ -868,12 +869,45 @@ case $srcdir in
+     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+     ac_top_srcdir=$ac_top_builddir$srcdir ;;
+ esac
+-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+-# absolute.
+-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
+-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
++
++# Do not use `cd foo && pwd` to compute absolute paths, because
++# the directories may not exist.
++case `pwd` in
++.) ac_abs_builddir="$ac_dir";;
++*)
++  case "$ac_dir" in
++  .) ac_abs_builddir=`pwd`;;
++  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
++  *) ac_abs_builddir=`pwd`/"$ac_dir";;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_builddir=${ac_top_builddir}.;;
++*)
++  case ${ac_top_builddir}. in
++  .) ac_abs_top_builddir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
++  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_srcdir=$ac_srcdir;;
++*)
++  case $ac_srcdir in
++  .) ac_abs_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
++  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
++  esac;;
++esac
++case $ac_abs_builddir in
++.) ac_abs_top_srcdir=$ac_top_srcdir;;
++*)
++  case $ac_top_srcdir in
++  .) ac_abs_top_srcdir=$ac_abs_builddir;;
++  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
++  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
++  esac;;
++esac
+ 
+     cd $ac_dir
+     # Check for guested configure; otherwise get Cygnus style configure.
+@@ -884,7 +918,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
+       echo
+       $SHELL $ac_srcdir/configure  --help=recursive
+     elif test -f $ac_srcdir/configure.ac ||
+-           test -f $ac_srcdir/configure.in; then
++         test -f $ac_srcdir/configure.in; then
+       echo
+       $ac_configure --help
+     else
+@@ -898,8 +932,7 @@ test -n "$ac_init_help" && exit 0
+ if $ac_init_version; then
+   cat <<\_ACEOF
+ 
+-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
+-Free Software Foundation, Inc.
++Copyright (C) 2003 Free Software Foundation, Inc.
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+ _ACEOF
+@@ -911,7 +944,7 @@ This file contains any messages produced
+ running configure, to aid debugging if configure makes a mistake.
+ 
+ It was created by $as_me, which was
+-generated by GNU Autoconf 2.57.  Invocation command line was
++generated by GNU Autoconf 2.59.  Invocation command line was
+ 
+   $ $0 $@
+ 
+@@ -988,19 +1021,19 @@ do
+     2)
+       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+       if test $ac_must_keep_next = true; then
+-        ac_must_keep_next=false # Got value, back to normal.
++      ac_must_keep_next=false # Got value, back to normal.
+       else
+-        case $ac_arg in
+-          *=* | --config-cache | -C | -disable-* | --disable-* \
+-          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+-          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+-          | -with-* | --with-* | -without-* | --without-* | --x)
+-            case "$ac_configure_args0 " in
+-              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+-            esac
+-            ;;
+-          -* ) ac_must_keep_next=true ;;
+-        esac
++      case $ac_arg in
++        *=* | --config-cache | -C | -disable-* | --disable-* \
++        | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
++        | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
++        | -with-* | --with-* | -without-* | --without-* | --x)
++          case "$ac_configure_args0 " in
++            "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
++          esac
++          ;;
++        -* ) ac_must_keep_next=true ;;
++      esac
+       fi
+       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+       # Get rid of the leading space.
+@@ -1034,12 +1067,12 @@ _ASBOX
+     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+     *ac_space=\ *)
+       sed -n \
+-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+-        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
++      "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
++        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+       ;;
+     *)
+       sed -n \
+-        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
++      "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+       ;;
+     esac;
+ }
+@@ -1068,7 +1101,7 @@ _ASBOX
+       for ac_var in $ac_subst_files
+       do
+       eval ac_val=$`echo $ac_var`
+-        echo "$ac_var='"'"'$ac_val'"'"'"
++      echo "$ac_var='"'"'$ac_val'"'"'"
+       done | sort
+       echo
+     fi
+@@ -1087,7 +1120,7 @@ _ASBOX



Home | Main Index | Thread Index | Old Index