From owner-svn-ports-head@freebsd.org Thu Feb 11 14:08:46 2021 Return-Path: Delivered-To: svn-ports-head@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 5E1935293BB; Thu, 11 Feb 2021 14:08:46 +0000 (UTC) (envelope-from garga@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 4Dbz4t2C5rz3p1p; Thu, 11 Feb 2021 14:08:46 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A7CE12442; Thu, 11 Feb 2021 14:08:46 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11BE8jHC003782; Thu, 11 Feb 2021 14:08:45 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11BE8jHE003776; Thu, 11 Feb 2021 14:08:45 GMT (envelope-from garga@FreeBSD.org) Message-Id: <202102111408.11BE8jHE003776@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Thu, 11 Feb 2021 14:08:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564953 - in head/mail/dma: . files X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: in head/mail/dma: . files X-SVN-Commit-Revision: 564953 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2021 14:08:46 -0000 Author: garga Date: Thu Feb 11 14:08:44 2021 New Revision: 564953 URL: https://svnweb.freebsd.org/changeset/ports/564953 Log: mail/dma: Fix compiler warning - Make verify_server_fingerprint() static and fix compiler warning - While here, re-generate other patches with `make makepatch` Sponsored by: Rubicon Communications, LLC ("Netgate") Added: head/mail/dma/files/patch-crypto.c (contents, props changed) Modified: head/mail/dma/Makefile head/mail/dma/files/patch-dma.c head/mail/dma/files/patch-mail.c head/mail/dma/files/patch-spool.c Modified: head/mail/dma/Makefile ============================================================================== --- head/mail/dma/Makefile Thu Feb 11 14:04:15 2021 (r564952) +++ head/mail/dma/Makefile Thu Feb 11 14:08:44 2021 (r564953) @@ -4,7 +4,7 @@ PORTNAME= dma PORTVERSION= 0.13 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail Added: head/mail/dma/files/patch-crypto.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/dma/files/patch-crypto.c Thu Feb 11 14:08:44 2021 (r564953) @@ -0,0 +1,11 @@ +--- crypto.c.orig 2021-02-11 13:53:38 UTC ++++ crypto.c +@@ -78,7 +78,7 @@ init_cert_file(SSL_CTX *ctx, const char *path) + return (0); + } + +-int ++static int + verify_server_fingerprint(const X509 *cert) + { + unsigned char fingerprint[EVP_MAX_MD_SIZE] = {0}; Modified: head/mail/dma/files/patch-dma.c ============================================================================== --- head/mail/dma/files/patch-dma.c Thu Feb 11 14:04:15 2021 (r564952) +++ head/mail/dma/files/patch-dma.c Thu Feb 11 14:08:44 2021 (r564953) @@ -1,6 +1,6 @@ ---- dma.c.orig 2016-02-07 12:41:49 UTC +--- dma.c.orig 2020-02-05 10:59:09 UTC +++ dma.c -@@ -340,7 +340,7 @@ retry: +@@ -341,7 +341,7 @@ retry: exit(EX_SOFTWARE); } if (gettimeofday(&now, NULL) == 0 && @@ -9,7 +9,7 @@ snprintf(errmsg, sizeof(errmsg), "Could not deliver for the last %d seconds. Giving up.", MAX_TIMEOUT); -@@ -564,7 +564,7 @@ main(int argc, char **argv) +@@ -565,7 +565,7 @@ main(int argc, char **argv) skipopts: if (logident_base == NULL) logident_base = "dma"; @@ -18,7 +18,7 @@ act.sa_handler = sighup_handler; act.sa_flags = 0; -@@ -596,7 +596,7 @@ skipopts: +@@ -597,7 +597,7 @@ skipopts: errlog(EX_SOFTWARE, "could not parse aliases file `%s'", config.aliases); if ((sender = set_from(&queue, sender)) == NULL) Modified: head/mail/dma/files/patch-mail.c ============================================================================== --- head/mail/dma/files/patch-mail.c Thu Feb 11 14:04:15 2021 (r564952) +++ head/mail/dma/files/patch-mail.c Thu Feb 11 14:08:44 2021 (r564953) @@ -1,6 +1,6 @@ ---- mail.c.orig 2016-02-07 12:41:49 UTC +--- mail.c.orig 2020-02-05 10:59:09 UTC +++ mail.c -@@ -333,7 +333,7 @@ newaddr: +@@ -335,7 +335,7 @@ newaddr: ps->pos = 0; addr = strdup(ps->addr); if (addr == NULL) Modified: head/mail/dma/files/patch-spool.c ============================================================================== --- head/mail/dma/files/patch-spool.c Thu Feb 11 14:04:15 2021 (r564952) +++ head/mail/dma/files/patch-spool.c Thu Feb 11 14:08:44 2021 (r564953) @@ -1,6 +1,6 @@ ---- spool.c.orig 2016-02-07 12:41:49 UTC +--- spool.c.orig 2020-02-05 10:59:09 UTC +++ spool.c -@@ -416,7 +416,7 @@ flushqueue_since(unsigned int period) +@@ -419,7 +419,7 @@ flushqueue_since(unsigned int period) return (0); /* Did the flush file get touched within the last period seconds? */