aboutsummaryrefslogtreecommitdiff
path: root/net/apinger/patches
diff options
context:
space:
mode:
authorAlex Samorukov <samm@os2.kiev.ua>2015-04-08 17:07:52 +0000
committerAlex Samorukov <samm@os2.kiev.ua>2015-04-08 17:07:52 +0000
commit11e83c69281842975db5c49664f20c1c2d08441a (patch)
tree8030f8c5fb1839745623778ad0cd54829cacbf18 /net/apinger/patches
parentf64a24267c7b27a80170e2d3cbeae0dc1b786e81 (diff)
apinger: add apinger package
Alarm Pinger (apinger) is a little tool which monitors various IP devices by simple ICMP echo requests. There are various other tools, that can do this, but most of them are shell or perl scripts, spawning many processes, thus much CPU-expensive, especially when one wants continuous monitoring and fast response on target failure. Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
Diffstat (limited to 'net/apinger/patches')
-rw-r--r--net/apinger/patches/001-autoreconf.patch13
-rw-r--r--net/apinger/patches/002-run_as_user.patch11
-rw-r--r--net/apinger/patches/003-no_docs.patch11
3 files changed, 35 insertions, 0 deletions
diff --git a/net/apinger/patches/001-autoreconf.patch b/net/apinger/patches/001-autoreconf.patch
new file mode 100644
index 000000000..cb5bd454d
--- /dev/null
+++ b/net/apinger/patches/001-autoreconf.patch
@@ -0,0 +1,13 @@
+--- apinger-0.6.1/acinclude.m4 2003-10-21 12:44:48.000000000 +0000
++++ apinger-0.6.1/acinclude.m4 2015-04-08 15:27:37.451903960 +0000
+@@ -39,9 +39,7 @@
+ [$jk_inet_includes
+ $jk_icmp_includes])
+
+-AC_CHECK_MEMBERS([struct icmp.icmp_type, struct icmp.icmp_code,\
+-struct icmp.icmp_cksum, struct icmp.icmp_seq,\
+-struct icmp.icmp_id],[],
++AC_CHECK_MEMBERS([struct icmp.icmp_type, struct icmp.icmp_code,struct icmp.icmp_cksum, struct icmp.icmp_seq,struct icmp.icmp_id],[],
+ AC_MSG_ERROR(struct icmp not defined or not compatible),
+ [$jk_inet_includes
+ $jk_icmp_includes])
diff --git a/net/apinger/patches/002-run_as_user.patch b/net/apinger/patches/002-run_as_user.patch
new file mode 100644
index 000000000..16d64acc5
--- /dev/null
+++ b/net/apinger/patches/002-run_as_user.patch
@@ -0,0 +1,11 @@
+--- apinger-0.6.1/src/apinger.conf.orig 2015-04-08 16:05:24.558919722 +0000
++++ apinger-0.6.1/src/apinger.conf 2015-04-08 16:07:47.089170236 +0000
+@@ -9,7 +9,7 @@
+
+ ## User and group the pinger should run as
+ user "nobody"
+-group "nobody"
++group "nogroup"
+
+ ## Mailer to use (default: "/usr/lib/sendmail -t")
+ #mailer "/var/qmail/bin/qmail-inject"
diff --git a/net/apinger/patches/003-no_docs.patch b/net/apinger/patches/003-no_docs.patch
new file mode 100644
index 000000000..c08f44de7
--- /dev/null
+++ b/net/apinger/patches/003-no_docs.patch
@@ -0,0 +1,11 @@
+--- apinger-0.6.1/Makefile.am.orig 2015-04-08 16:47:40.999990050 +0000
++++ apinger-0.6.1/Makefile.am 2015-04-08 16:48:07.565220137 +0000
+@@ -1,7 +1,7 @@
+
+ EXTRA_DIST = autogen.sh TODO BUGS
+
+-SUBDIRS = src doc
++SUBDIRS = src
+
+ .PHONY: ChangeLog
+