diff options
author | Chris Rees <crees@FreeBSD.org> | 2011-06-21 16:00:53 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2011-06-21 16:00:53 +0000 |
commit | 2b3a95fed8de8a5b9c6875c53e199a4663ec999f (patch) | |
tree | a08b19ca1968c5a519c9232c0d00f53fdce0bd29 /mail/mailman/files/patch-configure-in | |
parent | SSLScan is a fast SSL port scanner. SSLScan connects to SSL ports and determines (diff) |
Let's try this one again.
- Stop touching files outside WRKDIR before install
- Use USERS and GROUPS -- this time via patch [1]
- Change BROKEN to IGNORE fo incorrect OPTIONS choices
- Use @stopdaemon
PR: ports/157868
Submitted by: Guido Falsi <mad@madpilot.net>
Approved by: rene (mentor)
Notes
Notes:
svn path=/head/; revision=276006
Diffstat (limited to 'mail/mailman/files/patch-configure-in')
-rw-r--r-- | mail/mailman/files/patch-configure-in | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/mail/mailman/files/patch-configure-in b/mail/mailman/files/patch-configure-in new file mode 100644 index 000000000000..e8ccfcfa5115 --- /dev/null +++ b/mail/mailman/files/patch-configure-in @@ -0,0 +1,70 @@ + +$FreeBSD$ + +Mailman tests for existence of users during configure -- unfortunately +this creates a problem; we create the users just before install. + +We remove the testing part. + +--- configure.in.bak 2010-09-20 19:18:27.000000000 +0100 ++++ configure.in 2011-06-14 20:20:29.209438957 +0100 +@@ -311,28 +311,7 @@ + # $2 == user id to check for + AC_SUBST($1) + changequote(,) +-if test -z "$$1" +-then +- cat > conftest.py <<EOF +-import grp +-gid = '' +-for group in "$2".split(): +- try: +- try: +- gname = grp.getgrgid(int(group))[0] +- break +- except ValueError: +- gname = grp.getgrnam(group)[0] +- break +- except KeyError: +- gname = '' +-fp = open("conftest.out", "w") +-fp.write("%s\n" % gname) +-fp.close() +-EOF +- $PYTHON conftest.py +- $1=`cat conftest.out` +-fi ++$1=$2 + changequote([, ]) + rm -f conftest.out conftest.py]) + +@@ -343,28 +322,7 @@ + # $2 == user id to check for + AC_SUBST($1) + changequote(,) +-if test -z "$$1" +-then +- cat > conftest.py <<EOF +-import pwd +-uid = '' +-for user in "$2".split(): +- try: +- try: +- uname = pwd.getpwuid(int(user))[0] +- break +- except ValueError: +- uname = pwd.getpwnam(user)[0] +- break +- except KeyError: +- uname = '' +-fp = open("conftest.out", "w") +-fp.write("%s\n" % uname) +-fp.close() +-EOF +- $PYTHON conftest.py +- $1=`cat conftest.out` +-fi ++$1=$2 + changequote([, ]) + rm -f conftest.out conftest.py]) + |