author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Thu, 14 Mar 2013 11:55:18 -0700 | |
changeset 1210 | abc0c01af810 |
parent 1173 | 9041e9ef125a |
child 1948 | 2d1537e7942d |
permissions | -rw-r--r-- |
1068
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
1173
9041e9ef125a
16390400 enable ASLR for procmail
John Beck <John.Beck@Oracle.COM>
parents:
1070
diff
changeset
|
23 |
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
1068
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 3.22 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://www.procmail.org |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117 |
1070
4d3fe3655339
15941549 - Move procmail from the FOSS consolidation into Userland (fix COMPONENT_BUGDB)
Rich Burridge <rich.burridge@oracle.com>
parents:
1068
diff
changeset
|
35 |
COMPONENT_BUGDB= utility/procmail |
1068
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
# ftp://ftp.procmail.org/pub/procmail/procmail-3.22.tar.gz no longer works. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_URL= ftp://ftp.ucsb.edu/pub/mirrors/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
include ../../make-rules/prep.mk |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
include ../../make-rules/justmake.mk |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
include ../../make-rules/ips.mk |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
COMPONENT_BUILD_ENV += CC="$(CC) -m64" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
COMPONENT_INSTALL_ARGS += BASENAME=$(PROTOUSRDIR) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMANDIR) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
1173
9041e9ef125a
16390400 enable ASLR for procmail
John Beck <John.Beck@Oracle.COM>
parents:
1070
diff
changeset
|
51 |
ASLR_MODE = $(ASLR_ENABLE) |
9041e9ef125a
16390400 enable ASLR for procmail
John Beck <John.Beck@Oracle.COM>
parents:
1070
diff
changeset
|
52 |
|
1068
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
# common targets |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
build: $(BUILD_64) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
install: $(INSTALL_64) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
test: $(NO_TESTS) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
include ../../make-rules/depend.mk |