Skip to content

Commit

Permalink
sysutils/iocell: enable more architectures & handle new BSD grep
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dch committed May 30, 2021
1 parent ff417b0 commit 68fa173
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sysutils/iocell/Makefile
Expand Up @@ -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)

Expand All @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion sysutils/iocell/distinfo
@@ -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

0 comments on commit 68fa173

Please sign in to comment.