From owner-svn-ports-all@freebsd.org Fri Jul 5 06:25:15 2019 Return-Path: Delivered-To: svn-ports-all@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 D68BD15E6451; Fri, 5 Jul 2019 06:25:14 +0000 (UTC) (envelope-from kai@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 5BD1987DB5; Fri, 5 Jul 2019 06:25:14 +0000 (UTC) (envelope-from kai@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 35692686C; Fri, 5 Jul 2019 06:25:14 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x656PEBx069194; Fri, 5 Jul 2019 06:25:14 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x656PD8N069190; Fri, 5 Jul 2019 06:25:13 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201907050625.x656PD8N069190@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Fri, 5 Jul 2019 06:25:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505884 - in head/converters: . base91 base91/files X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: in head/converters: . base91 base91/files X-SVN-Commit-Revision: 505884 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5BD1987DB5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.951,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-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2019 06:25:15 -0000 Author: kai Date: Fri Jul 5 06:25:12 2019 New Revision: 505884 URL: https://svnweb.freebsd.org/changeset/ports/505884 Log: New port: converters/base91 basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient. The overhead produced by basE91 depends on the input data. It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary unsafe connections like e-mail or terminal lines. WWW: http://base91.sourceforge.net/ PR: 238202 Submitted by: takefu@airport.fm Reviewed by: miwi, tcberner Differential Revision: https://reviews.freebsd.org/D20803 Added: head/converters/base91/ head/converters/base91/Makefile (contents, props changed) head/converters/base91/distinfo (contents, props changed) head/converters/base91/files/ head/converters/base91/files/patch-Makefile (contents, props changed) head/converters/base91/pkg-descr (contents, props changed) Modified: head/converters/Makefile Modified: head/converters/Makefile ============================================================================== --- head/converters/Makefile Fri Jul 5 06:24:04 2019 (r505883) +++ head/converters/Makefile Fri Jul 5 06:25:12 2019 (r505884) @@ -11,6 +11,7 @@ SUBDIR += ascii2binary SUBDIR += asr10 SUBDIR += base64 + SUBDIR += base91 SUBDIR += bibtexconv SUBDIR += bsdconv SUBDIR += btoa Added: head/converters/base91/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/base91/Makefile Fri Jul 5 06:25:12 2019 (r505884) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= base91 +PORTVERSION= 0.6.0 +CATEGORIES= converters +MASTER_SITES= SF/${PORTNAME}/basE91/${PORTVERSION}/ + +MAINTAINER= takefu@airport.fm +COMMENT= Utility to encode and decode base91 files + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +# INSTALL_DATA is only used to install documentation related files +MAKE_ENV+= INSTALL_DATA="${INSTALL_MAN}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" + +PLIST_FILES= bin/b91dec \ + bin/b91enc \ + bin/base91 \ + man/man1/b91dec.1.gz \ + man/man1/b91enc.1.gz \ + man/man1/base91.1.gz + +.include Added: head/converters/base91/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/base91/distinfo Fri Jul 5 06:25:12 2019 (r505884) @@ -0,0 +1,3 @@ +TIMESTAMP = 1559031250 +SHA256 (base91-0.6.0.tar.gz) = 02cfae7322c1f865ca6ce8f2e0bb8d38c8513e76aed67bf1c94eab1343c6c651 +SIZE (base91-0.6.0.tar.gz) = 15009 Added: head/converters/base91/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/base91/files/patch-Makefile Fri Jul 5 06:25:12 2019 (r505884) @@ -0,0 +1,35 @@ +--- Makefile.orig 2006-09-03 18:00:00 UTC ++++ Makefile +@@ -1,15 +1,15 @@ +-CFLAGS = -Wall -W -O2 +-LDFLAGS = -s ++CFLAGS ?= -Wall -W -O2 ++LDFLAGS ?= -s + +-CC = gcc +-INSTALL = install +-INSTALL_DATA = $(INSTALL) -m 444 +-INSTALL_PROGRAM = $(INSTALL) -m 555 ++CC ?= gcc ++INSTALL ?= install ++INSTALL_DATA ?= $(INSTALL) -m 444 ++INSTALL_PROGRAM ?= $(INSTALL) -m 555 + +-prefix = /usr/local ++prefix = ${PREFIX} + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin +-mandir = $(prefix)/share/man ++mandir = $(prefix)/man + man1dir = $(mandir)/man1 + manext = .1 + +@@ -23,7 +23,7 @@ all: $(BIN) + $(CC) $(CFLAGS) -c $< + + base91: cli.o base91.o +- $(CC) $(LDFLAGS) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ cli.o base91.o + + install: all + mkdir -p $(DESTDIR)$(bindir) Added: head/converters/base91/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/base91/pkg-descr Fri Jul 5 06:25:12 2019 (r505884) @@ -0,0 +1,11 @@ +basE91 is an advanced method for encoding binary data as ASCII characters. +It is similar to UUencode or base64, but is more efficient. + +The overhead produced by basE91 depends on the input data. It amounts at most +to 23% (versus 33% for base64) and can range down to 14%, which typically +occurs on 0-byte blocks. + +This makes basE91 very useful for transferring larger files over binary unsafe +connections like e-mail or terminal lines. + +WWW: http://base91.sourceforge.net/