diff --git a/sysutils/Makefile b/sysutils/Makefile --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1292,6 +1292,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 --- /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 --- /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 --- /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/