pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / mail / pigeonhole / Makefile
blobd92eb1869ae0a5ae47bfd48de2958199401f9f11
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 2023 Friedrich Kink
15 BUILD_BITS= 64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= pigeonhole
19 COMPONENT_VERSION= 0.5.21.1
20 COMPONENT_SUMMARY= Sieve Support for Dovecot
21 COMPONENT_DESCRIPTION= The Pigeonhole project provides Sieve support as a plugin for \
22 Dovecot's Local Delivery Agent (LDA) and also for its LMTP \
23 service. The plugin implements a Sieve interpreter, which filters \
24 incoming messages using a script specified in the Sieve language \
25 (RFC 5228). The Sieve script is provided by the user and, using \
26 that Sieve script, the user can customize how incoming messages \
27 are handled. Messages can be delivered to specific folders, \
28 forwarded, rejected, discarded, etc.
29 COMPONENT_PROJECT_URL= https://dovecot.org/
30 COMPONENT_FMRI= mail/dovecot/pigeonhole
31 COMPONENT_CLASSIFICATION=Applications/Internet
32 COMPONENT_SRC= dovecot-2.3-$(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
34 COMPONENT_SIG_URL= https://pigeonhole.dovecot.org/releases/2.3/$(COMPONENT_ARCHIVE).sig
35 COMPONENT_ARCHIVE_URL= https://pigeonhole.dovecot.org/releases/2.3/$(COMPONENT_ARCHIVE)
36 COMPONENT_ARCHIVE_HASH= sha256:0377db284b620723de060431115fb2e7791e1df4321411af718201d6925c4692
37 COMPONENT_LICENSE= MIT,LGPLv2.1
38 COMPONENT_LICENSE_FILE= COPYING
40 include $(WS_MAKE_RULES)/common.mk
42 CONFIGURE_ENV+= PANDOC=false
43 CONFIGURE_ENV+= CPPFLAGS=-I/usr/include/openldap
45 PATH=$(PATH.gnu):/usr/mariadb/10.3/bin
47 CONFIGURE_OPTIONS+= --sysconfdir=/etc \
48 --libexecdir=/usr/lib \
49 --with-ldap=plugin \
50 --enable-static=no \
51 --with-dovecot=/usr/lib/amd64/dovecot \
52 --with-dovecot-install-dirs \
53 LDFLAGS="-Wl,-rpath=/usr/lib/amd64/dovecot -lldap_r"
55 COMPONENT_TEST_TRANSFORMS = \
56 '-n ' \
57 '-e "/: ok$$/p" ' \
58 '-e "/tests failed$$/p" ' \
59 '-e "/: FAILED$$/p" '
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES += library/openldap
63 REQUIRED_PACKAGES += mail/dovecot
64 REQUIRED_PACKAGES += system/library