From nobody Sat Oct 22 19:45:04 2022 X-Original-To: dev-commits-ports-all@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 4MvsHh5YHKz4fvGp; Sat, 22 Oct 2022 19:45:04 +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 4MvsHh4zyMz4L3j; Sat, 22 Oct 2022 19:45:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666467904; 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=qzja4iqilg9nxW4dHZqj2HTJvLPHNbSV4bYSM6x9vqE=; b=OMXcjyPBmoY64pSgUGQHMRmCXhUWp//lVFWUdgj3lFTsGiQac5/vw4w75Y8n9taSR7D1e0 DxV5JmgEiqXyM+jQm+Mvu3LJZny75kZf8AWSDcex9ErQhANUg0SOwYOHhTmaQcJiscPrAS LsuoRvewIZhmmhkpArSZhvoksLy2K+dHeUWAn7vkvfTWicWYF8P9gQTsh+GXH5mK7WcckR Nfj1lqo+GZdnrWKHzxZ7crG9DhdBPsoq4MNC2aTqmdWtLf9ZtTSheW6eUsw+YikURrhLeU W0Nmtnq1pkUGQEYSweFTs+mzQtyAkGgzTXglW8eEafdvQyEbxMnBeaVQgqj0+w== 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 4MvsHh415Bzfc1; Sat, 22 Oct 2022 19:45:04 +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 29MJj4il021270; Sat, 22 Oct 2022 19:45:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29MJj49v021269; Sat, 22 Oct 2022 19:45:04 GMT (envelope-from git) Date: Sat, 22 Oct 2022 19:45:04 GMT Message-Id: <202210221945.29MJj49v021269@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: d5c6e741d8a1 - main - Add sysutils/fusefs-nbt: Editing Named Binary Tag (NBT) as using a file system List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5c6e741d8a1bc9b571876fa4d1426167e27e8e8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666467904; 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=qzja4iqilg9nxW4dHZqj2HTJvLPHNbSV4bYSM6x9vqE=; b=Qg6dPt0JXCBb2Omju6x9Mcsao/yowSxUgK6jKPJR2/VuRYI6dxB25R2uY62P8bD/ggV6Bz 3yF7HbkdxPDoIo9rTBu6+OuvSuEtEZBvSI8mSsCi98FnO7Zrvu58H334z5PFhBWhNMYJHP 7RM0pfNo/gb1aOlQCmyzjt+7LOWXuMmGLThXJvQ44qeIBGZ9h1qrXQx+2EpfjhNa/HCAnv f2LV2t9hDi99tC9mIKegJAJzmVoHT0f8ugEFdmYdMY5B9WQASfQMkZ0DGucsl/D2E9nTPE YOqWpYP7Z/wftVw08zbVf/yWShL14SkVzWTW7i3rvogH1Gy6nIaCeA4nre6ZqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666467904; a=rsa-sha256; cv=none; b=AoU7Iw9jenlxKlnMZ2Rfw4uD43Jbo+jmjgUCNZ34HqSgDMGcRZfQ1A/lje06jnPSU/9+dh aFFi0ngJ9YF1JvI3j+jeF3ucVEyNX4hh3bqxmlG6T4wVd19+49h0ZOBYX10riHSVzjpSm3 I2Nn66HdRiPGAUwyN8YzMKpRWdT6mifsZHtLPf2dvm/SPmsIagNBHN6t8pW3EEqtCgEI43 eFizXZS+2kJ2GTZvv2MVMCUr3vNen3aAHnWP0sAwgETYRVFyulB5tXgSByY/doFJg41p1L vswve5z4h92slN9ZzDpZ18jrP6fqCUgwWVOu3vv2L18IRR2CSl0spnVVTH8piQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5c6e741d8a1bc9b571876fa4d1426167e27e8e8 commit d5c6e741d8a1bc9b571876fa4d1426167e27e8e8 Author: WHR AuthorDate: 2022-10-22 19:43:23 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-22 19:44:26 +0000 Add sysutils/fusefs-nbt: Editing Named Binary Tag (NBT) as using a file system PR: 263398 --- sysutils/Makefile | 1 + sysutils/fusefs-nbt/Makefile | 35 +++++++++++++++++++++++++++++++++++ sysutils/fusefs-nbt/distinfo | 3 +++ sysutils/fusefs-nbt/pkg-descr | 11 +++++++++++ sysutils/fusefs-nbt/pkg-plist | 15 +++++++++++++++ 5 files changed, 65 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 872a0636957d..378cf179681b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -433,6 +433,7 @@ SUBDIR += fusefs-lkl SUBDIR += fusefs-mhddfs SUBDIR += fusefs-mp3fs + SUBDIR += fusefs-nbt SUBDIR += fusefs-ntfs SUBDIR += fusefs-ntfs-compression SUBDIR += fusefs-pod diff --git a/sysutils/fusefs-nbt/Makefile b/sysutils/fusefs-nbt/Makefile new file mode 100644 index 000000000000..6b602d481d04 --- /dev/null +++ b/sysutils/fusefs-nbt/Makefile @@ -0,0 +1,35 @@ +PORTNAME= nbt +PORTVERSION= ${REVISION_DATE} +CATEGORIES= sysutils +MASTER_SITES= SF/nbtfsutils +PKGNAMEPREFIX= fusefs- +DISTNAME= nbtfsutils-${REVISION_DATE}-${REVISION_HASH}-src + +MAINTAINER= msl0000023508@gmail.com +COMMENT= Editing Named Binary Tag (NBT) as using a file system +WWW= https://sourceforge.net/projects/nbtfsutils/ + +LICENSE= BEERWARE MIT MPL20 +LICENSE_COMB= multi +LICENSE_NAME_BEERWARE= "THE BEER-WARE LICENSE" (Revision 42) +LICENSE_TEXT_BEERWARE= Lukas Niederbremer and Clark Gaebel \ + wrote this file. As long as you retain this notice you can do whatever you \ + want with this stuff. If we meet some day, and you think this stuff is worth \ + it, you can buy us a beer in return. +LICENSE_FILE_MPL20= ${WRKSRC}/MPL-2.0 +LICENSE_PERMS_BEERWARE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USES= fuse tar:bz2 + +REVISION_DATE= 20220412 +REVISION_HASH= 09b007a + +MAKE_ENV= MANDIR=\${PREFIX}/man +ALL_TARGET= libnbt.so all +INSTALL_TARGET= install-commands install-dev +CFLAGS+= ${CPPFLAGS} +CPPFLAGS+= -I ${LOCALBASE}/include +LDFLAGS+= -L ${LOCALBASE}/lib +NO_WRKSUBDIR= yes + +.include diff --git a/sysutils/fusefs-nbt/distinfo b/sysutils/fusefs-nbt/distinfo new file mode 100644 index 000000000000..f388f04f50c3 --- /dev/null +++ b/sysutils/fusefs-nbt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650298920 +SHA256 (nbtfsutils-20220412-09b007a-src.tar.bz2) = f1c0155ba741357e90e83bd68f87ad4f501181b3a8cd02b461f9b60b361eb29c +SIZE (nbtfsutils-20220412-09b007a-src.tar.bz2) = 1459524 diff --git a/sysutils/fusefs-nbt/pkg-descr b/sysutils/fusefs-nbt/pkg-descr new file mode 100644 index 000000000000..1060a6bd8392 --- /dev/null +++ b/sysutils/fusefs-nbt/pkg-descr @@ -0,0 +1,11 @@ +Named Binary Tag (NBT) is a binary format designed for and used by the game +Minecraft to store various data including worlds, player data and many other +things. This project provides a way to access those data by simply mounting +the corresponding data file as a file system, then reading and writing any +value as usual file system nodes. + +NBT parser and writer are originally written by Lukas Niederbremer as cNBT +project which this project is based on. + +This package provides the FUSE-based file system implementation, as well as +NBT maintenance command-line tools and library (cNBT). diff --git a/sysutils/fusefs-nbt/pkg-plist b/sysutils/fusefs-nbt/pkg-plist new file mode 100644 index 000000000000..b58dc26fd30f --- /dev/null +++ b/sysutils/fusefs-nbt/pkg-plist @@ -0,0 +1,15 @@ +bin/nbtdump +bin/regiondump +sbin/mkfs.nbt +sbin/mount.nbt +man/man1/nbtdump.1.gz +man/man1/regiondump.1.gz +man/man8/mkfs.nbt.8.gz +man/man8/mount.nbt.8.gz +include/nbt/buffer.h +include/nbt/list.h +include/nbt/nbt.h +include/nbt/version.h +lib/libnbt.a +lib/libnbt.so +lib/libnbt.so.1