From nobody Mon Jan 10 03:10:41 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 B5CB91951A94; Mon, 10 Jan 2022 03:10:41 +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 4JXJjs2zK3z3p7C; Mon, 10 Jan 2022 03:10:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 481191D87B; Mon, 10 Jan 2022 03:10:41 +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 20A3AfAc069463; Mon, 10 Jan 2022 03:10:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20A3Afd3069462; Mon, 10 Jan 2022 03:10:41 GMT (envelope-from git) Date: Mon, 10 Jan 2022 03:10:41 GMT Message-Id: <202201100310.20A3Afd3069462@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: 2bbf956529c5 - main - devel/genromfs: Add new port 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: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2bbf956529c5faaf1e622fec91b3ed307c4e53d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641784241; 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=VqnBre3dbNAq/XTWG0r9GIW8kzf7QY7qiHo3RT5FyfQ=; b=OOMvG/JVJk1sqazqOjz/zSrqFs0CL9lXTsfYab7jqif2tk/oguhxYfqQR9YfdFqHVlwduP emairGg8063BunXbQIOujLiFL/0sfMrDZmwSv/m9ev7VxcUVXAxv9ETyKfvGBnxCDGdQeD dYSiTcjCNUdHMq8OGg6Z9oFfyjTTTMnmCk3FXr+0TAnAKvYcTmRJTW+Qopt7Jto98nR/a9 sYnwjheE19d1VpYMoal7yEZ+bUexbB4dlqCmRdUe1pasYQNfDx0DiYuxRdsFUVCoRRZq7t YYPcAY8aBnXVYqi3h+Sx9Fivst6pUJYutOGOZbXMgyuIk1y8ddv3w8XTHRfR0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641784241; a=rsa-sha256; cv=none; b=yEKA9MHyDZ+y2Hm49f9AY5oe5WtN2QQvFLMXR8xnfLOjYavHp5ZyAa+am4yPJMZX5tYuf3 FGWtLRelH/qpfDq6bZsX0ufbvTYrz/IGIyytYWr/HADDT4T33nIEyhyYu7nu6uJQqH98yO IJZA3iVoT6bIdkp3GYX8m4rj5EI1GUL8OSghA/JsBh7ZtFVJnhbM5YpAIu/W+jDMDXF/hr DkLiyLQgRfZnwwI6I9eNjxqt1mWhCD1CSB5zIGeA93u3eJ1PE5MCJ5Bh6MRr0XK5P2SFhG u4zFInY8W4vdByfVVtytAnRQa4qPDCJWZnz5t47p4G7T+ewl6YrprM3ODpGThg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bbf956529c5faaf1e622fec91b3ed307c4e53d9 commit 2bbf956529c5faaf1e622fec91b3ed307c4e53d9 Author: Tomasz "CeDeROM" CEDRO AuthorDate: 2022-01-10 02:57:20 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-01-10 03:09:42 +0000 devel/genromfs: Add new port The mkfs equivalent for romfs filesystem. Port created for NuttX RTOS. ROM FileSystem (ROMFS), read only filesystem, mainly for initial RAM disks of installation disks. Using this filesystem, you get a very similar feature, and even the possibility of a small kernel, with a file system which doesn't take up useful memory from the router functions in the basement of your office. PR: 259242 --- devel/Makefile | 1 + devel/genromfs/Makefile | 18 ++++++++++++++++++ devel/genromfs/distinfo | 3 +++ devel/genromfs/files/patch-Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/genromfs/pkg-descr | 8 ++++++++ 5 files changed, 66 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 55fbb402663b..da7ddaa65f1e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -814,6 +814,7 @@ SUBDIR += generate SUBDIR += gengetopt SUBDIR += genie + SUBDIR += genromfs SUBDIR += getoptions SUBDIR += gettext SUBDIR += gettext-lint diff --git a/devel/genromfs/Makefile b/devel/genromfs/Makefile new file mode 100644 index 000000000000..edb9d4601fe8 --- /dev/null +++ b/devel/genromfs/Makefile @@ -0,0 +1,18 @@ +PORTNAME= genromfs +PORTVERSION= 0.5.7 +CATEGORIES= devel + +MAINTAINER= tomek@cedro.info +COMMENT= Mkfs equivalent for romfs filesystem + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= chexum + +MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} + +PLIST_FILES= bin/genromfs \ + man/man8/genromfs.8.gz + +.include diff --git a/devel/genromfs/distinfo b/devel/genromfs/distinfo new file mode 100644 index 000000000000..d56cda096967 --- /dev/null +++ b/devel/genromfs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634516173 +SHA256 (chexum-genromfs-0.5.7_GH0.tar.gz) = 2d16d217b11a28809454ddab0cd7c1c0865af8ea79ac0e86af03ab82320f02ab +SIZE (chexum-genromfs-0.5.7_GH0.tar.gz) = 27929 diff --git a/devel/genromfs/files/patch-Makefile b/devel/genromfs/files/patch-Makefile new file mode 100644 index 000000000000..1ed8227f5cb7 --- /dev/null +++ b/devel/genromfs/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig 2009-02-15 10:48:15 UTC ++++ Makefile +@@ -5,7 +5,7 @@ all: genromfs + + PACKAGE = genromfs + VERSION = 0.5.7 +-CC = gcc ++CC = cc + CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g# + LDFLAGS = -s#-g + +@@ -17,9 +17,9 @@ FILES = COPYING NEWS ChangeLog Makefile \ + checkdist \ + .gitignore selftest + +-prefix = /usr +-bindir = $(prefix)/bin +-mandir = $(prefix)/man ++PREFIX ?= /usr ++bindir = /bin ++mandir = /man + + genromfs: genromfs.o + $(CC) $(LDFLAGS) genromfs.o -o genromfs +@@ -53,11 +53,6 @@ install-bin: + install -m 755 genromfs $(PREFIX)$(bindir)/ + + install-man: +- # genromfs 0.5 installed the man page in this file, +- # remove it before someone notices :) +- if [ -f $(PREFIX)$(bindir)/man8 ]; then \ +- rm -f $(PREFIX)$(bindir)/man8; \ +- fi + mkdir -p $(PREFIX)$(mandir)/man8 + install -m 644 genromfs.8 $(PREFIX)$(mandir)/man8/ + diff --git a/devel/genromfs/pkg-descr b/devel/genromfs/pkg-descr new file mode 100644 index 000000000000..b3a5b067a0ab --- /dev/null +++ b/devel/genromfs/pkg-descr @@ -0,0 +1,8 @@ +The mkfs equivalent for romfs filesystem. Port created for NuttX RTOS. +ROM FileSystem (ROMFS), read only filesystem, mainly for initial RAM +disks of installation disks. Using this filesystem, you get a very +similar feature, and even the possibility of a small kernel, with a +file system which doesn't take up useful memory from the router +functions in the basement of your office. + +WWW: https://github.com/chexum/genromfs