Subject: pkg/11892: problem with sendfile package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kalt@taranis.org>
List: netbsd-bugs
Date: 01/04/2001 12:42:13
>Number:         11892
>Category:       pkg
>Synopsis:       config problem + DEINSTALL script is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 04 12:42:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Christophe Kalt
>Release:        1.5.1_ALPHA snapshot
>Organization:
	
>Environment:
	
System: NetBSD bzz.taranis.org 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (bzz) #0: Tue Nov 21 18:38:23 EST 2000 kalt@bzz.taranis.org:/usr/home/kalt/NetBSD/syssrc-1.5/sys/arch/sparc/compile/bzz sparc


>Description:

# strings /usr/pkg/sbin/sendfiled | grep sendmail
/usr/lib/sendmail %s
/usr/lib/sendmail -t
# pkg_delete sendfile
./+DEINSTALL: 23: Syntax error: EOF in backquote substitution
pkg_delete: deinstall script returned error status

>How-To-Repeat:
simply install sendfile from pkgsrc
>Fix:

the sendmail thing can easily be fixed by setting the env
variable SENDMAIL to /usr/sbin/sendmail before building sendfile

--- pkg/DEINSTALL       Sat Sep  9 15:51:44 2000
+++ /tmp/DEINSTALL      Thu Jan  4 15:33:29 2001
@@ -10,7 +10,7 @@
 
 If you won't be using sendfile any longer, do the following:
 
- o remove the `saft' lines from /etc/services and /etc/inetd.conf;
+ o remove the "saft" lines from /etc/services and /etc/inetd.conf;
    restart inetd.
  o remove the check_sendfile lines from /etc/profile and /etc/csh.login
  o remove the directory /var/spool/sendfile and its contents
>Release-Note:
>Audit-Trail:
>Unformatted: