components/fetchmail/Makefile
author Drew Fisher <drew.fisher@oracle.com>
Thu, 29 Sep 2016 08:21:19 -0700
branchs11u3-sru
changeset 7115 0c932cebfc40
parent 3996 20c0f21bbe1e
permissions -rw-r--r--
24737607 problem in PYTHON-MOD/DJANGO
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     1
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     3
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     7
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    12
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    18
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    20
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    21
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    22
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    24
#
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    25
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    27
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		fetchmail
2353
1434c2626985 7195687 Update fetchmail to version 6.3.22
Marcel Telka <marcel.telka@oracle.com>
parents: 800
diff changeset
    29
COMPONENT_VERSION=	6.3.22
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 587
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
2353
1434c2626985 7195687 Update fetchmail to version 6.3.22
Marcel Telka <marcel.telka@oracle.com>
parents: 800
diff changeset
    33
    sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://fetchmail.berlios.de/
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 2353
diff changeset
    36
COMPONENT_BUGDB=	utility/fetchmail
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2434
diff changeset
    38
TPNO=			8416
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2434
diff changeset
    39
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    43
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
3989
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    45
CONFIGURE_OPTIONS  +=		PYTHON="$(PYTHON.2.7.32)"
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  +=		--with-kerberos5
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  +=		--with-ssl
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  +=		--enable-NTLM
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    49
3989
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    50
# Change the shebang line to use Python 2.7 explicitly, and drop the
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    51
# fixed file into /usr/bin, where our package manifest expects it.
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    52
COMPONENT_POST_INSTALL_ACTION = \
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    53
    $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    54
	$(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    55
	$(PROTO_DIR)$(USRBIN.32)/fetchmailconf
cc7f2e59f3c0 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3661
diff changeset
    56
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    57
# common targets
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    58
build:		$(BUILD_32)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    59
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    60
install:	$(INSTALL_32)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    61
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    62
test:		$(TEST_32)
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    63
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    64
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    65
REQUIRED_PACKAGES += library/python/tkinter-27
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    66
REQUIRED_PACKAGES += library/security/openssl
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    67
REQUIRED_PACKAGES += runtime/python-27
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    68
REQUIRED_PACKAGES += service/security/kerberos-5
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    69
REQUIRED_PACKAGES += shell/ksh93
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3989
diff changeset
    70
REQUIRED_PACKAGES += system/library