View | Details | Raw Unified | Return to bug 282784
Collapse All | Expand All

(-)b/filesystems/zrepl-dsh2dsh/Makefile (-2 / +4 lines)
Lines 1-7 Link Here
1
PORTNAME=	zrepl
1
PORTNAME=	zrepl
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.8.9
3
DISTVERSION=	0.9.1
4
PORTREVISION=	1
5
CATEGORIES=	filesystems sysutils
4
CATEGORIES=	filesystems sysutils
6
PKGNAMESUFFIX=	-dsh2dsh
5
PKGNAMESUFFIX=	-dsh2dsh
7
6
Lines 42-47 post-install: Link Here
42
	${INSTALL_DATA} \
41
	${INSTALL_DATA} \
43
		${WRKSRC}/dist/freebsd/etc/newsyslog.conf.d/${PORTNAME}.conf \
42
		${WRKSRC}/dist/freebsd/etc/newsyslog.conf.d/${PORTNAME}.conf \
44
		${STAGEDIR}${EXAMPLESDIR}/newsyslog.conf
43
		${STAGEDIR}${EXAMPLESDIR}/newsyslog.conf
44
	${INSTALL} ${COPY} -m 0600 \
45
		${WRKSRC}/dist/freebsd/etc/${PORTNAME}/keys.yaml \
46
		${STAGEDIR}${ETCDIR}/keys.yaml.sample
45
	${INSTALL_DATA} ${WRKSRC}/dist/freebsd/etc/${PORTNAME}/${PORTNAME}.yml \
47
	${INSTALL_DATA} ${WRKSRC}/dist/freebsd/etc/${PORTNAME}/${PORTNAME}.yml \
46
		${STAGEDIR}${ETCDIR}/${PORTNAME}.yml.sample
48
		${STAGEDIR}${ETCDIR}/${PORTNAME}.yml.sample
47
	${INSTALL_SCRIPT} \
49
	${INSTALL_SCRIPT} \
(-)b/filesystems/zrepl-dsh2dsh/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1730976228
1
TIMESTAMP = 1731682710
2
SHA256 (go/filesystems_zrepl-dsh2dsh/zrepl-v0.8.9/v0.8.9.mod) = b1328a874b06ec042040304ef051aed69ba12d870b69789e77f3db456cf99946
2
SHA256 (go/filesystems_zrepl-dsh2dsh/zrepl-v0.9.1/v0.9.1.mod) = a8d3059967aca09a00467488edca138c35b232d3cb300d496e25044498ee9eeb
3
SIZE (go/filesystems_zrepl-dsh2dsh/zrepl-v0.8.9/v0.8.9.mod) = 3490
3
SIZE (go/filesystems_zrepl-dsh2dsh/zrepl-v0.9.1/v0.9.1.mod) = 2881
4
SHA256 (go/filesystems_zrepl-dsh2dsh/zrepl-v0.8.9/v0.8.9.zip) = f0dbf0e40feb60e811dc46505eb9df0de82afe3b354c0d0d44945fcfb0dc49c8
4
SHA256 (go/filesystems_zrepl-dsh2dsh/zrepl-v0.9.1/v0.9.1.zip) = 396a1c3aa2c26419b3027dbb041fe6e646ee5614efcae6a0152321b06a2c27e5
5
SIZE (go/filesystems_zrepl-dsh2dsh/zrepl-v0.8.9/v0.8.9.zip) = 600710
5
SIZE (go/filesystems_zrepl-dsh2dsh/zrepl-v0.9.1/v0.9.1.zip) = 447170
(-)b/filesystems/zrepl-dsh2dsh/files/pkg-message.in (-2 / +12 lines)
Lines 1-8 Link Here
1
[
1
[
2
{ type: install
2
{ type: install
3
  message: <<EOM
3
  message: <<EOM
4
Messages from filesystems/zrepl-dsh2dsh:
5
6
SETUP BEFORE FIRST USE:
4
SETUP BEFORE FIRST USE:
7
- Create the log file /var/log/zrepl.log:
5
- Create the log file /var/log/zrepl.log:
8
  # service newsyslog restart
6
  # service newsyslog restart
Lines 38-43 More config details in the zrepl periodic script: Link Here
38
36
39
    %%LOCALBASE%%/etc/periodic/weekly/500.zrepl
37
    %%LOCALBASE%%/etc/periodic/weekly/500.zrepl
40
38
39
EOM
40
}
41
{
42
  type: upgrade
43
  maximum_version: "0.9.0"
44
  message: <<EOM
45
Upgrading from before 0.9.0 need to modify configuration file:
46
47
  %%PREFIX%%/etc/zrepl/zrepl.yml
48
49
Please read more about this change here:
50
https://github.com/dsh2dsh/zrepl?tab=readme-ov-file#breaking-changes
41
EOM
51
EOM
42
}
52
}
43
]
53
]
(-)b/filesystems/zrepl-dsh2dsh/pkg-plist (-3 / +2 lines)
Lines 2-15 bin/zrepl Link Here
2
etc/periodic/daily/zrepl
2
etc/periodic/daily/zrepl
3
etc/periodic/weekly/500.zrepl
3
etc/periodic/weekly/500.zrepl
4
etc/rc.d/zrepl
4
etc/rc.d/zrepl
5
@sample %%ETCDIR%%/keys.yaml.sample
5
@sample %%ETCDIR%%/zrepl.yml.sample
6
@sample %%ETCDIR%%/zrepl.yml.sample
6
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bandwidth_limit.yml
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bandwidth_limit.yml
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grafana-prometheus-zrepl.json
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grafana-prometheus-zrepl.json
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hooks/template.sh
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hooks/template.sh
10
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keys.yaml
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/local.yml
11
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/local.yml
10
@sample %%EXAMPLESDIR%%/newsyslog.conf etc/newsyslog.conf.d/zrepl.conf
12
@sample %%EXAMPLESDIR%%/newsyslog.conf etc/newsyslog.conf.d/zrepl.conf
11
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pull.yml
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pull.yml
12
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pull_ssh.yml
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/push.yml
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/push.yml
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quickstart_backup_to_external_disk.yml
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quickstart_backup_to_external_disk.yml
15
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quickstart_continuous_server_backup_receiver.yml
16
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quickstart_continuous_server_backup_receiver.yml
Lines 20-24 etc/rc.d/zrepl Link Here
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap.yml
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap.yml
21
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap_cron.yml
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snap_cron.yml
22
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/source.yml
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/source.yml
23
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/source_ssh.yml
24
@dir etc/newsyslog.conf.d
24
@dir etc/newsyslog.conf.d
25
- 

Return to bug 282784