pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/news Import news:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4abfb7d7b4f
branches:  trunk
changeset: 480785:b4abfb7d7b4f
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon Sep 20 21:16:06 2004 +0000

description:
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@localhost> following the manual page from an IRIX system.

diffstat:

 sysutils/news/DESCR    |  10 ++++++++++
 sysutils/news/Makefile |  16 ++++++++++++++++
 sysutils/news/PLIST    |   3 +++
 sysutils/news/distinfo |   4 ++++
 4 files changed, 33 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r df805d335782 -r b4abfb7d7b4f sysutils/news/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/news/DESCR       Mon Sep 20 21:16:06 2004 +0000
@@ -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@localhost> following the manual page from an IRIX system.
diff -r df805d335782 -r b4abfb7d7b4f sysutils/news/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/news/Makefile    Mon Sep 20 21:16:06 2004 +0000
@@ -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@localhost
+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 -r df805d335782 -r b4abfb7d7b4f sysutils/news/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/news/PLIST       Mon Sep 20 21:16:06 2004 +0000
@@ -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 -r df805d335782 -r b4abfb7d7b4f sysutils/news/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/news/distinfo    Mon Sep 20 21:16:06 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index