components/fetchmail/Makefile
author Stacy Yeh <stacy.yeh@oracle.com>
Thu, 21 May 2015 13:48:49 -0700
changeset 4339 6501cf9c29f9
parent 3844 15407713dc58
child 5526 570ac9aab8b2
permissions -rw-r--r--
21116842 add system-test targets to each component Makefile and to top-level Makefiles
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
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
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
965
9bd86858aaa1 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=	\
965
9bd86858aaa1 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/
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 965
diff changeset
    36
COMPONENT_BUGDB=	utility/fetchmail
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    37
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1259
diff changeset
    38
TPNO=			8416
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1259
diff changeset
    39
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
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)"
2217
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
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
1175
3b79e6aa942a 16390176 parfait issues in fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    50
ASLR_MODE = $(ASLR_ENABLE)
3b79e6aa942a 16390176 parfait issues in fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    51
2217
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    52
# Change the shebang line to use Python 2.7 explicitly, and drop the
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    53
# fixed file into /usr/bin, where our package manifest expects it.
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    54
COMPONENT_POST_INSTALL_ACTION = \
2217
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    55
    $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    56
	$(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
8878794c871e 20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    57
	$(PROTO_DIR)$(USRBIN.32)/fetchmailconf
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    58
3844
15407713dc58 20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    59
COMPONENT_TEST_TRANSFORMS += \
15407713dc58 20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    60
	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
15407713dc58 20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    61
	'-e "/^XXX_CC_XXX$$/d"'
15407713dc58 20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    62
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 2217
diff changeset
    63
configure:	$(CONFIGURE_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 2217
diff changeset
    64
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    65
build:		$(BUILD_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    66
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    67
install:	$(INSTALL_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    68
1259
68c7d53a1374 16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents: 1175
diff changeset
    69
test:		$(TEST_64)
255
52abf74b9323 7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    70
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3844
diff changeset
    71
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3844
diff changeset
    72
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    73
REQUIRED_PACKAGES += library/python/tkinter-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    74
REQUIRED_PACKAGES += library/security/openssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    75
REQUIRED_PACKAGES += runtime/python-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    76
REQUIRED_PACKAGES += service/security/kerberos-5
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    77
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    78
REQUIRED_PACKAGES += system/library