pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail qmail's queue is expected to work just fine...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b2d9284b57f
branches:  trunk
changeset: 398289:1b2d9284b57f
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 15 16:11:58 2019 +0000

description:
qmail's queue is expected to work just fine on a case-insensitive FS.
Remove the INSTALL check and warning.

diffstat:

 mail/qmail/INSTALL |  27 +--------------------------
 1 files changed, 1 insertions(+), 26 deletions(-)

diffs (51 lines):

diff -r 61d509188031 -r 1b2d9284b57f mail/qmail/INSTALL
--- a/mail/qmail/INSTALL        Mon Jul 15 16:06:19 2019 +0000
+++ b/mail/qmail/INSTALL        Mon Jul 15 16:11:58 2019 +0000
@@ -1,4 +1,4 @@
-# $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@
@@ -6,24 +6,9 @@
 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 @@
                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



Home | Main Index | Thread Index | Old Index