From nobody Mon Feb 20 07:55:09 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 4PKvpj6lN7z3s8Zk; Mon, 20 Feb 2023 07:55:09 +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 4PKvpj6FnDz43Dd; Mon, 20 Feb 2023 07:55:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676879709; 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=L6L/100HjjBV2w8St6mw1tf1nI/oFzR5KjeZTvL6TMw=; b=tObJglN5JHYmAmhXMXQ/6HEMRiEexZk6GC3bhMm+6qWVwGqQdIIZhCQXXXQcJBTA6GuOJ6 CenBIVhFnNiSp8NthTq+ywLT/jJ4IDxr/CA3PVJ9r/1vjSPoVu4kvZJ87t4q3Oa21Qf3WH uGdK0OEjbCTvuKG72QRWd7nQ9UAvVqEuIlrRGGdA/sLuRUDX0WuMCRs6JKGUK2C+aGbP64 cBWfIdvX2gnxzjJDVLc42INWz5HJIqInlzfDxH8bJzMWBDRzX+1fgJZufTZwqUVo1vx7O/ nt/0DZ2fcM1jJX5PZSZWS+EBe2yAZ66ePfDyw8Fjimmavw+ABMuugvaFOqeaGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676879709; 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=L6L/100HjjBV2w8St6mw1tf1nI/oFzR5KjeZTvL6TMw=; b=FhqIWktfo1zhX17QDnJMrf63JzVo27oH5nzQ0+w9hVuIOJs8EOvQPno5VX/JJO3Ec4LrsF mtRfhUbZPaHzjHU0PNK5C1bPvxcxkD5oSdDVw2sOZ+LiYwhrPUYYXH4W6fJNkI4xMxf7zk o72NKyk1mr8JID28y62kQIizI1FPBH7dvT5XNkjao0UzXoFHpfMNWD79KCrIJDOFmDPQ62 xPBx/QmfI+3DBzqxBN00YDQaSGfl37J6BdL08721B+TTmvAy0dr2QatJ9JPRgktoIo50h4 fb0FMb0irtxeUbGiRTZVoiQIuIfC70NzMTg8wC6QChOrpE5D0jd5P6JxIycakA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676879709; a=rsa-sha256; cv=none; b=I+JdaXe/1JjWBCfuoNzo1WQHwSAm/SbvdvwRUjhWU4HT+Qob7y0vQM45ZojMRooUCei92f 01H+DKuqUzBHGoJVriOD+hJuSNZ5USLRO/Y+5XSVQ6cDBQAeZ9tlLMzJqdGXOdZ8sAKcLU nKOwPIJznFKxPV9GTAY2iyjstqLfY/vkExBMCcye63yysN1T4DwmYxHcDBYmtKrzA6i8+f 8LkQMCJgbgqRxcNmgbyqYEPMo8qVuIeyANWFR6siObqiOZS3CbfZRY2mPPZGK55eWyIc3d OdzEArZTcc7Cn647YSBoa2AwRovqBFkiIolp2dOwpy8k84GeTOXgPMxXU5W93g== 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 4PKvpj5C2mzYrW; Mon, 20 Feb 2023 07:55:09 +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 31K7t9d5033341; Mon, 20 Feb 2023 07:55:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31K7t9O4033340; Mon, 20 Feb 2023 07:55:09 GMT (envelope-from git) Date: Mon, 20 Feb 2023 07:55:09 GMT Message-Id: <202302200755.31K7t9O4033340@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 7457e5faa475 - main - devel/bencodetools: 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7457e5faa47593492f7d78484ffe719c89c9dc2a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7457e5faa47593492f7d78484ffe719c89c9dc2a commit 7457e5faa47593492f7d78484ffe719c89c9dc2a Author: Emanuel Haupt AuthorDate: 2023-02-20 07:46:17 +0000 Commit: Emanuel Haupt CommitDate: 2023-02-20 07:55:04 +0000 devel/bencodetools: Add new port bencode-tools is a collection of tools for manipulating bencoded data. Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data. --- devel/Makefile | 1 + devel/bencodetools/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/bencodetools/distinfo | 3 +++ devel/bencodetools/pkg-descr | 5 +++++ 4 files changed, 45 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index db42cbe0a622..b06a274d37ec 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -270,6 +270,7 @@ SUBDIR += bcunit SUBDIR += bear SUBDIR += benchmark + SUBDIR += bencodetools SUBDIR += bennugd-core SUBDIR += bennugd-modules SUBDIR += bfg diff --git a/devel/bencodetools/Makefile b/devel/bencodetools/Makefile new file mode 100644 index 000000000000..4af871ba9c30 --- /dev/null +++ b/devel/bencodetools/Makefile @@ -0,0 +1,36 @@ +PORTNAME= bencodetools +PORTVERSION= g20221122 +CATEGORIES= devel + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Collection of tools for manipulating bencoded data +WWW= https://gitlab.com/heikkiorsila/bencodetools + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash + +USES= shebangfix +USE_GITLAB= yes +GL_ACCOUNT= heikkiorsila +GL_COMMIT= f08cb85806d5b188f3af04cd21393dd8eb51b287 +USE_LDCONFIG= yes + +SHEBANG_FILES= configure + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --c-compiler=${CC} \ + --package-prefix=${STAGEDIR} \ + --prefix=${PREFIX} \ + --without-python + +PLIST_FILES= bin/bencat \ + include/bencodetools/bencode.h \ + lib/libbencodetools.so + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bencat \ + ${STAGEDIR}${PREFIX}/lib/libbencodetools.so + +.include diff --git a/devel/bencodetools/distinfo b/devel/bencodetools/distinfo new file mode 100644 index 000000000000..344735df6c90 --- /dev/null +++ b/devel/bencodetools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676827805 +SHA256 (heikkiorsila-bencodetools-f08cb85806d5b188f3af04cd21393dd8eb51b287_GL0.tar.gz) = 2fa2058d5a0edec3d9b665cbd580d479ded50a11add45258692e6804cbc2a400 +SIZE (heikkiorsila-bencodetools-f08cb85806d5b188f3af04cd21393dd8eb51b287_GL0.tar.gz) = 38621 diff --git a/devel/bencodetools/pkg-descr b/devel/bencodetools/pkg-descr new file mode 100644 index 000000000000..b8fa313d84d7 --- /dev/null +++ b/devel/bencodetools/pkg-descr @@ -0,0 +1,5 @@ +bencode-tools is a collection of tools for manipulating bencoded data. + +Bencode (pronounced like Bee-encode) is the encoding used by the +peer-to-peer file sharing system BitTorrent for storing and transmitting +loosely structured data.