author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 05 Jul 2016 11:43:57 -0700 | |
changeset 6348 | 6933441922fe |
parent 6066 | 9fb353052db4 |
child 7245 | 934578b959f0 |
permissions | -rw-r--r-- |
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 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, 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 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
25 |
BUILD_BITS= 64 |
255
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 |
6348
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
29 |
COMPONENT_VERSION= 6.3.26 |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
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
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
6348
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
32 |
sha256:79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850 |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/$(COMPONENT_NAME)/files/branch_6.3/$(COMPONENT_ARCHIVE) |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://www.fetchmail.info/ |
255
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
35 |
|
6348
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
36 |
TPNO= 29615 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1259
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5616
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
255
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
39 |
|
2217
8878794c871e
20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
40 |
CONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)" |
255
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
41 |
CONFIGURE_OPTIONS += --with-kerberos5 |
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
42 |
CONFIGURE_OPTIONS += --with-ssl |
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
43 |
CONFIGURE_OPTIONS += --enable-NTLM |
52abf74b9323
7037058 Move fetchmail to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff
changeset
|
44 |
|
2217
8878794c871e
20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
45 |
# 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
|
46 |
# 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
|
47 |
COMPONENT_POST_INSTALL_ACTION = \ |
2217
8878794c871e
20062980 fetchmailconf should move to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
48 |
$(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
|
49 |
$(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
|
50 |
$(PROTO_DIR)$(USRBIN.32)/fetchmailconf |
1259
68c7d53a1374
16624899 enable 64-bit for fetchmail
John Beck <John.Beck@Oracle.COM>
parents:
1175
diff
changeset
|
51 |
|
3844
15407713dc58
20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
52 |
COMPONENT_TEST_TRANSFORMS += \ |
6348
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
53 |
'-n ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
54 |
'-e "/SKIP/p" ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
55 |
'-e "/PASS/p" ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
56 |
'-e "/FAIL/p" ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
57 |
'-e "/^=======/p" ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
58 |
'-e "/were not run/p" ' \ |
6933441922fe
23209582 Upgrade fetchmail to 6.3.26
Rich Burridge <rich.burridge@oracle.com>
parents:
6066
diff
changeset
|
59 |
'-e "/passed/p" ' |
3844
15407713dc58
20460269 fetchmail should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
3817
diff
changeset
|
60 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
61 |
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
|
62 |
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
|
63 |
REQUIRED_PACKAGES += runtime/python-27 |
6066
9fb353052db4
23347372 tweak fetchmail REQUIRED_PACKAGES so we can build on 11.3 and 12
John Beck <John.Beck@Oracle.COM>
parents:
6049
diff
changeset
|
64 |
REQUIRED_PACKAGES += security/kerberos-5 |
9fb353052db4
23347372 tweak fetchmail REQUIRED_PACKAGES so we can build on 11.3 and 12
John Beck <John.Beck@Oracle.COM>
parents:
6049
diff
changeset
|
65 |
REQUIRED_PACKAGES += service/security/kerberos-5 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
66 |
REQUIRED_PACKAGES += shell/ksh93 |