Skip to content
Permalink
Browse files

qmail's queue is expected to work just fine on a case-insensitive FS.

Remove the INSTALL check and warning.
  • Loading branch information...
schmonz committed Jul 15, 2019
1 parent ed40221 commit 2c359b3317afe61a91be9889d0ca3bda5a5aa202
Showing with 1 addition and 26 deletions.
  1. +1 −26 mail/qmail/INSTALL
@@ -1,29 +1,14 @@
# $NetBSD: INSTALL,v 1.14 2018/12/04 17:01:39 schmonz Exp $
# $NetBSD: INSTALL,v 1.15 2019/07/15 16:11:58 schmonz Exp $

DOCDIR=@DOCDIR@
EGDIR=@EGDIR@
PKGMANDIR=@PKGMANDIR@
QMAILDIR=@QMAILDIR@
QMAIL_QUEUE_DIR=@QMAIL_QUEUE_DIR@
QMAIL_QUEUE_EXTRA=@QMAIL_QUEUE_EXTRA@
WC=@WC@

VAR_QMAIL_DIRS="alias bin boot control doc man queue users"

is_queue_fs_case_sensitive() {
cd ${QMAIL_QUEUE_DIR}
${MKDIR} pkgsrc
${TOUCH} pkgsrc/case-check pkgsrc/case-CHECK
count=$(${ECHO} pkgsrc/case-* | ${WC} -w)
${RM} -f pkgsrc/case-*
${RMDIR} pkgsrc
if [ ${count} -eq 2 ]; then
return 0
else
return 1
fi
}

case ${STAGE} in

PRE-INSTALL)
@@ -55,16 +40,6 @@ EOF
exit 1
fi

if ! is_queue_fs_case_sensitive; then
${CAT} <<EOF
===========================================================================

WARNING: QMAIL_QUEUE_DIR is on a case-insensitive filesystem.

===========================================================================
EOF
fi

# keep in sync with Makefile:pre-install
${LN} -s ${PKG_SYSCONFDIR}/alias ${QMAILDIR}/alias
${LN} -s ${PREFIX}/bin ${QMAILDIR}/bin

0 comments on commit 2c359b3

Please sign in to comment.
You can’t perform that action at this time.