View | Details | Raw Unified | Return to bug 256900 | Differences between
and this patch

Collapse All | Expand All

(-)b/GIDs (-1 / +1 lines)
Lines 392-398 callweaver:*:444: Link Here
392
ecartis:*:450:
392
ecartis:*:450:
393
# free: 451
393
# free: 451
394
# free: 452
394
# free: 452
395
# free: 453
395
yadifa:*:453:
396
# free: 454
396
# free: 454
397
inadyn:*:455:
397
inadyn:*:455:
398
# free: 456
398
# free: 456
(-)b/UIDs (-1 / +1 lines)
Lines 397-403 callweaver:*:444:444::0:0:Callweaver account:/var/lib/callweaver:/usr/sbin/nolog Link Here
397
ecartis:*:450:450::0:0:Ecartis Listserver:/usr/local/ecartis:/usr/sbin/nologin
397
ecartis:*:450:450::0:0:Ecartis Listserver:/usr/local/ecartis:/usr/sbin/nologin
398
# free: 451
398
# free: 451
399
# free: 452
399
# free: 452
400
# free: 453
400
yadifa:*:453:453::0:0:Yadifa DNS Server:/nonexistent:/usr/sbin/nologin
401
# free: 454
401
# free: 454
402
inadyn:*:455:455::0:0:inadyn user:/nonexistent:/usr/sbin/nologin
402
inadyn:*:455:455::0:0:inadyn user:/nonexistent:/usr/sbin/nologin
403
# free: 456
403
# free: 456
(-)b/dns/yadifa/Makefile (-5 / +14 lines)
Lines 1-6 Link Here
1
PORTNAME=	yadifa
1
PORTNAME=	yadifa
2
DISTVERSION=	2.4.1
2
DISTVERSION=	2.5.0
3
DISTVERSIONSUFFIX=	-9916
3
DISTVERSIONSUFFIX=	-10188
4
CATEGORIES=	dns
4
CATEGORIES=	dns
5
MASTER_SITES=	https://www.yadifa.eu/sites/default/files/releases/ \
5
MASTER_SITES=	https://www.yadifa.eu/sites/default/files/releases/ \
6
		https://dns.company/downloads/yadifa/
6
		https://dns.company/downloads/yadifa/
Lines 17-22 USE_RC_SUBR= ${PORTNAME}d Link Here
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--localstatedir=/var
18
CONFIGURE_ARGS=	--localstatedir=/var
19
19
20
SUB_LIST+=	GROUPS="${GROUPS}" \
21
		USERS="${USERS}"
22
23
USERS=		yadifa
24
GROUPS=		yadifa
25
26
PLIST_SUB=	GROUPS="${GROUPS}" \
27
		USERS="${USERS}"
28
20
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION
29
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION
21
30
22
OPTIONS_DEFINE=		CTRL DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN \
31
OPTIONS_DEFINE=		CTRL DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN \
Lines 39-54 ZONESIGN_DESC= Zonesign tool Link Here
39
48
40
CTRL_CONFIGURE_OFF=		--disable-ctrl
49
CTRL_CONFIGURE_OFF=		--disable-ctrl
41
DDNS_CONFIGURE_OFF=		--disable-dynupdate
50
DDNS_CONFIGURE_OFF=		--disable-dynupdate
51
DNSSECTOOLS_CONFIGURE_OFF=	--disable-dnssec-tools
42
ECDSA_CONFIGURE_OFF=		--disable-ecdsa
52
ECDSA_CONFIGURE_OFF=		--disable-ecdsa
53
KEYGEN_CONFIGURE_ENABLE=	keygen
43
LARGEFILE_CONFIGURE_OFF=	--disable-largefile
54
LARGEFILE_CONFIGURE_OFF=	--disable-largefile
44
MASTER_CONFIGURE_OFF=		--disable-master
55
MASTER_CONFIGURE_OFF=		--disable-master
45
NSID_CONFIGURE_OFF=		--disable-nsid
56
NSID_CONFIGURE_OFF=		--disable-nsid
46
RRL_CONFIGURE_OFF=		--disable-rrl
57
RRL_CONFIGURE_OFF=		--disable-rrl
47
RRSIG_CONFIGURE_OFF=		--disable-rrsig-management
58
RRSIG_CONFIGURE_OFF=		--disable-rrsig-management
48
TCL_USES=			tcl
59
TCL_USES=			tcl
49
DNSSECTOOLS_OFF=		--disable-dnssec-tools
60
ZONESIGN_CONFIGURE_ENABLE=	zonesign
50
KEYGEN_ENABLE=			keygen
51
ZONESIGN_ENABLE=		zonesign
52
61
53
post-configure:
62
post-configure:
54
	${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
63
	${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
(-)b/dns/yadifa/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1608810435
1
TIMESTAMP = 1628693820
2
SHA256 (yadifa-2.4.1-9916.tar.gz) = ad13e5f26e050959eed1cd15d22eeaf14551742df6458c5eec0219e0023e32d4
2
SHA256 (yadifa-2.5.0-10188.tar.gz) = 5cdc4cf61b87fe6d0fdc260386375172b8802a0bd7e63bbf3716ebe1a233fa16
3
SIZE (yadifa-2.4.1-9916.tar.gz) = 2635686
3
SIZE (yadifa-2.5.0-10188.tar.gz) = 2655763
(-)b/dns/yadifa/files/yadifad.in (-10 / +12 lines)
Lines 1-30 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
# PROVIDE: yadifad
3
# PROVIDE: yadifad
4
# REQUIRE: SERVERS cleanvar
4
# REQUIRE: FILESYSTEMS SERVERS cleanvar defaultroute netwait
5
# BEFORE: NETWORKING
5
# KEYWORD: shutdown
6
# KEYWORD: shutdown
6
#
7
#
7
# Add the following lines to /etc/rc.conf to enable yadifad:
8
# Add the following lines to /etc/rc.conf to enable yadifad:
8
#
9
#
9
# yadifad_enable="YES"
10
# yadifad_enable="YES"
10
# # optional
11
# # and optional
11
# yadifad_config="%%PREFIX%%/etc/yadifad.conf"
12
# yadifad_config="%%PREFIX%%/etc/yadifad.conf"
13
# yadifad_uid="%%USERS%%"
14
# yadifad_gid="%%GROUPS%%"
12
15
13
. /etc/rc.subr
16
. /etc/rc.subr
14
17
15
name=yadifad
18
name=yadifad
16
rcvar=yadifad_enable
19
rcvar=yadifad_enable
17
20
18
load_rc_config ${name}
21
eval ": \${${name}_enable:=\"NO\"}"
19
22
eval ": \${${name}_config:=\"%%PREFIX%%/etc/${name}.conf\"}"
20
: ${yadifad_enable:="NO"}
23
eval ": \${${name}_uid:=\"%%USERS%%\"}"
21
: ${yadifad_config="%%PREFIX%%/etc/yadifad.conf"}
24
eval ": \${${name}_gid:=\"%%GROUPS%%\"}"
22
25
23
command=%%PREFIX%%/sbin/${name}
26
load_rc_config ${name}
24
procname=%%PREFIX%%/sbin/${name}
25
pidfile=/var/run/${name}.pid
26
27
27
command_args="-c ${yadifad_config} -d"
28
required_files=${yadifad_config}
28
required_files=${yadifad_config}
29
command=%%PREFIX%%/sbin/${name}
30
command_args="-c ${yadifad_config} -d -u ${yadifad_uid} -g ${yadifad_gid}"
29
31
30
run_rc_command "$1"
32
run_rc_command "$1"
(-)b/dns/yadifa/pkg-plist (-14 / +17 lines)
Lines 35-42 include/dnscore/debug_config.h Link Here
35
include/dnscore/digest.h
35
include/dnscore/digest.h
36
include/dnscore/dns-udp.h
36
include/dnscore/dns-udp.h
37
include/dnscore/dns_resource_record.h
37
include/dnscore/dns_resource_record.h
38
include/dnscore/dnscore-config-features.h
39
include/dnscore/dnscore.h
38
include/dnscore/dnscore.h
39
include/dnscore/dnscore-release-date.h
40
include/dnscore/dnsformat.h
40
include/dnscore/dnsformat.h
41
include/dnscore/dnskey-keyring.h
41
include/dnscore/dnskey-keyring.h
42
include/dnscore/dnskey-signature.h
42
include/dnscore/dnskey-signature.h
Lines 148-153 include/dnscore/zone_reader.h Link Here
148
include/dnscore/zone_reader_axfr.h
148
include/dnscore/zone_reader_axfr.h
149
include/dnscore/zone_reader_text.h
149
include/dnscore/zone_reader_text.h
150
include/dnscore/zonefile_reader.h
150
include/dnscore/zonefile_reader.h
151
include/dnscore-config-features.h
151
include/dnsdb/avl.h
152
include/dnsdb/avl.h
152
include/dnsdb/btree.h
153
include/dnsdb/btree.h
153
include/dnsdb/chain-replay.h
154
include/dnsdb/chain-replay.h
Lines 189-195 include/dnsdb/nsec_collection.h Link Here
189
include/dnsdb/nsec_common.h
190
include/dnsdb/nsec_common.h
190
include/dnsdb/rrsig.h
191
include/dnsdb/rrsig.h
191
include/dnsdb/xfr_copy.h
192
include/dnsdb/xfr_copy.h
192
include/dnsdb/zdb-config-features.h
193
include/dnsdb/zdb-lock.h
193
include/dnsdb/zdb-lock.h
194
include/dnsdb/zdb-packed-ttlrdata.h
194
include/dnsdb/zdb-packed-ttlrdata.h
195
include/dnsdb/zdb-zone-answer-axfr.h
195
include/dnsdb/zdb-zone-answer-axfr.h
Lines 225-233 include/dnsdb/zdb_zone_write.h Link Here
225
include/dnslg/config-load.h
225
include/dnslg/config-load.h
226
include/dnslg/config-resolver.h
226
include/dnslg/config-resolver.h
227
include/dnslg/dns.h
227
include/dnslg/dns.h
228
include/dnslg/dnslg-config-features.h
229
include/dnslg/resolv-conf.h
228
include/dnslg/resolv-conf.h
230
include/dnslg/resolv.h
229
include/dnslg/resolv.h
230
include/dnslg-config-features.h
231
include/zdb-config-features.h
231
lib/libdnscore.a
232
lib/libdnscore.a
232
lib/libdnsdb.a
233
lib/libdnsdb.a
233
lib/libdnslg.a
234
lib/libdnslg.a
Lines 243-250 sbin/yakeyrolld Link Here
243
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keys.conf
244
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keys.conf
244
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.bash_completion
245
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.bash_completion
245
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.conf
246
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.conf
246
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-master.conf.example
247
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-primary.conf.example
247
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-slave.conf.example
248
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-secondary.conf.example
248
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.bash_completion
249
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.bash_completion
249
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf
250
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf
250
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init
251
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init
Lines 262-273 sbin/yakeyrolld Link Here
262
/var/yadifa/masters/localhost.zone
263
/var/yadifa/masters/localhost.zone
263
/var/yadifa/masters/localhost6.zone
264
/var/yadifa/masters/localhost6.zone
264
/var/yadifa/masters/somedomain.eu.zone
265
/var/yadifa/masters/somedomain.eu.zone
265
@dir /var/log/yadifa
266
@dir /var/log
266
@dir /var/log/yadifad
267
@dir(%%USERS%%,%%GROUPS%%,750) /var/log/yadifa
267
@dir /var/log/yakeyrolld
268
@dir(%%USERS%%,%%GROUPS%%,750) /var/log/yadifad
268
@dir /var/plans
269
@dir(%%USERS%%,%%GROUPS%%,750) /var/log/yakeyrolld
269
@dir /var/yadifa
270
@dir(%%USERS%%,%%GROUPS%%,750) /var/plans
270
@dir /var/yadifa/keys
271
@dir(%%USERS%%,%%GROUPS%%,750) /var/yadifa
271
@dir /var/yadifa/masters
272
@dir(%%USERS%%,%%GROUPS%%,750) /var/yadifa/keys
272
@dir /var/yadifa/slaves
273
@dir(%%USERS%%,%%GROUPS%%,750) /var/yadifa/masters
273
@dir /var/yadifa/xfr
274
@dir(%%USERS%%,%%GROUPS%%,750) /var/yadifa/slaves
275
@dir(%%USERS%%,%%GROUPS%%,750) /var/yadifa/xfr
276
@postexec chown -R %%USERS%%:%%GROUPS%% /var/yadifa

Return to bug 256900