Print local system news items
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
Hi Hokan, I have attached an updated shar for your review, but would like your comments. - Used do-install target using ports to handle installation of binary and man page Port version doesn't match the version of the software ===> Registering installation for news-1.2 [jhelfman@dormouse ~/workspace/ports/sysutils/news]$ news -v news: version 1.1 Additionally, when invoking the program after it is installed with any option other that to get the version, you will receive the following error: news: cannot open '/usr/local/news'. I suggest to add creating this directory when the port is installed in a pkg-install file, or handle separately in the Makefile, and in a pkg-plist file. Is there an official website for this software? If so it should be added to the pkg-descr. Also, how do you actually configure this software and run it. I would like to see what it actually does. Thanks, Jason -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh
Hello Jason, Thanks so much for your help and suggestions! I'm returning a new shar with some changes: I've fixed a 12-year-old bug with the version number. I moved the default location of news. I don't know why the original author picked /usr/local/news when the UNIX systems he was emulating have the location at /var/news. An additional problem with /usr/local/news I just realized, it that it is used by some usenet servers. I created /var/news and populated it with a sample news item. There is no website for the program. I've updated the pkg-descr and, with that and the sample news item it should be more obvious what this thing does. And just FYI, here's a man page from True64 about a program with similar function: http://nixdoc.net/man-pages/Tru64/man1/news.1.html and for Solaris: http://manpages.unixforum.co.uk/man-pages/unix/solaris-10-11_06/1/news-man-page.html and Irix: http://nixdoc.net/man-pages/IRIX/news.1.html HP-UX: http://nixdoc.net/man-pages/hp-ux/man1/news.1.html It seems to be often the case (and certainly in our case) that /var/news (or whatever) is replaced by a link to a network mounted location shared by all local systems. On Tue, Jan 24, 2012 at 01:48:14PM -0800, Jason Helfman wrote: > Hi Hokan, > > I have attached an updated shar for your review, but would like your > comments. > > - Used do-install target using ports to handle installation of binary and > man page > > Port version doesn't match the version of the software > > ===> Registering installation for news-1.2 > [jhelfman@dormouse ~/workspace/ports/sysutils/news]$ news -v > news: version 1.1 > > Additionally, when invoking the program after it is installed with any > option other that to get the version, you will receive the following error: > > news: cannot open '/usr/local/news'. > > I suggest to add creating this directory when the port is installed in a > pkg-install file, or handle separately in the Makefile, and in a pkg-plist > file. > > Is there an official website for this software? If so it should be added to > the pkg-descr. > > Also, how do you actually configure this software and run it. I would like > to see what it actually does.
jgh 2012-02-16 18:06:06 UTC FreeBSD ports repository Modified files: sysutils Makefile Added files: sysutils/news Makefile distinfo pkg-descr pkg-plist Log: Add new port: (sysutils/news) News is used to read and maintain news relevant to a local system. Typically it is run from the .login script so it can automatically check for any new news items. If it finds any, it will report, "You have news: item1 item2 etc..." No website for software PR: ports/164456 Submitted by: Hokan <hokan at me.umn.edu> Revision Changes Path 1.1381 +1 -0 ports/sysutils/Makefile 1.1 +42 -0 ports/sysutils/news/Makefile (new) 1.1 +2 -0 ports/sysutils/news/distinfo (new) 1.1 +20 -0 ports/sysutils/news/pkg-descr (new) 1.1 +6 -0 ports/sysutils/news/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed New port added, with minor changes. Thanks!