From nobody Mon Oct 3 07:21: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 4Mgsh02FS3z4Y41F; Mon, 3 Oct 2022 07:21: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 4Mgsh01lFFz3Xgp; Mon, 3 Oct 2022 07:21:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664781664; 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=lTFjOzt7Umpy5NofjsJNCxW71jTqzSmBmaoVTnbMgdM=; b=yEMUdCCTuhWvDmzoPl79biaRCEs2A5+/xSXPbvHmbEUDcnEtnra8QJIbCxsqr/hfaZgpal kMgvjPbBQME5PJ0jt0m21kxymeqYA5ka0GN0/xYfp5kXTuEm++bLymFQXzOTPnxtz5au+L cXIbZW8RYTWh1GUVfEn8VvbusoNlcGj12lZPg1AyddjCuW3Z/yKe2N0GturbdBLISzqSn6 kw/q//bmEjpJPRHi2aI3EeI4W/ePLrZmDhPpVRQ7YLqEvzRwSBpsea3oGiLF7ZmXZdZFMO ClUPhaH7/vR2Bb0TLykxpFunrkQwukcVMg3bSgJxZ8wJ5fWmh+ThcqKfrm6Nsw== 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 4Mgsh00pqzz17W3; Mon, 3 Oct 2022 07:21: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 2937L4UC075102; Mon, 3 Oct 2022 07:21:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2937L4Un075101; Mon, 3 Oct 2022 07:21:04 GMT (envelope-from git) Date: Mon, 3 Oct 2022 07:21:04 GMT Message-Id: <202210030721.2937L4Un075101@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: 8c1a20b75018 - main - devel/kconfig-frontends: Kconfig files parser and frontend 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: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c1a20b75018df72c4a5bd36c5eef2466ccf268e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664781664; 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=lTFjOzt7Umpy5NofjsJNCxW71jTqzSmBmaoVTnbMgdM=; b=l52omyclRn2djBYkSh04+DYVIurWS+R8oicTGA7FkL/UFlMbP0r74ONuztZq4ALcnwZSNc vLi1kwRXD2J4eZaLr/RHXCMNZwuBSNHMGRyaOqq+2dXGfEFjJTn1VTlQbqYb4fmD/2ytdc 8G3YFfPvSkDebWaEO7Q+aCjG9uXUfX9+dLvk5SY624xVrLuy3bTn5ebYcVSZTllSelUo+x Q14/y5hI1ITZ6PCq2rQkFgQmCMFBCMmvPZwXT9LUT4YziJi3ae6jxZ/WOhVTBks1lLoVRa ir2S1gUreMt/cFwtqC0OW+55Q5cYBfVbzOn/q+Br7POIPD8qUbgEZXDcr5ud0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664781664; a=rsa-sha256; cv=none; b=XNXUfzh7Np29ECOBMaE2Y7GsBrVNL7RYn5isrhmYeFCMvDFQ1ZFZq8R/zl4HhiF4hCRAS0 ymnQOPpKGf5jaV+XcyWmHvbrDr03vpmYAN66ON/PBJUsBelTxA4QlJHlvIFutrb1BpH4zB c1smSjYLaPO3Rg1RenKh/kifdlU4HU2HlpU1CiowKWCi6NYeuL5Yz7E1mjPaAeLPFhG0Ur lJFG4dYFdZF56JeCU8qNbuccLhHokgTU1KxX2KhsOebnBYAUF2sBLQ45T0u6wqJTvVuaR6 PCQBKAUPM2hnnihLsxLTWJG7GCxq6WxwA8UucL0osw/sIDdDp8MA8dEwZzJvRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c1a20b75018df72c4a5bd36c5eef2466ccf268e commit 8c1a20b75018df72c4a5bd36c5eef2466ccf268e Author: Tomek CEDRO AuthorDate: 2022-10-03 07:19:29 +0000 Commit: Kurt Jaeger CommitDate: 2022-10-03 07:19:29 +0000 devel/kconfig-frontends: Kconfig files parser and frontend Kconfig frontends and parser. Port created for NuttX RTOS development. Kconfig is the configuration language used by the Linux kernel. This package is a simple copy of the frontends and the parser found in the Linux kernel source tree, with very minor changes to adapt them to being built out of the kernel build infrastructure. Kconfig is also used in embedded development. This program has currently no upstream maintainer. NuttX copy is used. There are two forks: Debian based on 4.11, Espressif based on version 4.6. PR: 259256 --- devel/Makefile | 1 + devel/kconfig-frontends/Makefile | 27 ++++++++++++++++++++++ devel/kconfig-frontends/distinfo | 3 +++ .../files/patch-libs_parser_hconf.c | 11 +++++++++ devel/kconfig-frontends/pkg-descr | 7 ++++++ devel/kconfig-frontends/pkg-plist | 19 +++++++++++++++ 6 files changed, 68 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 08b8b5ee2f92..dbe5c0e81b10 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1016,6 +1016,7 @@ SUBDIR += kBuild SUBDIR += kapptemplate SUBDIR += kcachegrind + SUBDIR += kconfig-frontends SUBDIR += kcov SUBDIR += kdbg SUBDIR += kde-dev-scripts diff --git a/devel/kconfig-frontends/Makefile b/devel/kconfig-frontends/Makefile new file mode 100644 index 000000000000..bffdc5270574 --- /dev/null +++ b/devel/kconfig-frontends/Makefile @@ -0,0 +1,27 @@ +PORTNAME= kconfig-frontends +DISTVERSION= 4.11.0.1 +CATEGORIES= devel +MASTER_SITES= https://bitbucket.org/nuttx/tools/downloads/ + +MAINTAINER= tomek@cedro.info +COMMENT= Kconfig files parser and frontend +WWW= https://bitbucket.org/nuttx/tools/downloads/ + +LICENSE= GPLv2 + +USES= gmake gperf libtool python shebangfix tar:bz2 ncurses +SHEBANG_FILES= utils/kconfig-diff utils/kconfig-tweak.in +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-gconf --disable-qconf --enable-mconf --enable-mconf +INSTALL_TARGET= install-strip +DOCS= AUTHORS COPYING README docs/kconfig-language.txt \ + docs/kconfig.txt + +.include + +post-install: +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} +.endfor + +.include diff --git a/devel/kconfig-frontends/distinfo b/devel/kconfig-frontends/distinfo new file mode 100644 index 000000000000..1cd1e5a7bd22 --- /dev/null +++ b/devel/kconfig-frontends/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634567697 +SHA256 (kconfig-frontends-4.11.0.1.tar.bz2) = cb1838cfe2f097ba09cade27d47527720d5b29e2b715c0a96c33d0b6a10bab13 +SIZE (kconfig-frontends-4.11.0.1.tar.bz2) = 448594 diff --git a/devel/kconfig-frontends/files/patch-libs_parser_hconf.c b/devel/kconfig-frontends/files/patch-libs_parser_hconf.c new file mode 100644 index 000000000000..72ec3bbbb295 --- /dev/null +++ b/devel/kconfig-frontends/files/patch-libs_parser_hconf.c @@ -0,0 +1,11 @@ +--- libs/parser/hconf.c.orig 2019-09-24 15:10:13 UTC ++++ libs/parser/hconf.c +@@ -172,7 +172,7 @@ __attribute__ ((__gnu_inline__)) + #endif + #endif + const struct kconf_id * +-kconf_id_lookup (register const char *str, register unsigned int len) ++kconf_id_lookup (register const char *str, register GPERF_LEN_TYPE len) + { + enum + { diff --git a/devel/kconfig-frontends/pkg-descr b/devel/kconfig-frontends/pkg-descr new file mode 100644 index 000000000000..d05a58d5c573 --- /dev/null +++ b/devel/kconfig-frontends/pkg-descr @@ -0,0 +1,7 @@ +Kconfig frontends and parser. Port created for NuttX RTOS development. +Kconfig is the configuration language used by the Linux kernel. This package +is a simple copy of the frontends and the parser found in the Linux kernel +source tree, with very minor changes to adapt them to being built out of +the kernel build infrastructure. Kconfig is also used in embedded development. +This program has currently no upstream maintainer. NuttX copy is used. +There are two forks: Debian based on 4.11, Espressif based on version 4.6. diff --git a/devel/kconfig-frontends/pkg-plist b/devel/kconfig-frontends/pkg-plist new file mode 100644 index 000000000000..1eef883386c5 --- /dev/null +++ b/devel/kconfig-frontends/pkg-plist @@ -0,0 +1,19 @@ +bin/kconfig +bin/kconfig-conf +bin/kconfig-diff +bin/kconfig-merge +bin/kconfig-mconf +bin/kconfig-nconf +bin/kconfig-tweak +include/kconfig/expr.h +include/kconfig/list.h +include/kconfig/lkc.h +include/kconfig/lkc_proto.h +lib/libkconfig-parser-4.11.0.so +lib/libkconfig-parser.so +libdata/pkgconfig/kconfig-parser.pc +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/COPYING +%%DOCSDIR%%/README +%%DOCSDIR%%/kconfig-language.txt +%%DOCSDIR%%/kconfig.txt