From owner-dev-commits-ports-all@freebsd.org Mon Aug 30 21:38:38 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1026865ECD4; Mon, 30 Aug 2021 21:38:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gz3bd73KXz4YVc; Mon, 30 Aug 2021 21:38:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D40E224E76; Mon, 30 Aug 2021 21:38:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17ULcbrN043076; Mon, 30 Aug 2021 21:38:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17ULcbsm043075; Mon, 30 Aug 2021 21:38:37 GMT (envelope-from git) Date: Mon, 30 Aug 2021 21:38:37 GMT Message-Id: <202108302138.17ULcbsm043075@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: b7f91789d751 - main - sysutils/snapraid: New Port: Backup program for disk arrays MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b7f91789d751d2e7075ecd2e4dff75b7e0228d74 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2021 21:38:38 -0000 The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7f91789d751d2e7075ecd2e4dff75b7e0228d74 commit b7f91789d751d2e7075ecd2e4dff75b7e0228d74 Author: Robert Clausecker AuthorDate: 2021-08-30 21:30:00 +0000 Commit: Daniel Engberg CommitDate: 2021-08-30 21:35:22 +0000 sysutils/snapraid: New Port: Backup program for disk arrays PR: 257711 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D31606 --- sysutils/Makefile | 1 + sysutils/snapraid/Makefile | 22 ++++++++++++++++++++++ sysutils/snapraid/distinfo | 3 +++ sysutils/snapraid/pkg-descr | 21 +++++++++++++++++++++ 4 files changed, 47 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index d5708e437423..66f118d826cf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1291,6 +1291,7 @@ SUBDIR += smenu SUBDIR += smp_utils SUBDIR += snap + SUBDIR += snapraid SUBDIR += snmp_exporter SUBDIR += snooze SUBDIR += sockaddr diff --git a/sysutils/snapraid/Makefile b/sysutils/snapraid/Makefile new file mode 100644 index 000000000000..4b16e78ee1e4 --- /dev/null +++ b/sysutils/snapraid/Makefile @@ -0,0 +1,22 @@ +PORTNAME= snapraid +DISTVERSION= 11.5 +CATEGORIES= sysutils archivers +MASTER_SITES= https://github.com/amadvance/snapraid/releases/download/v${DISTVERSION}/ + +MAINTAINER= fuz@fuz.su +COMMENT= File-level Backup/RAID program for disk arrays + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +GNU_CONFIGURE= yes +TEST_TARGET= check + +PLIST_FILES= bin/snapraid \ + man/man1/snapraid.1.gz \ + etc/snapraid.conf.sample + +post-install: + ${INSTALL_DATA} ${WRKSRC}/snapraid.conf.example ${STAGEDIR}${PREFIX}/etc/snapraid.conf.sample + +.include diff --git a/sysutils/snapraid/distinfo b/sysutils/snapraid/distinfo new file mode 100644 index 000000000000..b696a6f46e38 --- /dev/null +++ b/sysutils/snapraid/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1628513090 +SHA256 (snapraid-11.5.tar.gz) = 1f5267261bdbcf4d48b9359ce67184df11905590739140f740327fb73bcecafa +SIZE (snapraid-11.5.tar.gz) = 742480 diff --git a/sysutils/snapraid/pkg-descr b/sysutils/snapraid/pkg-descr new file mode 100644 index 000000000000..a19870b0a534 --- /dev/null +++ b/sysutils/snapraid/pkg-descr @@ -0,0 +1,21 @@ +SnapRAID is a backup program for disk arrays. It stores parity information of +your data and it recovers from up to six disk failures. +SnapRAID is mainly targeted for a home media center, where you have a lot of +big files that rarely change. Beside the ability to recover from disk failures, +the other features of SnapRAID are: + +* You can use disk already filled with files, without the need to reformat them. + You will access them like now. +* All your data is hashed to ensure data integrity and to avoid silent + corruption. +* If the failed disks are too many to allow a recovery, you lose the data only + on the failed disks. All the data in the other disks is safe. +* If you accidentally delete some files in a disk, you can recover them. +* The disks can have different sizes. +* You can add disks at any time. +* It doesn't lock-in your data. You can stop using SnapRAID at any time without + the need to reformat or move data. +* To access a file, only a single disk needs to spin, saving power and producing + less noise. + +WWW: http://www.snapraid.it/