From owner-svn-ports-head@freebsd.org Mon Jan 28 21:59:43 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A09314C1004; Mon, 28 Jan 2019 21:59:43 +0000 (UTC) (envelope-from se@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B87B8214A; Mon, 28 Jan 2019 21:59:43 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 30E5225C0F; Mon, 28 Jan 2019 21:59:43 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0SLxhcq059237; Mon, 28 Jan 2019 21:59:43 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0SLxgrr059232; Mon, 28 Jan 2019 21:59:42 GMT (envelope-from se@FreeBSD.org) Message-Id: <201901282159.x0SLxgrr059232@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: Stefan Esser Date: Mon, 28 Jan 2019 21:59:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491519 - in head/math: . gh-bc gnubc X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/math: . gh-bc gnubc X-SVN-Commit-Revision: 491519 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3B87B8214A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2019 21:59:43 -0000 Author: se Date: Mon Jan 28 21:59:41 2019 New Revision: 491519 URL: https://svnweb.freebsd.org/changeset/ports/491519 Log: New port of a BSD licensed and GNU compatible bc and dc program. These programs have been used in a number of other projects over many years and they are highly portable and heavily tested. Obtained from: Gavin Howard Approved by: antoine (mentor) Added: head/math/gh-bc/ head/math/gh-bc/Makefile (contents, props changed) head/math/gh-bc/distinfo (contents, props changed) head/math/gh-bc/pkg-descr (contents, props changed) Modified: head/math/Makefile head/math/gnubc/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Jan 28 21:46:24 2019 (r491518) +++ head/math/Makefile Mon Jan 28 21:59:41 2019 (r491519) @@ -235,6 +235,7 @@ SUBDIR += geonext SUBDIR += gexpr SUBDIR += ggobi + SUBDIR += gh-bc SUBDIR += giacxcas SUBDIR += givaro SUBDIR += gkmap Added: head/math/gh-bc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gh-bc/Makefile Mon Jan 28 21:59:41 2019 (r491519) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= bc +PORTVERSION= 1.1.0 +CATEGORIES= math +PKGNAMEPREFIX= gh- + +MAINTAINER= se@FreeBSD.org +COMMENT= GNU compatible bc/dc calculator + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USE_GITHUB= yes +GH_ACCOUNT= gavinhoward + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= configure.sh +CONFIGURE_ARGS= -G + +CONFLICTS_INSTALL= bc-[0-9]* + +PLIST_FILES= bin/bc bin/dc man/man1/bc.1.gz man/man1/dc.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/bc ${STAGEDIR}${PREFIX}/bin/ + ${LN} ${STAGEDIR}${PREFIX}/bin/bc ${STAGEDIR}${PREFIX}/bin/dc + ${INSTALL_MAN} ${WRKSRC}/manuals/bc.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +do-test: + ${MAKE} -C ${WRKSRC} test + +.include Added: head/math/gh-bc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gh-bc/distinfo Mon Jan 28 21:59:41 2019 (r491519) @@ -0,0 +1,3 @@ +TIMESTAMP = 1548712045 +SHA256 (gavinhoward-bc-1.1.0_GH0.tar.gz) = 35ed59981aeb0571563bc3445f5948083919d4d834868f361fc4f7dc3c90e998 +SIZE (gavinhoward-bc-1.1.0_GH0.tar.gz) = 160425 Added: head/math/gh-bc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gh-bc/pkg-descr Mon Jan 28 21:59:41 2019 (r491519) @@ -0,0 +1,16 @@ +This is an implementation of POSIX bc that implements GNU bc extensions, as +well as the period (".") extension for the BSD flavor of bc. + +bc is an arbitrary precision numeric processing language. Its syntax is +similar to C but differs in many substantial areas. It supports interactive +execution of statements. The bc utility is included in the POSIX 1003.1-2008 +standard. + +This bc also includes an implementation of dc in the same binary, accessible +via a symbolic link, which implements all FreeBSD and GNU extensions. If a +single dc binary is desired, bc can be copied and renamed to dc. + +The "!" command is omitted; I believe that it poses security concerns and +that such functionality is unnecessary. + +WWW: https://github.com/gavinhoward/bc Modified: head/math/gnubc/Makefile ============================================================================== --- head/math/gnubc/Makefile Mon Jan 28 21:46:24 2019 (r491518) +++ head/math/gnubc/Makefile Mon Jan 28 21:59:41 2019 (r491519) @@ -32,6 +32,8 @@ PORTEXAMPLES= ckbook.b \ OPTIONS_DEFINE= EXAMPLES +CONFLICTS_INSTALL= gh-bc-[0-9]* + post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES}