updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mailman-pgp-smime / mailman-userfix.patch
blob602212c520e2d0c626ef56d8865829eaa0ff48dc
1 diff -ruN mailman-2.1.13.orig/configure.in mailman-pgp-smime-2.1.13/configure.in
2 --- mailman-2.1.13.orig/configure.in 2010-11-17 20:21:00.214301817 +0100
3 +++ mailman-2.1.13/configure.in 2010-11-17 20:23:18.826627379 +0100
4 @@ -368,66 +368,11 @@
5 changequote([, ])
6 rm -f conftest.out conftest.py])
8 -# Check for some other uid to use than `mailman'
9 -AC_MSG_CHECKING(for --with-username)
10 -AC_ARG_WITH(username, dnl
11 -[ --with-username specify a user name other than \"mailman\"])
13 -if test -z "$with_username"
14 -then
15 - with_username="mailman"
16 -fi
17 -USERNAME=$with_username
18 -AC_MSG_RESULT($USERNAME)
20 -# User `mailman' must exist
21 +MAILMAN_USER="mailman"
22 AC_SUBST(MAILMAN_USER)
23 -AC_MSG_CHECKING(for user name \"$USERNAME\")
24 -MM_FIND_USER_NAME(MAILMAN_USER, $USERNAME)
25 -if test -z "$MAILMAN_USER"
26 -then
27 - if test "$with_permcheck" = "yes"
28 - then
29 - AC_MSG_ERROR([
30 -***** No \"$USERNAME\" user found!
31 -***** Your system must have a \"$USERNAME\" user defined
32 -***** (usually in your /etc/passwd file). Please see the INSTALL
33 -***** file for details.])
34 - fi
35 -fi
36 -AC_MSG_RESULT(okay)
39 -# Check for some other gid to use than `mailman'
40 -AC_MSG_CHECKING(for --with-groupname)
41 -AC_ARG_WITH(groupname, dnl
42 -[ --with-groupname specify a group name other than \"mailman\"])
44 -if test -z "$with_groupname"
45 -then
46 - with_groupname="mailman"
47 -fi
48 -GROUPNAME=$with_groupname
49 -AC_MSG_RESULT($GROUPNAME)
52 -# Target group must exist
53 +MAILMAN_GROUP="mailman"
54 AC_SUBST(MAILMAN_GROUP)
55 -AC_MSG_CHECKING(for group name \"$GROUPNAME\")
56 -MM_FIND_GROUP_NAME(MAILMAN_GROUP, $GROUPNAME)
57 -if test -z "$MAILMAN_GROUP"
58 -then
59 - if test "$with_permcheck" = "yes"
60 - then
61 - AC_MSG_ERROR([
62 -***** No \"$GROUPNAME\" group found!
63 -***** Your system must have a \"$GROUPNAME\" group defined
64 -***** (usually in your /etc/group file). Please see the INSTALL
65 -***** file for details.])
66 - fi
67 -fi
68 -AC_MSG_RESULT(okay)
71 AC_MSG_CHECKING(permissions on $prefixcheck)
72 changequote(,)