diff --git a/mail/Makefile b/mail/Makefile index cc516fb3e555..3d3ae7d8902f 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -1,752 +1,753 @@ COMMENT = Electronic mail utilities SUBDIR += abook SUBDIR += adcomplain SUBDIR += addresses SUBDIR += addresses-goodies SUBDIR += aerc SUBDIR += akpop3d SUBDIR += alpine SUBDIR += amavis-logwatch SUBDIR += anomy-sanitizer SUBDIR += antivirus-milter SUBDIR += anubis SUBDIR += archiveopteryx SUBDIR += archiveopteryx-devel SUBDIR += archivesmtp SUBDIR += archmbox SUBDIR += ask SUBDIR += asmail SUBDIR += assp SUBDIR += astroid SUBDIR += automx SUBDIR += autorespond SUBDIR += avenger SUBDIR += balsa SUBDIR += batv-milter SUBDIR += bayespam SUBDIR += bbmail SUBDIR += biabam SUBDIR += bincimap SUBDIR += bmf SUBDIR += bogofilter SUBDIR += bogofilter-bdb SUBDIR += bogofilter-kc SUBDIR += bogofilter-sqlite SUBDIR += bsd-vacation SUBDIR += bsfilter SUBDIR += bsmtp SUBDIR += bulk_mailer SUBDIR += c-sig SUBDIR += claws-mail SUBDIR += claws-mail-acpi_notifier SUBDIR += claws-mail-address_keeper SUBDIR += claws-mail-archive SUBDIR += claws-mail-att_remover SUBDIR += claws-mail-attachwarner SUBDIR += claws-mail-bogofilter SUBDIR += claws-mail-bsfilter SUBDIR += claws-mail-clamd SUBDIR += claws-mail-dillo SUBDIR += claws-mail-fancy SUBDIR += claws-mail-fetchinfo SUBDIR += claws-mail-gdata SUBDIR += claws-mail-keyword_warner SUBDIR += claws-mail-libravatar SUBDIR += claws-mail-litehtml_viewer SUBDIR += claws-mail-mailmbox SUBDIR += claws-mail-managesieve SUBDIR += claws-mail-newmail SUBDIR += claws-mail-notification SUBDIR += claws-mail-pdf_viewer SUBDIR += claws-mail-perl SUBDIR += claws-mail-pgp SUBDIR += claws-mail-plugins SUBDIR += claws-mail-rssyl SUBDIR += claws-mail-spam_report SUBDIR += claws-mail-spamassassin SUBDIR += claws-mail-tnef_parse SUBDIR += claws-mail-vcalendar SUBDIR += clawsker SUBDIR += cleanup-maildir SUBDIR += cone SUBDIR += coolmail SUBDIR += courier SUBDIR += courier-analog SUBDIR += courier-authlib-vchkpw SUBDIR += courier-imap SUBDIR += couriergraph SUBDIR += crm114 SUBDIR += cvsmail SUBDIR += cyrus-imapd25 SUBDIR += cyrus-imapd30 SUBDIR += cyrus-imapd32 SUBDIR += cyrus-imapd34 SUBDIR += cyrus-imapd36 SUBDIR += cyrus-imapd38 SUBDIR += cyrus2courier SUBDIR += cyrus2dovecot SUBDIR += datovka SUBDIR += davmail SUBDIR += dbmail SUBDIR += dcc-dccd SUBDIR += deforaos-mailer SUBDIR += delatt SUBDIR += dk-milter SUBDIR += dkfilter SUBDIR += dkimproxy SUBDIR += dma SUBDIR += dmarcts-report-parser SUBDIR += dot-forward SUBDIR += dovecot SUBDIR += dovecot-coi SUBDIR += dovecot-fts-elastic SUBDIR += dovecot-fts-flatcurve SUBDIR += dovecot-fts-xapian SUBDIR += dovecot-pigeonhole SUBDIR += dovecot-xaps SUBDIR += dspam SUBDIR += ecartis SUBDIR += elm SUBDIR += emailrelay SUBDIR += emil SUBDIR += enma SUBDIR += eps SUBDIR += epstools SUBDIR += evolution SUBDIR += evolution-ews SUBDIR += exilog SUBDIR += exim SUBDIR += exim-doc-html SUBDIR += exim-doc-pdf SUBDIR += exim-doc-postscript SUBDIR += exim-ldap2 SUBDIR += exim-monitor SUBDIR += exim-mysql SUBDIR += exim-postgresql SUBDIR += exim-sa-exim SUBDIR += exim-sqlite SUBDIR += exipick SUBDIR += exmh-devel SUBDIR += exmh2 SUBDIR += ez-pine-gpg SUBDIR += ezmlm SUBDIR += ezmlm-idx SUBDIR += faces SUBDIR += fastforward SUBDIR += fdm SUBDIR += fetchmail SUBDIR += fetchmailconf SUBDIR += filtermail SUBDIR += findmaildirs SUBDIR += geary SUBDIR += gensig SUBDIR += getmail6 SUBDIR += gmime26 SUBDIR += gmime26-sharp SUBDIR += gmime30 SUBDIR += gnarwl SUBDIR += gnubiff SUBDIR += gnumail SUBDIR += gotmail SUBDIR += grepmail SUBDIR += greyfix SUBDIR += greylite SUBDIR += gubby SUBDIR += hashcash SUBDIR += hbiff SUBDIR += heirloom-mailx SUBDIR += hydroxide SUBDIR += ifile SUBDIR += im SUBDIR += imapdedup SUBDIR += imapfilter SUBDIR += imapsync SUBDIR += imaptools SUBDIR += imaputils SUBDIR += isbg SUBDIR += isoqlog SUBDIR += isync SUBDIR += james SUBDIR += jamlib SUBDIR += jmba SUBDIR += junkfilter SUBDIR += jwsmtp SUBDIR += lbdb SUBDIR += lens SUBDIR += libcmime SUBDIR += libdkim SUBDIR += libdomainkeys SUBDIR += libesmtp SUBDIR += libetpan SUBDIR += libmilter SUBDIR += libpst SUBDIR += libsieve SUBDIR += libspamtest SUBDIR += libspf2 SUBDIR += libsrs2 SUBDIR += libsrs_alt SUBDIR += libvmime SUBDIR += listadmin SUBDIR += lmtp2nntp SUBDIR += lookout SUBDIR += lurker SUBDIR += mail-expire SUBDIR += mail2sms SUBDIR += mailagent SUBDIR += maildrop SUBDIR += mailest SUBDIR += mailfromd SUBDIR += mailfront SUBDIR += mailgraph SUBDIR += mailhog SUBDIR += mailio SUBDIR += mailman SUBDIR += mailman-exim4 SUBDIR += mailman-postfix SUBDIR += mailman3 SUBDIR += mailpit SUBDIR += mailscanner SUBDIR += mailslurper SUBDIR += mailutils SUBDIR += mailx SUBDIR += mairix SUBDIR += masqmail SUBDIR += mb2md SUBDIR += mblaze SUBDIR += mbox2imap SUBDIR += mbox2mdir SUBDIR += mboxgrep SUBDIR += mboxstats SUBDIR += mbx2mbox SUBDIR += mdpop3d SUBDIR += mess822 SUBDIR += meta1 SUBDIR += metamail SUBDIR += mew SUBDIR += mew-devel SUBDIR += mfmod_ldap SUBDIR += mfmod_openmetrics SUBDIR += mfmod_pcre SUBDIR += milter-bogom SUBDIR += milter-callback SUBDIR += milter-greylist SUBDIR += milter-manager SUBDIR += milter-regex SUBDIR += milter-skem SUBDIR += mime-construct SUBDIR += mime4j SUBDIR += mimedefang SUBDIR += mini_sendmail SUBDIR += minimalist SUBDIR += missey SUBDIR += mlmmj SUBDIR += mlmmj-archive-mid SUBDIR += mlmmj-archiver SUBDIR += mlmmj-webview SUBDIR += mls SUBDIR += mmh SUBDIR += mmr SUBDIR += mox SUBDIR += mpop SUBDIR += msglint SUBDIR += msmtp SUBDIR += mu SUBDIR += mu4e SUBDIR += mu4e-maildirs SUBDIR += mulberry SUBDIR += mutt SUBDIR += mutt_vc_query SUBDIR += nbsmtp SUBDIR += neomutt SUBDIR += nextcloud-mail SUBDIR += nmh SUBDIR += nmh-devel SUBDIR += noattach SUBDIR += nocc SUBDIR += normalizemime SUBDIR += notmuch SUBDIR += notmuch-emacs SUBDIR += notmuch-mutt SUBDIR += nullmailer SUBDIR += openarc SUBDIR += opendkim + SUBDIR += opendkim-devel SUBDIR += opendmarc SUBDIR += opensmtpd SUBDIR += opensmtpd-extras SUBDIR += opensmtpd-extras-queue-ram SUBDIR += opensmtpd-extras-scheduler-ram SUBDIR += opensmtpd-extras-table-ldap SUBDIR += opensmtpd-extras-table-mysql SUBDIR += opensmtpd-extras-table-passwd SUBDIR += opensmtpd-extras-table-postgresql SUBDIR += opensmtpd-extras-table-redis SUBDIR += opensmtpd-extras-table-socketmap SUBDIR += opensmtpd-extras-table-sqlite SUBDIR += opensmtpd-filter-rspamd SUBDIR += opensmtpd-filter-senderscore SUBDIR += osbf-lua SUBDIR += ovs SUBDIR += p5-CGP-CLI SUBDIR += p5-Clamd SUBDIR += p5-Dancer-Plugin-Email SUBDIR += p5-Dancer2-Plugin-Email SUBDIR += p5-Data-Validate-Email SUBDIR += p5-Email-Abstract SUBDIR += p5-Email-Address SUBDIR += p5-Email-Address-List SUBDIR += p5-Email-Address-Loose SUBDIR += p5-Email-Address-UseXS SUBDIR += p5-Email-Address-XS SUBDIR += p5-Email-AddressParser SUBDIR += p5-Email-Date SUBDIR += p5-Email-Date-Format SUBDIR += p5-Email-Delete SUBDIR += p5-Email-Filter SUBDIR += p5-Email-Find SUBDIR += p5-Email-Folder SUBDIR += p5-Email-Folder-IMAP SUBDIR += p5-Email-Folder-IMAPS SUBDIR += p5-Email-Folder-POP3 SUBDIR += p5-Email-FolderType SUBDIR += p5-Email-FolderType-Net SUBDIR += p5-Email-LocalDelivery SUBDIR += p5-Email-LocalDelivery-Ezmlm SUBDIR += p5-Email-MIME SUBDIR += p5-Email-MIME-Attachment-Stripper SUBDIR += p5-Email-MIME-ContentType SUBDIR += p5-Email-MIME-CreateHTML SUBDIR += p5-Email-MIME-Creator-ISO_2022_JP SUBDIR += p5-Email-MIME-Encodings SUBDIR += p5-Email-MIME-RFC2047 SUBDIR += p5-Email-MessageID SUBDIR += p5-Email-Outlook-Message SUBDIR += p5-Email-Reply SUBDIR += p5-Email-Send SUBDIR += p5-Email-Sender SUBDIR += p5-Email-Sender-Transport-SMTP-TLS SUBDIR += p5-Email-Sender-Transport-SQLite SUBDIR += p5-Email-Simple SUBDIR += p5-Email-Simple-FromHandle SUBDIR += p5-Email-Stuffer SUBDIR += p5-Email-Valid SUBDIR += p5-Email-Valid-Loose SUBDIR += p5-FuzzyOcr-devel SUBDIR += p5-GMail-IMAPD SUBDIR += p5-IMAP-Admin SUBDIR += p5-IMAP-Client SUBDIR += p5-IMAP-Sieve SUBDIR += p5-LMAP-CID2SPF SUBDIR += p5-Log-Procmail SUBDIR += p5-MIME-AltWords SUBDIR += p5-MIME-Charset SUBDIR += p5-MIME-EcoEncode SUBDIR += p5-MIME-EncWords SUBDIR += p5-MIME-Explode SUBDIR += p5-MIME-Lite SUBDIR += p5-MIME-Lite-HTML SUBDIR += p5-MIME-Lite-TT SUBDIR += p5-MIME-Lite-TT-HTML SUBDIR += p5-MIME-Tools SUBDIR += p5-MIME-Types SUBDIR += p5-Mail-Address-MobileJp SUBDIR += p5-Mail-Alias SUBDIR += p5-Mail-Audit SUBDIR += p5-Mail-Audit-Attach SUBDIR += p5-Mail-AuthenticationResults SUBDIR += p5-Mail-BIMI SUBDIR += p5-Mail-Box SUBDIR += p5-Mail-Box-IMAP4 SUBDIR += p5-Mail-Box-IMAP4-SSL SUBDIR += p5-Mail-Box-POP3 SUBDIR += p5-Mail-Box-Parser-C SUBDIR += p5-Mail-Bulkmail SUBDIR += p5-Mail-CheckUser SUBDIR += p5-Mail-DKIM SUBDIR += p5-Mail-DMARC SUBDIR += p5-Mail-DataFeed-Abusix SUBDIR += p5-Mail-DeliveryStatus-BounceParser SUBDIR += p5-Mail-DomainKeys SUBDIR += p5-Mail-Ezmlm SUBDIR += p5-Mail-Field-Received SUBDIR += p5-Mail-FilterXML SUBDIR += p5-Mail-Folder SUBDIR += p5-Mail-Freshmeat SUBDIR += p5-Mail-GnuPG SUBDIR += p5-Mail-Graph SUBDIR += p5-Mail-IMAPClient SUBDIR += p5-Mail-IMAPTalk SUBDIR += p5-Mail-LMLM SUBDIR += p5-Mail-ListDetector SUBDIR += p5-Mail-Mbox-MessageParser SUBDIR += p5-Mail-MboxParser SUBDIR += p5-Mail-Message SUBDIR += p5-Mail-Milter-Authentication SUBDIR += p5-Mail-OpenDKIM SUBDIR += p5-Mail-OpenRelay-Simple SUBDIR += p5-Mail-POP3Client SUBDIR += p5-Mail-Procmail SUBDIR += p5-Mail-Procmailrc SUBDIR += p5-Mail-RBL SUBDIR += p5-Mail-RFC822-Address SUBDIR += p5-Mail-SPF SUBDIR += p5-Mail-SRS SUBDIR += p5-Mail-SendEasy SUBDIR += p5-Mail-Sender SUBDIR += p5-Mail-Sendmail SUBDIR += p5-Mail-Spool SUBDIR += p5-Mail-Tools SUBDIR += p5-Mail-Transport SUBDIR += p5-Mail-Transport-Dbx SUBDIR += p5-Mail-Verify SUBDIR += p5-Mail-Verp SUBDIR += p5-Mail-Webmail-Gmail SUBDIR += p5-Mojolicious-Plugin-Mail SUBDIR += p5-Net-IMAP-Client SUBDIR += p5-Net-IMAP-Server SUBDIR += p5-Net-IMAP-Simple SUBDIR += p5-Net-IMAP-Simple-SSL SUBDIR += p5-Net-LMTP SUBDIR += p5-Net-ManageSieve SUBDIR += p5-Net-POP3-SSLWrapper SUBDIR += p5-Net-QMTP SUBDIR += p5-Net-SMTP-Server SUBDIR += p5-Net-SMTP-TLS SUBDIR += p5-Net-SMTP-TLS-ButMaintained SUBDIR += p5-Net-SMTPS SUBDIR += p5-Net-SMTP_auth SUBDIR += p5-Net-SenderBase SUBDIR += p5-Net-Server-Mail SUBDIR += p5-POE-Component-Client-POP3 SUBDIR += p5-POE-Component-Client-SMTP SUBDIR += p5-POE-Component-SMTP SUBDIR += p5-POE-Filter-Transparent-SMTP SUBDIR += p5-Parse-MIME SUBDIR += p5-Parse-Syslog-Mail SUBDIR += p5-Qmail-Envelope SUBDIR += p5-SES SUBDIR += p5-Sendmail-AccessDB SUBDIR += p5-Sendmail-Milter SUBDIR += p5-Sisimai SUBDIR += p5-Test-Email SUBDIR += p5-URI-imap SUBDIR += p5-URI-imaps SUBDIR += p5-WWW-GMail SUBDIR += p5-WWW-Hotmail SUBDIR += p5-qpsmtpd SUBDIR += panda-cclient SUBDIR += panda-imap SUBDIR += pantomime SUBDIR += pathalias SUBDIR += pear-Contact_Vcard_Build SUBDIR += pear-Contact_Vcard_Parse SUBDIR += pear-Horde_Imap_Client SUBDIR += pear-Horde_Kolab_Storage SUBDIR += pear-Horde_ListHeaders SUBDIR += pear-Horde_Mail SUBDIR += pear-Horde_Mail_Autoconfig SUBDIR += pear-Horde_Mapi SUBDIR += pear-Horde_Mime SUBDIR += pear-Horde_Mime_Viewer SUBDIR += pear-Horde_Smtp SUBDIR += pear-MIME_Type SUBDIR += pear-Mail SUBDIR += pear-Mail_Mbox SUBDIR += pear-Mail_Mime SUBDIR += pear-Mail_Queue SUBDIR += pear-Mail_mimeDecode SUBDIR += pear-Net_Cyrus SUBDIR += pear-Net_IMAP SUBDIR += pear-Net_LMTP SUBDIR += pecl-mailparse SUBDIR += perdition SUBDIR += pflogsumm SUBDIR += pfqueue SUBDIR += php81-imap SUBDIR += php82-imap SUBDIR += php83-imap SUBDIR += phplist SUBDIR += phpmailer SUBDIR += phpmailer6 SUBDIR += pine-pgp-filters SUBDIR += pm-lib SUBDIR += policyd2 SUBDIR += popa3d SUBDIR += popa3d-before-sendmail SUBDIR += popcheck SUBDIR += popfile SUBDIR += poppwd SUBDIR += popular SUBDIR += postfinger SUBDIR += postfix SUBDIR += postfix-current SUBDIR += postfix-logwatch SUBDIR += postfix-policyd-sf SUBDIR += postfix-policyd-spf-perl SUBDIR += postfix-policyd-weight SUBDIR += postfix-postfwd SUBDIR += postfixadmin SUBDIR += postfixadmin-lite SUBDIR += postfixadmin33 SUBDIR += postfixadmin33-lite SUBDIR += postgrey SUBDIR += postsrsd SUBDIR += prepflog SUBDIR += procmail SUBDIR += procmail-bgrb SUBDIR += proxsmtp SUBDIR += py-Products.SecureMailHost SUBDIR += py-afew SUBDIR += py-aiosmtpd SUBDIR += py-alot SUBDIR += py-authheaders SUBDIR += py-authres SUBDIR += py-checkdmarc SUBDIR += py-django-mailbox SUBDIR += py-django-mailman3 SUBDIR += py-dkimpy SUBDIR += py-dkimpy-milter SUBDIR += py-email-reply-parser SUBDIR += py-email-validator SUBDIR += py-flanker SUBDIR += py-flask-mail SUBDIR += py-flufl.bounce SUBDIR += py-fuglu SUBDIR += py-imap-tools SUBDIR += py-imapclient SUBDIR += py-imaplib2 SUBDIR += py-mail-parser SUBDIR += py-mailmanclient SUBDIR += py-mailnag SUBDIR += py-mailsuite SUBDIR += py-managesieve3 SUBDIR += py-milter SUBDIR += py-notmuch SUBDIR += py-notmuch2 SUBDIR += py-offlineimap3 SUBDIR += py-postfix-mta-sts-resolver SUBDIR += py-premailer SUBDIR += py-pyisemail SUBDIR += py-pymailq SUBDIR += py-pysasl SUBDIR += py-pyspf SUBDIR += py-python-slimta SUBDIR += py-pyzmail SUBDIR += py-rfc6555 SUBDIR += py-spf-engine SUBDIR += py-validate_email SUBDIR += pymsgauth SUBDIR += pyzor SUBDIR += qconfirm SUBDIR += qmail SUBDIR += qmail-activedir SUBDIR += qmail-autoresponder SUBDIR += qmail-conf SUBDIR += qmail-contrib SUBDIR += qmail-dk SUBDIR += qmail-mysql SUBDIR += qmail-notify SUBDIR += qmail-qfilter SUBDIR += qmail-rblchk SUBDIR += qmail-remove SUBDIR += qmail-tls SUBDIR += qmailadmin SUBDIR += qmailanalog SUBDIR += qmailmrtg7 SUBDIR += qmhandle SUBDIR += qpopper SUBDIR += qsf SUBDIR += queue-fix SUBDIR += queue-repair SUBDIR += rainloop SUBDIR += ratelimit-policyd SUBDIR += raysfilter SUBDIR += razor-agents SUBDIR += rbl-milter SUBDIR += rblcheck SUBDIR += renattach SUBDIR += ripmime SUBDIR += rmilter SUBDIR += roundcube SUBDIR += roundcube-automatic_addressbook SUBDIR += roundcube-calendar-kolab SUBDIR += roundcube-carddav SUBDIR += roundcube-classic SUBDIR += roundcube-contextmenu SUBDIR += roundcube-gravatar SUBDIR += roundcube-html5_notifier SUBDIR += roundcube-identity_smtp SUBDIR += roundcube-larry SUBDIR += roundcube-login_info SUBDIR += roundcube-sauserprefs SUBDIR += roundcube-thunderbird_labels SUBDIR += roundcube-tls_icon SUBDIR += roundcube-twofactor_gauthenticator SUBDIR += roundcube-veximaccountadmin SUBDIR += roundcube-yubikey_auth SUBDIR += rspamd SUBDIR += rspamd-devel SUBDIR += rss2email3 SUBDIR += rubygem-actionmailbox60 SUBDIR += rubygem-actionmailbox61 SUBDIR += rubygem-actionmailbox70 SUBDIR += rubygem-actionmailbox71 SUBDIR += rubygem-actionmailer4 SUBDIR += rubygem-actionmailer5 SUBDIR += rubygem-actionmailer50 SUBDIR += rubygem-actionmailer52 SUBDIR += rubygem-actionmailer60 SUBDIR += rubygem-actionmailer61 SUBDIR += rubygem-actionmailer70 SUBDIR += rubygem-actionmailer71 SUBDIR += rubygem-email_reply_parser SUBDIR += rubygem-email_reply_parser-discourse SUBDIR += rubygem-email_reply_trimmer SUBDIR += rubygem-exception_notification SUBDIR += rubygem-extended_email_reply_parser SUBDIR += rubygem-gitlab-mail_room SUBDIR += rubygem-mail SUBDIR += rubygem-mail_room SUBDIR += rubygem-mailboxer SUBDIR += rubygem-mailfactory SUBDIR += rubygem-mini_mime SUBDIR += rubygem-net-imap SUBDIR += rubygem-net-pop SUBDIR += rubygem-net-smtp SUBDIR += rubygem-pony SUBDIR += rubygem-premailer SUBDIR += rubygem-premailer-rails SUBDIR += rubygem-premailer-rails-rails5 SUBDIR += rubygem-premailer-rails-rails52 SUBDIR += rubygem-premailer-rails-rails60 SUBDIR += rubygem-premailer-rails-rails61 SUBDIR += rubygem-premailer-rails-rails70 SUBDIR += rubygem-premailer-rails-rails71 SUBDIR += rubygem-premailer-rails110-rails70 SUBDIR += rubygem-rmail SUBDIR += rubygem-roadie SUBDIR += rubygem-roadie-rails-rails4 SUBDIR += rubygem-roadie-rails-rails52 SUBDIR += rubygem-roadie-rails-rails61 SUBDIR += rubygem-roadie3 SUBDIR += rubygem-ruby-qmail SUBDIR += rubygem-valid_email SUBDIR += rubygem-valid_email02 SUBDIR += rubygem-vmail SUBDIR += s-nail SUBDIR += sa-stats SUBDIR += sa-utils SUBDIR += scam-backscatter SUBDIR += sendmail SUBDIR += sendmail-devel SUBDIR += sendok SUBDIR += sentinel SUBDIR += serialmail SUBDIR += sgwi SUBDIR += sid-milter SUBDIR += sieve-connect SUBDIR += sigrot SUBDIR += simscan SUBDIR += slimta SUBDIR += sma SUBDIR += smfsav SUBDIR += smfsav-devel SUBDIR += smtp-cli SUBDIR += smtpfeed SUBDIR += smtpmail SUBDIR += smtprc SUBDIR += smtprelay SUBDIR += smtptrapd SUBDIR += snappymail SUBDIR += sortmail SUBDIR += spamass-ixhash SUBDIR += spamass-milter SUBDIR += spamass-rules SUBDIR += spamassassin SUBDIR += spamassassin-devel SUBDIR += spamassassin-dqs SUBDIR += spambnc SUBDIR += spamcup SUBDIR += spamd SUBDIR += spamguard SUBDIR += spamilter SUBDIR += spampd SUBDIR += spamprobe SUBDIR += spamstats SUBDIR += spfmilter SUBDIR += spfval SUBDIR += spmfilter SUBDIR += spmfilter-clamav SUBDIR += sqlgrey SUBDIR += squirrelmail SUBDIR += squirrelmail-abook_import_export-plugin SUBDIR += squirrelmail-askuserinfo-plugin SUBDIR += squirrelmail-avelsieve-plugin SUBDIR += squirrelmail-calendar_file_backend-plugin SUBDIR += squirrelmail-change_ldappass-plugin SUBDIR += squirrelmail-change_sqlpass-plugin SUBDIR += squirrelmail-check_quota-plugin SUBDIR += squirrelmail-compatibility-plugin SUBDIR += squirrelmail-decode SUBDIR += squirrelmail-email_footer-plugin SUBDIR += squirrelmail-login_auth-plugin SUBDIR += squirrelmail-login_notes-plugin SUBDIR += squirrelmail-mark_read-plugin SUBDIR += squirrelmail-multilogin-plugin SUBDIR += squirrelmail-notes-plugin SUBDIR += squirrelmail-notify-plugin SUBDIR += squirrelmail-password_forget-plugin SUBDIR += squirrelmail-plugins SUBDIR += squirrelmail-pupdate-plugin SUBDIR += squirrelmail-qmailadmin_login-plugin SUBDIR += squirrelmail-quota_usage-plugin SUBDIR += squirrelmail-sasql-plugin SUBDIR += squirrelmail-secure_login-plugin SUBDIR += squirrelmail-shared_calendars-plugin SUBDIR += squirrelmail-spam-buttons-plugin SUBDIR += squirrelmail-squirrel_logger-plugin SUBDIR += squirrelmail-timeout_user-plugin SUBDIR += squirrelmail-translations SUBDIR += squirrelmail-unsafe_image_rules-plugin SUBDIR += squirrelmail-user_special_mailboxes-plugin SUBDIR += squirrelmail-vlogin-plugin SUBDIR += squirrelmail-websearch-plugin SUBDIR += squirrelmail-wetteronline-plugin SUBDIR += sqwebmail SUBDIR += ssmtp SUBDIR += surblhost SUBDIR += swaks SUBDIR += sylpheed SUBDIR += sympa SUBDIR += t-prot SUBDIR += textmail SUBDIR += thunderbird SUBDIR += thunderbird-dictionaries SUBDIR += tlb SUBDIR += tmpmail SUBDIR += tpop3d SUBDIR += tumgreyspf SUBDIR += up-imapproxy SUBDIR += usendmail SUBDIR += vacation SUBDIR += vbsfilter SUBDIR += vexim SUBDIR += vpopmail SUBDIR += vqadmin SUBDIR += vrfy SUBDIR += wanderlust SUBDIR += websieve SUBDIR += whoson SUBDIR += wmbiff SUBDIR += wmmaiload SUBDIR += x-face-e21 SUBDIR += xbuffy SUBDIR += xcite SUBDIR += xfaces SUBDIR += xfce4-mailwatch-plugin SUBDIR += xmail SUBDIR += xmailbox SUBDIR += xmailwatcher SUBDIR += xpbiff .include diff --git a/mail/opendkim-devel/Makefile b/mail/opendkim-devel/Makefile new file mode 100644 index 000000000000..338b4141d3d1 --- /dev/null +++ b/mail/opendkim-devel/Makefile @@ -0,0 +1,229 @@ +PORTNAME= opendkim +DISTVERSIONPREFIX= rel-opendkim- +DISTVERSION= 2.11.0-Beta2-48 +DISTVERSIONSUFFIX= -g551ab382 +CATEGORIES= mail security +PKGNAMESUFFIX= -devel + +MAINTAINER= yasu@FreeBSD.org +COMMENT= DKIM library and milter implementation +WWW= http://opendkim.org/ + +LICENSE= BSD3CLAUSE SENDMAIL +LICENSE_COMB= multi +LICENSE_GROUPS_SENDMAIL= FSF OSI +LICENSE_NAME_SENDMAIL= Sendmail Open Source License +LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail +LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell \ + auto-accept + +USES= autoreconf cpe libtool perl5 pkgconfig shebangfix ssl +USE_GITHUB= yes +GH_ACCOUNT= trusteddomainproject +GH_PROJECT= OpenDKIM +USE_LDCONFIG= yes +USE_PERL5= run + +SHEBANG_FILES= opendkim/opendkim-genkey* reprrd/opendkim-reprrdimport* \ + reputation/opendkim-* stats/opendkim-* + +GNU_CONFIGURE= yes + +MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" +MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +TEST_TARGET= check + +CONFLICTS_INSTALL= opendkim + +PORTDOCS= * + +OPTIONS_DEFINE= BDB_BASE CURL DOCS FILTER GNUTLS JANSSON LDNS \ + LMDB LUA MEMCACHED OPENDBX OPENLDAP POPAUTH \ + QUERY_CACHE SASL +OPTIONS_DEFAULT= FILTER LUA UNBOUND +OPTIONS_GROUP= DEVELOPER FFR +OPTIONS_GROUP_DEVELOPER= ALLSYMBOLS CODECOVERAGE DEBUG +OPTIONS_GROUP_FFR= ADSP_LISTS ATPS DB_HANDLE_POOLS DEFAULT_SENDER \ + DIFFHEADERS IDENTITY_HEADER LDAP_CACHING \ + LUA_ONLY_SIGNING POSTGRES_RECONNECT_HACK \ + RATE_LIMIT RBL REPLACE_RULES REPRRD REPUTATION \ + RESIGN SENDER_MACRO SOCKETDB STATS STATSEXT VBR +OPTIONS_SINGLE= RESOLV +OPTIONS_SINGLE_RESOLV= STOCK_RESOLVER UNBOUND +NO_OPTIONS_SORT= yes +OPTIONS_SUB= yes + +ADSP_LISTS_DESC= ADSP filtering for lists (experimental) +ALLSYMBOLS_DESC= Export all internal symbols for better test coverage +ATPS_DESC= Authorized Third Party Sign check +BDB_BASE_DESC= Use Berkeley DB from base +CODECOVERAGE_DESC= Enable internal code-coverage/profiling +CURL_DESC= Use cURL for web queries +DB_HANDLE_POOLS_DESC= Database handle pools (experimental) +DEBUG_DESC= Build with debug symbols +DEFAULT_SENDER_DESC= Default sender address +DEVELOPER_DESC= Options useful for OpenDKIM development +DIFFHEADERS_DESC= Compare signed and verified headers (experimental) +FFR_DESC= Use features marked as For-Future-Releases +FILTER_DESC= OpenDKIM filter, requires libmilter/Sendmail +GNUTLS_DESC= Use GnuTLS instead of OpenSSL +IDENTITY_HEADER_DESC= Special header to set identity +JANSSON_DESC= Statistics and other output as JSON data +LDAP_CACHING_DESC= LDAP query piggybacking and caching +LDNS_DESC= Use LDNS library for DNS queries +LMDB_DESC= Use Lightning Memory-Mapped DB key-value store +LUA_DESC= Describe filter policy with lua +LUA_ONLY_SIGNING_DESC= Message signing by Lua only +MEMCACHED_DESC= Use memcached as a data set +OPENDBX_DESC= Store filter policies via OpenDBX +OPENLDAP_DESC= Store filter policies in LDAP +POPAUTH_DESC= Use POP authentication DB +POSTGRES_RECONNECT_HACK_DESC= PostgreSQL connection error detection bug hack +QUERY_CACHE_DESC= Cache DNS query results locally +RATE_LIMIT_DESC= DKIM based rate limiting support +RBL_DESC= Realtime Blacklist query support +REPLACE_RULES_DESC= String substition when signing +REPRRD_DESC= Support for collaborative reputation that uses rrdtool (experimental) +REPUTATION_DESC= Reputation check (experimental) +RESIGN_DESC= One-step resigning +SASL_DESC= Enable SASL authentication with LDAP +SENDER_MACRO_DESC= Macro to determine sender +SOCKETDB_DESC= Arbitrary socket data sets +STATSEXT_DESC= Localized stats extensions +STATS_DESC= Per-message and per-signature statistics +STOCK_RESOLVER_DESC= Use the stock resolver library +UNBOUND_DESC= Use unbound DNS library +VBR_DESC= Vouch-By-Reference support + +ADSP_LISTS_CONFIGURE_ENABLE= adsp_lists + +ALLSYMBOLS_CONFIGURE_ENABLE= allsymbols + +ATPS_CONFIGURE_ENABLE= atps + +CODECOVERAGE_CONFIGURE_ENABLE= codecoverage + +CURL_LIB_DEPENDS= libcurl.so:ftp/curl +CURL_CONFIGURE_WITH= libcurl + +DB_HANDLE_POOLS_CONFIGURE_ENABLE= db_handle_pools + +DEBUG_CONFIGURE_ENABLE= debug + +DEFAULT_SENDER_CONFIGURE_ENABLE= default_sender + +DIFFHEADERS_LIB_DEPENDS= libtre.so:textproc/libtre +DIFFHEADERS_CONFIGURE_ENABLE= diffheaders +DIFFHEADERS_CONFIGURE_WITH= tre=${LOCALBASE} + +FILTER_USE= RC_SUBR=milter-opendkim + +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +GNUTLS_CONFIGURE_OFF= --with-openssl=${OPENSSLBASE} +GNUTLS_CONFIGURE_WITH= gnutls + +IDENTITY_HEADER_CONFIGURE_ENABLE= identity_header + +JANSSON_LIB_DEPENDS= libjansson.so:devel/jansson +JANSSON_CONFIGURE_WITH= libjansson + +LDAP_CACHING_USES= ldap +LDAP_CACHING_CONFIGURE_ENABLE= ldap_caching + +LDNS_LIB_DEPENDS= libldns.so:dns/ldns +LDNS_CONFIGURE_WITH= ldns + +LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb +LMDB_CONFIGURE_WITH= lmdb + +LUA_USES= lua +LUA_CONFIGURE_WITH= lua + +LUA_ONLY_SIGNING_IMPLIES= LUA +LUA_ONLY_SIGNING_CONFIGURE_ENABLE= lua_only_signing + +MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached +MEMCACHED_CONFIGURE_WITH= libmemcached + +OPENDBX_LIB_DEPENDS= libopendbx.so:databases/opendbx +OPENDBX_CONFIGURE_WITH= odbx + +OPENLDAP_USES= ldap +OPENLDAP_CONFIGURE_WITH= openldap + +POPAUTH_CONFIGURE_ENABLE= popauth + +POSTGRES_RECONNECT_HACK_CONFIGURE_ENABLE= postgresql_reconnect_hack + +QUERY_CACHE_CONFIGURE_ENABLE= query_cache + +RATE_LIMIT_CONFIGURE_ENABLE= rate_limit + +RBL_IMPLIES= LUA +RBL_CONFIGURE_ENABLE= rbl + +REPLACE_RULES_CONFIGURE_ENABLE= replace_rules + +REPRRD_LIB_DEPENDS= librrd.so:databases/rrdtool +REPRRD_CONFIGURE_ENABLE= reprrd + +REPUTATION_IMPLIES= CURL JANSSON +REPUTATION_CONFIGURE_ENABLE= reputation + +RESIGN_CONFIGURE_ENABLE= resign + +SASL_IMPLIES= OPENLDAP +SASL_CONFIGURE_WITH= sasl + +SENDER_MACRO_CONFIGURE_ENABLE= sender_macro + +SOCKETDB_CONFIGURE_ENABLE= socketdb + +STATSEXT_IMPLIES= LUA STATS +STATSEXT_CONFIGURE_ENABLE= statsext + +STATS_CONFIGURE_ENABLE= stats + +UNBOUND_LIB_DEPENDS= libunbound.so:dns/unbound +UNBOUND_CONFIGURE_WITH= unbound + +VBR_CONFIGURE_ENABLE= vbr + +.include + +.if ${PORT_OPTIONS:MFILTER} +SUB_FILES= pkg-message +WITHOUT_MILTER_CFLAGS= yes +WITHOUT_MILTER_LDFLAGS= yes +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" +CONFIGURE_ARGS+= --with-milter=${MILTERBASE} +.endif + +.if ${PORT_OPTIONS:MPOPAUTH} || ${PORT_OPTIONS:MQUERY_CACHE} || \ + ${PORT_OPTIONS:MLDAP_CACHING} || ${PORT_OPTIONS:MREPUTATION} || \ + ${PORT_OPTIONS:MSTATS} +. if ${PORT_OPTIONS:MBDB_BASE} +CONFIGURE_ARGS+= --with-db-lib=c +. else +CONFIGURE_ARGS+= --with-db-incdir=${BDB_INCLUDE_DIR} \ + --with-db-lib=${BDB_LIB_NAME} \ + --with-db-libdir=${BDB_LIB_DIR} +USES+= bdb +. endif +.endif + +.if ${PORT_OPTIONS:MCODECOVERAGE} +LDFLAGS+= -lpthread +.endif + +pre-configure: + ${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/s/lua5\.[0-9]/lua-${LUA_VER}/' \ + -e '/PKG_CHECK_MODULES/s/cyrussasl/libsasl2/' \ + ${WRKSRC}/configure.ac + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail + ${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \ + ${STAGEDIR}${PREFIX}/etc/mail/ + +.include diff --git a/mail/opendkim-devel/distinfo b/mail/opendkim-devel/distinfo new file mode 100644 index 000000000000..e18ae8bf8208 --- /dev/null +++ b/mail/opendkim-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717994186 +SHA256 (trusteddomainproject-OpenDKIM-rel-opendkim-2.11.0-Beta2-48-g551ab382_GH0.tar.gz) = 216dd1dcd4cbcd68e6524c1cabe071b9a25356d3ea135c3509d689c2085f3678 +SIZE (trusteddomainproject-OpenDKIM-rel-opendkim-2.11.0-Beta2-48-g551ab382_GH0.tar.gz) = 803244 diff --git a/mail/opendkim-devel/files/milter-opendkim.in b/mail/opendkim-devel/files/milter-opendkim.in new file mode 100644 index 000000000000..2ce969582af0 --- /dev/null +++ b/mail/opendkim-devel/files/milter-opendkim.in @@ -0,0 +1,213 @@ +#!/bin/sh + +# PROVIDE: milter-opendkim +# REQUIRE: DAEMON +# BEFORE: mail +# KEYWORD: shutdown + +# Define these milteropendkim_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/milteropendkim +# +# milteropendkim_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable dkim-milter +# milteropendkim_uid (str): Set username to run milter. +# milteropendkim_gid (str): Set group to run milter. +# milteropendkim_profiles (list): Set to "" by default. +# Define your profiles here. +# milteropendkim_cfgfile (str): Configuration file. See opendkim.conf(5) +# +# milteropendkim_${profile}_* : Variables per profile. +# Sockets must be different from each other. +# +# milteropendkim_socket_perms (str): +# Permissions for local|unix socket. +# +# all parameters below now can be set in opendkim.conf(5). +# milteropendkim_socket (str): Path to the milter socket. +# milteropendkim_domain (str): Domainpart of From: in mails to sign. +# milteropendkim_key (str): Path to the private key file to sign with. +# milteropendkim_selector (str): Selector to use when signing +# milteropendkim_alg (str): Algorithm to use when signing +# milteropendkim_flags (str): Flags passed to start command. + +. /etc/rc.subr + +name="milteropendkim" +rcvar=milteropendkim_enable + +extra_commands="reload" +start_precmd="dkim_prepcmd" +start_postcmd="dkim_start_postcmd" +stop_postcmd="dkim_postcmd" +command="%%PREFIX%%/sbin/opendkim" +_piddir="/var/run/milteropendkim" +pidfile="${_piddir}/pid" +sig_reload="USR1" + +load_rc_config $name + +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# +: ${milteropendkim_enable:="NO"} +: ${milteropendkim_uid:="mailnull"} +: ${milteropendkim_gid:="mailnull"} +: ${milteropendkim_cfgfile:="%%PREFIX%%/etc/mail/opendkim.conf"} +: ${milteropendkim_socket_perms:="0755"} + +# Options other than above can be set with $milteropendkim_flags. +# see dkim-milter documentation for detail. + +extra_commands="reload" +start_precmd="dkim_prepcmd" +start_postcmd="dkim_start_postcmd" +stop_postcmd="dkim_cleansockets" +command="%%PREFIX%%/sbin/opendkim" +sig_reload="USR1" + +dkim_cleansockets() +{ + case ${milteropendkim_socket%:*} in + local|unix) + rm -f "${milteropendkim_socket#*:}" + ;; + esac +} + +dkim_get_pidfile() +{ + if get_pidfile_from_conf PidFile ${milteropendkim_cfgfile#-x }; then + pidfile="$_pidfile_from_conf" + else + pidfile="/var/run/milteropendkim/${profile:-pid}" + fi +} + +dkim_prepcmd() +{ + dkim_cleansockets + dkim_get_pidfile + if [ ! -d "$(dirname "$pidfile")" ]; then + mkdir "$(dirname "$pidfile")" + fi + case ${milteropendkim_socket%:*} in + local|unix) + socketfile=${milteropendkim_socket#*:} + install -d -o ${milteropendkim_uid%:*} -g $milteropendkim_gid \ + -m ${milteropendkim_socket_perms} \ + ${pidfile%/*} ${socketfile%/*} + ;; + esac +} + +dkim_start_postcmd() +{ + case ${milteropendkim_socket%:*} in + local|unix) + # postcmd is executed too fast and socket is not created before checking... + sleep 1 + chmod -f ${milteropendkim_socket_perms} ${milteropendkim_socket#*:} + ;; + esac +} + +if [ -n "$2" ]; then + profile="$2" + if [ -n "${milteropendkim_profiles}" ]; then + pidfile="${_piddir}/${profile}.pid" + eval milteropendkim_enable="\${milteropendkim_${profile}_enable:-${milteropendkim_enable}}" + eval milteropendkim_socket="\${milteropendkim_${profile}_socket:-}" + eval milteropendkim_socket_perms="\${milteropendkim_${profile}_socket_perms:-}" + if [ -z "${milteropendkim_socket}" ];then + echo "You must define a socket (milteropendkim_${profile}_socket)" + exit 1 + fi + eval milteropendkim_cfgfile="\${milteropendkim_${profile}_cfgfile:-${milteropendkim_cfgfile}}" + eval milteropendkim_domain="\${milteropendkim_${profile}_domain:-${milteropendkim_domain}}" + eval milteropendkim_key="\${milteropendkim_${profile}_key:-${milteropendkim_key}}" + eval milteropendkim_selector="\${milteropendkim_${profile}_selector:-${milteropendkim_selector}}" + eval milteropendkim_alg="\${milteropendkim_${profile}_alg:-${milteropendkim_alg}}" + eval milteropendkim_flags="\${milteropendkim_${profile}_flags:-${milteropendkim_flags}}" + if [ -f "${milteropendkim_cfgfile}" ];then + milteropendkim_cfgfile="-x ${milteropendkim_cfgfile}" + else + milteropendkim_cfgfile="" + fi + if [ -n "${milteropendkim_socket}" ];then + _socket_prefix="-p" + fi + if [ -n "${milteropendkim_uid}" ];then + _uid_prefix="-u" + if [ -n "${milteropendkim_gid}" ];then + milteropendkim_uid=${milteropendkim_uid}:${milteropendkim_gid} + fi + fi + if [ -n "${milteropendkim_domain}" ];then + milteropendkim_domain="-d ${milteropendkim_domain}" + fi + if [ -n "${milteropendkim_key}" ];then + milteropendkim_key="-k ${milteropendkim_key}" + fi + if [ -n "${milteropendkim_selector}" ];then + milteropendkim_selector="-s ${milteropendkim_selector}" + fi + if [ -n "${milteropendkim_alg}" ];then + milteropendkim_alg="-S ${milteropendkim_alg}" + fi + dkim_get_pidfile + command_args="-l ${_socket_prefix} ${milteropendkim_socket} ${_uid_prefix} ${milteropendkim_uid} -P ${pidfile} ${milteropendkim_cfgfile} ${milteropendkim_domain} ${milteropendkim_key} ${milteropendkim_selector} ${milteropendkim_alg}" + else + echo "$0: extra argument ignored" + fi +else + if [ -n "${milteropendkim_profiles}" ] && [ -n "$1" ]; then + if [ "$1" != "restart" ]; then + for profile in ${milteropendkim_profiles}; do + echo "===> milteropendkim profile: ${profile}" + %%PREFIX%%/etc/rc.d/milter-opendkim $1 ${profile} + retcode="$?" + if [ "${retcode}" -ne 0 ]; then + failed="${profile} (${retcode}) ${failed:-}" + else + success="${profile} ${success:-}" + fi + done + exit 0 + else + restart_precmd="" + fi + else + if [ -f "${milteropendkim_cfgfile}" ];then + milteropendkim_cfgfile="-x ${milteropendkim_cfgfile}" + else + milteropendkim_cfgfile="" + fi + if [ -n "${milteropendkim_socket}" ];then + _socket_prefix="-p" + fi + if [ -n "${milteropendkim_uid}" ];then + _uid_prefix="-u" + if [ -n "${milteropendkim_gid}" ];then + milteropendkim_uid=${milteropendkim_uid}:${milteropendkim_gid} + fi + fi + if [ -n "${milteropendkim_domain}" ];then + milteropendkim_domain="-d ${milteropendkim_domain}" + fi + if [ -n "${milteropendkim_key}" ];then + milteropendkim_key="-k ${milteropendkim_key}" + fi + if [ -n "${milteropendkim_selector}" ];then + milteropendkim_selector="-s ${milteropendkim_selector}" + fi + if [ -n "${milteropendkim_alg}" ];then + milteropendkim_alg="-S ${milteropendkim_alg}" + fi + dkim_get_pidfile + command_args="-l ${_socket_prefix} ${milteropendkim_socket} ${_uid_prefix} ${milteropendkim_uid} -P ${pidfile} ${milteropendkim_cfgfile} ${milteropendkim_domain} ${milteropendkim_key} ${milteropendkim_selector} ${milteropendkim_alg}" + fi +fi + +run_rc_command "$1" diff --git a/mail/opendkim-devel/files/patch-opendkim_opendkim-crypto.c b/mail/opendkim-devel/files/patch-opendkim_opendkim-crypto.c new file mode 100644 index 000000000000..b0c9326a78a5 --- /dev/null +++ b/mail/opendkim-devel/files/patch-opendkim_opendkim-crypto.c @@ -0,0 +1,20 @@ +--- opendkim/opendkim-crypto.c.orig 2022-12-30 01:52:49 UTC ++++ opendkim/opendkim-crypto.c +@@ -221,7 +221,7 @@ dkimf_crypto_free_id(void *ptr) + { + assert(pthread_setspecific(id_key, ptr) == 0); + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)) + OPENSSL_thread_stop(); + #else + ERR_remove_state(0); +@@ -399,7 +399,7 @@ dkimf_crypto_free(void) + { + if (crypto_init_done) + { +-#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)) + OPENSSL_thread_stop(); + #else + CRYPTO_cleanup_all_ex_data(); diff --git a/mail/opendkim-devel/files/patch-opendkim_opendkim.c b/mail/opendkim-devel/files/patch-opendkim_opendkim.c new file mode 100644 index 000000000000..8ec336794477 --- /dev/null +++ b/mail/opendkim-devel/files/patch-opendkim_opendkim.c @@ -0,0 +1,36 @@ +commit 7c70ee7c86da1cecc621182355cc950d3b193314 +Author: David Bürgin +Date: Sat Oct 14 09:19:37 2023 +0200 + + Delete Authentication-Results headers in reverse + +diff --git opendkim/opendkim.c opendkim/opendkim.c +index 803f37b0..cfa5f018 100644 +--- opendkim/opendkim.c ++++ opendkim/opendkim.c +@@ -13653,8 +13653,15 @@ mlfi_eom(SMFICTX *ctx) + return SMFIS_TEMPFAIL; + } + +- c = 0; ++ c = 1; ++ + for (hdr = dfc->mctx_hqhead; hdr != NULL; hdr = hdr->hdr_next) ++ { ++ if (strcasecmp(hdr->hdr_hdr, AUTHRESULTSHDR) == 0) ++ c++; ++ } ++ ++ for (hdr = dfc->mctx_hqtail; hdr != NULL; hdr = hdr->hdr_prev) + { + memset(ares, '\0', sizeof(struct authres)); + +@@ -13666,7 +13673,7 @@ mlfi_eom(SMFICTX *ctx) + char *slash; + + /* remember index */ +- c++; ++ c--; + + /* parse the header */ + arstat = ares_parse((u_char *) hdr->hdr_val, diff --git a/mail/opendkim-devel/files/pkg-message.in b/mail/opendkim-devel/files/pkg-message.in new file mode 100644 index 000000000000..259943577424 --- /dev/null +++ b/mail/opendkim-devel/files/pkg-message.in @@ -0,0 +1,25 @@ +[ +{ type: install + message: <.mc: + +INPUT_MAIL_FILTER(`dkim-filter', `S=_YOUR_SOCKET_SPEC_, F=T, T=R:2m') + +or if you use postfix write your milter socket `socketspec' in +%%PREFIX%%/etc/postfix/main.cf: + +smtpd_milters = _YOUR_SOCKET_SPEC_ + + +And to run the milter from startup, add milteropendkim_enable="YES" in +your /etc/rc.conf. +Extra options can be found in startup script. + +Note: milter sockets must be accessible from postfix/smtpd; + using inet sockets might be preferred. +EOM +} +] diff --git a/mail/opendkim-devel/pkg-descr b/mail/opendkim-devel/pkg-descr new file mode 100644 index 000000000000..4cbf0e856864 --- /dev/null +++ b/mail/opendkim-devel/pkg-descr @@ -0,0 +1,9 @@ +OpenDKIM is an open source implementation of the DKIM (Domain Keys Identified +Mail) sender authentication system proposed by the E-mail Signing Technology +Group (ESTG), now standardized by the IETF (RFC4871). It also includes +an implementations of the Vouch By Reference (VBR, RFC5518) proposed standard. + +The OpenDKIM package consists of a library that implements the DKIM service +and a milter-based filter application that can plug in to any milter-aware +MTA to provide that service to sufficiently recent sendmail MTAs and other +MTAs that support the milter protocol. diff --git a/mail/opendkim-devel/pkg-plist b/mail/opendkim-devel/pkg-plist new file mode 100644 index 000000000000..2a2f813e5a16 --- /dev/null +++ b/mail/opendkim-devel/pkg-plist @@ -0,0 +1,78 @@ +%%ATPS%%share/man/man8/opendkim-atpszone.8.gz +%%ATPS%%sbin/opendkim-atpszone +%%FILTER%%share/man/man5/opendkim.conf.5.gz +%%FILTER%%share/man/man8/opendkim.8.gz +%%FILTER%%sbin/opendkim +%%JANSSON%%bin/autobuild +%%JANSSON%%share/man/man8/autobuild.8.gz +%%LUA%%bin/miltertest +%%LUA%%share/man/man3/opendkim-lua.3.gz +%%LUA%%share/man/man8/miltertest.8.gz +%%STATS%%%%OPENDBX%%bin/opendkim-spam +%%STATS%%%%OPENDBX%%sbin/opendkim-importstats +%%STATS%%%%OPENDBX%%share/man/man1/opendkim-spam.1.gz +%%STATS%%%%OPENDBX%%share/man/man8/opendkim-importstats.8.gz +%%RBL%%include/rbl/rbl.h +%%RBL%%lib/librbl.a +%%RBL%%lib/librbl.so +%%RBL%%lib/librbl.so.1 +%%RBL%%lib/librbl.so.1.0.0 +%%RBL%%libdata/pkgconfig/rbl.pc +%%RBL%%share/man/man3/rbl.3.gz +%%REPRRD%%bin/opendkim-reprrdimport +%%REPRRD%%include/reprrd/reprrd.h +%%REPRRD%%lib/libreprrd.a +%%REPRRD%%lib/libreprrd.so +%%REPRRD%%lib/libreprrd.so.1 +%%REPRRD%%lib/libreprrd.so.1.0.0 +%%REPRRD%%share/man/man8/opendkim-reprrdimport.8.gz +%%REPUTATION%%include/repute/repute.h +%%REPUTATION%%include/ut/ut.h +%%REPUTATION%%lib/librepute.a +%%REPUTATION%%lib/librepute.so +%%REPUTATION%%lib/librepute.so.1 +%%REPUTATION%%lib/librepute.so.1.0.0 +%%REPUTATION%%lib/libut.a +%%REPUTATION%%lib/libut.so +%%REPUTATION%%lib/libut.so.1 +%%REPUTATION%%lib/libut.so.1.0.0 +%%REPUTATION%%libdata/pkgconfig/repute.pc +%%REPUTATION%%libdata/pkgconfig/ut.pc +%%REPUTATION%%share/man/man3/ut.3.gz +%%REPUTATION%%share/man/man8/opendkim-genrates.8.gz +%%REPUTATION%%share/man/man8/opendkim-modtotals.8.gz +%%REPUTATION%%share/man/man8/opendkim-rephistory.8.gz +%%REPUTATION%%sbin/opendkim-genrates +%%REPUTATION%%sbin/opendkim-modtotals +%%REPUTATION%%sbin/opendkim-rephistory +%%STATS%%share/man/man8/opendkim-expire.8.gz +%%STATS%%share/man/man8/opendkim-gengraphs.8.gz +%%STATS%%share/man/man8/opendkim-genstats.8.gz +%%STATS%%share/man/man8/opendkim-stats.8.gz +%%STATS%%sbin/opendkim-expire +%%STATS%%sbin/opendkim-gengraphs +%%STATS%%sbin/opendkim-genstats +%%STATS%%sbin/opendkim-reportstats +%%STATS%%sbin/opendkim-stats +%%VBR%%include/vbr/vbr.h +%%VBR%%lib/libvbr.a +%%VBR%%lib/libvbr.so +%%VBR%%lib/libvbr.so.2 +%%VBR%%lib/libvbr.so.2.0.0 +%%VBR%%libdata/pkgconfig/vbr.pc +%%VBR%%share/man/man3/vbr.3.gz +@sample etc/mail/opendkim.conf.sample +include/opendkim/dkim.h +lib/libopendkim.a +lib/libopendkim.so +lib/libopendkim.so.11 +lib/libopendkim.so.11.0.0 +libdata/pkgconfig/opendkim.pc +share/man/man8/opendkim-genkey.8.gz +share/man/man8/opendkim-genzone.8.gz +share/man/man8/opendkim-testkey.8.gz +share/man/man8/opendkim-testmsg.8.gz +sbin/opendkim-genkey +sbin/opendkim-genzone +sbin/opendkim-testkey +sbin/opendkim-testmsg diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile index b483d39a2144..1ef42e2ed66b 100644 --- a/mail/opendkim/Makefile +++ b/mail/opendkim/Makefile @@ -1,167 +1,169 @@ PORTNAME= opendkim PORTVERSION= 2.10.3 PORTREVISION= 20 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases \ ftp://ftpmirror.uk/freebsd-ports/${PORTNAME}/ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= DKIM library and milter implementation WWW= http://opendkim.org/ LICENSE= BSD3CLAUSE SENDMAIL LICENSE_COMB= multi LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail LICENSE_GROUPS_SENDMAIL=FSF OSI LICENSE_NAME_SENDMAIL= Sendmail Open Source License LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share NO_OPTIONS_SORT=yes USES= autoreconf cpe libtool perl5 pkgconfig shebangfix ssl USE_PERL5= run SHEBANG_FILES= opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-* \ reprrd/opendkim-reprrdimport* USE_LDCONFIG= yes TEST_TARGET= check # XXX: 1 of 30 tests fails +CONFLICTS_INSTALL= opendkim-devel + PORTDOCS= * CONFIGURE_ARGS+= --without-tre OPTIONS_SUB= yes OPTIONS_SINGLE= RESOLV OPTIONS_SINGLE_RESOLV= STOCK_RESOLVER UNBOUND OPTIONS_DEFINE= FILTER CURL GNUTLS JANSSON LDNS LMDB LUA MEMCACHED \ BDB_BASE OPENDBX OPENLDAP POPAUTH QUERY_CACHE SASL DOCS OPTIONS_DEFAULT= FILTER LUA UNBOUND STOCK_RESOLVER_DESC= Use the stock resolver library UNBOUND_DESC= Use unbound DNS library UNBOUND_CONFIGURE_WITH= unbound UNBOUND_LIB_DEPENDS= libunbound.so:dns/unbound FILTER_DESC= OpenDKIM filter, requires libmilter/Sendmail FILTER_USE= RC_SUBR=milter-opendkim CURL_DESC= Use cURL for web queries CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl GNUTLS_DESC= Use GnuTLS instead of OpenSSL GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_CONFIGURE_OFF= --with-openssl=${OPENSSLBASE} JANSSON_DESC= Statistics and other output as JSON data JANSSON_CONFIGURE_WITH= libjansson JANSSON_LIB_DEPENDS= libjansson.so:devel/jansson LDNS_DESC= Use LDNS library for DNS queries LDNS_CONFIGURE_WITH= ldns LDNS_LIB_DEPENDS= libldns.so:dns/ldns LMDB_DESC= Use Lightning Memory-Mapped DB key-value store LMDB_CONFIGURE_WITH= lmdb LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LUA_DESC= Describe filter policy with lua LUA_CONFIGURE_WITH= lua LUA_USES= lua MEMCACHED_DESC= Use memcached as a data set MEMCACHED_CONFIGURE_WITH= libmemcached MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached BDB_BASE_DESC= Use Berkeley DB from base OPENDBX_DESC= Store filter policies via OpenDBX OPENDBX_CONFIGURE_WITH= odbx OPENDBX_LIB_DEPENDS= libopendbx.so:databases/opendbx OPENLDAP_DESC= Store filter policies in LDAP OPENLDAP_CONFIGURE_WITH=openldap OPENLDAP_USES= ldap POPAUTH_DESC= Use POP authentication DB POPAUTH_CONFIGURE_ENABLE= popauth QUERY_CACHE_DESC= Cache DNS query results locally QUERY_CACHE_CONFIGURE_ENABLE= query_cache SASL_DESC= Enable SASL authentication with LDAP SASL_CONFIGURE_WITH= sasl MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} .include "${.CURDIR}/Makefile.options" .include .if ${PORT_OPTIONS:MFILTER} SUB_FILES= pkg-message WITHOUT_MILTER_CFLAGS= yes WITHOUT_MILTER_LDFLAGS= yes .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+= --with-milter=${MILTERBASE} .endif .if ${PORT_OPTIONS:MLUA_ONLY_SIGNING} || \ ${PORT_OPTIONS:MRBL} .if !${PORT_OPTIONS:MLUA} IGNORE= options LUA_ONLY_SIGNING and RBL require LUA as well .endif .endif .if ${PORT_OPTIONS:MREPUTATION} .if !${PORT_OPTIONS:MCURL} || !${PORT_OPTIONS:MJANSSON} IGNORE= option REPUTATION requires CURL and JANSSON as well .endif .endif .if ${PORT_OPTIONS:MSTATSEXT} .if !${PORT_OPTIONS:MSTATS} || !${PORT_OPTIONS:MLUA} IGNORE= option STATSEXT requires STATS and LUA as well .endif .endif .if ${PORT_OPTIONS:MPOPAUTH} \ || ${PORT_OPTIONS:MQUERY_CACHE} \ || ${PORT_OPTIONS:MLDAP_CACHING} \ || ${PORT_OPTIONS:MREPUTATION} \ || ${PORT_OPTIONS:MSTATS} . if ${PORT_OPTIONS:MBDB_BASE} CONFIGURE_ARGS+= --with-db-lib=c . else CONFIGURE_ARGS+= --with-db-incdir=${BDB_INCLUDE_DIR} \ --with-db-libdir=${BDB_LIB_DIR} \ --with-db-lib=${BDB_LIB_NAME} USES+= bdb . endif .endif .if ${PORT_OPTIONS:MCODECOVERAGE} LDFLAGS+= -lpthread .endif pre-configure: ${REINPLACE_CMD} -e '/PKG_CHECK_MODULES/s/lua5\.[0-9]/lua-${LUA_VER}/' \ -e '/PKG_CONFIG/s/cyrussasl/libsasl2/' \ ${WRKSRC}/configure.ac post-patch-LCOV-on: ${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/libopendkim/tests/ ${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/opendkim/tests/ ${FIND} ${WRKSRC} -type f -name \*-helper.sh -exec ${CHMOD} 755 {} + post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail ${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \ ${STAGEDIR}${PREFIX}/etc/mail/ .include