diff options
author | osa <osa@FreeBSD.org> | 2003-06-20 11:34:36 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-06-20 11:34:36 +0000 |
commit | c1d68bb6da81cb4daa16ed492e269436db6819ab (patch) | |
tree | dc141b56117155567f2a0de6dfaf6026ea47c51c | |
parent | 9c73977e1b0cb459eca9e72d6acb3dce27e2e38a (diff) | |
download | FreeBSD-ports-c1d68bb6da81cb4daa16ed492e269436db6819ab.zip FreeBSD-ports-c1d68bb6da81cb4daa16ed492e269436db6819ab.tar.gz |
Add portmon - network service monitoring daemon
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
PR: 53502
Approved by: fjoe (mentor) (implicit)
-rw-r--r-- | net-mgmt/portmon/Makefile | 36 | ||||
-rw-r--r-- | net-mgmt/portmon/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/portmon/files/patch-extras::portmon.8 | 10 | ||||
-rw-r--r-- | net-mgmt/portmon/pkg-descr | 7 | ||||
-rw-r--r-- | net-mgmt/portmon/pkg-plist | 4 | ||||
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/portmon/Makefile | 36 | ||||
-rw-r--r-- | net/portmon/distinfo | 1 | ||||
-rw-r--r-- | net/portmon/files/patch-extras::portmon.8 | 10 | ||||
-rw-r--r-- | net/portmon/pkg-descr | 7 | ||||
-rw-r--r-- | net/portmon/pkg-plist | 4 |
11 files changed, 117 insertions, 0 deletions
diff --git a/net-mgmt/portmon/Makefile b/net-mgmt/portmon/Makefile new file mode 100644 index 0000000..cb635c8 --- /dev/null +++ b/net-mgmt/portmon/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: portmon +# Date created: 18.06.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= portmon +PORTVERSION= 1.8 +CATEGORIES= net +MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Daemon that monitor network services + +GNU_CONFIGURE= yes + +MAN8= portmon.8 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ + ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/extras/portmon.8 \ + ${PREFIX}/man/man8 + ${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \ + ${PREFIX}/etc + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net-mgmt/portmon/distinfo b/net-mgmt/portmon/distinfo new file mode 100644 index 0000000..5d1fb68 --- /dev/null +++ b/net-mgmt/portmon/distinfo @@ -0,0 +1 @@ +MD5 (portmon-1.8.tar.gz) = 86cc4498e6d9221fd22477bef74ed423 diff --git a/net-mgmt/portmon/files/patch-extras::portmon.8 b/net-mgmt/portmon/files/patch-extras::portmon.8 new file mode 100644 index 0000000..d71fb2f --- /dev/null +++ b/net-mgmt/portmon/files/patch-extras::portmon.8 @@ -0,0 +1,10 @@ +--- extras/portmon.8.orig Thu Jun 19 17:36:11 2003 ++++ extras/portmon.8 Thu Jun 19 17:41:11 2003 +@@ -1,6 +1,6 @@ + .\" manpage for portmon + .\" by Nik Reiman, <nik@aboleo.net> +-.TH PORTMON 1 "1 March 2002" ++.TH PORTMON 8 "1 March 2002" + .SH NAME + portmon \- Network service monitoring daemon + .SH SYNOPSIS diff --git a/net-mgmt/portmon/pkg-descr b/net-mgmt/portmon/pkg-descr new file mode 100644 index 0000000..49b08d0 --- /dev/null +++ b/net-mgmt/portmon/pkg-descr @@ -0,0 +1,7 @@ +Portmon is a network service monitoring daemon. Portmon +basically uses a list of hosts and port numbers, and tries to +connect to each host on the list at a regular time interval. It +is a lightweight program, and requires no software to be +installed on the machines one wishes to monitor. + +WWW: http://www.aboleo.net/software/portmon diff --git a/net-mgmt/portmon/pkg-plist b/net-mgmt/portmon/pkg-plist new file mode 100644 index 0000000..38ad7ee --- /dev/null +++ b/net-mgmt/portmon/pkg-plist @@ -0,0 +1,4 @@ +bin/portmon +etc/portmon.hosts.sample +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/net/Makefile b/net/Makefile index f2abe2c..b883462 100644 --- a/net/Makefile +++ b/net/Makefile @@ -524,6 +524,7 @@ SUBDIR += poptop SUBDIR += pork SUBDIR += portfwd + SUBDIR += portmon SUBDIR += posadis SUBDIR += powerdns SUBDIR += pppload diff --git a/net/portmon/Makefile b/net/portmon/Makefile new file mode 100644 index 0000000..cb635c8 --- /dev/null +++ b/net/portmon/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: portmon +# Date created: 18.06.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= portmon +PORTVERSION= 1.8 +CATEGORIES= net +MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Daemon that monitor network services + +GNU_CONFIGURE= yes + +MAN8= portmon.8 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ + ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/extras/portmon.8 \ + ${PREFIX}/man/man8 + ${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \ + ${PREFIX}/etc + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net/portmon/distinfo b/net/portmon/distinfo new file mode 100644 index 0000000..5d1fb68 --- /dev/null +++ b/net/portmon/distinfo @@ -0,0 +1 @@ +MD5 (portmon-1.8.tar.gz) = 86cc4498e6d9221fd22477bef74ed423 diff --git a/net/portmon/files/patch-extras::portmon.8 b/net/portmon/files/patch-extras::portmon.8 new file mode 100644 index 0000000..d71fb2f --- /dev/null +++ b/net/portmon/files/patch-extras::portmon.8 @@ -0,0 +1,10 @@ +--- extras/portmon.8.orig Thu Jun 19 17:36:11 2003 ++++ extras/portmon.8 Thu Jun 19 17:41:11 2003 +@@ -1,6 +1,6 @@ + .\" manpage for portmon + .\" by Nik Reiman, <nik@aboleo.net> +-.TH PORTMON 1 "1 March 2002" ++.TH PORTMON 8 "1 March 2002" + .SH NAME + portmon \- Network service monitoring daemon + .SH SYNOPSIS diff --git a/net/portmon/pkg-descr b/net/portmon/pkg-descr new file mode 100644 index 0000000..49b08d0 --- /dev/null +++ b/net/portmon/pkg-descr @@ -0,0 +1,7 @@ +Portmon is a network service monitoring daemon. Portmon +basically uses a list of hosts and port numbers, and tries to +connect to each host on the list at a regular time interval. It +is a lightweight program, and requires no software to be +installed on the machines one wishes to monitor. + +WWW: http://www.aboleo.net/software/portmon diff --git a/net/portmon/pkg-plist b/net/portmon/pkg-plist new file mode 100644 index 0000000..38ad7ee --- /dev/null +++ b/net/portmon/pkg-plist @@ -0,0 +1,4 @@ +bin/portmon +etc/portmon.hosts.sample +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |