pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/mutt When the mailpath is group-writable and not ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7932d310f740
branches: trunk
changeset: 505221:7932d310f740
user: ben <ben%pkgsrc.org@localhost>
date: Sun Jan 01 13:28:02 2006 +0000
description:
When the mailpath is group-writable and not world-writable, the
configure script sets bin/mutt_dotlock to install setgid mail. Interix
installs the mail spool directory group writable and not world-writable,
however the group is +Administrators. Interix does not install a group
named mail, which causes the mutt install to fail.
Fix this by replacing group mail with group +Administrators.
diffstat:
mail/mutt/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r aeb945779758 -r 7932d310f740 mail/mutt/Makefile
--- a/mail/mutt/Makefile Sun Jan 01 12:58:59 2006 +0000
+++ b/mail/mutt/Makefile Sun Jan 01 13:28:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2005/12/29 06:21:51 jlam Exp $
+# $NetBSD: Makefile,v 1.133 2006/01/01 13:28:02 ben Exp $
DISTNAME= mutt-1.4.2.1i
PKGNAME= ${DISTNAME:C/i$//}
@@ -37,6 +37,14 @@
CONFIGURE_ENV+= ac_cv_header_inttypes_h=no
.endif
+.if ${OPSYS} == "Interix"
+SUBST_CLASSES+= mgroup
+SUBST_MESSAGE.mgroup= "Configuring mail group."
+SUBST_STAGE.mgroup= post-patch
+SUBST_FILES.mgroup= configure
+SUBST_SED.mgroup= -e "s,DOTLOCK_GROUP='mail',DOTLOCK_GROUP='+Administrators',"
+.endif
+
# There is a problem using /bin/sh on old NetBSD releases, so use /bin/ksh
# there.
#
Home |
Main Index |
Thread Index |
Old Index