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