From 91995420816b726b65037f0d0e0ff80bc8cbbb90 Mon Sep 17 00:00:00 2001 From: lev Date: Sat, 11 Dec 2010 16:50:46 +0000 Subject: 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. --- sysutils/Makefile | 1 + sysutils/graid5/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ sysutils/graid5/distinfo | 2 ++ sysutils/graid5/pkg-descr | 5 +++++ sysutils/graid5/pkg-plist | 6 ++++++ 5 files changed, 56 insertions(+) create mode 100644 sysutils/graid5/Makefile create mode 100644 sysutils/graid5/distinfo create mode 100644 sysutils/graid5/pkg-descr create mode 100644 sysutils/graid5/pkg-plist diff --git a/sysutils/Makefile b/sysutils/Makefile index 4f33d6e9cccf..f86041f23a5d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -332,6 +332,7 @@ SUBDIR += gpkgdep SUBDIR += gpte SUBDIR += graft + SUBDIR += graid SUBDIR += graphicboot SUBDIR += graveman SUBDIR += grok 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 +# +# $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 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 + +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%% -- cgit