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#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
255N/A#
255N/A
255N/Ainclude ../../make-rules/shared-macros.mk
255N/A
255N/ACOMPONENT_NAME= fetchmail
1115N/ACOMPONENT_VERSION= 6.3.22
255N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
255N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
1115N/A sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
255N/ACOMPONENT_ARCHIVE_URL= http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
255N/ACOMPONENT_PROJECT_URL= http://fetchmail.berlios.de/
1273N/ACOMPONENT_BUGDB= utility/fetchmail
255N/A
3661N/ATPNO= 8416
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
255N/A
255N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3989N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)"
255N/ACONFIGURE_OPTIONS += --with-kerberos5
255N/ACONFIGURE_OPTIONS += --with-ssl
255N/ACONFIGURE_OPTIONS += --enable-NTLM
255N/A
3989N/A# Change the shebang line to use Python 2.7 explicitly, and drop the
3989N/A# fixed file into /usr/bin, where our package manifest expects it.
3989N/ACOMPONENT_POST_INSTALL_ACTION = \
3989N/A $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
3989N/A $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
3989N/A $(PROTO_DIR)$(USRBIN.32)/fetchmailconf
3989N/A
255N/A# common targets
255N/Abuild: $(BUILD_32)
255N/A
255N/Ainstall: $(INSTALL_32)
255N/A
255N/Atest: $(TEST_32)
255N/A
255N/A
3996N/AREQUIRED_PACKAGES += library/python/tkinter-27
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += runtime/python-27
3996N/AREQUIRED_PACKAGES += service/security/kerberos-5
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library