Subject: pkg/23735: pkgsrc sendmail does not handle non-pkg files during update
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 12/13/2003 15:45:19
>Synopsis: When updating pkgsrc sendmail,
>Arrival-Date: Sat Dec 13 20:46:00 UTC 2003
>Originator: John Klos
>Release: NetBSD 1.6.1_STABLE
System: NetBSD lain.ziaspace.com 1.6.1_STABLE NetBSD 1.6.1_STABLE (LAIN-$Revision: 1.631 $) #0: Mon Oct 20 16:46:18 EDT 2003 email@example.com:/usr/src/sys/arch/macppc/compile/LAIN macppc
When one file was left in /usr/local/share/sendmail/feature, the following happened
from make update:
mailwrapper configuration file. The command below will do that for you:
ln -fs /usr/local/share/examples/sendmail/mailer.conf /etc/mailer.conf
ls: /usr/local/share/sendmail/README: No such file or directory
ls: /usr/local/share/sendmail/cf/Build: No such file or directory
ls: /usr/local/share/sendmail/cf/Makefile: No such file or directory
ls: /usr/local/share/sendmail/cf/chez.cs.mc: No such file or directory
ls: /usr/local/share/sendmail/cf/clientproto.mc: No such file or directory
ls: /usr/local/share/sendmail/cf/cs-hpux10.mc: No such file or directory
Full pathname symlink `/usr/local/libexec/sendmail/sendmail' is target of
`/usr/local/bin/purgestat' - adjusting to `../libexec/sendmail/sendmail'
pkg_create: can't stat `/usr/local/share/sendmail/README'
pkg_create: can't stat `/usr/local/share/sendmail/cf/Build'
pkg_create: can't stat `/usr/local/share/sendmail/cf/Makefile'
pkg_create: can't stat `/usr/local/share/sendmail/cf/chez.cs.mc'
pkg_create: can't stat `/usr/local/share/sendmail/cf/clientproto.mc'
Install pkgsrc/sendmail. Copy a file into /usr/(local pkg)/share/sendmail/feature/.
Run a "make update".
Fix the package.
if any files are left in any install directory, installation blows up.