From owner-svn-ports-head@freebsd.org Mon Feb 11 08:09:11 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 E628114C9905; Mon, 11 Feb 2019 08:09:10 +0000 (UTC) (envelope-from tobik@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 7431888C67; Mon, 11 Feb 2019 08:09:10 +0000 (UTC) (envelope-from tobik@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 58B4B24F86; Mon, 11 Feb 2019 08:09:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1B89Ao1004990; Mon, 11 Feb 2019 08:09:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1B8992t004986; Mon, 11 Feb 2019 08:09:09 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201902110809.x1B8992t004986@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 11 Feb 2019 08:09:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492672 - in head/sysutils: . mapdir X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/sysutils: . mapdir X-SVN-Commit-Revision: 492672 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7431888C67 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.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 11 Feb 2019 08:09:11 -0000 Author: tobik Date: Mon Feb 11 08:09:09 2019 New Revision: 492672 URL: https://svnweb.freebsd.org/changeset/ports/492672 Log: New port: sysutils/mapdir mapdir is a shell script utility, that can be used to map the structure of directory trees. It is mainly used to verify the consistency between different directory hierachies, which contain the same files, as the report files generated by mapdir can subsequently be passed to the diff utility. WWW: https://www.olivermahmoudi.com/programming/mapping-dirs PR: 233112 Submitted by: Oliver Mahmoudi Added: head/sysutils/mapdir/ head/sysutils/mapdir/Makefile (contents, props changed) head/sysutils/mapdir/distinfo (contents, props changed) head/sysutils/mapdir/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Feb 11 07:39:41 2019 (r492671) +++ head/sysutils/Makefile Mon Feb 11 08:09:09 2019 (r492672) @@ -644,6 +644,7 @@ SUBDIR += magicrescue SUBDIR += manck SUBDIR += mapchan + SUBDIR += mapdir SUBDIR += massadmin SUBDIR += mate-control-center SUBDIR += mate-polkit Added: head/sysutils/mapdir/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mapdir/Makefile Mon Feb 11 08:09:09 2019 (r492672) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= mapdir +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= https://www.olivermahmoudi.com/files/ + +MAINTAINER= fbsd@olivermahmoudi.com +COMMENT= Tool to map directory trees + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/mapdir \ + man/man1/mapdir.1.gz + +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \ + -e 's|md5sum|md5|g' \ + -e 's|sha256sum|sha256|g' \ + -e 's|print $$1|print $$4|g' \ + ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e 's|md5sum|md5|g' \ + -e 's|sha256sum|sha256|g' \ + ${WRKSRC}/${PORTNAME}.1 + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/mapdir ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/mapdir.1 ${STAGEDIR}${PREFIX}/man/man1 + +.include Added: head/sysutils/mapdir/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mapdir/distinfo Mon Feb 11 08:09:09 2019 (r492672) @@ -0,0 +1,3 @@ +TIMESTAMP = 1521914328 +SHA256 (mapdir-1.0.tar.gz) = 44380a69af60eec22b95dcbafcf01d1eb676d222020ce4bb3b4e5f3e0e367ad5 +SIZE (mapdir-1.0.tar.gz) = 4534 Added: head/sysutils/mapdir/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mapdir/pkg-descr Mon Feb 11 08:09:09 2019 (r492672) @@ -0,0 +1,7 @@ +mapdir is a shell script utility, that can be used to map the +structure of directory trees. It is mainly used to verify the +consistency between different directory hierachies, which contain +the same files, as the report files generated by mapdir can +subsequently be passed to the diff utility. + +WWW: https://www.olivermahmoudi.com/programming/mapping-dirs