git: 81937131f3c8 - main - mail/mailio: New port: C++ library for MIME format and SMTP, POP3 and IMAP protocols
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Mar 2024 20:16:30 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=81937131f3c85f2a5b8591cc8c94b5c3e88c5186 commit 81937131f3c85f2a5b8591cc8c94b5c3e88c5186 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-03-27 19:39:17 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-03-27 20:16:27 +0000 mail/mailio: New port: C++ library for MIME format and SMTP, POP3 and IMAP protocols --- mail/Makefile | 1 + mail/mailio/Makefile | 24 ++++++++++++++++++++++++ mail/mailio/distinfo | 3 +++ mail/mailio/pkg-descr | 2 ++ mail/mailio/pkg-plist | 20 ++++++++++++++++++++ 5 files changed, 50 insertions(+) diff --git a/mail/Makefile b/mail/Makefile index 3e4784b259cb..0158a9b0024a 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -198,6 +198,7 @@ SUBDIR += mailfront SUBDIR += mailgraph SUBDIR += mailhog + SUBDIR += mailio SUBDIR += mailman SUBDIR += mailman-exim4 SUBDIR += mailman-postfix diff --git a/mail/mailio/Makefile b/mail/mailio/Makefile new file mode 100644 index 000000000000..27d093443c00 --- /dev/null +++ b/mail/mailio/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mailio +DISTVERSION= 0.23.0-59 +DISTVERSIONSUFFIX= -g5dab3ca +CATEGORIES= mail devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library for MIME format and SMTP, POP3 and IMAP protocols +WWW= https://github.com/karastojko/mailio + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libboost_system.so:devel/boost-libs + +USES= cmake:testing compiler:c++17-lang ssl +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= karastojko + +CMAKE_OFF= MAILIO_BUILD_TESTS MAILIO_BUILD_EXAMPLES MAILIO_BUILD_DOCUMENTATION +CMAKE_TESTING_ON= MAILIO_BUILD_TESTS # tests fail to link, see https://github.com/karastojko/mailio/issues/159 + +.include <bsd.port.mk> diff --git a/mail/mailio/distinfo b/mail/mailio/distinfo new file mode 100644 index 000000000000..d0a8ff8d8aab --- /dev/null +++ b/mail/mailio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711565622 +SHA256 (karastojko-mailio-0.23.0-59-g5dab3ca_GH0.tar.gz) = 4953b804f85014818702c063ad0b9ec656c249c8127dd3befcb3cb82bba86773 +SIZE (karastojko-mailio-0.23.0-59-g5dab3ca_GH0.tar.gz) = 197066 diff --git a/mail/mailio/pkg-descr b/mail/mailio/pkg-descr new file mode 100644 index 000000000000..60cf3d1fc721 --- /dev/null +++ b/mail/mailio/pkg-descr @@ -0,0 +1,2 @@ +mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP +protocols. It is based on the standard C++ 17 and Boost library. diff --git a/mail/mailio/pkg-plist b/mail/mailio/pkg-plist new file mode 100644 index 000000000000..5b64e1fcbd36 --- /dev/null +++ b/mail/mailio/pkg-plist @@ -0,0 +1,20 @@ +include/mailio/base64.hpp +include/mailio/binary.hpp +include/mailio/bit7.hpp +include/mailio/bit8.hpp +include/mailio/codec.hpp +include/mailio/dialog.hpp +include/mailio/export.hpp +include/mailio/imap.hpp +include/mailio/mailboxes.hpp +include/mailio/message.hpp +include/mailio/mime.hpp +include/mailio/pop3.hpp +include/mailio/q_codec.hpp +include/mailio/quoted_printable.hpp +include/mailio/smtp.hpp +include/mailio/version.hpp +lib/libmailio.so +libdata/pkgconfig/mailio.pc +%%DATADIR%%/cmake/mailioConfig-%%CMAKE_BUILD_TYPE%%.cmake +%%DATADIR%%/cmake/mailioConfig.cmake