aboutsummaryrefslogtreecommitdiff
path: root/news/nn/pkg-install
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-29 21:57:14 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-29 21:57:14 +0000
commit53f454c3aa3065647af8af895deab3ea02ec4015 (patch)
tree90ada417bea1baec84114131bdf7a1492429c568 /news/nn/pkg-install
parent6ffcd801bfcf7871b6aa1c3b3637605ebf4d3ebb (diff)
Notes
Diffstat (limited to 'news/nn/pkg-install')
-rw-r--r--news/nn/pkg-install60
1 files changed, 60 insertions, 0 deletions
diff --git a/news/nn/pkg-install b/news/nn/pkg-install
new file mode 100644
index 000000000000..49cbe7dd84ab
--- /dev/null
+++ b/news/nn/pkg-install
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+if [ "x$2" != "xPOST-INSTALL" ]; then
+ exit
+fi
+
+cat << xxENDxx
+*******************************************************************
+You have just installed the $1 package
+
+Please set your NNTP server address or hostname in the file:
+
+xxENDxx
+
+echo "${PKG_PREFIX}/etc/nntp_server"
+echo ""
+
+cat << xxENDxx
+If desired, please set your domain name for From: addresses when
+posting in the file (default is to use your hostname):
+
+xxENDxx
+
+echo "${PKG_PREFIX}/etc/nntp_domain"
+echo ""
+
+cat << xxENDxx
+*******************************************************************
+xxENDxx
+
+if [ ! -f ${PKG_PREFIX}/etc/nntp_server ]; then
+ cat << xxENDxx > ${PKG_PREFIX}/etc/nntp_server
+# nntp_server: Configuration file for NN newsreader
+#
+# Set your NNTP server address or hostname in this file.
+#
+# If this file is left blank, NN will use the server set in the
+# NNTP_SERVER environment variable.
+#
+# news.myisp.com
+xxENDxx
+fi
+
+if [ ! -f ${PKG_PREFIX}/etc/nntp_domain ]; then
+ cat << xxENDxx > ${PKG_PREFIX}/etc/nntp_domain
+# nntp_domain: Configuration file for NN newsreader
+#
+# Set the default domain name portion of user e-mail addresses as you
+# would like them to appear in the From: line of articles posted
+# with NN.
+#
+# For example, setting the name to foobar.com in this file will cause
+# the From: line for joeuser to look like something like this:
+#
+# From: joeuser@foobar.com (Joe User)
+#
+# If this file is left blank, NN will use the hostname of this
+# computer as the From: domain name.
+xxENDxx
+fi