tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

QMAILDIR wart



When building qmail-related packages, they break if QMAILDIR (e.g. /var/qmail) exists. This causes problems in bulk builds if a builder has already attempted to install a qmail-related package:

  https://github.com/NetBSD/pkgsrc/blob/trunk/mail/qmail/INSTALL#L11-L25

pbulk has this wart in client-clean:

  rm -rf ${cur_destdir}${varbase}/qmail 2> /dev/null || true

and I've had to add a similar hook to bob to stop lots of packages failing inside clean build sandboxes.

Can we not just clean up /var/qmail properly on DEINSTALL or similar? It feels wrong to have to hardcode this manual rm -rf everywhere else.

Thanks,

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index