From nobody Wed Dec 11 14:37:00 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y7dTm3NFgz5g1fT; Wed, 11 Dec 2024 14:37:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7dTm2qpPz3wnd; Wed, 11 Dec 2024 14:37:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733927820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wVwosMpqbVgzr89dWP++cV1AnXZBWu+7mFvl4zAYQN4=; b=CB6yFI0Dm574GJHKWvi34MMfVHvXlZAlXvJ30nx2DkrPRJULggVY6BKQ6/eXlWfWf4VYKf VzrsbuEVWDJwrDVKNFPYRUWFErujCqz0QMeYe7Ni0fY8g5GyJmUf50buUeirjuaJMqB+Sh hZNyYsRiOlL1IsllWCEqii066iXJxhBx1v6+tSCHA+GzzdraPEX5OUqSgk1cE8jPSh7nIs eKShy56KKv+7EI937xpK725Shc9O8WOMd3wRcBba6p5SWW3fjKcdbaYXcbuc72ny/3FxQW 0TBvxnvRV4bDMVLD/u7Sbdpao5qWV6yKVaQHzXDbPsk/NWkgJ3P6+Gkj+bppDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733927820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wVwosMpqbVgzr89dWP++cV1AnXZBWu+7mFvl4zAYQN4=; b=fVaS7Izx+74YqKjHxN2KGqkhvvMZiZyPJJq8TcM8VWV0/tG89oGVnmwzIpkhFs/U/AvzA/ LOGGdHXNwfeFycdVOyOhbX0pkK5Wv46mgI2ziN1ZHSVOaPc9CCpyk7K493JiHwgylz1nWG yWv9j8TV3aZAdK55h0hJuXcbW4BGapIV8G7j9Ti+jQAsVeB178KlcD1NHsruEB+Qn0zaHd QZegHpAYMxtfjQQU2sHGkfNaL0NOpzNpkP9Q1aFT6JWWxcwiOzmL65VrugQHXxNDRLymQY VEHuNiZbY08Ar2VLfGVinBVCeTWZJOn9NwsrrqjvI7OkisDdI5/6lr79DauYpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733927820; a=rsa-sha256; cv=none; b=Dl5oQ/hnCT54f+/268470p6J5PQJfJd1e3VbSPdffI3pAnTHlaAum3/MOBIVXY02qRjTbK r3vRdj5PJm3qh2kSPNONVmd47ElMpDWQgpHjbS8Ixr0bhGE5RBdZ8zyeTq6VORNUoiq278 LOJ4OxB3tXG7/QSBIa/SkC3pOxPbotPHR0V0T2S1jKvRR5UfOwHfkSOG4ATCH3A8QeBLZO fJ5A20+hlRZqwb4tYvhdC19oTos13nsxY5KbVPthXyc8CHHixstVJuJfT2vt0/wr+uzVWt ioQTwqXzGu4YdvJAl/3SzsCmFN1uY6HWvU+Cos78DAOr5EtL3oXyxpemMOjbww== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y7dTm2BlZz1BMY; Wed, 11 Dec 2024 14:37:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BBEb0ZV094511; Wed, 11 Dec 2024 14:37:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BBEb0ww094508; Wed, 11 Dec 2024 14:37:00 GMT (envelope-from git) Date: Wed, 11 Dec 2024 14:37:00 GMT Message-Id: <202412111437.4BBEb0ww094508@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: d1f94b3a7ec6 - main - sysutils/lockfile-progs: Update to 0.2.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d1f94b3a7ec6bb76e9c4f11d32966260a0fc75e3 Auto-Submitted: auto-generated The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1f94b3a7ec6bb76e9c4f11d32966260a0fc75e3 commit d1f94b3a7ec6bb76e9c4f11d32966260a0fc75e3 Author: Yasuhiro Kimura AuthorDate: 2024-12-11 14:30:14 +0000 Commit: Yasuhiro Kimura CommitDate: 2024-12-11 14:36:01 +0000 sysutils/lockfile-progs: Update to 0.2.0 ChangeLog: https://tracker.debian.org/news/1593225/accepted-lockfile-progs-020-source-into-unstable/ --- sysutils/lockfile-progs/Makefile | 20 +++++++++++++------- sysutils/lockfile-progs/distinfo | 6 +++--- sysutils/lockfile-progs/files/patch-GNUmakefile | 11 +++++++++++ sysutils/lockfile-progs/files/patch-Makefile | 23 ----------------------- 4 files changed, 27 insertions(+), 33 deletions(-) diff --git a/sysutils/lockfile-progs/Makefile b/sysutils/lockfile-progs/Makefile index 648b5321de6f..98bfb6b202ab 100644 --- a/sysutils/lockfile-progs/Makefile +++ b/sysutils/lockfile-progs/Makefile @@ -1,5 +1,5 @@ PORTNAME= lockfile-progs -DISTVERSION= 0.1.20 +DISTVERSION= 0.2.0 CATEGORIES= sysutils MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -11,11 +11,17 @@ WWW= https://tracker.debian.org/pkg/lockfile-progs LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= bash:shells/bash \ + gsed:textproc/gsed LIB_DEPENDS= liblockfile.so:devel/liblockfile -USES= tar:xz +USES= gmake localbase:ldflags tar:xz + +MAKEFILE= GNUmakefile +ALL_TARGET= bin/lockfile-create man/lockfile-progs.1 + +BINARY_ALIAS= sed=gsed -ALL_TARGET= lockfile-create WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} PORTDOCS= changelog @@ -23,10 +29,10 @@ PORTDOCS= changelog OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lockfile-create ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/lockfile-progs.1 ${STAGEDIR}${PREFIX}/share/man/man1 -.for f in lockfile-remove lockfile-touch lockfile-check mail-lock mail-unlock \ - mail-touchlock + ${INSTALL_PROGRAM} ${WRKSRC}/bin/lockfile-create ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/man/lockfile-progs.1 ${STAGEDIR}${PREFIX}/share/man/man1 +.for f in lockfile-check lockfile-remove lockfile-touch mail-lock mail-touchlock \ + mail-unlock ${LN} ${STAGEDIR}${PREFIX}/bin/lockfile-create ${STAGEDIR}${PREFIX}/bin/${f} ${LN} -s lockfile-progs.1 ${STAGEDIR}${PREFIX}/share/man/man1/${f}.1 .endfor diff --git a/sysutils/lockfile-progs/distinfo b/sysutils/lockfile-progs/distinfo index e5a2bd1ca94b..977d91b92df4 100644 --- a/sysutils/lockfile-progs/distinfo +++ b/sysutils/lockfile-progs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1733812293 -SHA256 (lockfile-progs_0.1.20.tar.xz) = 0197e8b7826ce393b0585d345f3dd97e51829aba465a8770b5658837b6d4188c -SIZE (lockfile-progs_0.1.20.tar.xz) = 14460 +TIMESTAMP = 1733925431 +SHA256 (lockfile-progs_0.2.0.tar.xz) = 2988fb5a8b407e52e2aa6282ce45497f465c921d591138c100f4898215844c90 +SIZE (lockfile-progs_0.2.0.tar.xz) = 15360 diff --git a/sysutils/lockfile-progs/files/patch-GNUmakefile b/sysutils/lockfile-progs/files/patch-GNUmakefile new file mode 100644 index 000000000000..fee4af184375 --- /dev/null +++ b/sysutils/lockfile-progs/files/patch-GNUmakefile @@ -0,0 +1,11 @@ +--- GNUmakefile.orig 2024-12-10 21:05:21 UTC ++++ GNUmakefile +@@ -10,7 +10,7 @@ cleanfiles += $(generated) + generated += $(patsubst %,man/%.1,$(variants)) + cleanfiles += $(generated) + +-CFLAGS := -g -Wall -Wformat-security -Werror -O2 -fwrapv -fno-strict-aliasing $(CFLAGS) ++#CFLAGS := -g -Wall -Wformat-security -Werror -O2 -fwrapv -fno-strict-aliasing $(CFLAGS) + CPPFLAGS ?= + LDFLAGS ?= + diff --git a/sysutils/lockfile-progs/files/patch-Makefile b/sysutils/lockfile-progs/files/patch-Makefile deleted file mode 100644 index 307454a3c047..000000000000 --- a/sysutils/lockfile-progs/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig 2024-12-09 19:42:32 UTC -+++ Makefile -@@ -1,6 +1,6 @@ - --LOADLIBES := -llockfile --CFLAGS := -g -Wall -Wformat-security -Werror -O2 -fwrapv -fno-strict-aliasing $(CFLAGS) -+LOADLIBES := -L${LOCALBASE}/lib -llockfile -+#CFLAGS := -g -Wall -Wformat-security -Werror -O2 -fwrapv -fno-strict-aliasing $(CFLAGS) - - all: lockfile-create - rm -rf bin -@@ -23,7 +23,10 @@ lockfile-create: lockfile-progs.o - .PHONY: all - - lockfile-create: lockfile-progs.o -- ${CC} -o $@ ${LDFLAGS} $^ ${LOADLIBES} -+ ${CC} -o $@ ${LDFLAGS} lockfile-progs.o ${LOADLIBES} -+ -+lockfile-progs.o: -+ ${CC} ${CFLAGS} -c -I${LOCALBASE}/include lockfile-progs.c - - # These tests are quite insufficient, but perhaps better than nothing for now. - check: all