summaryrefslogtreecommitdiff
path: root/net/netname
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-02-26 22:58:20 +0000
committerkim <kim@pkgsrc.org>1999-02-26 22:58:20 +0000
commit68a3dfb028753c3b3a3de1d6712e2caae3ea7da1 (patch)
tree9616f6364eee963d877584af404789e82af4ada3 /net/netname
parent8b3804a31fedd3bd03ec9af3dc7fb83d8fb1ee9b (diff)
downloadpkgsrc-68a3dfb028753c3b3a3de1d6712e2caae3ea7da1.tar.gz
netname 1.6 (get canonical name of host)
Diffstat (limited to 'net/netname')
-rw-r--r--net/netname/Makefile14
-rw-r--r--net/netname/files/md53
-rw-r--r--net/netname/patches/patch-aa13
-rw-r--r--net/netname/pkg/COMMENT1
-rw-r--r--net/netname/pkg/DESCR3
-rw-r--r--net/netname/pkg/PLIST3
6 files changed, 37 insertions, 0 deletions
diff --git a/net/netname/Makefile b/net/netname/Makefile
new file mode 100644
index 00000000000..9905113e18d
--- /dev/null
+++ b/net/netname/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/26 22:58:20 kim Exp $
+#
+
+DISTNAME= netname-1.6
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
+
+MAINTAINER= kim@tac.nyc.ny.us
+
+WRKSRC= ${WRKDIR}/netname
+ALL_TARGET= netbsd
+INSTALL_TARGET= inst-all
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/netname/files/md5 b/net/netname/files/md5
new file mode 100644
index 00000000000..f4380161737
--- /dev/null
+++ b/net/netname/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/26 22:58:20 kim Exp $
+
+MD5 (netname-1.6.tar.gz) = a5319b07de57a78335c907ce2484180a
diff --git a/net/netname/patches/patch-aa b/net/netname/patches/patch-aa
new file mode 100644
index 00000000000..cb531c95d25
--- /dev/null
+++ b/net/netname/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/26 22:58:21 kim Exp $
+
+--- Makefile.orig Mon Sep 23 19:45:25 1996
++++ Makefile Fri Feb 26 17:53:50 1999
+@@ -9,7 +9,7 @@
+ MV = mv -f
+ INSTALL = install
+
+-DEST = /usr/local
++DEST = $(PREFIX)
+ BINDIR = $(DEST)/bin
+ MANDIR = $(DEST)/man/man$(MANEXT)
+ MANEXT = 1
diff --git a/net/netname/pkg/COMMENT b/net/netname/pkg/COMMENT
new file mode 100644
index 00000000000..a98b4cff2fd
--- /dev/null
+++ b/net/netname/pkg/COMMENT
@@ -0,0 +1 @@
+return the canonical network name of a host
diff --git a/net/netname/pkg/DESCR b/net/netname/pkg/DESCR
new file mode 100644
index 00000000000..b205faea7d0
--- /dev/null
+++ b/net/netname/pkg/DESCR
@@ -0,0 +1,3 @@
+netname returns the canonical network name of the given
+host on the standard output. If no host is given, the
+name of the local machine is used.
diff --git a/net/netname/pkg/PLIST b/net/netname/pkg/PLIST
new file mode 100644
index 00000000000..2a190ea38ba
--- /dev/null
+++ b/net/netname/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/26 22:58:20 kim Exp $
+bin/netname
+man/man1/netname.1