summaryrefslogtreecommitdiff
path: root/news/trn/patches
diff options
context:
space:
mode:
authorwiz <wiz>2000-03-18 19:51:31 +0000
committerwiz <wiz>2000-03-18 19:51:31 +0000
commit088824626df1a9084d008345a9be17c46e8ea62f (patch)
tree7aaecc0ccafd5eb92408be72c2a413d3b6911686 /news/trn/patches
parent4ff578d11329b618ed36cd5329536915cc3eb776 (diff)
downloadpkgsrc-088824626df1a9084d008345a9be17c46e8ea62f.tar.gz
Use nntpclnt or inn instead of trn's own inews (so that admins only have to
configure one inews). Also use 'share' instead of 'lib'. Pointed out and cross-checked by Kimmo Suominen <kim@tac.nyc.ny.us>.
Diffstat (limited to 'news/trn/patches')
-rw-r--r--news/trn/patches/patch-ac4
-rw-r--r--news/trn/patches/patch-ad18
2 files changed, 20 insertions, 2 deletions
diff --git a/news/trn/patches/patch-ac b/news/trn/patches/patch-ac
index c2cb1798bed..81a770c1d02 100644
--- a/news/trn/patches/patch-ac
+++ b/news/trn/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1 2000/02/16 18:47:17 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2000/03/18 19:51:33 wiz Exp $
--- Configure.orig Mon Sep 21 00:50:59 1998
+++ Configure Sun Jan 16 06:50:36 2000
@@ -7,7 +7,7 @@ $NetBSD: patch-ac,v 1.1 2000/02/16 18:47:17 wiz Exp $
;;
*) case "$d_inews" in
- '') dflt="$prefix/bin";;
-+ '') dflt="$prefix/libexec/trn";;
++ '') dflt=none;;
"$define")
set dflt installinews bin
eval $prefixit
diff --git a/news/trn/patches/patch-ad b/news/trn/patches/patch-ad
new file mode 100644
index 00000000000..0ed9c7b145b
--- /dev/null
+++ b/news/trn/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2000/03/18 19:51:33 wiz Exp $
+
+--- Pnews.SH.orig Sun Jan 17 20:01:22 1999
++++ Pnews.SH Sat Mar 18 13:47:13 2000
+@@ -911,7 +911,12 @@
+ esac
+
+ case $orgname in
+-/*) orgname=`$cat $orgname` ;;
++/*) if $test -r $orgname; then
++ orgname=`$cat $orgname`
++ else
++ orgname=""
++ fi
++ ;;
+ esac
+
+ $sed -e '/^Reply-To: $/d' > $tmpart <<EOHeader