3258c54477
- No need for /usr/lib/sasl2 anymore: INSTALL script removed, DEINSTALL script tuned. - Removed auto* tools dependencies by providing patch files for generated configure and Makefile.in. - Use ${PKGDIR} instead of ${.CURDIR} for PLIST_SRC files. - `--with-rc4' does not need an argument. - Use BUILDLINK_PREFIX.whatever instead of BUILDLINK_DIR. - Fix GSSAPI build for non-current NetBSD, this includes patch-ag removal. - Fix PLIST handling by providing PLIST.post (lib/sasl2 removal at deinstall time) and fixing PLIST.common (include/sasl removal at deinstall time). - Bump BUILDLINK_DEPENDS.cyrus-sasl in buildlink2.mk. - Work around problem introduced by LTCONFIG_OVERRIDE and direct usage of ac_cv_can_build_shared in configure.in as suggested by Nick Hudson. Remove patch-ab (sasl-config is gone btw, it was not needed anyway). This should fix plugins shared libs problem as reported -among other- in PR pkg/19001 by Stephen Degler <sdegler at degler dot net>.
22 lines
472 B
Bash
22 lines
472 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: DEINSTALL,v 1.2 2002/11/14 22:21:13 seb Exp $
|
|
|
|
SASLDB=@PKG_SYSCONFDIR@/sasldb.db
|
|
SASLSOCKETDIR=@SASLSOCKETDIR@
|
|
|
|
case ${STAGE} in
|
|
POST-DEINSTALL)
|
|
${RM} -rf ${SASLSOCKETDIR}
|
|
if [ -e ${SASLDB} ]
|
|
then
|
|
${CAT} << EOF
|
|
===========================================================================
|
|
You may want to remove the SASL password data file:
|
|
|
|
${SASLDB}
|
|
===========================================================================
|
|
EOF
|
|
fi
|
|
;;
|
|
esac
|