Skip to content

Commit

Permalink
news/inn: Ignore more domain/FQDN errors for poudriere
Browse files Browse the repository at this point in the history
The builder environment doesn't have a vaild FQDN so this is failing a
downstream port build.

Reported by:	thierry
  • Loading branch information
kev009 committed May 3, 2023
1 parent 8832112 commit e4f3593
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions news/inn/files/patch-lib_innconf.c
@@ -1,11 +1,23 @@
--- lib/innconf.c.orig 2015-09-12 15:25:22.000000000 +0200
+++ lib/innconf.c 2015-09-21 21:15:18.446435000 +0200
@@ -473,7 +473,7 @@ innconf_validate(struct config_group *gr

if (GetFQDN(innconf->domain) == NULL) {
--- lib/innconf.c.orig 2023-04-16 19:50:54 UTC
+++ lib/innconf.c
@@ -447,17 +447,17 @@ innconf_validate(struct config_group *group)
fqdn = inn_getfqdn(innconf->domain);
if (fqdn == NULL) {
warn("hostname does not resolve or domain not set in inn.conf");
- okay = false;
+/* okay = false; */
}
if (innconf->mta == NULL) {
warn("must set mta in inn.conf");
if (innconf->domain != NULL && !IsValidDomain(innconf->domain)) {
warn("domain in inn.conf contains invalid characters not suitable for "
"Message-IDs");
- okay = false;
+/* okay = false; */
}
if (innconf->domain == NULL && !IsValidDomain(fqdn)) {
warn("the FQDN of the server contains invalid characters not suitable "
"for Message-IDs");
- okay = false;
+/* okay = false; */
}
free(fqdn);

0 comments on commit e4f3593

Please sign in to comment.