Add graid5 port: geom_raid5 class which implements software RAID5.

It is FreeBSD 8.x-ported version of old'n'good geom_raid5 by Arne Worner.
This commit is contained in:
Lev A. Serebryakov 2010-12-11 16:50:46 +00:00
parent 925184b402
commit c19836133b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266043
5 changed files with 56 additions and 0 deletions

View file

@ -332,6 +332,7 @@
SUBDIR += gpkgdep
SUBDIR += gpte
SUBDIR += graft
SUBDIR += graid
SUBDIR += graphicboot
SUBDIR += graveman
SUBDIR += grok

42
sysutils/graid5/Makefile Normal file
View file

@ -0,0 +1,42 @@
# New ports collection makefile for: graid5
# Date created: 09 Nov 2010
# Whom: Lev Serebryakov <lev@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= graid5
PORTVERSION= ${MAINVERSION}.${VERSIONDATE}
CATEGORIES= sysutils kld
MASTER_SITES= http://lev.serebryakov.spb.ru/download/graid5/
MAINTAINER= lev@FreeBSD.org
COMMENT= RAID5 geom class
USE_BZIP2= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
MAINVERSION=1.0
VERSIONDATE=20101211.26
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
MAKE_ENV+= KMODDIR=${KMODDIR}
MANCOMPRESSED= yes
MAN8= ${PORTNAME}.8
.if !exists(/usr/src/sys/Makefile)
IGNORE= requires kernel source files
.elif !exists(/usr/src/sbin/geom/Makefile)
IGNORE= requires sbin source files
.endif
post-install:
kldxref ${KMODDIR}
post-deinstall:
kldxref ${KMODDIR}
.include <bsd.port.mk>

2
sysutils/graid5/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (graid5-1.0.20101211.26.tar.bz2) = bb48ace5edfdf3c46fe78d6025efb80b417b63d2cb4442598ccd2578bbb241fd
SIZE (graid5-1.0.20101211.26.tar.bz2) = 26373

View file

@ -0,0 +1,5 @@
FreeBSD GEOM class for RAID5.
This is RAID5 geom class, originally written by Arne Worner <arne_woerner@yahoo.com>
WWW: http://lev.serebryakov.spb.ru/download/graid5/

View file

@ -0,0 +1,6 @@
@cwd /
%%KMODDIR%%/geom_raid5.ko
lib/geom/geom_raid5.so
sbin/graid5
@exec kldxref %%KMODDIR%%
@unexec kldxref %%KMODDIR%%