summaryrefslogtreecommitdiff
path: root/sysutils/news
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-09-20 21:16:06 +0000
committerjschauma <jschauma>2004-09-20 21:16:06 +0000
commit60ef555b08f919ef0072a5a0ceda2bd739316cd5 (patch)
treedcd663a194ef53be2dc232701ea42f789993cbff /sysutils/news
parentb69a217b93b3dadd665a470ec9527d1d8db52c83 (diff)
downloadpkgsrc-60ef555b08f919ef0072a5a0ceda2bd739316cd5.tar.gz
Import news:
The news utility prints news items stored in /var/news. When invoked without any arguments, news prints the name and timestamp of each current item followed by its contents, most recent first. An item is considered ``current'' if it has a modification time newer than the file ~/.news_time, a file that news creates if it does not exist. If that file does exist, news will update the timestamp on that file each time it is run. This version of the System V news utility was written by Jan Schaumann <jschauma@NetBSD.org> following the manual page from an IRIX system.
Diffstat (limited to 'sysutils/news')
-rw-r--r--sysutils/news/DESCR10
-rw-r--r--sysutils/news/Makefile16
-rw-r--r--sysutils/news/PLIST3
-rw-r--r--sysutils/news/distinfo4
4 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/news/DESCR b/sysutils/news/DESCR
new file mode 100644
index 00000000000..b8890e3cdfc
--- /dev/null
+++ b/sysutils/news/DESCR
@@ -0,0 +1,10 @@
+The news utility prints news items stored in /var/news. When invoked
+without any arguments, news prints the name and timestamp of each current
+item followed by its contents, most recent first. An item is considered
+``current'' if it has a modification time newer than the file
+~/.news_time, a file that news creates if it does not exist. If that
+file does exist, news will update the timestamp on that file each time it
+is run.
+
+This version of the System V news utility was written by Jan Schaumann
+<jschauma@NetBSD.org> following the manual page from an IRIX system.
diff --git a/sysutils/news/Makefile b/sysutils/news/Makefile
new file mode 100644
index 00000000000..39ac3aa38d0
--- /dev/null
+++ b/sysutils/news/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/20 21:16:06 jschauma Exp $
+#
+
+DISTNAME= news-0.1
+CATEGORIES= sysutils
+MASTER_SITES= http://www.netmeister.org/apps/
+
+MAINTAINER= jschauma@NetBSD.org
+HOMEPAGE= http://www.netmeister.org/
+COMMENT= System V news(1)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/news ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/news.1 ${PREFIX}/man/man1/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/news/PLIST b/sysutils/news/PLIST
new file mode 100644
index 00000000000..51e08f1e9ca
--- /dev/null
+++ b/sysutils/news/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/20 21:16:06 jschauma Exp $
+bin/news
+man/man1/news.1
diff --git a/sysutils/news/distinfo b/sysutils/news/distinfo
new file mode 100644
index 00000000000..68b57bea411
--- /dev/null
+++ b/sysutils/news/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/20 21:16:06 jschauma Exp $
+
+SHA1 (news-0.1.tar.gz) = add1736cb5b139dd2f0e11792d256cd9fdddb2fc
+Size (news-0.1.tar.gz) = 3738 bytes