sysutils/iocell: enable more architectures & handle new BSD grep

While iocell is a shell script and can work cross-platform, its evident
that nobody has actually tried to use it on anything other than amd64.

Use tighter egrep(1) invocations, that match the new default BSD grep
now in 13.0+ and up.

Approved by:		maintainer timeout
Tested by:		linimon
PR:		    	253703
Differential Revision:	https://reviews.freebsd.org/D28004
This commit is contained in:
Dave Cottlehuber 2021-05-30 13:35:18 +00:00
parent ff417b04ae
commit 68fa173526
2 changed files with 8 additions and 2 deletions

View File

@ -3,8 +3,12 @@
PORTNAME= iocell
PORTVERSION= 2.1.2
DISTVERSIONPREFIX=v
PORTREVISION= 1
CATEGORIES= sysutils
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
PATCHFILES+= 37.patch:-p1 # https://github.com/bartekrutkowski/iocell/pull/37
MAINTAINER= robak@FreeBSD.org
COMMENT= Feature rich Jail containers manager (iocage fork)
@ -19,9 +23,9 @@ USE_GITHUB= yes
GH_ACCOUNT= bartekrutkowski
NO_BUILD= yes
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e "s|amd64|${MACHINE}|g" ${WRKSRC}/lib/ioc-*
@${REINPLACE_CMD} -e "s|/usr/local/lib/iocell|${PREFIX}/lib/iocell|g" ${WRKSRC}/iocell
pre-install:

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1529540233
TIMESTAMP = 1613421536
SHA256 (bartekrutkowski-iocell-v2.1.2_GH0.tar.gz) = 36f98ec1f55f444913bb5154b51549e85fb34e04e372d4fe34bb8be2c5f7ed36
SIZE (bartekrutkowski-iocell-v2.1.2_GH0.tar.gz) = 372737
SHA256 (37.patch) = 9bacb2e7fa1b6de7dac753d23594087951733968f1723501096cb71131e811e8
SIZE (37.patch) = 4538