svn commit: r564953 - in head/mail/dma: . files
Renato Botelho
garga at FreeBSD.org
Thu Feb 11 14:08:46 UTC 2021
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? */
More information about the svn-ports-all
mailing list