Subject: pkg/6966: slrn uses /usr/lib/sendmail
To: None <gnats-bugs@gnats.netbsd.org>
From: None <torppa@staff.megabaud.fi>
List: netbsd-bugs
Date: 02/08/1999 17:05:52
>Number:         6966
>Category:       pkg
>Synopsis:       slrn uses /usr/lib/sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  8 07:20:00 1999
>Last-Modified:
>Originator:     Jarkko Torppa
>Organization:
 Jarkko Torppa                torppa@staff.megabaud.fi
  Megabaud Internet-palvelut
>Release:        1.3.3
>Environment:
	
System: NetBSD polykoira.megabaud.fi 1.3.3 NetBSD 1.3.3 (POLY) #4: Tue Feb 2 21:47:09 EET 1999 root@:/usr/src/sys/arch/i386/compile/POLY i386


>Description:
slrn package tries to use /usr/lib/sendmail when replying to newsarticle.
>How-To-Repeat:
try to reply to newsarticle with default settings
>Fix:

Replace patches/patch-ac ($NetBSD: patch-ac,v 1.1.1.1 1998/10/31 21:09:13 hwr Exp $) with this:

$NetBSD$
--- src/slrnfeat.h.orig	Tue Sep  8 15:59:21 1998
+++ src/slrnfeat.h	Mon Feb  8 16:28:53 1999
@@ -7,10 +7,10 @@
  * NOTE: if you intend to use slrnpull, make sure you enable SPOOL_SUPPORT
  *       in addition to PULL_SUPPORT.
  */
-#define SLRN_HAS_PULL_SUPPORT	1
+#define SLRN_HAS_PULL_SUPPORT	0
 #define SLRN_HAS_NNTP_SUPPORT	1
-#define SLRN_HAS_SPOOL_SUPPORT	1
-#define SLRN_HAS_INEWS_SUPPORT	1
+#define SLRN_HAS_SPOOL_SUPPORT	0
+#define SLRN_HAS_INEWS_SUPPORT	0
 /* Set this to 1 to force the user to use INEWS for posting.  This also means
  * that slrn will use the hardcoded inews program pathname.
  */
@@ -48,7 +48,7 @@
 #define SLRN_HAS_SLANG		1
 
 /* Set this to 0 if you do not want slrn to generate message-id header. */
-#define SLRN_HAS_GEN_MSGID	1
+#define SLRN_HAS_GEN_MSGID	0
 
 /* If you want mapping ISO Latin <--> native character set, set this to 1.
  * Supported character sets: isolatin, ibm850, and next
@@ -196,7 +196,7 @@
 #   define SLRN_ARTICLE_FILENAME	".article"
 #   define SLRN_FOLLOWUP_FILENAME	".followup"
 #   define SLRN_SIGNATURE_FILE		".signature"
-#   define SLRN_SENDMAIL_COMMAND	"/usr/lib/sendmail -oi -t -oem -odb"
+#   define SLRN_SENDMAIL_COMMAND	"/usr/sbin/sendmail -oi -t -oem -odb"
 #   ifndef SLRN_LIB_DIR
 #    define SLRN_LIB_DIR		"/usr/local/lib/slrn"
 #   endif

>Audit-Trail:
>Unformatted: