From nobody Sat Mar 05 15:11:10 2022 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 A96ED19E07F0; Sat, 5 Mar 2022 15:11:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9p8H0yk3z4pDV; Sat, 5 Mar 2022 15:11:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646493071; 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=SLGM834c1SOUZbZAvkWI3gbn55gLHPYVBYVZepEWOuo=; b=U8PhRZy5vj0I8hsVsAFeFUM4oN/FZuLHNLCEYHSq+aBftdAPhiul/Xdb8v5D0Z+CtYO209 WpDtY0NLHZhcX4Asop4aus3/u52BrDlXivWHivrCIbLm5IvxUcxiMGMwlrYv8QayE0JI8n KR7Ix6dmoG4wZ7E6CP45Za1pMa4dlixVzDm/Xj2kC+1B6NAJqx/EhcksdE1QvROUsA06X8 QDN/9Bjkhf4wKgEenI7WkPLLKue3gqsgXcxTAhyRMqAthhjCABsKYgPdD05Z273D9IR41x jw25SmQ6Ch/NF4CtN9P5Gv4dO8PTEc+2Cg/Z5QqejIocGV+0inBdBn0CdpP4iQ== 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 9CD102277F; Sat, 5 Mar 2022 15:11:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 225FBAAm038756; Sat, 5 Mar 2022 15:11:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 225FBAKS038755; Sat, 5 Mar 2022 15:11:10 GMT (envelope-from git) Date: Sat, 5 Mar 2022 15:11:10 GMT Message-Id: <202203051511.225FBAKS038755@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 3e217af8119e - main - =?utf-8?Q?games/freebee: update 1.7 =E2=86=92 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e217af8119e6d3ecc6d38e26223b0ef1ccee886 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646493071; 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=SLGM834c1SOUZbZAvkWI3gbn55gLHPYVBYVZepEWOuo=; b=D2xT92of2xNPZki75uy2+c0Jdj6oykDMGQmup0X24oxtsesSyhCQFVtk6qHpqOvMoTTkY8 N4+0DLB+TMmBuoOtPjSnVs8ZSXmr5/ANN0u1pt4VuT3bTn81eR3tiewMRkTiFtR6r/vhIt fwZjUsI8LMbVbWpvhnmzrW1MLMTkdho2DKFZsPUs0wTLKYeZXp4uwblU7t87WbdQRosZ45 H+KmhFLNbKlZR0D8Y/hiZyNaNPC58u710a6cXo/F7tLxw6rpCcDuuaK/gvZfuXV4Cy2zTN 9W6XsqdR/cPPogb7DqYVsuuAhos7xmkk6E/sODk05YIKiZCk9FM5inX7Dlf48g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646493071; a=rsa-sha256; cv=none; b=DIilmomAlZOEuj60f9lzRuXWZKqCSxxoG7JFO2YKpagqFZBH3WjlESeUnt/wRg+y6y4elk tm4swOEN2durMpSBNZNO99M40lGLFTjFi3olEoPrK3XX6J7Pw68Hmznl55FYhrzHMTpNlE HHZEhnwr1OssMy4aKQnXnP+6yQegEp3ixWIbqAP6T09hyUsKE1Bwc35By+0MZUuDXkTZ0H DTFYlovFZ0X0S8N54E0F+M64Y00UfHYqM4fTRaoEsCKjB1QUmLUWkzZESSqbW4ets2kFf+ SBEciJAJhT1ORqmbTbVeM81A7FuxwIAyF7U2USY52MwI1xl6WSe28+FU6wpUbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e217af8119e6d3ecc6d38e26223b0ef1ccee886 commit 3e217af8119e6d3ecc6d38e26223b0ef1ccee886 Author: Dmitry Marakasov AuthorDate: 2022-03-05 15:04:38 +0000 Commit: Dmitry Marakasov CommitDate: 2022-03-05 15:10:41 +0000 games/freebee: update 1.7 → 2.0 --- games/freebee/Makefile | 4 +++- games/freebee/distinfo | 6 +++--- games/freebee/files/patch-Makefile | 30 ++++++++++++------------------ games/freebee/pkg-plist | 3 --- 4 files changed, 18 insertions(+), 25 deletions(-) diff --git a/games/freebee/Makefile b/games/freebee/Makefile index b080db8e4e90..93727ae974df 100644 --- a/games/freebee/Makefile +++ b/games/freebee/Makefile @@ -1,6 +1,6 @@ PORTNAME= freebee DISTVERSIONPREFIX= ${PORTNAME}- -DISTVERSION= 1.7 +DISTVERSION= 2.0 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org @@ -18,6 +18,8 @@ GH_PROJECT= console-client PORTDOCS= README.md +PLIST_FILES= bin/freebee share/man/man6/freebee.6.gz + OPTIONS_DEFINE= DOCS post-install-DOCS-on: diff --git a/games/freebee/distinfo b/games/freebee/distinfo index c942c9f53674..aa26d2f6765f 100644 --- a/games/freebee/distinfo +++ b/games/freebee/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620327621 -SHA256 (freebee-game-console-client-freebee-1.7_GH0.tar.gz) = a239520a4f10f5206e81a219d1cc7d3056f668b7119934d074fb8c65999244c3 -SIZE (freebee-game-console-client-freebee-1.7_GH0.tar.gz) = 453839 +TIMESTAMP = 1646491453 +SHA256 (freebee-game-console-client-freebee-2.0_GH0.tar.gz) = 25dd752d92ea5f3e57d491927a75327a4ee838002b22586540ae92473f048db0 +SIZE (freebee-game-console-client-freebee-2.0_GH0.tar.gz) = 9079 diff --git a/games/freebee/files/patch-Makefile b/games/freebee/files/patch-Makefile index 2edc9d571b40..042848259419 100644 --- a/games/freebee/files/patch-Makefile +++ b/games/freebee/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2020-07-28 01:02:14 UTC +--- Makefile.orig 2022-02-20 17:47:34 UTC +++ Makefile -@@ -2,18 +2,18 @@ +@@ -2,30 +2,30 @@ CC ?= cc CFLAGS ?= -O2 -pipe @@ -8,22 +8,20 @@ +CFLAGS += -I${LOCALBASE}/include # Remove if your system doesn't have - # arc4random_uniform(3) and/or strlcat(3) - # Same with pledge(2) and/or unveil(2) + # arc4random_uniform(3), strlcat(3), and/or strtonum(3) + # Same with pledge(2) CFLAGS += -DHAVE_ARC4RANDOM_UNIFORM -DHAVE_STRLCAT --CFLAGS += -DHAVE_PLEDGE -DHAVE_UNVEIL -+#CFLAGS += -DHAVE_PLEDGE -DHAVE_UNVEIL - - # Uncomment if you don't want to install - # or if you plan to install the dictionary somewhere - # other than /usr/local/share/freebee/enable1.txt --#CFLAGS += -DDICTIONARY="\"enable1.txt\"" -+CFLAGS += -DDICTIONARY="\"${SHAREDIR}/enable1.txt\"" +-CFLAGS += -DHAVE_STRTONUM -DHAVE_PLEDGE ++CFLAGS += -DHAVE_STRTONUM PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin -@@ -25,15 +25,15 @@ OBJS = anagram.o arc4random_uniform.o dir.o game.o mai - strlcat.o +-MANDIR ?= ${PREFIX}/man/man6 ++MANDIR ?= ${PREFIX}/share/man/man6 + + PROG = freebee + OBJS = anagram.o arc4random_uniform.o dir.o game.o main.o net.o rank.o \ + strlcat.o strtonum.o all: ${OBJS} - ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} -lncurses -L/usr/local/lib -lcurl @@ -32,16 +30,12 @@ install: - /usr/bin/install -d -m 755 ${BINDIR} - /usr/bin/install -d -m 755 ${MANDIR} -- /usr/bin/install -d -m 755 ${SHAREDIR} - /usr/bin/install -c -s -m 555 freebee ${BINDIR} - /usr/bin/install -c -m 444 freebee.6 ${MANDIR} -- /usr/bin/install -c -m 444 enable1.txt ${SHAREDIR} + /usr/bin/install -d -m 755 ${DESTDIR}${BINDIR} + /usr/bin/install -d -m 755 ${DESTDIR}${MANDIR} -+ /usr/bin/install -d -m 755 ${DESTDIR}${SHAREDIR} + /usr/bin/install -c -s -m 555 freebee ${DESTDIR}${BINDIR} + /usr/bin/install -c -m 444 freebee.6 ${DESTDIR}${MANDIR} -+ /usr/bin/install -c -m 444 enable1.txt ${DESTDIR}${SHAREDIR} clean: rm -f ${PROG} ${OBJS} ${PROG}.core diff --git a/games/freebee/pkg-plist b/games/freebee/pkg-plist deleted file mode 100644 index 0e9a24516aa1..000000000000 --- a/games/freebee/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/freebee -man/man6/freebee.6.gz -%%DATADIR%%/enable1.txt