From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 12:24:46 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B38F663FB2; Wed, 30 Jun 2021 12:24:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GFLBk2Gmyz3llb; Wed, 30 Jun 2021 12:24:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3770A4B24; Wed, 30 Jun 2021 12:24:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15UCOkjN084824; Wed, 30 Jun 2021 12:24:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15UCOkOd084823; Wed, 30 Jun 2021 12:24:46 GMT (envelope-from git) Date: Wed, 30 Jun 2021 12:24:46 GMT Message-Id: <202106301224.15UCOkOd084823@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 3705eeafd2b6 - main - mail/dma: Pet portclippy and format with portfmt MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3705eeafd2b6a3fc443fc146fa8354f3d8b82321 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 12:24:46 -0000 The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=3705eeafd2b6a3fc443fc146fa8354f3d8b82321 commit 3705eeafd2b6a3fc443fc146fa8354f3d8b82321 Author: Renato Botelho AuthorDate: 2021-06-30 12:23:55 +0000 Commit: Renato Botelho CommitDate: 2021-06-30 12:24:10 +0000 mail/dma: Pet portclippy and format with portfmt --- mail/dma/Makefile | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/mail/dma/Makefile b/mail/dma/Makefile index 3f16970b5927..86f43819f8b9 100644 --- a/mail/dma/Makefile +++ b/mail/dma/Makefile @@ -1,8 +1,8 @@ # Created by: Daniel Roethlisberger PORTNAME= dma -DISTVERSION= 0.13.20210614 DISTVERSIONPREFIX= v +DISTVERSION= 0.13.20210614 PORTEPOCH= 1 CATEGORIES= mail @@ -11,46 +11,49 @@ COMMENT= DragonFly Mail Agent, a small MTA for local/outbound mail LICENSE= BSD3CLAUSE -USES= uidfix ssl +USES= ssl uidfix USE_GITHUB= yes GH_ACCOUNT= corecode GH_TAGNAME= 430f3b59074d6303ce3eb4d9fcf16dcf3538ba31 +USE_RC_SUBR= dma_flushq -BUILD_WRKSRC= ${WRKSRC}/bsd -INSTALL_WRKSRC= ${WRKSRC}/bsd -CFLAGS+= -I${OPENSSLINC} \ - -DCONF_PATH='\"${PREFIX}/etc/dma\"' \ - -DDMA_ROOT_USER='\"mailnull\"' \ - -DDMA_GROUP='\"mail\"' -LDFLAGS+= -L${OPENSSLLIB} +MAKE_ENV= __MAKE_CONF=/dev/null \ + MANDIR=${PREFIX}/share/man/man \ + MK_WERROR=no \ + SRCCONF=/dev/null -MAKE_ENV= __MAKE_CONF=/dev/null SRCCONF=/dev/null MK_WERROR=no \ - MANDIR=${PREFIX}/share/man/man +CFLAGS+= -DCONF_PATH='\"${PREFIX}/etc/dma\"' -DDMA_GROUP='\"mail\"' \ + -DDMA_ROOT_USER='\"mailnull\"' -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} -USE_RC_SUBR= dma_flushq +PORTSCOUT= limit:^[0-9\.]*$$ SUB_FILES= pkg-message -# Allow subports to extend. -CONFFILES+= dma.conf auth.conf +BUILD_WRKSRC= ${WRKSRC}/bsd +INSTALL_WRKSRC= ${WRKSRC}/bsd # 11.x has dma imported into base and /var/spool/dma added to mtree PLIST_SUB+= VARDIR="@comment " -PORTSCOUT= limit:^[0-9\.]*$$ +# Allow subports to extend. +CONFFILES+= auth.conf dma.conf post-patch: @${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \ ${WRKSRC}/dma.8 @${REINPLACE_CMD} -e 's, /etc/dma, ${PREFIX}/etc/dma,g' \ ${WRKSRC}/dma.conf - @${REINPLACE_CMD} -e '/^MK_MAN/d' -e 's/^NOMAN.*/MAN=/' \ + @${REINPLACE_CMD} -e '/^MK_MAN/d' \ + -e 's/^NOMAN.*/MAN=/' \ ${WRKSRC}/bsd/dma-mbox-create/Makefile post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}/var/spool/dma - ${INSTALL_DATA} ${WRKSRC}/dma.conf ${STAGEDIR}${ETCDIR}/dma.conf.sample - ${INSTALL_DATA} ${WRKSRC}/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf.sample + ${INSTALL_DATA} ${WRKSRC}/dma.conf \ + ${STAGEDIR}${ETCDIR}/dma.conf.sample + ${INSTALL_DATA} ${WRKSRC}/auth.conf \ + ${STAGEDIR}${ETCDIR}/auth.conf.sample .include