mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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
This commit is contained in:
parent
f2d3a21bce
commit
491b538f9d
@ -102,6 +102,7 @@
|
||||
SUBDIR += dovecot-fts-flatcurve
|
||||
SUBDIR += dovecot-fts-xapian
|
||||
SUBDIR += dovecot-pigeonhole
|
||||
SUBDIR += dovecot-xaps
|
||||
SUBDIR += dspam
|
||||
SUBDIR += ecartis
|
||||
SUBDIR += elm
|
||||
|
37
mail/dovecot-xaps/Makefile
Normal file
37
mail/dovecot-xaps/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
mail/dovecot-xaps/distinfo
Normal file
3
mail/dovecot-xaps/distinfo
Normal file
@ -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
|
10
mail/dovecot-xaps/files/patch-CMakeLists.txt
Normal file
10
mail/dovecot-xaps/files/patch-CMakeLists.txt
Normal file
@ -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)
|
4
mail/dovecot-xaps/pkg-descr
Normal file
4
mail/dovecot-xaps/pkg-descr
Normal file
@ -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.
|
18
mail/dovecot-xaps/pkg-message
Normal file
18
mail/dovecot-xaps/pkg-message
Normal file
@ -0,0 +1,18 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
This port assumes you are familiar with Dovecot and have it installed
|
||||
and running on the system you have installed this plugin on.
|
||||
|
||||
You can enable the plugin by adding the contents of
|
||||
${PREFIX}/etc/dovecot/example-config/conf.d/95-xaps.conf to your
|
||||
dovecot.conf.
|
||||
|
||||
You must be using Dovecot LDA or LMTP for local delivery.
|
||||
|
||||
net/xapsd must be configured and running.
|
||||
|
||||
EOM
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user