From nobody Fri Mar 31 10:42:41 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pnxh23GhRz42JC1; Fri, 31 Mar 2023 10:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pnxh20rHGz3Lpr; Fri, 31 Mar 2023 10:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KGNVXC/sJQHV2NFxYoOUKZRCnWl6e/j6nGoGofHwECg=; b=ofg/WrV+A+U1YpVQ7vtFSSzdneSdfdO/8Ml0ijWvD9wimem6rUGajTJ0Dl9awiG6UCY7Jx VrmqUzVTC8xGSxJJLv6hqRGJ5DxufopKauQkFVALvHXEbpiCAc6M5j+/osWNcKzKwNMEBP j6+KkJ4ulXTlh50NkTSuKHoXRd5CP44Q3khnTidoT6fxrYNl+H8dlp2qBnzMZ8AU7mjqMM ohFTanOkEFSQauNydyID1Tq2HE6X4h7SKE9Ib6NYl7Ke6yuf2E4oEbR5vHW883W669she+ YBLf7f4QpBfyAme4CeQvJ//+zoixvbn4ERB8GtCImRiHvOcGkP2q3U8TMyADuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KGNVXC/sJQHV2NFxYoOUKZRCnWl6e/j6nGoGofHwECg=; b=SZBIzdGjDAGWGc4Yyt7UpBlkFgkGc8WBmyYjKw5QyiU7DJbHGRgSvoXRav0lr9UehujufW yrn+j88V5TsqRXQ/fejerT1Umqxvhs5ovqk+hHik0q1twh5ESrrvHeUODUHLc1zy1/a29T kY52NImFm9SCj2E6PS7hVS3Vgn0f5dpmnwSuhSvpP4/lfhFzuEiCXdFxdoSUshlcPx8A4I 0opEWDtFHpUcycRYXr3RQOOsR3ZNTnqtzNXh4VHswdGLptLH7dIueOKYMt6Pa/LrDXtYo/ a1sBbR2NZNBbIPmHE+WzQmljKPWNXiMC/llL+HGPgJF08odNXjolv6jNiaHJrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680259362; a=rsa-sha256; cv=none; b=itsF8qgKPcvW7Ao1yx+kFzo9iaNMhdSDecwfG1FDk3K2rfQgPk6zOQ5gjkvDKfsyj25coA RpRwP3/SlnvZ+/n1gvH/+UIEwlnYBFGI3JLTybzHtVhaOrVLl+vTtIZVjJzxsrQht9Uq62 vRy25pk40C0rfKYY/r3jQ0BFUDu30b4ks/tlZqcO+TmuLSI7xYrGz5MC2TrgdU8h0xXwMF 0pen+9NxUqKYB1IPoHwyRV3rxEOdG+azgGUl04bZJbQbbgBApogkqOSWyZOo4/IpWl07Af crAQRSdU6mNQoKguuojEfA8yaBQBXCCiOov4JOj5N3VHCb9iilr4zQTnxM0cAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pnxh17148zqm9; Fri, 31 Mar 2023 10:42:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32VAgfOj070715; Fri, 31 Mar 2023 10:42:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32VAgfDX070714; Fri, 31 Mar 2023 10:42:41 GMT (envelope-from git) Date: Fri, 31 Mar 2023 10:42:41 GMT Message-Id: <202303311042.32VAgfDX070714@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 491b538f9d18 - main - mail/dovecot-xaps: new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 491b538f9d1861116102b287c3091965c7c18558 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=491b538f9d1861116102b287c3091965c7c18558 commit 491b538f9d1861116102b287c3091965c7c18558 Author: Henry AuthorDate: 2023-02-25 01:36:29 +0000 Commit: Robert Clausecker CommitDate: 2023-03-31 10:42:08 +0000 mail/dovecot-xaps: new port Apple push notifications plugin for dovecot. Together with net/xapsd this will enable push email for iOS devices that talk to your dovecot IMAP server. WWW: https://github.com/freswa/dovecot-xaps-plugin PR: 269863 --- mail/Makefile | 1 + mail/dovecot-xaps/Makefile | 37 ++++++++++++++++++++++++++++ mail/dovecot-xaps/distinfo | 3 +++ mail/dovecot-xaps/files/patch-CMakeLists.txt | 10 ++++++++ mail/dovecot-xaps/pkg-descr | 4 +++ mail/dovecot-xaps/pkg-message | 18 ++++++++++++++ 6 files changed, 73 insertions(+) diff --git a/mail/Makefile b/mail/Makefile index d99ffef9b74b..4c3f82fc239a 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -102,6 +102,7 @@ SUBDIR += dovecot-fts-flatcurve SUBDIR += dovecot-fts-xapian SUBDIR += dovecot-pigeonhole + SUBDIR += dovecot-xaps SUBDIR += dspam SUBDIR += ecartis SUBDIR += elm diff --git a/mail/dovecot-xaps/Makefile b/mail/dovecot-xaps/Makefile new file mode 100644 index 000000000000..911e958b268b --- /dev/null +++ b/mail/dovecot-xaps/Makefile @@ -0,0 +1,37 @@ +PORTNAME= dovecot-xaps +DISTVERSION= g20210623 +CATEGORIES= mail + +MAINTAINER= PopularMoment@protonmail.com +COMMENT= Apple push notifications plugin for dovecot +WWW= https://github.com/freswa/dovecot-xaps-plugin + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= dovecot>=2.3.17:mail/dovecot +RUN_DEPENDS= dovecot>=2.3.17:mail/dovecot \ + xapsd:net/xapsd + +USES= cmake compiler:c11 +CMAKE_BUILD_TYPE= Release +CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX} + +USE_GITHUB= yes +GH_ACCOUNT= freswa +GH_PROJECT= dovecot-xaps-plugin +GH_TAGNAME= 197d68e + +LDFLAGS+= -L${LOCALBASE}/lib +USE_LDCONFIG= ${PREFIX}/lib/dovecot + +PLIST_FILES= etc/dovecot/example-config/conf.d/95-xaps.conf \ + lib/dovecot/lib25_xaps_imap_plugin.so \ + lib/dovecot/lib25_xaps_push_notification_plugin.so + +post-stage: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dovecot/example-config/conf.d/ + ${INSTALL_DATA} ${WRKSRC}/xaps.conf \ + ${STAGEDIR}${PREFIX}/etc/dovecot/example-config/conf.d/95-xaps.conf + +.include diff --git a/mail/dovecot-xaps/distinfo b/mail/dovecot-xaps/distinfo new file mode 100644 index 000000000000..262956e54a3c --- /dev/null +++ b/mail/dovecot-xaps/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677281432 +SHA256 (freswa-dovecot-xaps-plugin-g20210623-197d68e_GH0.tar.gz) = a7c1fd8e69477ebd64d18c45782ceb8cd6c4d857d78031c52535870b2b52e1d9 +SIZE (freswa-dovecot-xaps-plugin-g20210623-197d68e_GH0.tar.gz) = 10460 diff --git a/mail/dovecot-xaps/files/patch-CMakeLists.txt b/mail/dovecot-xaps/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..7b6df84ee3ac --- /dev/null +++ b/mail/dovecot-xaps/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2023-02-25 01:00:54 UTC ++++ CMakeLists.txt +@@ -34,5 +34,5 @@ target_link_libraries(lib25_xaps_imap_plugin ${LIBDOVE + set_target_properties(lib25_xaps_push_notification_plugin PROPERTIES PREFIX "") + set_target_properties(lib25_xaps_imap_plugin PROPERTIES PREFIX "") + +-install(TARGETS lib25_xaps_push_notification_plugin DESTINATION /usr/lib/dovecot/modules) +-install(TARGETS lib25_xaps_imap_plugin DESTINATION /usr/lib/dovecot/modules) ++install(TARGETS lib25_xaps_push_notification_plugin DESTINATION lib/dovecot) ++install(TARGETS lib25_xaps_imap_plugin DESTINATION lib/dovecot) diff --git a/mail/dovecot-xaps/pkg-descr b/mail/dovecot-xaps/pkg-descr new file mode 100644 index 000000000000..f37db656e2b9 --- /dev/null +++ b/mail/dovecot-xaps/pkg-descr @@ -0,0 +1,4 @@ +Apple push notifications plugin for dovecot. + +Together with net/xapsd this will enable push email +for iOS devices that talk to your dovecot IMAP server. diff --git a/mail/dovecot-xaps/pkg-message b/mail/dovecot-xaps/pkg-message new file mode 100644 index 000000000000..d4865c3c76dc --- /dev/null +++ b/mail/dovecot-xaps/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <