From nobody Thu Oct 20 16:05:39 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 4MtXWR2tN3z4fwtf; Thu, 20 Oct 2022 16:05:39 +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 4MtXWR2H1bz479R; Thu, 20 Oct 2022 16:05:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666281939; 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=/7GlFgn1nn3+6/ezD2Eh13nFuSPViwzuqXskueOJMww=; b=fPy2h/hg8F21VYlJ0BTNe7/oxISvXkSUIukhSa7Cn/282FZo0bizFlgnO/8N0+tfEwABwZ FVCbyn41p6T7cvqZkhAWTVUceNb9DlQI3eWtiYihjLeeONtgwTQdpOk/R1Ko5QFKZKSC8G wXFQmQjh9n7TFmlqsqMeHXAKH5vnEPM15sozqxHbtg4Qw34kSAjnxcRyinIwGV6bmgoPvF LGGlzcOE8ZoWWS13vOJXHxKcX4Jt9PeHQ2k1FZAZXV8Nz8ATj89iKeIjVx8xtzOZb7MV1n VqVLRWr3+YGufMz3LAuOa40CMzXqQ/zU98gFORNLn54MHlU7McGGyq+ZZaRxxA== 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 4MtXWR1JGdzwCj; Thu, 20 Oct 2022 16:05:39 +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 29KG5dRF065294; Thu, 20 Oct 2022 16:05:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29KG5dp7065293; Thu, 20 Oct 2022 16:05:39 GMT (envelope-from git) Date: Thu, 20 Oct 2022 16:05:39 GMT Message-Id: <202210201605.29KG5dp7065293@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 58d492002122 - main - math/py-evalidate: New port: Safe evaluation of untrusted user-supplied python expressions 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 58d4920021228eef68ba7535a63ab7fbe4a9d969 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666281939; 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=/7GlFgn1nn3+6/ezD2Eh13nFuSPViwzuqXskueOJMww=; b=d0NvGUcqPcoD533BJRorlFn6VOZm23YDoY+U3q2fXlVxTox0vBaOcYDD6+h9eu5bgSzxe7 shZixZ6BA6jq/cMeAaMwIUpbO5e85JQqYwjCY6QYRnMePSb5RiJDYwwiEoFqjWAvE6dCpF 5t5T9K02m3ZPJrpNUWdNSJUNn0J24ltBIP/MV9nrgIC90iy3J6f9XWjzVAqiehHtdviWdb +5qo9+zCgbBmIQoOTi80b2N3XkKDOP7K5DMp2kyHFMH32MfLXW4y41tuR82dKMOT72EypG RoJKFnNnFUyeC2XaZlk8rDm1l2eYtWkqXZQ55CGQ5/C7Ygks3KPZH+y3G03FeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666281939; a=rsa-sha256; cv=none; b=DXuoLfBmMcnV77bERRE0sjTxmySgMRBirTmkp+itpP0mYkpiIZc7XwcUvrOl5v0G+yS16e ++0I2D8CjScOG8TtMlYBshW6xtVRfeQIEhMduLecZNjrXF36IrMkphAtbFsooBhasVOzqo 44x47P5vhtj9dyPWhiRKs4uNTd+V2892CGIGw7o28mh0TYIUkHDqhXD0quIMCbTPjPa9RY LFPj2zWfMyQhi/2yUWv3yNDndaCH4TT9IrA6oEZ3lwpojUskKEvTXXijGfGPhQG6M67cXW EA90EJsCUldV9N/ktlUjUXPJiiO9EdbpAM2J5fvl0pucTlR7J1gh9mp1r1HYxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=58d4920021228eef68ba7535a63ab7fbe4a9d969 commit 58d4920021228eef68ba7535a63ab7fbe4a9d969 Author: Yuri Victorovich AuthorDate: 2022-10-20 14:38:41 +0000 Commit: Yuri Victorovich CommitDate: 2022-10-20 16:05:36 +0000 math/py-evalidate: New port: Safe evaluation of untrusted user-supplied python expressions --- math/Makefile | 1 + math/py-evalidate/Makefile | 18 ++++++++++++++++++ math/py-evalidate/distinfo | 3 +++ math/py-evalidate/pkg-descr | 2 ++ 4 files changed, 24 insertions(+) diff --git a/math/Makefile b/math/Makefile index 63f3ead8345c..0eb3b835859e 100644 --- a/math/Makefile +++ b/math/Makefile @@ -867,6 +867,7 @@ SUBDIR += py-docplex SUBDIR += py-ducc0 SUBDIR += py-ecos + SUBDIR += py-evalidate SUBDIR += py-faiss SUBDIR += py-fastcluster SUBDIR += py-fastdtw diff --git a/math/py-evalidate/Makefile b/math/py-evalidate/Makefile new file mode 100644 index 000000000000..ee8cdcb493ba --- /dev/null +++ b/math/py-evalidate/Makefile @@ -0,0 +1,18 @@ +PORTNAME= evalidate +DISTVERSION= 1.0.2 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Safe evaluation of untrusted user-supplied python expressions +WWW= https://github.com/yaroslaff/evalidate + +LICENSE= MIT + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include diff --git a/math/py-evalidate/distinfo b/math/py-evalidate/distinfo new file mode 100644 index 000000000000..ec59f59a99ff --- /dev/null +++ b/math/py-evalidate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666281226 +SHA256 (evalidate-1.0.2.tar.gz) = 7830c91fc828a27bb4e9f01db2da6fabbddafda3d067af642758b2ce33521484 +SIZE (evalidate-1.0.2.tar.gz) = 9838 diff --git a/math/py-evalidate/pkg-descr b/math/py-evalidate/pkg-descr new file mode 100644 index 000000000000..6521bc58dfa8 --- /dev/null +++ b/math/py-evalidate/pkg-descr @@ -0,0 +1,2 @@ +Evalidate is simple python module for safe eval()'uating user-supplied +(possibly malicious) logical expressions in python syntax.