summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-29 17:16:40 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-01 09:00:29 +0700
commit02a95d1933cbb8ac5a3c3e4a420110b708cb4253 (patch)
tree333a62043b70c60cb03955e581dc51d84d66161b /network
parentcd14ccb5c8373c6b49a458298b33b0cb60d4269e (diff)
downloadslackbuilds-02a95d1933cbb8ac5a3c3e4a420110b708cb4253.tar.gz
network/qtmib: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network')
-rw-r--r--network/qtmib/README16
-rw-r--r--network/qtmib/qtmib.SlackBuild18
-rw-r--r--network/qtmib/qtmib.info4
-rw-r--r--network/qtmib/slack-desc8
4 files changed, 25 insertions, 21 deletions
diff --git a/network/qtmib/README b/network/qtmib/README
index 99453f2198..37f97e181a 100644
--- a/network/qtmib/README
+++ b/network/qtmib/README
@@ -1,8 +1,10 @@
-qtmib is an easy-to-use SNMP MIB Browser based on QT4 library. It is build as
-a front-end for net-snmp, and it allows the user to query any SNMP-enabled
-device. It implements SNMPv1 and SNMPv2c, and it is released under GPL v2
-license.
+qtmib (graphical SNMP MIB Browser)
-qtmib supports out of the box a large number of MIBs. We are currently
-tracking netdisco MIB archive. You can also install private MIBs by dropping
-them in ~/.config/qtmib/mibs directory.
+qtmib is an easy-to-use SNMP MIB Browser based on the Qt4 library. It is a
+front-end for net-snmp, and it allows the user to query any SNMP-enabled
+device. It implements SNMPv1 and SNMPv2c, and it is released under the
+GPLv2 license.
+
+qtmib supports a large number of MIBs out of the box. It currently tracks
+the netdisco MIB archive. You can also install private MIBs by dropping
+them in the ~/.config/qtmib/mibs directory.
diff --git a/network/qtmib/qtmib.SlackBuild b/network/qtmib/qtmib.SlackBuild
index 4a46a07f17..c1ac26ce26 100644
--- a/network/qtmib/qtmib.SlackBuild
+++ b/network/qtmib/qtmib.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for qtmib
# Copyright (c) 2017 LEVAI Daniel
+# Copyright (c) 2020 B. Watson
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -25,6 +26,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200129 bkw:
+# - take over maintenance
+# - actually use SLKCFLAGS
+# - grammar nitpicks in README, slack-desc
+
PRGNAM=qtmib
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
@@ -66,12 +72,10 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
@@ -81,9 +85,7 @@ find -L . \
sed -i "s|share/man|man|g" Makefile
make
make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+strip $PKG/usr/bin/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README RELNOTES $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/qtmib/qtmib.info b/network/qtmib/qtmib.info
index a831307154..d82bc975e6 100644
--- a/network/qtmib/qtmib.info
+++ b/network/qtmib/qtmib.info
@@ -6,5 +6,5 @@ MD5SUM="1715ae9c88e1f0d355f9a93b3248455e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/network/qtmib/slack-desc b/network/qtmib/slack-desc
index 3272299757..b38ac5aeef 100644
--- a/network/qtmib/slack-desc
+++ b/network/qtmib/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-qtmib: qtmib (an easy-to-use SNMP MIB Browser)
+qtmib: qtmib (graphical SNMP MIB Browser)
qtmib:
-qtmib: qtmib is an easy-to-use SNMP MIB Browser based on QT4 library. It is
-qtmib: build as a front-end for net-snmp, and it allows the user to query any
+qtmib: qtmib is an easy-to-use SNMP MIB Browser based on the Qt4 library. It
+qtmib: is a front-end for net-snmp, and it allows the user to query any
qtmib: SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is
-qtmib: released under GPL v2 license.
+qtmib: released under the GPLv2 license.
qtmib:
qtmib: Homepage: http://qtmib.sourceforge.net/
qtmib: