Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 19:17:51 +0000 (UTC)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347531 - head/sysutils/graid5
Message-ID:  <201403081917.s28JHpMp094306@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lev
Date: Sat Mar  8 19:17:50 2014
New Revision: 347531
URL: http://svnweb.freebsd.org/changeset/ports/347531
QAT: https://qat.redports.org/buildarchive/r347531/

Log:
    Update to version 1.3
    Add support for 10 and 11 systems (versions prior this could cause crash on these).
    Add support for direct-dispatch as receiver (callee) only.

Modified:
  head/sysutils/graid5/Makefile
  head/sysutils/graid5/distinfo
  head/sysutils/graid5/pkg-descr
  head/sysutils/graid5/pkg-plist

Modified: head/sysutils/graid5/Makefile
==============================================================================
--- head/sysutils/graid5/Makefile	Sat Mar  8 18:35:38 2014	(r347530)
+++ head/sysutils/graid5/Makefile	Sat Mar  8 19:17:50 2014	(r347531)
@@ -3,44 +3,43 @@
 
 PORTNAME=	graid5
 PORTVERSION=	${MAINVERSION}.${VERSIONDATE}
-PORTREVISION=	2
-CATEGORIES=	sysutils kld
+CATEGORIES=	sysutils
 MASTER_SITES=	http://lev.serebryakov.spb.ru/download/graid5/
 
 MAINTAINER=	lev@FreeBSD.org
 COMMENT=	RAID5 geom class
 
-SSP_UNSAFE=	kernel module does not support ssp
+LICENSE=	BSD
+
 USE_BZIP2=	yes
 
 NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel
 
-MAINVERSION=1.1
-VERSIONDATE=20130907.44
+MAINVERSION=1.3
+VERSIONDATE=20140308.50
 
 KMODDIR?=	/boot/modules
 PLIST_SUB+=	KMODDIR=${KMODDIR:C,^/,,}
-SUB_LIST=	KMODDIR=${KMODDIR}
-SUB_FILES=	pkg-deinstall
 MAKE_ENV+=	KMODDIR=${KMODDIR} SRC_BASE=${SRC_BASE}
 
-.if defined(SYSDIR)
-MAKE_ENV+=	SYSDIR=${SYSDIR}
-.endif
+USES=		kmod uidfix
+
+# It want to make hardlink from /sbin/geom
+NO_STAGE=	yes
 
 MANCOMPRESSED=	yes
 MAN8=		${PORTNAME}.8
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
-.if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE=	requires kernel source files
-.elif !exists(${SRC_BASE}/sbin/geom/Makefile)
+.if !exists(${SRC_BASE}/sbin/geom/Makefile)
 IGNORE=	requires sbin source files
 .endif
 
 post-install:
-	kldxref ${KMODDIR}
+	/usr/sbin/kldxref ${KMODDIR}
+
+post-deinstall:
+	/usr/sbin/kldxref ${KMODDIR}
 
 .include <bsd.port.post.mk>

Modified: head/sysutils/graid5/distinfo
==============================================================================
--- head/sysutils/graid5/distinfo	Sat Mar  8 18:35:38 2014	(r347530)
+++ head/sysutils/graid5/distinfo	Sat Mar  8 19:17:50 2014	(r347531)
@@ -1,2 +1,2 @@
-SHA256 (graid5-1.1.20130907.44.tar.bz2) = 5098157621cb9171b5478f491f14e53ef7ac41f21152bcb0f5e0a912d559df19
-SIZE (graid5-1.1.20130907.44.tar.bz2) = 27942
+SHA256 (graid5-1.3.20140308.50.tar.bz2) = 70445226525ca383c139f1d06d629f0aa06efe6b488f8b491b301607a896da8f
+SIZE (graid5-1.3.20140308.50.tar.bz2) = 28288

Modified: head/sysutils/graid5/pkg-descr
==============================================================================
--- head/sysutils/graid5/pkg-descr	Sat Mar  8 18:35:38 2014	(r347530)
+++ head/sysutils/graid5/pkg-descr	Sat Mar  8 19:17:50 2014	(r347531)
@@ -1,5 +1,8 @@
 FreeBSD GEOM class for RAID5.
 
-This is RAID5 geom class, originally written by Arne Worner <arne_woerner@yahoo.com>
+  This is RAID5 geom class, originally written by
+Arne Worner <arne_woerner@yahoo.com>.
+
+  Now maintained by Lev Serebryakov <lev@FreeBSD.org>
 
 WWW: http://lev.serebryakov.spb.ru/download/graid5/

Modified: head/sysutils/graid5/pkg-plist
==============================================================================
--- head/sysutils/graid5/pkg-plist	Sat Mar  8 18:35:38 2014	(r347530)
+++ head/sysutils/graid5/pkg-plist	Sat Mar  8 19:17:50 2014	(r347531)
@@ -2,5 +2,3 @@
 %%KMODDIR%%/geom_raid5.ko
 lib/geom/geom_raid5.so
 sbin/graid5
-@exec kldxref /%%KMODDIR%%
-@unexec kldxref /%%KMODDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081917.s28JHpMp094306>