2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Friedrich Kink
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= opendkim
19 COMPONENT_VERSION
= 2.10.3
20 COMPONENT_REVISION
= 1
21 COMPONENT_SUMMARY
= OpenDKIM is an open source implementation of the DKIM
(Domain Keys Identified Mail
) sender authentication system
22 COMPONENT_DESCRIPTION
= OpenDKIM is an open source implementation of the DKIM \
23 (Domain Keys Identified Mail
) sender authentication system proposed \
24 by the E-mail Signing Technology Group
(ESTG
), now standardized by \
25 the IETF
(RFC6376
). It also includes implementations of the RFC5617
) \
26 Vouch By Reference
(VBR
, RFC5518
) proposed standard and the experimental \
27 Authorized Third Party Signatures protocol
(ATPS
, RFC6541
).
28 COMPONENT_PROJECT_URL
= http
://opendkim.org
/
29 COMPONENT_FMRI
= mail
/opendkim
30 COMPONENT_CLASSIFICATION
=Applications
/Internet
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/opendkim
/files
/$(COMPONENT_ARCHIVE
)
34 COMPONENT_ARCHIVE_HASH
= sha256
:43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b
35 COMPONENT_LICENSE
= Copyright
(c
) 2009, 2010, 2012, 2013, The Trusted Domain Project.
36 COMPONENT_LICENSE_FILE
= LICENSE
38 USE_DEFAULT_TEST_TRANSFORMS
= yes
40 include $(WS_MAKE_RULES
)/common.mk
44 COMPONENT_PRE_CONFIGURE_ACTION
= ( cd
$(SOURCE_DIR
) && autoreconf
--install )
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
/mail \
47 --enable-diffheaders \
48 --enable-identity_header \
51 --enable-replace_rules \
57 --enable-sender_macro \
59 --with-openssl
=$(OPENSSL_PREFIX
) \
69 --enable-sender_macro \
72 "LIBS=-lnsl -lldap_r -lldap -llber" \
74 "LIBMILTER_LIBDIRS=" \
75 "LDFLAGS=-L$(OPENSSL_PREFIX)/lib/amd64 -lssl -lcrypto" \
76 "CPPFLAGS=-I/usr/include/openldap -I$(SOURCE_DIR)/libut"
80 COMPONENT_TEST_TRANSFORMS
+= "-e '/XFAIL: /p'"
81 COMPONENT_TEST_TRANSFORMS
+= "-e '/XPASS: /p'"
82 COMPONENT_TEST_TRANSFORMS
+= "-e '/^=======/p'"
84 REQUIRED_PACKAGES
+= runtime
/erlang
86 # Auto-generated dependencies
87 REQUIRED_PACKAGES
+= database
/berkeleydb-5
88 REQUIRED_PACKAGES
+= database
/lmdb
89 REQUIRED_PACKAGES
+= image
/rrdtool
90 REQUIRED_PACKAGES
+= library
/jansson
91 REQUIRED_PACKAGES
+= library
/libmemcached
92 REQUIRED_PACKAGES
+= library
/libmilter
93 REQUIRED_PACKAGES
+= library
/opendbx
94 REQUIRED_PACKAGES
+= library
/openldap
95 REQUIRED_PACKAGES
+= library
/security
/openssl-11
96 REQUIRED_PACKAGES
+= library
/tre
97 REQUIRED_PACKAGES
+= runtime
/lua
98 REQUIRED_PACKAGES
+= runtime
/perl
99 REQUIRED_PACKAGES
+= shell/ksh93
100 REQUIRED_PACKAGES
+= SUNWcs
101 REQUIRED_PACKAGES
+= system
/library
102 REQUIRED_PACKAGES
+= system
/library
/math