2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A
2N/A#
2N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/ABUILD_BITS= 64
2N/Ainclude ../../make-rules/shared-macros.mk
2N/A
2N/ACOMPONENT_NAME= fetchmail
2N/ACOMPONENT_VERSION= 6.3.26
2N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
2N/ACOMPONENT_ARCHIVE_HASH= \
2N/A sha256:79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850
2N/ACOMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/$(COMPONENT_NAME)/files/branch_6.3/$(COMPONENT_ARCHIVE)
2N/ACOMPONENT_PROJECT_URL= http://www.fetchmail.info/
2N/A
2N/ATPNO= 29615
2N/A
2N/A# Enable adiheap and adistack security extensions
2N/AADIHEAP_MODE = $(ADIHEAP_ENABLE)
2N/AADISTACK_MODE = $(ADISTACK_ENABLE)
2N/A
2N/Ainclude $(WS_MAKE_RULES)/common.mk
2N/A
2N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)"
2N/ACONFIGURE_OPTIONS += --with-kerberos5
2N/ACONFIGURE_OPTIONS += --with-ssl
2N/ACONFIGURE_OPTIONS += --enable-NTLM
2N/A
2N/A# Change the shebang line to use Python 2.7 explicitly, and drop the
2N/A# fixed file into /usr/bin, where our package manifest expects it.
2N/ACOMPONENT_POST_INSTALL_ACTION = \
2N/A $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
2N/A $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
2N/A $(PROTO_DIR)$(USRBIN.32)/fetchmailconf
2N/A
2N/ACOMPONENT_TEST_TRANSFORMS += \
2N/A '-n ' \
2N/A '-e "/SKIP/p" ' \
2N/A '-e "/PASS/p" ' \
2N/A '-e "/FAIL/p" ' \
2N/A '-e "/^=======/p" ' \
2N/A '-e "/were not run/p" ' \
2N/A '-e "/passed/p" '
2N/A
2N/AREQUIRED_PACKAGES += library/python/tkinter-27
2N/AREQUIRED_PACKAGES += library/security/openssl
2N/AREQUIRED_PACKAGES += runtime/python-27
2N/AREQUIRED_PACKAGES += security/kerberos-5
2N/Aifeq ($(OS_VERSION),5.11)
2N/AREQUIRED_PACKAGES += service/security/kerberos-5
2N/Aendif
2N/AREQUIRED_PACKAGES += shell/ksh93
2N/A