diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2010-12-11 16:50:46 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2010-12-11 16:50:46 +0000 |
commit | c19836133b5010fb9d3edc801b19041085980ce6 (patch) | |
tree | 028a45c1901eaf8b3a0a502f6cd8a87a86845af1 /sysutils/graid5 | |
parent | - Chase recent x11-toolkits/gtkextra2 update. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=266043
Diffstat (limited to 'sysutils/graid5')
-rw-r--r-- | sysutils/graid5/Makefile | 42 | ||||
-rw-r--r-- | sysutils/graid5/distinfo | 2 | ||||
-rw-r--r-- | sysutils/graid5/pkg-descr | 5 | ||||
-rw-r--r-- | sysutils/graid5/pkg-plist | 6 |
4 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/graid5/Makefile b/sysutils/graid5/Makefile new file mode 100644 index 000000000000..3a52232e88ed --- /dev/null +++ b/sysutils/graid5/Makefile @@ -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> diff --git a/sysutils/graid5/distinfo b/sysutils/graid5/distinfo new file mode 100644 index 000000000000..04fa03886bfc --- /dev/null +++ b/sysutils/graid5/distinfo @@ -0,0 +1,2 @@ +SHA256 (graid5-1.0.20101211.26.tar.bz2) = bb48ace5edfdf3c46fe78d6025efb80b417b63d2cb4442598ccd2578bbb241fd +SIZE (graid5-1.0.20101211.26.tar.bz2) = 26373 diff --git a/sysutils/graid5/pkg-descr b/sysutils/graid5/pkg-descr new file mode 100644 index 000000000000..ea3a6f5f4f7c --- /dev/null +++ b/sysutils/graid5/pkg-descr @@ -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/ diff --git a/sysutils/graid5/pkg-plist b/sysutils/graid5/pkg-plist new file mode 100644 index 000000000000..d0258bf19056 --- /dev/null +++ b/sysutils/graid5/pkg-plist @@ -0,0 +1,6 @@ +@cwd / +%%KMODDIR%%/geom_raid5.ko +lib/geom/geom_raid5.so +sbin/graid5 +@exec kldxref %%KMODDIR%% +@unexec kldxref %%KMODDIR%% |