pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

restic: Import restic-0.9.4 as wip/restic



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Mar 16 17:17:48 2019 +0900
Changeset:	48634e20c00e211a45efc946918e9268fe467496

Modified Files:
	Makefile
Added Files:
	restic/DESCR
	restic/Makefile
	restic/PLIST
	restic/distinfo

Log Message:
restic: Import restic-0.9.4 as wip/restic

Fast, secure, efficient backup program.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=48634e20c00e211a45efc946918e9268fe467496

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  1 +
 restic/DESCR    |  3 +++
 restic/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 restic/PLIST    | 28 ++++++++++++++++++++++++++++
 restic/distinfo |  6 ++++++
 5 files changed, 90 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 43c30268f5..745963b00b 100644
--- a/Makefile
+++ b/Makefile
@@ -4181,6 +4181,7 @@ SUBDIR+=	remctl
 SUBDIR+=	resid-builder
 SUBDIR+=	residualvm
 SUBDIR+=	resin
+SUBDIR+=	restic
 SUBDIR+=	revelation
 SUBDIR+=	rhapsody
 SUBDIR+=	riak
diff --git a/restic/DESCR b/restic/DESCR
new file mode 100644
index 0000000000..f1c458ae7e
--- /dev/null
+++ b/restic/DESCR
@@ -0,0 +1,3 @@
+restic is a backup program that is fast, efficient and secure. It supports
+the three major operating systems (Linux, macOS, Windows) and a few smaller
+ones (FreeBSD, OpenBSD).
diff --git a/restic/Makefile b/restic/Makefile
new file mode 100644
index 0000000000..a08ce0b741
--- /dev/null
+++ b/restic/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD$
+
+PKGNAME=	restic-0.9.4
+DISTNAME=	restic-${GITHUB_TAG}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=restic/}
+GITHUB_PROJECT=	restic
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	iku.iwasa%gmail.com@localhost
+HOMEPAGE=	https://restic.net/
+COMMENT=	Fast, secure, efficient backup program
+LICENSE=	mit
+
+EXTRACT_USING=	bsdtar
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/restic/restic/
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/restic ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-backup.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-cache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-cat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-check.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-diff.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-dump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-find.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-forget.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-generate.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-init.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-key.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-list.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-ls.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-migrate.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-mount.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-prune.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-rebuild-index.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-recover.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-restore.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-self-update.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-snapshots.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-stats.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-tag.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-unlock.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic-version.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/man/restic.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/restic/PLIST b/restic/PLIST
new file mode 100644
index 0000000000..7cd4c26c7a
--- /dev/null
+++ b/restic/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD$
+bin/restic
+man/man1/restic-backup.1
+man/man1/restic-cache.1
+man/man1/restic-cat.1
+man/man1/restic-check.1
+man/man1/restic-diff.1
+man/man1/restic-dump.1
+man/man1/restic-find.1
+man/man1/restic-forget.1
+man/man1/restic-generate.1
+man/man1/restic-init.1
+man/man1/restic-key.1
+man/man1/restic-list.1
+man/man1/restic-ls.1
+man/man1/restic-migrate.1
+man/man1/restic-mount.1
+man/man1/restic-prune.1
+man/man1/restic-rebuild-index.1
+man/man1/restic-recover.1
+man/man1/restic-restore.1
+man/man1/restic-self-update.1
+man/man1/restic-snapshots.1
+man/man1/restic-stats.1
+man/man1/restic-tag.1
+man/man1/restic-unlock.1
+man/man1/restic-version.1
+man/man1/restic.1
diff --git a/restic/distinfo b/restic/distinfo
new file mode 100644
index 0000000000..138f377854
--- /dev/null
+++ b/restic/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (restic-v0.9.4.tar.gz) = fb1e31bef3b88ea0e9b8d9df35845cda5ae24aa2
+RMD160 (restic-v0.9.4.tar.gz) = d238be95e011ca2b7c04c65c58e8f51060ca241a
+SHA512 (restic-v0.9.4.tar.gz) = 8e75a1da6ee9a364c2bf53ce8f9b014549e7065eae349dc6baf68b0e8a8e9736f83c0495b822aac87480751f448bd42da34c440290b5f0967aea7becda5c448b
+Size (restic-v0.9.4.tar.gz) = 26211163 bytes


Home | Main Index | Thread Index | Old Index