$OpenBSD: patch-configure,v 1.9 2010/01/12 19:06:06 okan Exp $ --- configure.orig Mon Feb 23 16:23:35 2009 +++ configure Mon Jan 4 12:01:38 2010 @@ -3178,61 +3178,8 @@ fi USERNAME=$with_username { echo "$as_me:$LINENO: result: $USERNAME" >&5 echo "${ECHO_T}$USERNAME" >&6; } +MAILMAN_USER=$with_username -# User `mailman' must exist - -{ echo "$as_me:$LINENO: checking for user name \"$USERNAME\"" >&5 -echo $ECHO_N "checking for user name \"$USERNAME\"... $ECHO_C" >&6; } - -# MAILMAN_USER == variable name -# $USERNAME == user id to check for - - -if test -z "$MAILMAN_USER" -then - cat > conftest.py <&5 -echo "$as_me: error: -***** No \"$USERNAME\" user found! -***** Your system must have a \"$USERNAME\" user defined -***** (usually in your /etc/passwd file). Please see the INSTALL -***** file for details." >&2;} - { (exit 1); exit 1; }; } - fi -fi -{ echo "$as_me:$LINENO: result: okay" >&5 -echo "${ECHO_T}okay" >&6; } - - # Check for some other gid to use than `mailman' { echo "$as_me:$LINENO: checking for --with-groupname" >&5 echo $ECHO_N "checking for --with-groupname... $ECHO_C" >&6; } @@ -3250,61 +3197,7 @@ fi GROUPNAME=$with_groupname { echo "$as_me:$LINENO: result: $GROUPNAME" >&5 echo "${ECHO_T}$GROUPNAME" >&6; } - - -# Target group must exist - -{ echo "$as_me:$LINENO: checking for group name \"$GROUPNAME\"" >&5 -echo $ECHO_N "checking for group name \"$GROUPNAME\"... $ECHO_C" >&6; } - -# MAILMAN_GROUP == variable name -# $GROUPNAME == user id to check for - - -if test -z "$MAILMAN_GROUP" -then - cat > conftest.py <&5 -echo "$as_me: error: -***** No \"$GROUPNAME\" group found! -***** Your system must have a \"$GROUPNAME\" group defined -***** (usually in your /etc/group file). Please see the INSTALL -***** file for details." >&2;} - { (exit 1); exit 1; }; } - fi -fi -{ echo "$as_me:$LINENO: result: okay" >&5 -echo "${ECHO_T}okay" >&6; } - +MAILMAN_GROUP=$with_groupname { echo "$as_me:$LINENO: checking permissions on $prefixcheck" >&5 echo $ECHO_N "checking permissions on $prefixcheck... $ECHO_C" >&6; }