3919
|
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 |
#
|
|
21 |
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
|
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 |
|
|
37 |
include ../../make-rules/prep.mk
|
|
38 |
include ../../make-rules/configure.mk
|
|
39 |
include ../../make-rules/ips.mk
|
|
40 |
|
|
41 |
CONFIGURE_ENV += MAILMAN_USER=mailman
|
|
42 |
CONFIGURE_ENV += MAILMAN_GROUP=mailman
|
|
43 |
|
|
44 |
CONFIGURE_OPTIONS += --prefix=/usr/lib/mailman
|
|
45 |
CONFIGURE_OPTIONS += --with-var-prefix=/var/mailman
|
|
46 |
CONFIGURE_OPTIONS += --with-mail-gid=other
|
|
47 |
CONFIGURE_OPTIONS += --with-cgi-gid=webservd
|
|
48 |
CONFIGURE_OPTIONS += --with-python=/usr/bin/python2.7
|
|
49 |
CONFIGURE_OPTIONS += --without-permcheck
|
|
50 |
CONFIGURE_OPTIONS += --with-mailhost=localhost
|
|
51 |
CONFIGURE_OPTIONS += --with-urlhost=localhost
|
|
52 |
|
|
53 |
ASLR_MODE = $(ASLR_ENABLE)
|
|
54 |
|
|
55 |
# common targets
|
|
56 |
build: $(BUILD_64)
|
|
57 |
|
|
58 |
install: $(INSTALL_64)
|
|
59 |
|
|
60 |
test: $(NO_TESTS)
|
|
61 |
|
|
62 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
|
|
63 |
|
|
64 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
|
|
65 |
|
|
66 |
include ../../make-rules/depend.mk
|