# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. # Copyright 2018, Michal Nowak # Copyright 2021, Nona Hansel # USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= fetchmail COMPONENT_VERSION= 6.6.9 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= fetch mail from a POP, IMAP, ETRN, or ODMR-capable server COMPONENT_DESCRIPTION= Fetchmail is a full-featured, robust, well-documented remote-mail retrieval and forwarding utility intended \ to be used over on-demand TCP/IP links (such as SLIP or PPP connections). It supports every remote-mail protocol now in use on \ the Internet: POP2, POP3, RPOP, APOP, KPOP, all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and IPsec. COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 COMPONENT_ARCHIVE_HASH= sha256:216d129d8f6a63c42bad8d9de27d74aeff522c52f513f90cbc8380456ed6fa12 COMPONENT_ARCHIVE_URL= https://gitlab.com/fetchmail/fetchmail/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL= https://www.fetchmail.info/ COMPONENT_FMRI= mail/fetchmail COMPONENT_CLASSIFICATION= Applications/Internet COMPONENT_LICENSE= GPLv2 COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk # gcc 14 complains about this CFLAGS += -Wno-error=implicit-function-declaration COMPONENT_PREP_ACTION= (cd $(@D); $(ENV) ./autogen.sh) CONFIGURE_OPTIONS += --disable-dependency-tracking CONFIGURE_OPTIONS += --with-kerberos5 CONFIGURE_OPTIONS += --with-ssl=$(OPENSSL_PREFIX) CONFIGURE_OPTIONS += --disable-rpath CONFIGURE_OPTIONS += --enable-NTLM CONFIGURE_OPTIONS += PYTHON=$(PYTHON) CONFIGURE_OPTIONS += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES) CONFIGURE_OPTIONS += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES) PYTHON_SCRIPTS += $(PYTHON_VENDOR_PACKAGES)/fetchmailconf.py # We don't have some modules fetchmailconf uses and it's outdated, too. Thus, drop the tool. COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRBINDIR)/fetchmailconf ; COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREMAN1DIR)/fetchmailconf.1 ; COMPONENT_POST_INSTALL_ACTION += $(RM) -r $(PROTOPYTHONVENDORDIR) ; # Auto-generated dependencies REQUIRED_PACKAGES += $(OPENSSL_PKG) REQUIRED_PACKAGES += service/security/kerberos-5 REQUIRED_PACKAGES += system/library