aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nsc
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-04-06 00:27:53 +0800
committerdirk <dirk@FreeBSD.org>2001-04-06 00:27:53 +0800
commitab992ab0f50ca8d6448a504112b3e91671064e78 (patch)
tree3a059ad42d1c3110aaafea8cab67de99cc4e05ab /net-mgmt/nsc
parent9bbd1f62fcc36a212089a73abc0d3ffa56f70212 (diff)
downloadfreebsd-ports-gnome-ab992ab0f50ca8d6448a504112b3e91671064e78.tar.gz
freebsd-ports-gnome-ab992ab0f50ca8d6448a504112b3e91671064e78.tar.zst
freebsd-ports-gnome-ab992ab0f50ca8d6448a504112b3e91671064e78.zip
nsc-0.50c - Netsaint Console monitor.
Diffstat (limited to 'net-mgmt/nsc')
-rw-r--r--net-mgmt/nsc/Makefile24
-rw-r--r--net-mgmt/nsc/distinfo1
-rw-r--r--net-mgmt/nsc/files/patch-aa21
-rw-r--r--net-mgmt/nsc/pkg-comment1
-rw-r--r--net-mgmt/nsc/pkg-descr5
-rw-r--r--net-mgmt/nsc/pkg-plist1
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