Andreas Wacknitz
2023-02-02 416ee0d70c1d337df87f332f99151b77dd19c0d6
fetchmail: update to 6.4.36

3 files modified
88 ■■■■■ changed files
components/mail/fetchmail/Makefile 21 ●●●● patch | view | raw | blame | history
components/mail/fetchmail/fetchmail.p5m 56 ●●●●● patch | view | raw | blame | history
components/mail/fetchmail/manifests/sample-manifest.p5m 11 ●●●● patch | view | raw | blame | history
components/mail/fetchmail/Makefile
@@ -30,14 +30,14 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        fetchmail
COMPONENT_VERSION=    6.4.35
COMPONENT_VERSION=    6.4.36
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.xz
COMPONENT_ARCHIVE_HASH=    sha256:7b0b56cbc0fca854504f167795fab532d5a54d5a7d3b6e3e36a33f34a0960a01
COMPONENT_ARCHIVE_HASH=    sha256:700d433838d3e29e304452aec56b21874f538ec24113fdcbb25139c5f2edc23a
COMPONENT_ARCHIVE_URL=    https://sourceforge.net/projects/$(COMPONENT_NAME)/files/branch_6.4/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.xz/download 
COMPONENT_PROJECT_URL=    https://www.fetchmail.info/
COMPONENT_FMRI=        mail/fetchmail
@@ -49,11 +49,19 @@
# Change the shebang line to use our default Python version explicitly, drop the fixed file into /usr/bin,
# where our package manifest expects it, and remove the superfluous script from the site-packages folder.
COMPONENT_POST_INSTALL_ACTION = \
COMPONENT_POST_INSTALL_ACTION += \
    $(GSED) -e "s|/usr/bin/env python|$(PYTHON)|" \
    $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/fetchmailconf.py > \
    $(PROTOUSRBINDIR)/fetchmailconf && \
    $(RM) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/fetchmailconf.py
        $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/fetchmailconf.py && \
    $(GSED) -i -e 's?\/usr\/bin\/python?\/usr\/bin\/python$(PYTHON_VERSION)?' \
        $(PROTOUSRBINDIR)/fetchmailconf && \
    $(GSED) -i -e 's?site-packages?vendor-packages?' \
        $(PROTOUSRBINDIR)/fetchmailconf && \
    if [ -d  $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)  ]; then \
        $(MKDIR) -p  $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages && \
        $(MV) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/* $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages && \
        $(RM) -fr  $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages && \
        $(PYTHON) -m compileall $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages ; \
    fi ;
CONFIGURE_OPTIONS += --with-kerberos5
CONFIGURE_OPTIONS += --with-ssl=$(OPENSSL_PREFIX)
@@ -62,4 +70,5 @@
# Auto-generated dependencies
REQUIRED_PACKAGES += library/security/openssl-11
REQUIRED_PACKAGES += service/security/kerberos-5
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
components/mail/fetchmail/fetchmail.p5m
@@ -1,63 +1,43 @@
#
# CDDL HEADER START
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# 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
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
set name=pkg.fmri \
    value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=pkg.description value="$(COMPONENT_DESCRIPTION)"
#
# Copyright 2023 Andreas Wacknitz
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/bin/fetchmail
# Alas fetchmailconf is an outdated python script that doesn't work for us anymore:
#file path=usr/bin/fetchmailconf pkg.depend.bypass-generate=.*
file path=usr/share/locale/ca/LC_MESSAGES/fetchmail.mo
# We don't have some modules fetchmailconf uses and it's outdated, too. Thus, drop the tool.
#file path=usr/bin/fetchmailconf mode=0555
#file path=usr/lib/python$(PYVER)/vendor-packages/fetchmailconf.py pkg.depend.bypass-generate=.*
file path=usr/share/locale/cs/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/da/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/de/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/en_GB/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/eo/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/es/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/fr/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/id/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/it/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ja/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/nl/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/pl/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ro/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ru/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sq/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sr/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sv/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/vi/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/zh_CN/LC_MESSAGES/fetchmail.mo
file path=usr/share/man/man1/fetchmail.1
# See comment for fetchmailconf script:
#file path=usr/share/man/man1/fetchmailconf.1
file path=usr/share/man/man1/fetchmailconf.1
components/mail/fetchmail/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2022 <contributor>
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -25,25 +25,18 @@
file path=usr/bin/fetchmail
file path=usr/bin/fetchmailconf
file path=usr/share/locale/ca/LC_MESSAGES/fetchmail.mo
file path=usr/lib/python$(PYVER)/vendor-packages/fetchmailconf.py
file path=usr/share/locale/cs/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/da/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/de/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/en_GB/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/eo/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/es/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/fr/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/id/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/it/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ja/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/nl/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/pl/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ro/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/ru/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sq/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sr/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/sv/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/vi/LC_MESSAGES/fetchmail.mo
file path=usr/share/locale/zh_CN/LC_MESSAGES/fetchmail.mo
file path=usr/share/man/man1/fetchmail.1
file path=usr/share/man/man1/fetchmailconf.1