From nobody Sun Jul 23 21:23:47 2023 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 4R8GW73P6zz4pJpm; Sun, 23 Jul 2023 21:23:47 +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 4R8GW72pS9z3nh8; Sun, 23 Jul 2023 21:23:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690147427; 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=6g1JCWsLx/0eSlTeoO0mccph68jZ7+mAmK7/3q/aU/o=; b=Y6/y7cN3Or1BWgexwWBgMOmTOkpcogj4cXr1Hn0MVLlSPm7t6kmQ0bXGj5Et2YZBuaLdIN Gtre02a4MXhlCrnzq79NqSufesVT2tJnly/B0x5iXMaqzK2za1L7qJbWbHobM4/c8QP+VW EyAms5aI41wK4dNo1dV7gZR7UCHDBQG8433I6sV6bxii+rKg+3ZGHS0mC6AsFbOvY/lf24 dCG5S9OG5sFaKPyJ5SA8qTWOwi/RH82CRHSkeYTBGIKzoaOBmohF78qq7KyINzLnePK+SU yvGv1Mcp1SZGpjPn/faSD/HuZ9kQWMUVAboYl3O/HKHHy8XRBOYjhDT6n2dI3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690147427; 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=6g1JCWsLx/0eSlTeoO0mccph68jZ7+mAmK7/3q/aU/o=; b=bx8kbKeCyH39+at1Pug6ec+o3C6KVMcZXMhRTwTZI3CowMe4INRWxjNgE9wkKWwB0cavFt VGN128NsGlGqQKaPUqbRz4OMzGPI+c+2ZzJFZ1BJggGUEebuBDB+1rfBhkzQsX7MPJCXZk DyCnJx8WYJtFqMA6lp/pCwPZFeaaWqzRh9+MS6xTl1Jn2WipxeFuigGYSug4+t6MaoYyZw M0eiuco03nSf8xqWPXpMJ+yprhY3ZB2b6rjwVTRRj8hMpJWa/lT38oBXpcft66SyZsYOlD uHBJdI3Tlv7grefaDWsbRUQY/w4RfJ2wQ1/oTqF1B9MUU6NIr21m4PrvkcaxYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690147427; a=rsa-sha256; cv=none; b=EAldmKmpbg3ynlgQTPkz0GS+4YUI6j/d+dJ8KYqIajF7zPvxKGGKVs5AOgnTQ0+27R7Q3O cyJlNPgeX4B+G+VzEWmSOYnX9+dt3V0TFtxk7qrC7+E9JZNcAUtV/J66oxCIPuLP0J6Gij nS32hXhw1K32r7LfhlSwjIMrYqZR5kxV+iSm0JfS0IT11t7JW+55Ef7zgHBOnl6NuiWb/C 4/WXVJVzFBQHQYP6lypy5uvxngEuAf7XLTQc8258rUn1iJ2N9DqnUi7r2JI/PAZFzh3CBD 9dX+dYSY3Fpl+zmI8hmlhczJQtdly3kGbOT6IlrnK8FiELv8+9xx4hZchjutrA== 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 4R8GW71wBdzs36; Sun, 23 Jul 2023 21:23:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36NLNl0P057490; Sun, 23 Jul 2023 21:23:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NLNlNm057489; Sun, 23 Jul 2023 21:23:47 GMT (envelope-from git) Date: Sun, 23 Jul 2023 21:23:47 GMT Message-Id: <202307232123.36NLNlNm057489@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lars Engels Subject: git: 06ff862b4cb8 - main - sysutils/initool: add new port 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: lme X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 06ff862b4cb875c0ccb4ed4bff2c53810166b30b Auto-Submitted: auto-generated The branch main has been updated by lme: URL: https://cgit.FreeBSD.org/ports/commit/?id=06ff862b4cb875c0ccb4ed4bff2c53810166b30b commit 06ff862b4cb875c0ccb4ed4bff2c53810166b30b Author: Lars Engels AuthorDate: 2023-07-23 21:16:31 +0000 Commit: Lars Engels CommitDate: 2023-07-23 21:16:31 +0000 sysutils/initool: add new port Initool lets you manipulate the contents of INI files from the command line. It is a rewrite of an earlier program by the same developer called "iniparse". Rather than modify INI files in place like iniparse, however, it prints the modified contents to standard output. PR: 272351 Submitted by: Jesús Daniel Colmenares Oviedo --- sysutils/Makefile | 1 + sysutils/initool/Makefile | 34 ++++++++++++++++++++++++++++++++++ sysutils/initool/distinfo | 3 +++ sysutils/initool/pkg-descr | 5 +++++ 4 files changed, 43 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index af023d300ae7..bf089415afaf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -567,6 +567,7 @@ SUBDIR += imgurbash2 SUBDIR += immortal SUBDIR += incron + SUBDIR += initool SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-epct diff --git a/sysutils/initool/Makefile b/sysutils/initool/Makefile new file mode 100644 index 000000000000..590c82a93015 --- /dev/null +++ b/sysutils/initool/Makefile @@ -0,0 +1,34 @@ +PORTNAME= initool +DISTVERSIONPREFIX= v +DISTVERSION= 0.10.0 +CATEGORIES= sysutils + +MAINTAINER= DtxdF@disroot.org +COMMENT= Manipulate INI files from the command line +WWW= https://github.com/dbohdan/initool + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= mlton>0:lang/mlton +LIB_DEPENDS= libgmp.so:math/gmp + +USE_GITHUB= yes +GH_ACCOUNT= dbohdan + +ALL_TARGET= initool + +PLIST_FILES= bin/initool + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/initool ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include diff --git a/sysutils/initool/distinfo b/sysutils/initool/distinfo new file mode 100644 index 000000000000..878a2a567a84 --- /dev/null +++ b/sysutils/initool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688337742 +SHA256 (dbohdan-initool-v0.10.0_GH0.tar.gz) = 72afa26923976083891282c26599cf2ef41d2bc4765b40c8e488fb32ca6111fc +SIZE (dbohdan-initool-v0.10.0_GH0.tar.gz) = 10846 diff --git a/sysutils/initool/pkg-descr b/sysutils/initool/pkg-descr new file mode 100644 index 000000000000..97dc8f5fc569 --- /dev/null +++ b/sysutils/initool/pkg-descr @@ -0,0 +1,5 @@ +Initool lets you manipulate the contents of INI files from the +command line. It is a rewrite of an earlier program by the same +developer called "iniparse". Rather than modify INI files in place +like iniparse, however, it prints the modified contents to standard +output.