[mbrowse] INITIAL CHECK-IN

Volker Fröhlich volter at fedoraproject.org
Sun Oct 9 14:53:58 UTC 2011


commit a62067d7087c82238426bdd4ddd94f44842838f3
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Sun Oct 9 16:53:26 2011 +0200

    INITIAL CHECK-IN

 .gitignore      |    1 +
 mbrowse.1       |   72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mbrowse.desktop |    8 ++++++
 mbrowse.spec    |   57 +++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 5 files changed, 139 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ea90ae3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mbrowse-0.4.3.tar.gz
diff --git a/mbrowse.1 b/mbrowse.1
new file mode 100644
index 0000000..287f758
--- /dev/null
+++ b/mbrowse.1
@@ -0,0 +1,72 @@
+.TH MBROWSE 1 "August, 25 2003"
+
+.SH NAME
+mbrowse \- SNMP MIB browser and query tool
+.SH SYNOPSIS
+.B mbrowse
+.SH DESCRIPTION
+This manual page documents briefly the
+.B mbrowse
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBmbrowse\fP is a SNMP MIB browser tool. It relies on GTK+ and
+net-snmp. It is able to display as a tree view the content of a MIB, and
+to query MIB objects on any machine through get, set and walk methods.
+
+It includes a search function, bookmarking of MIB entries, ability to
+support additional MIBs, ...
+
+Once mbrowse is open, it displays the MIB tree. You can browse this tree
+like any other one. Once you have selected a MIB object, you can get
+details about it by going in the \fIDetails\fP page. Its SNMP identifier
+is also update on the fly in the \fIObject Identifier\fP field. You can
+also directly enter the object identifier, and the tree will be browsed
+to the right place.
+
+To query a SNMP object, select it, enter the host name (IP address or
+DNS entry) of the machine you want to query in the right field. Also
+enter the read community to \fIget\fP or \fIwalk\fP a value, and the
+write community to \fIset\fP it. Click on the right button and the
+objects and their values will be displayed.
+
+By clicking the \fISearch\fP page, you can search MIb entries by MIB
+name or description.
+
+In the \fIOptions\fP page, you can set a few general options: whether to
+save the session on exit of the program, set the style of the tree view,
+the version of SNMP to use, and a few SNMP-related values.
+
+You can also use bookmarks to quickly find SNMP objects. Select the
+object you want to save, and click on \fIAdd Bookmark\fP in the
+\fIBookmark\fP menu. You will be prompted a name and the bookmark will
+be added to the menu. You can now click it to be positioned on the
+object back. To delete a bookmark, click on \fIDelete Bookmark\fP, and
+then, click on the bookmark to delete.
+
+You can also import MIBs at runtime, by clicking \fIOpen MIB\fP in the
+\fIFile\fP menu. Select the MIB file in the dialog box and the values
+contained in the file will be integrated in the tree view.
+For this MIB to be automatically opened at startup, you must put the MIB
+file in net-nsmp MIB files directory (usually \fI/usr/share/snmp/mibs\fP
+on Debian [and also on Fedora]). Mbrowse will open the MIB at its next startup.
+
+.SH OPTIONS
+This program takes no options
+.SH SEE ALSO
+.BR snmpget (1),
+.BR snmpwalk (1).
+.BR snmpset (1).
+.SH AUTHOR
+This manual page was written by Clément Stenac <zorglub at via.ecp.fr>,
+for the Debian GNU/Linux project (but may be used by others).
+
+Added comment on MIB path for Fedora and removed two typos
+-- Volker Fröhlich <volker27 at gmx.at>
+.PP
+mbrowse was written by Aaron Hodgen
+
diff --git a/mbrowse.desktop b/mbrowse.desktop
new file mode 100644
index 0000000..bad6448
--- /dev/null
+++ b/mbrowse.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Mbrowse
+GenericName=SNMP MIB browser
+Comment=Browse your SNMP MIB files
+Exec=mbrowse
+Terminal=false
+Type=Application
+Categories=Network;Monitor;
diff --git a/mbrowse.spec b/mbrowse.spec
new file mode 100644
index 0000000..2b81cfd
--- /dev/null
+++ b/mbrowse.spec
@@ -0,0 +1,57 @@
+Name:           mbrowse
+Version:        0.4.3
+Release:        3%{?dist}
+Summary:        GUI SNMP MIB browser
+Group:          Applications/Internet
+
+# The website only states "GPL", the files don't mention anything.
+# Asking Jakub Drnec via e-mail, he declared it GPLv2+.
+License:        GPLv2+
+URL:            http://sourceforge.net/projects/mbrowse/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}.desktop
+Source2:        %{name}.1
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk2-devel
+BuildRequires:  net-snmp-devel
+
+%description
+Mbrowse is a graphical SNMP MIB browser based on GTK+ and net-snmp.
+
+%prep
+%setup -q
+
+
+%build
+%configure --with-snmp-lib=%{_libdir}
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+desktop-file-install --dir %{buildroot}%{_datadir}/applications \
+        %{SOURCE1}
+
+# Install Debian manpage
+mkdir -p %{buildroot}%{_mandir}/man1
+install -pm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1
+
+
+%files
+%doc AUTHORS ChangeLog COPYING TODO
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_mandir}/man1/%{name}.1.*
+
+
+%changelog
+* Sun Oct 09 2011 Volker Fröhlich <volker27 at gmx.at> - 0.4.3-3
+- Change category in desktop file
+
+* Sun Sep 11 2011 Volker Fröhlich <volker27 at gmx.at> - 0.4.3-2
+- Add Debian manpage
+
+* Wed May 18 2011 Volker Fröhlich <volker27 at gmx.at> - 0.4.3-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..e428c58 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9857a88d2e6246384587350a647e605d  mbrowse-0.4.3.tar.gz


More information about the scm-commits mailing list