]> git.pld-linux.org Git - packages/postfix.git/blobdiff - postfix-dictname.patch
- up to 3.6.8
[packages/postfix.git] / postfix-dictname.patch
index f0f89d8b8d2efddee01662c495d20b1a0cde9ff7..77ff967ca27f9bf50da709f9942b781bd8fcf0d2 100644 (file)
@@ -1,11 +1,20 @@
---- postfix-2.3.0/src/util/dict_open.c~        2006-07-25 13:36:17.245609587 +0300
-+++ postfix-2.3.0/src/util/dict_open.c 2006-07-25 13:38:52.429059090 +0300
-@@ -327,7 +327,7 @@
-       lib=vstring_alloc(1);
-       vstring_sprintf(lib,dl->soname,dict_type);
-       if (stat(vstring_str(lib),&st) < 0) {
--          msg_fatal("%s: unsupported dictionary type: %s (%s not found.  Is the postfix-%s package installed?)",
-+          msg_fatal("%s: unsupported dictionary type: %s (%s not found.  Is the postfix-dict-%s package installed?)",
-               myname, dict_type, vstring_str(lib), dict_type);
+--- postfix-3.6.6/src/global/dynamicmaps.c~    2022-04-25 11:26:46.269075376 +0000
++++ postfix-3.6.6/src/global/dynamicmaps.c     2022-04-25 11:29:51.989068585 +0000
+@@ -182,7 +182,7 @@
+                         "bulk-mode creation.", dict_type);
        }
-       func=vstring_alloc(1);
+       msg_fatal("unsupported dictionary type: %s. "
+-                "Is the postfix-%s package installed?",
++                "Is the postfix-dict-%s package installed?",
+                 dict_type, dict_type);
+     }
+     if (!dp->mkmap_name)
+@@ -190,7 +190,7 @@
+                 "bulk-mode creation.", dict_type);
+     if (stat(dp->soname, &st) < 0)
+       msg_fatal("unsupported dictionary type: %s (%s: %m). "
+-                "Is the postfix-%s package installed?",
++                "Is the postfix-dict-%s package installed?",
+                 dict_type, dp->soname, dict_type);
+     if (st.st_uid != 0 || (st.st_mode & (S_IWGRP | S_IWOTH)) != 0)
+       msg_fatal("unsupported dictionary type: %s "
This page took 0.084768 seconds and 4 git commands to generate.