Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2021 09:05:29 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fce3927b4e44 - main - sysutils/keyd: update to 1.3.0
Message-ID:  <202111270905.1AR95TB1097117@gitrepo.freebsd.org>

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

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

commit fce3927b4e443708b1f06f1509623c3103c2e042
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-26 07:55:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-27 09:03:12 +0000

    sysutils/keyd: update to 1.3.0
    
    Changes:        https://github.com/rvaiya/keyd/compare/v1.1.2...v1.3.0
---
 sysutils/keyd/Makefile | 15 +++++++++------
 sysutils/keyd/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/sysutils/keyd/Makefile b/sysutils/keyd/Makefile
index 6cd6b262ad7c..1c3aec41664b 100644
--- a/sysutils/keyd/Makefile
+++ b/sysutils/keyd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	keyd
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.2
+DISTVERSION=	1.3.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -12,7 +12,6 @@ LIB_DEPENDS=	libudev.so:devel/libudev-devd
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		localbase:ldflags
 USE_GITHUB=	yes
 USE_RC_SUBR=	${PORTNAME}
 GH_ACCOUNT=	rvaiya
@@ -24,14 +23,18 @@ PLIST_FILES=	bin/${PORTNAME} \
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+		-e 's,/var/lock,/var/run,' \
+		-e 's,/usr/local,${LOCALBASE},' \
 		-e '/systemd/d' \
 		-e '/^CFLAGS/s/=/+=/' \
 		-e '/-l/s/$$/ $$(LDFLAGS)/' \
 		-e 's/ -O3//' \
 		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
-		${WRKSRC}/src/config.h
-	@${REINPLACE_CMD} -e 's,/var/lock,/var/run,' \
-		${WRKSRC}/src/main.c
+# https://lists.freebsd.org/pipermail/freebsd-x11/2019-March/023097.html
+	@${REINPLACE_CMD} -e 's,__FreeBSD,&_disabled,' \
+		${WRKSRC}/src/config.h \
+		${WRKSRC}/src/keys.h \
+		${WRKSRC}/src/main.c \
+		${NULL}
 
 .include <bsd.port.mk>
diff --git a/sysutils/keyd/distinfo b/sysutils/keyd/distinfo
index 0ec962d38769..4bb954607d58 100644
--- a/sysutils/keyd/distinfo
+++ b/sysutils/keyd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629758190
-SHA256 (rvaiya-keyd-v1.1.2_GH0.tar.gz) = e82309f10dbe29b9e927be712efb33a8bd99292f37715a5c5bff5860ad1b9e78
-SIZE (rvaiya-keyd-v1.1.2_GH0.tar.gz) = 26547
+TIMESTAMP = 1637913336
+SHA256 (rvaiya-keyd-v1.3.0_GH0.tar.gz) = 9b2195e69f407f08b9aa377d0bca2cd877c5aa9d67a606b81194941ff4ee8b11
+SIZE (rvaiya-keyd-v1.3.0_GH0.tar.gz) = 30789



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