pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/xymonclient Ignore 'linsysfs' filesystem on FreeBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f88aecd37e8
branches:  trunk
changeset: 371198:4f88aecd37e8
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Thu Jan 06 11:53:26 2022 +0000

description:
Ignore 'linsysfs' filesystem on FreeBSD

diffstat:

 net/xymonclient/Makefile                                    |   4 +-
 net/xymonclient/distinfo                                    |   3 +-
 net/xymonclient/patches/patch-client_xymonclient-freebsd.sh |  22 +++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r fcddbd1720c1 -r 4f88aecd37e8 net/xymonclient/Makefile
--- a/net/xymonclient/Makefile  Thu Jan 06 11:26:17 2022 +0000
+++ b/net/xymonclient/Makefile  Thu Jan 06 11:53:26 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.26 2021/03/14 14:26:12 spz Exp $
+# $NetBSD: Makefile,v 1.27 2022/01/06 11:53:26 hauke Exp $
 #
 
 DISTNAME=              xymon-${PKGVERSION}
 PKGNAME=               xymonclient-${PKGVERSION}
 PKGVERSION=            4.3.30
-#PKGREVISION=          0
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=xymon/}
 
diff -r fcddbd1720c1 -r 4f88aecd37e8 net/xymonclient/distinfo
--- a/net/xymonclient/distinfo  Thu Jan 06 11:26:17 2022 +0000
+++ b/net/xymonclient/distinfo  Thu Jan 06 11:53:26 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:07:13 nia Exp $
+$NetBSD: distinfo,v 1.21 2022/01/06 11:53:26 hauke Exp $
 
 BLAKE2s (xymon-4.3.30.tar.gz) = 03a385a0e32188d4ca6fdbaa55bbb92d053ec706ee70ca0bcf483c3f5611a85f
 SHA512 (xymon-4.3.30.tar.gz) = f3f16ff55293d7d76cb0355151a82545a2b1ad708b59c031640c240379807228dca4ffa9c48a4e20ab75e270bda18b7306ea165b65eb18c9c6471b395fda7b62
@@ -21,6 +21,7 @@
 SHA1 (patch-build_Makefile.SunOS) = 71d134a30825a2d36fbb17731e722c89c79da807
 SHA1 (patch-build_Makefile.generic) = e96d5ee29630c9133caebfa752880be90726607c
 SHA1 (patch-client_logfetch.c) = f99fa015fe597bfb37f1d288c4e5e3b99b65397d
+SHA1 (patch-client_xymonclient-freebsd.sh) = 6993a6251b1d3dec2817f30ce2b05ffd8cc3485b
 SHA1 (patch-client_xymonclient-netbsd.sh) = 739a201806144ef0e34c1f668ad3a4d9e2b9f9fb
 SHA1 (patch-common_Makefile) = 32b7da06cd9d22f98ee0f83bb36ed6441c066707
 SHA1 (patch-configure) = 305a74a2383dcd37ea93456272d4254483023aa5
diff -r fcddbd1720c1 -r 4f88aecd37e8 net/xymonclient/patches/patch-client_xymonclient-freebsd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/xymonclient/patches/patch-client_xymonclient-freebsd.sh       Thu Jan 06 11:53:26 2022 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-client_xymonclient-freebsd.sh,v 1.1 2022/01/06 11:53:26 hauke Exp $
+
+Add linsysfs to filesystems whose 'level of filling' is uninteresting
+
+--- client/xymonclient-freebsd.sh.orig 2015-12-16 15:13:03.000000000 +0000
++++ client/xymonclient-freebsd.sh
+@@ -22,13 +22,13 @@ echo "[who]"
+ who
+ echo "[df]"
+ # The sed stuff is to make sure lines are not split into two.
+-df -H -tnonfs,nullfs,cd9660,procfs,devfs,linprocfs,fdescfs | sed -e '/^[^     ][^     ]*$/{
++df -H -tnonfs,nullfs,cd9660,procfs,devfs,linprocfs,linsysfs,fdescfs | sed -e '/^[^    ][^     ]*$/{
+ N
+ s/[   ]*\n[   ]*/ /
+ }'
+ echo "[inode]"
+ # The sed stuff is to make sure lines are not split into two.
+-df -i -tnonfs,nullfs,cd9660,procfs,devfs,linprocfs,fdescfs | sed -e '/^[^     ][^     ]*$/{
++df -i -tnonfs,nullfs,cd9660,procfs,devfs,linprocfs,linsysfs,fdescfs | sed -e '/^[^    ][^     ]*$/{
+ N
+ s/[   ]*\n[   ]*/ /
+ }' | awk '



Home | Main Index | Thread Index | Old Index