3169N/A#
3169N/A# CDDL HEADER START
3169N/A#
3169N/A# The contents of this file are subject to the terms of the
3169N/A# Common Development and Distribution License (the "License").
3169N/A# You may not use this file except in compliance with the License.
3169N/A#
3169N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3169N/A# or http://www.opensolaris.org/os/licensing.
3169N/A# See the License for the specific language governing permissions
3169N/A# and limitations under the License.
3169N/A#
3169N/A# When distributing Covered Code, include this CDDL HEADER in each
3169N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3169N/A# If applicable, add the following below this CDDL HEADER, with the
3169N/A# fields enclosed by brackets "[]" replaced with your own identifying
3169N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3169N/A#
3169N/A# CDDL HEADER END
3169N/A#
5680N/A
3169N/A#
5680N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64
3169N/Ainclude ../../make-rules/shared-macros.mk
3169N/A
3169N/ACOMPONENT_NAME= mailman
3169N/ACOMPONENT_VERSION= 2.1.18-1
3169N/AIPS_COMPONENT_VERSION= 2.1.18.1
3169N/ACOMPONENT_PROJECT_URL= http://www.list.org/
3169N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
3169N/ACOMPONENT_ARCHIVE_HASH= sha256:ce70ed8b58d719cab80758f39a7258c0a28f8e8e859facdaa8c29add620a5c2c
3169N/A
3169N/ATPNO= 18736
3169N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
3169N/A
3169N/ACONFIGURE_ENV += MAILMAN_USER=mailman
3169N/ACONFIGURE_ENV += MAILMAN_GROUP=mailman
3169N/A
5680N/ACONFIGURE_PREFIX= $(USRLIBDIR)/mailman
5680N/ACONFIGURE_OPTIONS += --with-var-prefix=$(VARDIR)/mailman
3436N/ACONFIGURE_OPTIONS += --with-mail-gid=other
3436N/ACONFIGURE_OPTIONS += --with-cgi-gid=webservd
5680N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON.2.7)
3436N/ACONFIGURE_OPTIONS += --without-permcheck
3436N/ACONFIGURE_OPTIONS += --with-mailhost=localhost
3436N/ACONFIGURE_OPTIONS += --with-urlhost=localhost
3169N/A
3898N/A# Copy generated file to proto area. Then py-compile several files that are
3898N/A# used as modules in a devious way.
3898N/ACOMPONENT_POST_INSTALL_ACTION= \
3898N/A ($(CP) $(BUILD_DIR_64)/Mailman/Defaults.py \
3898N/A $(PROTOUSRLIBDIR)/mailman/Mailman/ ; \
3898N/A $(PYTHON.2.7) -m py_compile $(PROTOUSRLIBDIR)/mailman/*/paths.py \
3898N/A $(PROTOUSRLIBDIR)/mailman/Mailman/Defaults.py)
3898N/A
3817N/AREQUIRED_PACKAGES += library/python/dnspython-27
3817N/AREQUIRED_PACKAGES += runtime/python-27
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/core-os
3817N/AREQUIRED_PACKAGES += system/network