author | zihao.zhu@oracle.com <zihao.zhu@oracle.com> |
Tue, 18 Oct 2016 14:50:09 -0700 | |
changeset 7123 | b650e07ff9f6 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
2089 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
21 |
|
2089 | 22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
23 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
25 |
BUILD_BITS= 64 |
2089 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= mailman |
|
29 |
COMPONENT_VERSION= 2.1.18-1 |
|
30 |
IPS_COMPONENT_VERSION= 2.1.18.1 |
|
31 |
COMPONENT_PROJECT_URL= http://www.list.org/ |
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
|
33 |
COMPONENT_ARCHIVE_HASH= sha256:ce70ed8b58d719cab80758f39a7258c0a28f8e8e859facdaa8c29add620a5c2c |
|
34 |
||
35 |
TPNO= 18736 |
|
36 |
||
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
37 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/gnu-component.mk |
2089 | 39 |
|
40 |
CONFIGURE_ENV += MAILMAN_USER=mailman |
|
41 |
CONFIGURE_ENV += MAILMAN_GROUP=mailman |
|
42 |
||
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
43 |
CONFIGURE_PREFIX= $(USRLIBDIR)/mailman |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
44 |
CONFIGURE_OPTIONS += --with-var-prefix=$(VARDIR)/mailman |
2201
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
45 |
CONFIGURE_OPTIONS += --with-mail-gid=other |
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
46 |
CONFIGURE_OPTIONS += --with-cgi-gid=webservd |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5125
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --with-python=$(PYTHON.2.7) |
2201
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --without-permcheck |
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --with-mailhost=localhost |
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --with-urlhost=localhost |
2089 | 51 |
|
3898
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
52 |
# Copy generated file to proto area. Then py-compile several files that are |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
53 |
# used as modules in a devious way. |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
54 |
COMPONENT_POST_INSTALL_ACTION= \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
55 |
($(CP) $(BUILD_DIR_64)/Mailman/Defaults.py \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
56 |
$(PROTOUSRLIBDIR)/mailman/Mailman/ ; \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
57 |
$(PYTHON.2.7) -m py_compile $(PROTOUSRLIBDIR)/mailman/*/paths.py \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
58 |
$(PROTOUSRLIBDIR)/mailman/Mailman/Defaults.py) |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
59 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
60 |
REQUIRED_PACKAGES += library/python/dnspython-27 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
61 |
REQUIRED_PACKAGES += runtime/python-27 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
62 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
64 |
REQUIRED_PACKAGES += system/network |