aboutsummaryrefslogtreecommitdiff
path: root/sysutils/iocell
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2021-05-30 13:35:18 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2021-05-30 13:35:18 +0000
commit68fa173526465a755a9b7fdc5ee9b8761c2a47b1 (patch)
tree043af8c41c1d21ba7598116ee0f688fad982644e /sysutils/iocell
parentff417b04ae3151c5cc9ef561880f3bd55421161f (diff)
downloadports-68fa173526465a755a9b7fdc5ee9b8761c2a47b1.tar.gz
ports-68fa173526465a755a9b7fdc5ee9b8761c2a47b1.zip
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
Diffstat (limited to 'sysutils/iocell')
-rw-r--r--sysutils/iocell/Makefile6
-rw-r--r--sysutils/iocell/distinfo4
2 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/iocell/Makefile b/sysutils/iocell/Makefile
index 18b5b900d96c..8f8d6ea0b1c5 100644
--- a/sysutils/iocell/Makefile
+++ b/sysutils/iocell/Makefile
@@ -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:
diff --git a/sysutils/iocell/distinfo b/sysutils/iocell/distinfo
index c4d599c536d4..168b66468bb5 100644
--- a/sysutils/iocell/distinfo
+++ b/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