diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-04-05 16:27:53 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-04-05 16:27:53 +0000 |
commit | 6b8216a241f137cf6ad2b02e2ab22497c68090d0 (patch) | |
tree | 37f57320e19b64878cec27d1d37053da2b10c68c /net-mgmt/nsc | |
parent | 76244d4d83cfe812006aeba0032532d2eb41fb98 (diff) | |
download | ports-6b8216a241f137cf6ad2b02e2ab22497c68090d0.tar.gz ports-6b8216a241f137cf6ad2b02e2ab22497c68090d0.zip |
Notes
Diffstat (limited to 'net-mgmt/nsc')
-rw-r--r-- | net-mgmt/nsc/Makefile | 24 | ||||
-rw-r--r-- | net-mgmt/nsc/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/nsc/files/patch-aa | 21 | ||||
-rw-r--r-- | net-mgmt/nsc/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/nsc/pkg-descr | 5 | ||||
-rw-r--r-- | net-mgmt/nsc/pkg-plist | 1 |
6 files changed, 53 insertions, 0 deletions
diff --git a/net-mgmt/nsc/Makefile b/net-mgmt/nsc/Makefile new file mode 100644 index 000000000000..e9f35e9aa8a7 --- /dev/null +++ b/net-mgmt/nsc/Makefile @@ -0,0 +1,24 @@ +# ports collection makefile for: nsc +# Date created: Tue Apr 3 14:25:48 CEST 2001 +# Whom: Dirk Froemberg <dirk@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nsc +PORTVERSION= 0.50c +CATEGORIES= net +MASTER_SITES= http://www.goth.dk/~goth/nsc/ + +MAINTAINER= dirk@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/i386-freebsd/Curses.pm:${PORTSDIR}/devel/p5-Curses + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +do-install: + ${PERL} -i -pe 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/nsc.pl + ${INSTALL_SCRIPT} ${WRKSRC}/nsc.pl ${PREFIX}/bin/nsc + +.include <bsd.port.mk> diff --git a/net-mgmt/nsc/distinfo b/net-mgmt/nsc/distinfo new file mode 100644 index 000000000000..539a7fcbb8c1 --- /dev/null +++ b/net-mgmt/nsc/distinfo @@ -0,0 +1 @@ +MD5 (nsc-0.50c.tar.gz) = 9a75d49f65808e185b40e9f8e50abe01 diff --git a/net-mgmt/nsc/files/patch-aa b/net-mgmt/nsc/files/patch-aa new file mode 100644 index 000000000000..435a97d1bf54 --- /dev/null +++ b/net-mgmt/nsc/files/patch-aa @@ -0,0 +1,21 @@ +--- nsc.pl.orig Mon Mar 6 19:07:46 2000 ++++ nsc.pl Tue Apr 3 14:41:23 2001 +@@ -1,4 +1,4 @@ +-#!/bin/perl -w ++#!%%PERL%% -w + # vim:aw: + + # nsc.pl - curses-based console monitor for Netsaint +@@ -41,9 +41,9 @@ + my $fnConfig = "$ENV{'HOME'}/.nsc.conf"; + + my %NSC_KEYWORDS = ( +- 'nslog', '/usr/local/netsaint/var/status.log', +- 'hostcfg', '/usr/local/netsaint/etc/hosts.cfg', +- 'reloadcmd','/etc/rc.d/init.d/netsaint reload', ++ 'nslog', '%%PREFIX%%/var/netsaint/status.log', ++ 'hostcfg', '%%PREFIX%%/etc/netsaint/hosts.cfg', ++ 'reloadcmd','%%PREFIX%%/etc/rc.d/netsaint.sh reload', + 'showall', '1', + 'details', '1', + 'reverse', '0', diff --git a/net-mgmt/nsc/pkg-comment b/net-mgmt/nsc/pkg-comment new file mode 100644 index 000000000000..a4c5a26a06f5 --- /dev/null +++ b/net-mgmt/nsc/pkg-comment @@ -0,0 +1 @@ +Netsaint Console monitor diff --git a/net-mgmt/nsc/pkg-descr b/net-mgmt/nsc/pkg-descr new file mode 100644 index 000000000000..cbaaf4b1c770 --- /dev/null +++ b/net-mgmt/nsc/pkg-descr @@ -0,0 +1,5 @@ +nsc is a curses-based console monitor for Netsaint. It allows you +to monitor Netsaint services without the expense or availability +of a GUI. + +WWW: http://www.goth.dk/~goth/nsc/ diff --git a/net-mgmt/nsc/pkg-plist b/net-mgmt/nsc/pkg-plist new file mode 100644 index 000000000000..fee2153c25d3 --- /dev/null +++ b/net-mgmt/nsc/pkg-plist @@ -0,0 +1 @@ +bin/nsc |