From nobody Mon Mar 9 18:59:13 2026 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 4fV5sM24wHz6Tl0f for ; Mon, 09 Mar 2026 18:59:19 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fV5sL2tMnz3n4S for ; Mon, 09 Mar 2026 18:59:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773082758; 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=sJ/okyKMMyQNORe4mlCx4Bql8xGhb/SV4DjDIWZ4wS0=; b=DS3KLfu5Eft3qAXHcal9SCqUbwXEaT+x/OjF3VyBATDUGRxp/i49/jiE7Rj5s/VOm4hPQt AQkBtV6oHDVCWb6c9wBXoM9ReSYqjmNclbyPkqdjbQG/ufURTBeRO8J3IqKrElDYRti2mT bWuL+ePO+ejFJgE9XoFc0p+G48ZusDHCRaHuT6tk7EGBqHzvTCgs8P7E1FgbKw2y+WuPHl +Cv9tNs6rad+T9uxd7Cq2GxrWg5iKShRyzNdb3/RiH+Y5RxwxD+U2bcLX7UiTCRJTAwb+R MRGAx/OL8FLRdLH+47TeCHXnzr4TZ08CtIA+kRla5n65sDKxt//AQl4VTqF6GA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773082758; a=rsa-sha256; cv=none; b=Knw/mVzOKsO+l6jOPM2si3zOEwihSl1KqyF5ccdA5JK3XqDOBv5+M3v453EL26An11H/Mq n+BJuN+rcX6BZs2mvhK/f6sUS6bo52GIWQmao9zM8nqPVYLH+3I2wyW8HFckLre7C1+5gS ZL9vQAOHupeyCnEBm+4axyDvr4LuR0JzU+QqKRIKpsL44vbTqCergsO3Rg+T94TJQuyQO1 99RdJnVmF0VrjS0cezkaKO03WMV2oJ0sYdHMN1CKZ9DOdN3Si093lMeS9XT40Ruinzkn43 AaJbJYka1SELv7tW8MOCVcTuFFhKTsCgQhmwRjga83fdPDPdfqRNE8nuMr21tQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773082758; 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=sJ/okyKMMyQNORe4mlCx4Bql8xGhb/SV4DjDIWZ4wS0=; b=oklDbbUjeuTIwJNnNsSw2DFYybhw9RMrDPy+bqoYjfKp9izVsJeMytBCGGoeInNPBXpQRK iUktcfdJHnd23fiiHZJmU7YnUebWDK+ObRDra7EU31etyeSM00odDUTLSIlfmtLbfgRND9 lgwXBbxWXS5m1EzW6Pe1jhV/EwPyZeUVtQmYu7vAx8CjutAbC6McPyU4LBLW/nDgjew8JF 40ZS3BHm0NKtSQ5V02WumANq5lUnSHwKmwWPmLYJSo5yT1aXp8EKCq+XVbuRe2CT68hHkP gsX0mGDKg+Gv22z/NUuhWBx36IYlhJjP+XFM3Ux8XhZqU30Bj+N9iTH3LtNX6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fV5sL2RQwzfZV for ; Mon, 09 Mar 2026 18:59:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 21fdd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 09 Mar 2026 18:59:13 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: a433ad5adcb8 - main - mail/courier-imap: Clean up a and modernize Makefile 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a433ad5adcb83367d4065d7a9a816195fcb72cfb Auto-Submitted: auto-generated Date: Mon, 09 Mar 2026 18:59:13 +0000 Message-Id: <69af1881.21fdd.3170f52b@gitrepo.freebsd.org> The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=a433ad5adcb83367d4065d7a9a816195fcb72cfb commit a433ad5adcb83367d4065d7a9a816195fcb72cfb Author: Guido Falsi AuthorDate: 2026-03-09 18:58:01 +0000 Commit: Guido Falsi CommitDate: 2026-03-09 18:58:01 +0000 mail/courier-imap: Clean up a and modernize Makefile - Use bsd.port.options.mk instead of pre/post mk - Apply portlint and portclippy suggestions PR: 293399 --- mail/courier-imap/Makefile | 84 +++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 2af2f0f36421..477e618265d8 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -12,39 +12,45 @@ WWW= https://www.courier-mta.org/imap/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool LIB_DEPENDS= libcourier-unicode.so:devel/courier-unicode \ libcourierauth.so:security/courier-authlib-base \ libidn2.so:dns/libidn2 \ libpcre2-8.so:devel/pcre2 +RUN_DEPENDS= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool USES= compiler:c++11-lang gmake localbase:ldflags perl5 pkgconfig ssl \ tar:bzip2 USE_RC_SUBR= courier-imap-imapd courier-imap-imapd-ssl \ courier-imap-pop3d courier-imap-pop3d-ssl -CONFLICTS= courier imap-uw panda-imap - GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share +CONFIGURE_ARGS= --datadir=${DATADIR} \ + --disable-root-check \ + --enable-unicode \ + --enable-workarounds-for-imap-client-bugs \ + --libexecdir=${LIBEXECDIR} \ + --localstatedir="${PREFIX}/var" \ + --sysconfdir=${CONFDIR} \ + --with-locking-method=fcntl \ + --with-notice=unicode CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash MAKE_ENV:= ${CONFIGURE_ENV} ALL_TARGET= all makeimapaccess makedat +CONFLICTS= courier imap-uw panda-imap + SUB_FILES= pkg-message SUB_LIST= CONFDIR=${CONFDIR} -# -# options available: -# -# WITH_SYSLOG_FACILITY: The syslogfacility to use -# +PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \ + LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,} OPTIONS_DEFINE= GDBM GNUTLS INOTIFY IPV6 TRASHQUOTA -GNUTLS_DESC= Use GnuTLS instead of OpenSSL (Enables SNI) -INOTIFY_DESC= Inotify support for IDLE command +GNUTLS_DESC= Use GnuTLS instead of OpenSSL (Enables SNI) +INOTIFY_DESC= Inotify support for IDLE command TRASHQUOTA_DESC= Include deleted mails in the quota .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) @@ -54,44 +60,47 @@ TRASHQUOTA_DESC= Include deleted mails in the quota CONFDIR?= ${PREFIX}/etc/${PORTNAME} USERDB?= ${PREFIX}/etc/userdb LIBEXECDIR?= ${PREFIX}/libexec/${PORTNAME} -PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \ - LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,} -CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \ - --localstatedir="${PREFIX}/var" \ - --datadir=${DATADIR} \ - --libexecdir=${LIBEXECDIR} \ - --enable-workarounds-for-imap-client-bugs \ - --enable-unicode \ - --disable-root-check \ - --with-locking-method=fcntl \ - --with-notice=unicode - -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \ - libgcrypt.so:security/libgcrypt +GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls -GNUTLS_USES= pkgconfig IPV6_CONFIGURE_OFF= --without-ipv6 -TRASHQUOTA_CONFIGURE_ON=--with-trashquota +TRASHQUOTA_CONFIGURE_ON= --with-trashquota + +EXTRA_DOCS= AUTHORS INSTALL NEWS \ + libs/imap/ChangeLog \ + libs/imap/README.proxy \ + libs/maildir/README.imapkeywords.html \ + libs/maildir/README.maildirfilter.html \ + libs/maildir/README.maildirquota.txt \ + libs/maildir/README.sharedfolders.txt \ + libs/tcpd/README.couriertls -.include +.include .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) .include "${.CURDIR}/../../security/courier-authlib/Makefile.dep" .endif -.if ${PORT_OPTIONS:MSYSLOG_FACILITY} -CONFIGURE_ARGS+=--with-syslog=${WITH_SYSLOG_FACILITY} +# +# Variable avilable for further customization: +# +# WITH_SYSLOG_FACILITY: The syslogfacility to use +# +.ifdef WITH_SYSLOG_FACILITY +CONFIGURE_ARGS+= --with-syslog=${WITH_SYSLOG_FACILITY} .endif .if ${PORT_OPTIONS:MAUTH_USERDB} .if ${PORT_OPTIONS:MGDBM} -CONFIGURE_ARGS+=--with-db=gdbm --with-userdb=${USERDB} -LIB_DEPENDS+= libgdbm.so:databases/gdbm +CONFIGURE_ARGS+= --with-db=gdbm \ + --with-userdb=${USERDB} +LIB_DEPENDS+= libgdbm.so:databases/gdbm .else -CONFIGURE_ARGS+=--with-db=db --with-userdb=${USERDB} +CONFIGURE_ARGS+= --with-db=db \ + --with-userdb=${USERDB} .endif .endif @@ -99,15 +108,6 @@ CONFIGURE_ARGS+=--with-db=db --with-userdb=${USERDB} LIB_DEPENDS+= libinotify.so:devel/libinotify .endif -EXTRA_DOCS= AUTHORS INSTALL NEWS \ - libs/imap/ChangeLog \ - libs/imap/README.proxy \ - libs/maildir/README.imapkeywords.html \ - libs/maildir/README.maildirfilter.html \ - libs/maildir/README.maildirquota.txt \ - libs/maildir/README.sharedfolders.txt \ - libs/tcpd/README.couriertls \ - post-patch: @${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \ ${WRKSRC}/libs/liblock/configure @@ -137,4 +137,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${a} ${STAGEDIR}${DOCSDIR} .endfor -.include +.include