author | Sean Wilcox <sean.wilcox@oracle.com> |
Tue, 20 Oct 2015 05:38:14 -0700 | |
changeset 4983 | db2589571faa |
parent 4339 | 6501cf9c29f9 |
child 5125 | 34cc580c62c2 |
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 |
# |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
21 |
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2089 | 22 |
# |
23 |
include ../../make-rules/shared-macros.mk |
|
24 |
||
25 |
COMPONENT_NAME= mailman |
|
26 |
COMPONENT_VERSION= 2.1.18-1 |
|
27 |
IPS_COMPONENT_VERSION= 2.1.18.1 |
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 |
COMPONENT_PROJECT_URL= http://www.list.org/ |
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
|
31 |
COMPONENT_ARCHIVE_HASH= sha256:ce70ed8b58d719cab80758f39a7258c0a28f8e8e859facdaa8c29add620a5c2c |
|
32 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
|
33 |
COMPONENT_BUGDB= utility/mailman |
|
34 |
||
35 |
TPNO= 18736 |
|
36 |
||
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
37 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/ips.mk |
2089 | 40 |
|
41 |
CONFIGURE_ENV += MAILMAN_USER=mailman |
|
42 |
CONFIGURE_ENV += MAILMAN_GROUP=mailman |
|
43 |
||
2201
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
44 |
CONFIGURE_OPTIONS += --prefix=/usr/lib/mailman |
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-var-prefix=/var/mailman |
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-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
|
47 |
CONFIGURE_OPTIONS += --with-cgi-gid=webservd |
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 += --with-python=/usr/bin/python2.7 |
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 += --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
|
50 |
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
|
51 |
CONFIGURE_OPTIONS += --with-urlhost=localhost |
861310b6f3b2
20009471 mailman binaries are 32-bit despite $(BUILD_64) in its Makefile
John Beck <John.Beck@Oracle.COM>
parents:
2089
diff
changeset
|
52 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
2089 | 53 |
|
54 |
ASLR_MODE = $(ASLR_ENABLE) |
|
55 |
||
3898
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
56 |
# 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
|
57 |
# 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
|
58 |
COMPONENT_POST_INSTALL_ACTION= \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
59 |
($(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
|
60 |
$(PROTOUSRLIBDIR)/mailman/Mailman/ ; \ |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
61 |
$(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
|
62 |
$(PROTOUSRLIBDIR)/mailman/Mailman/Defaults.py) |
acd7f120a52a
20632171 Mailman should publish its .pyc files
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
63 |
|
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2201
diff
changeset
|
64 |
configure: $(CONFIGURE_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2201
diff
changeset
|
65 |
|
2089 | 66 |
build: $(BUILD_64) |
67 |
||
68 |
install: $(INSTALL_64) |
|
69 |
||
70 |
test: $(NO_TESTS) |
|
71 |
||
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3898
diff
changeset
|
72 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3898
diff
changeset
|
73 |
|
2089 | 74 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files |
75 |
||
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
76 |
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
|
77 |
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
|
78 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
79 |
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
|
80 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
81 |
REQUIRED_PACKAGES += system/network |