Add restic, a backup tool that supports many backends.
OK bket@
This commit is contained in:
parent
869e1ba766
commit
ba78e053f6
35
sysutils/restic/Makefile
Normal file
35
sysutils/restic/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/03/02 22:27:53 abieber Exp $
|
||||
|
||||
COMMENT = fast, efficient and secure backup program
|
||||
|
||||
V = 0.8.3
|
||||
DISTNAME = restic-${V}
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
HOMEPAGE = https://restic.net/
|
||||
|
||||
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c pthread
|
||||
|
||||
MASTER_SITES = https://github.com/restic/restic/releases/download/v${V}/
|
||||
|
||||
MODULES = lang/go
|
||||
MODGO_TYPE = bin
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MODGO_CMD} run -x build.go
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${MODGO_CMD} test ./cmd/... ./internal/...
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/restic ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/restic/distinfo
Normal file
2
sysutils/restic/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (restic-0.8.3.tar.gz) = DPaXyIQEsYDW1v8ufSwnsvy5U22m298VrU0yCvfo8Xw=
|
||||
SIZE (restic-0.8.3.tar.gz) = 48746281
|
17
sysutils/restic/pkg/DESCR
Normal file
17
sysutils/restic/pkg/DESCR
Normal file
@ -0,0 +1,17 @@
|
||||
Restic is a program that does backups right and was designed with the following
|
||||
principles in mind:
|
||||
- Easy
|
||||
- Fast
|
||||
- Verifiable
|
||||
- Secure
|
||||
- Efficient
|
||||
|
||||
It supports the following backends:
|
||||
- Local directory
|
||||
- sftp server (via SSH)
|
||||
- HTTP REST server (protocol rest-server)
|
||||
- AWS S3 (either from Amazon or using the Minio server)
|
||||
- OpenStack Swift
|
||||
- BackBlaze B2
|
||||
- Microsoft Azure Blob Storage
|
||||
- Google Cloud Storage
|
24
sysutils/restic/pkg/PLIST
Normal file
24
sysutils/restic/pkg/PLIST
Normal file
@ -0,0 +1,24 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/03/02 22:27:53 abieber Exp $
|
||||
@bin bin/restic
|
||||
@man man/man1/restic-backup.1
|
||||
@man man/man1/restic-cat.1
|
||||
@man man/man1/restic-check.1
|
||||
@man man/man1/restic-diff.1
|
||||
@man man/man1/restic-dump.1
|
||||
@man man/man1/restic-find.1
|
||||
@man man/man1/restic-forget.1
|
||||
@man man/man1/restic-generate.1
|
||||
@man man/man1/restic-init.1
|
||||
@man man/man1/restic-key.1
|
||||
@man man/man1/restic-list.1
|
||||
@man man/man1/restic-ls.1
|
||||
@man man/man1/restic-migrate.1
|
||||
@man man/man1/restic-mount.1
|
||||
@man man/man1/restic-prune.1
|
||||
@man man/man1/restic-rebuild-index.1
|
||||
@man man/man1/restic-restore.1
|
||||
@man man/man1/restic-snapshots.1
|
||||
@man man/man1/restic-tag.1
|
||||
@man man/man1/restic-unlock.1
|
||||
@man man/man1/restic-version.1
|
||||
@man man/man1/restic.1
|
Loading…
x
Reference in New Issue
Block a user