Subject: pkg/11892: problem with sendfile package
To: None <>
From: None <>
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
>Originator:     Christophe Kalt
>Release:        1.5.1_ALPHA snapshot
System: NetBSD 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (bzz) #0: Tue Nov 21 18:38:23 EST 2000 sparc


# 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

simply install sendfile from pkgsrc

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