git: b7f91789d751 - main - sysutils/snapraid: New Port: Backup program for disk arrays
Daniel Engberg
diizzy at FreeBSD.org
Mon Aug 30 21:38:38 UTC 2021
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b7f91789d751d2e7075ecd2e4dff75b7e0228d74
commit b7f91789d751d2e7075ecd2e4dff75b7e0228d74
Author: Robert Clausecker <fuz at fuz.su>
AuthorDate: 2021-08-30 21:30:00 +0000
Commit: Daniel Engberg <diizzy at FreeBSD.org>
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 at 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 <bsd.port.mk>
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/
More information about the dev-commits-ports-all
mailing list