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 / +16 lines)
Lines 1-6 Link Here
1
# $FreeBSD: head/dns/yadifa/Makefile 561363 2021-01-12 17:58:41Z pkubaj $
2
1
PORTNAME=      yadifa
3
PORTNAME=      yadifa
2
DISTVERSION=   2.4.1
4
DISTVERSION=   2.5.0
3
DISTVERSIONSUFFIX=     -9916
5
DISTVERSIONSUFFIX=     -10188
4
CATEGORIES=    dns
6
CATEGORIES=    dns
5
MASTER_SITES=  https://www.yadifa.eu/sites/default/files/releases/ \
7
MASTER_SITES=  https://www.yadifa.eu/sites/default/files/releases/ \
6
               https://dns.company/downloads/yadifa/
8
               https://dns.company/downloads/yadifa/
Lines 17-22 USE_RC_SUBR= ${PORTNAME}d Link Here
17
GNU_CONFIGURE= yes
19
GNU_CONFIGURE= yes
18
CONFIGURE_ARGS=        --localstatedir=/var
20
CONFIGURE_ARGS=        --localstatedir=/var
19
21
22
SUB_LIST+=     GROUPS="${GROUPS}" \
23
               USERS="${USERS}"
24
25
USERS=         yadifa
26
GROUPS=                yadifa
27
28
PLIST_SUB=     GROUPS="${GROUPS}" \
29
               USERS="${USERS}"
30
20
PORTDOCS=      AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION
31
PORTDOCS=      AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION
21
32
22
OPTIONS_DEFINE=                CTRL DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN \
33
OPTIONS_DEFINE=                CTRL DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN \
Lines 39-54 ZONESIGN_DESC= Zonesign tool Link Here
39
50
40
CTRL_CONFIGURE_OFF=            --disable-ctrl
51
CTRL_CONFIGURE_OFF=            --disable-ctrl
41
DDNS_CONFIGURE_OFF=            --disable-dynupdate
52
DDNS_CONFIGURE_OFF=            --disable-dynupdate
53
DNSSECTOOLS_CONFIGURE_OFF=     --disable-dnssec-tools
42
ECDSA_CONFIGURE_OFF=           --disable-ecdsa
54
ECDSA_CONFIGURE_OFF=           --disable-ecdsa
55
KEYGEN_CONFIGURE_ENABLE=       keygen
43
LARGEFILE_CONFIGURE_OFF=       --disable-largefile
56
LARGEFILE_CONFIGURE_OFF=       --disable-largefile
44
MASTER_CONFIGURE_OFF=          --disable-master
57
MASTER_CONFIGURE_OFF=          --disable-master
45
NSID_CONFIGURE_OFF=            --disable-nsid
58
NSID_CONFIGURE_OFF=            --disable-nsid
46
RRL_CONFIGURE_OFF=             --disable-rrl
59
RRL_CONFIGURE_OFF=             --disable-rrl
47
RRSIG_CONFIGURE_OFF=           --disable-rrsig-management
60
RRSIG_CONFIGURE_OFF=           --disable-rrsig-management
48
TCL_USES=                      tcl
61
TCL_USES=                      tcl
49
DNSSECTOOLS_OFF=               --disable-dnssec-tools
62
ZONESIGN_CONFIGURE_ENABLE=     zonesign
50
KEYGEN_ENABLE=                 keygen
51
ZONESIGN_ENABLE=               zonesign
52
63
53
post-configure:
64
post-configure:
54
       ${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
65
       ${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 = 1624979303
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 (-11 / +15 lines)
Lines 1-30 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
#
3
# $FreeBSD: head/dns/yadifa/files/yadifad.in 340872 2014-01-24 00:14:07Z mat $
4
#
3
# PROVIDE: yadifad
5
# PROVIDE: yadifad
4
# REQUIRE: SERVERS cleanvar
6
# REQUIRE: FILESYSTEMS SERVERS cleanvar defaultroute netwait
7
# BEFORE: NETWORKING
5
# KEYWORD: shutdown
8
# KEYWORD: shutdown
6
#
9
#
7
# Add the following lines to /etc/rc.conf to enable yadifad:
10
# Add the following lines to /etc/rc.conf to enable yadifad:
8
#
11
#
9
# yadifad_enable="YES"
12
# yadifad_enable="YES"
10
# # optional
13
# # and optional:
11
# yadifad_config="%%PREFIX%%/etc/yadifad.conf"
14
# yadifad_config="%%PREFIX%%/etc/yadifad.conf"
15
# yadifad_uid="%%USERS%%"
16
# yadifad_gid="%%GROUPS%%"
12
17
13
. /etc/rc.subr
18
. /etc/rc.subr
14
19
15
name=yadifad
20
name=yadifad
16
rcvar=yadifad_enable
21
rcvar=yadifad_enable
17
22
18
load_rc_config ${name}
23
eval ": \${${name}_enable:=\"NO\"}"
19
24
eval ": \${${name}_config:=\"%%PREFIX%%/etc/${name}.conf\"}"
20
: ${yadifad_enable:="NO"}
25
eval ": \${${name}_uid:=\"%%USERS%%\"}"
21
: ${yadifad_config="%%PREFIX%%/etc/yadifad.conf"}
26
eval ": \${${name}_gid:=\"%%GROUPS%%\"}"
22
27
23
command=%%PREFIX%%/sbin/${name}
28
load_rc_config ${name}
24
procname=%%PREFIX%%/sbin/${name}
25
pidfile=/var/run/${name}.pid
26
29
27
command_args="-c ${yadifad_config} -d"
28
required_files=${yadifad_config}
30
required_files=${yadifad_config}
31
command=%%PREFIX%%/sbin/${name}
32
command_args="-c ${yadifad_config} -d -u ${yadifad_uid} -g ${yadifad_gid}"
29
33
30
run_rc_command "$1"
34
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