1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

STAGEfy. Use shell script instead of hardlink.

It could be not packaged anyeay, as it should be built
  for local kernel.
This commit is contained in:
Lev A. Serebryakov 2014-07-04 14:04:08 +00:00
parent b3eb048ed5
commit 25aa55f880
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360615
3 changed files with 9 additions and 18 deletions

View File

@ -9,26 +9,18 @@ MASTER_SITES= http://lev.serebryakov.spb.ru/download/graid5/
MAINTAINER= lev@FreeBSD.org
COMMENT= RAID5 geom class
LICENSE= BSD
USE_BZIP2= yes
LICENSE= BSD2CLAUSE
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
MAINVERSION=1.3
VERSIONDATE=20140308.50
VERSIONDATE=20140704.60
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,}
MAKE_ENV+= KMODDIR=${KMODDIR} SRC_BASE=${SRC_BASE}
USES= kmod uidfix
# It want to make hardlink from /sbin/geom
NO_STAGE= yes
MANCOMPRESSED= yes
MAN8= ${PORTNAME}.8
USES= tar:bzip2 kmod uidfix
.include <bsd.port.pre.mk>
@ -36,10 +28,8 @@ MAN8= ${PORTNAME}.8
IGNORE= requires sbin source files
.endif
post-install:
/usr/sbin/kldxref ${KMODDIR}
post-deinstall:
/usr/sbin/kldxref ${KMODDIR}
pre-install:
${MKDIR} ${STAGEDIR}/lib/geom
${MKDIR} ${STAGEDIR}/sbin
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (graid5-1.3.20140308.50.tar.bz2) = 70445226525ca383c139f1d06d629f0aa06efe6b488f8b491b301607a896da8f
SIZE (graid5-1.3.20140308.50.tar.bz2) = 28288
SHA256 (graid5-1.3.20140704.60.tar.bz2) = 4f0a22e5339ef556d4bf0f979f5ad5fecf3ae7b72cc0475fa45974385cac47c8
SIZE (graid5-1.3.20140704.60.tar.bz2) = 28550

View File

@ -1,3 +1,4 @@
man/man8/graid5.8.gz
@cwd /
%%KMODDIR%%/geom_raid5.ko
lib/geom/geom_raid5.so