head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.66 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.64 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.62 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.60 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.58 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.56 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.54 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.52 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.50 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.48 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.46 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.44 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.42 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.40 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.38 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.36 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.34 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.32 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.30 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.28 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.26 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.24 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.22 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.20 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.16 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.18 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.14 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.12 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.10 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.8 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2 pkgsrc-2017Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2018.02.24.01.08.29; author schmonz; state Exp; branches; next 1.1; commitid dW6SF2ysQrfm63sA; 1.1 date 2017.01.02.02.19.47; author schmonz; state Exp; branches; next ; commitid 4vdV45cEMLEQVkAz; desc @@ 1.2 log @Update to 2.13. From the changelog: - Fix build issue with redefining the "accept" function. - Added support for whitelists in the rbl plugin. - Added option to skip the Received header for authenticated connections. @ text @$NetBSD: patch-Makefile,v 1.1 2017/01/02 02:19:47 schmonz Exp $ Libtoolize and avoid "echo -n" in subshells to fix build on OS X. --- Makefile.orig 2018-02-24 00:14:38.000000000 +0000 +++ Makefile @@@@ -109,11 +109,25 @@@@ makelib: ) >makelib chmod 755 makelib -makeso: conf-ccso conf-ld - ( echo '#!/bin/sh'; \ - echo 'source=$$1; shift'; \ - echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \ - echo exec `head -n 1 conf-ccso` -DSHARED -I. -L. '-o $${base}.so $$source $${1+"$$@@"}'; \ +makeso: conf-cc conf-ld conf-modules + ( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \ + echo '#!/bin/sh'; \ + echo 'FIRSTOBJ=; ALLOBJS=; OTHERARGS='; \ + echo 'while [ $$# -gt 0 ]; do'; \ + echo ' source=$$1'; \ + echo ' base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \ + echo ' if [ "$$base" = "$$source" ]; then'; \ + echo ' OTHERARGS="$${OTHERARGS} $$source"'; \ + echo ' else'; \ + echo ' if [ "x$$FIRSTOBJ" = "x" ]; then'; \ + echo ' FIRSTOBJ="$${base}.la"'; \ + echo ' fi'; \ + echo ' ALLOBJS="$${ALLOBJS} $${base}.lo"'; \ + echo ' libtool --mode=compile --silent $$tag '`head -n 1 conf-cc`' -I. -Iinclude/bglibs -Iinclude -o $${base}.lo -c $$source'; \ + echo ' fi'; \ + echo ' shift'; \ + echo 'done'; \ + echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` -L. '-module -o $${FIRSTOBJ} $${ALLOBJS} $${OTHERARGS} -rpath' `head -n 1 conf-modules`;\ ) >makeso chmod 755 makeso @ 1.1 log @Update to 2.12. From the changelog: - Added ability for rbl plugin to capture messages before rejecting them. - Fixed broken use of -lbg-sysdeps in modules. - Fixed missing plugin-rbl in installed image. - Updated for bglibs v2 - Added new "rbl" plugin, to block messages from IPs in an RBL. - Added new "queuedir" backend, to save messages to simple files. - Make sure plugin reset functions get called before exiting. - Added missing plugin-starttls-ucspi to installed files. - Added support for limiting the number of messages to plugin-counters. - This version updates the plugin API to add new features: - Capabilities reported by the SMTP EHLO response can be added by plugins. - Plugins are passed any SMTP parameters given with the sender and recipient commands. - Plugins can add new commands to the SMTP protocol. Plugins compiled for previous versions of mailfront will not work without recompiling. The short-circuit on accept logic has also been eliminated to fix a semantic issue. - SMTP AUTH support has been moved into a new plugin, cvm-authenticate. Existing installations relying on SMTP AUTH support will need to make sure they are using this new plugin. The smtpfront-qmail wrapper has been modified to provide this additional plugin. - Fixed plugin-add-received to add the "IPv6:" prefix in the Received: header when the protocol is TCP6. - Added plugin starttls-ucspi to implement STARTTLS using ucspi-tls. - SMTP AUTH can now be restricted to TLS-enabled sessions. - Added controls for pop3front-auth to limit the number of USER commands and authentication failures allowed per session. - Added control to imapfront-auth to limit the number of authentication failures allowed per session. - Modified the clamav plugin to use the newer INSTREAM protocol. - imapfront-auth now sets $DOVECONF_ENV in Dovecot mode in order to avoid having Dovecot imapd reset it through doveconf. - Added Lua scripting plugin (optional, build with 'make lua'). - Modified the qmail backend to evaluate $QMAILQUEUE as late as possible. This allows more options for changing $QMAILQUEUE in plugins. - Added support for running Dovecot IMAP from imapfront-auth. See imapfront.html for details on how to set this up. - Added support for rejecting whole messages when the recipient count is exceeded in plugin-counters. - Made the check-fqdn plugin explicitly reject empty recipients. - Added a sender domain restriction to the check-fqdn plugin. - Added missing plugin-spamassassin.so to installation. - Fix bug in handling invalid message numbers in retrieving messages in pop3front-maildir. - Added a SpamAssassin scanning plugin. - Optimized pop3front-maildir to avoid stat'ing each message twice, and to use sizes recorded in the filename to avoid stat'ing entirely. See pop3front.html for details on the filenames. pkgsrc changes: - Libtoolize to fix build on OS X. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Makefile.orig 2015-02-12 14:10:37.000000000 +0000 d7 1 a7 10 @@@@ -56,7 +56,7 @@@@ dl.lib: compile load @@echo 'main() { ; }' >trylib-ldl.c @@{ ./compile trylib-ldl.c && ./load trylib-ldl -ldl; } >/dev/null 2>&1 \ && { echo -ldl >dl.lib; echo yes; } \ - || { echo -n >dl.lib; echo no; } + || { : >dl.lib; echo no; } @@rm -f trylib-ldl.c trylib-ldl.o trylib-ldl docs: @@@@ -103,11 +103,25 @@@@ makelib: @