commit | author | age
|
049c8a
|
1 |
# |
I |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
|
|
22 |
# |
|
23 |
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
|
24 |
# |
|
25 |
OPENSSL_VERSION= 3.1 |
|
26 |
include ../../../make-rules/shared-macros.mk |
|
27 |
|
|
28 |
COMPONENT_NAME= alpine |
|
29 |
COMPONENT_VERSION= 2.26 |
|
30 |
COMPONENT_SUMMARY= Alternatively Licensed Program for Internet News and Email |
|
31 |
COMPONENT_PROJECT_URL= https://alpineapp.email/ |
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
|
34 |
COMPONENT_ARCHIVE_HASH= sha256:c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba |
|
35 |
COMPONENT_ARCHIVE_URL= https://alpineapp.email/alpine/release/src/$(COMPONENT_ARCHIVE) |
|
36 |
COMPONENT_FMRI= mail/$(COMPONENT_NAME) |
|
37 |
COMPONENT_CLASSIFICATION= Applications/Internet |
|
38 |
COMPONENT_LICENSE= Apache-2.0 |
|
39 |
COMPONENT_LICENSE_FILE= LICENSE |
|
40 |
|
|
41 |
include $(WS_MAKE_RULES)/common.mk |
|
42 |
|
|
43 |
PATH= $(PATH.gnu) |
|
44 |
|
|
45 |
CFLAGS += -D_XPG6 |
|
46 |
LDFLAGS += -lsocket -lnsl -lldap_r |
|
47 |
|
|
48 |
COMPONENT_PRE_CONFIGURE_ACTION += \ |
|
49 |
( $(CLONEY) $(SOURCE_DIR) $(@D) ) |
|
50 |
|
|
51 |
COMPONENT_POST_CONFIGURE_ACTION += ( cp $(@D)/include/config.h $(SOURCE_DIR)/include ) |
|
52 |
|
|
53 |
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) -L$(OPENSSL_PREFIX)/lib/$(MACH64)" |
|
54 |
CONFIGURE_OPTIONS += CPPFLAGS="-I$(OPENSSL_PREFIX)/include -I/usr/include/openldap" |
|
55 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
56 |
CONFIGURE_OPTIONS += --prefix=/usr |
|
57 |
CONFIGURE_OPTIONS += --with-passfile=.pine-pass |
|
58 |
CONFIGURE_OPTIONS += --with-ssl-dir=$(OPENSSL_PREFIX) |
|
59 |
CONFIGURE_OPTIONS += --without-krb5 |
|
60 |
CONFIGURE_OPTIONS += --without-tcl |
|
61 |
|
|
62 |
# Auto-generated dependencies |
|
63 |
REQUIRED_PACKAGES += library/ncurses |
|
64 |
REQUIRED_PACKAGES += library/openldap |
|
65 |
REQUIRED_PACKAGES += library/security/openssl-31 |
|
66 |
REQUIRED_PACKAGES += system/library |