pmcf 4.9.0 → 4.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.9.0",
3
+ "version": "4.9.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -107,6 +107,12 @@ export const ServiceTypes = {
107
107
  ],
108
108
  dnsRecord: { type: "MX" }
109
109
  },
110
+ lmtp: {
111
+ endpoints: [
112
+ { family: "IPv4", protocol: "tcp", port: 24, tls: false },
113
+ { family: "IPv6", protocol: "tcp", port: 24, tls: false }
114
+ ]
115
+ },
110
116
  ssh: {
111
117
  endpoints: [
112
118
  { family: "IPv4", protocol: "tcp", port: 22, tls: false },
@@ -164,7 +164,7 @@ export class BindService extends ExtraSourceService {
164
164
 
165
165
  constructor(owner, data) {
166
166
  super(owner, data);
167
-
167
+
168
168
  this.views = {};
169
169
 
170
170
  for (const name of ["internal", "protected"]) {
@@ -323,8 +323,7 @@ export class BindService extends ExtraSourceService {
323
323
  packageData.properties = {
324
324
  name: `named-zones-${name}-outfacing`,
325
325
  description: `outfacing zone definitions for ${names}`,
326
- access: "private",
327
- hooks: {}
326
+ access: "private"
328
327
  };
329
328
 
330
329
  yield* this.generateOutfacingDefs(sources, packageData);
@@ -345,7 +344,7 @@ export class BindService extends ExtraSourceService {
345
344
 
346
345
  if (outfacingZones.length) {
347
346
  addHook(
348
- packageData.properties.hooks,
347
+ packageData,
349
348
  "post_upgrade",
350
349
  `/usr/bin/named-hostname-update ${outfacingZones
351
350
  .map(zone => zone.id)
@@ -140,6 +140,14 @@ export const ServiceTypes: {
140
140
  type: string;
141
141
  };
142
142
  };
143
+ lmtp: {
144
+ endpoints: {
145
+ family: string;
146
+ protocol: string;
147
+ port: number;
148
+ tls: boolean;
149
+ }[];
150
+ };
143
151
  ssh: {
144
152
  endpoints: {
145
153
  family: string;