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
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= opendmarc
18 COMPONENT_VERSION
= 1.4.2
19 COMPONENT_REVISION
= 1
20 COMPONENT_SUMMARY
= OpenDMARC is a free open source software implementation of the DMARC specification.
21 COMPONENT_DESCRIPTION
= The OpenDMARC project is a community effort to develop and maintain \
22 an open source package for providing DMARC report generation and policy \
23 enforcement services. It includes a library for handling DMARC record \
24 parsing
, a database schema and tools for aggregating and processing \
25 transaction history to produce DMARC reports
, and a
filter that ties it \
26 all together with an MTA using the milter protocol. \
27 In simple terms
, DMARC takes the results of ARC
, SPF and DKIM checks
, done \
28 by either upstream filters
, or SPF checks that opendmarc performs itself
, \
29 and uses these to make a
""pass or fail
"" decision. A domain owner may put a \
30 record in the DNS to determine what should happen to a failing record
: No \
31 negative action
(typically for testing
), message quarantining
, or outright \
32 rejection at SMTP acceptance time.
33 COMPONENT_PROJECT_URL
= https
://github.com
/trusteddomainproject
/OpenDMARC
34 COMPONENT_FMRI
= mail
/opendmarc
35 COMPONENT_CLASSIFICATION
=Applications
/Internet
36 COMPONENT_SRC
= OpenDMARC-master
37 COMPONENT_ARCHIVE
= master.zip
38 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/heads
/$(COMPONENT_ARCHIVE
)
39 COMPONENT_ARCHIVE_HASH
= sha256
:18d4bf8ead4e78038065a66ecfeee57fbbae1af8dc79e3b5adc5de3ca664d5e9
40 COMPONENT_LICENSE
= Copyright
(c
) 2009, 2010, 2012, 2013, The Trusted Domain Project.
41 COMPONENT_LICENSE_FILE
= LICENSE
43 USE_DEFAULT_TEST_TRANSFORMS
= yes
45 include $(WS_MAKE_RULES
)/common.mk
49 COMPONENT_PRE_CONFIGURE_ACTION
= ( cd
$(SOURCE_DIR
) && autoreconf
-v
-i
)
51 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
/mail \
54 --with-spf2-include
=/usr
/include \
55 --with-spf2-lib
=/usr
/lib \
56 --with-installdir
=/usr
60 COMPONENT_TEST_TRANSFORMS
+= "-e '/XFAIL: /p'"
61 COMPONENT_TEST_TRANSFORMS
+= "-e '/XPASS: /p'"
62 COMPONENT_TEST_TRANSFORMS
+= "-e '/^=======/p'"
65 REQUIRED_PACKAGES
+= library
/libspf2
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES
+= library
/libmilter
68 REQUIRED_PACKAGES
+= runtime
/perl
69 REQUIRED_PACKAGES
+= shell/ksh93
70 REQUIRED_PACKAGES
+= SUNWcs
71 REQUIRED_PACKAGES
+= system
/library