Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2021 13:37:40 GMT
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 68fa17352646 - main - sysutils/iocell: enable more architectures & handle new BSD grep
Message-ID:  <202105301337.14UDbeNg056328@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68fa173526465a755a9b7fdc5ee9b8761c2a47b1

commit 68fa173526465a755a9b7fdc5ee9b8761c2a47b1
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2021-05-30 13:35:18 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2021-05-30 13:35:18 +0000

    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
---
 sysutils/iocell/Makefile | 6 +++++-
 sysutils/iocell/distinfo | 4 +++-
 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



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