From owner-svn-ports-all@freebsd.org Wed Jan 3 19:01:33 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F2ECEA9F9E; Wed, 3 Jan 2018 19:01:33 +0000 (UTC) (envelope-from jrm@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 mx1.freebsd.org (Postfix) with ESMTPS id DAD50115D; Wed, 3 Jan 2018 19:01:32 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w03J1VDt020923; Wed, 3 Jan 2018 19:01:31 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w03J1Vh1020920; Wed, 3 Jan 2018 19:01:31 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201801031901.w03J1Vh1020920@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Wed, 3 Jan 2018 19:01:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457999 - in head/sysutils/restic: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jrm X-SVN-Commit-Paths: in head/sysutils/restic: . files X-SVN-Commit-Revision: 457999 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 03 Jan 2018 19:01:33 -0000 Author: jrm Date: Wed Jan 3 19:01:31 2018 New Revision: 457999 URL: https://svnweb.freebsd.org/changeset/ports/457999 Log: sysutils/restic: Update to 0.8.1, add options, new maintainer - Install man pages - Add options for bash and zsh completions Upstream changes: https://github.com/restic/restic/releases PR: 224806 Submitted by: gregf@hugops.pw (new maintainer) Approved by: wg@FreeBSD.org (old maintainer) Differential Revision: https://reviews.freebsd.org/D13722 Added: head/sysutils/restic/pkg-plist (contents, props changed) Deleted: head/sysutils/restic/files/ Modified: head/sysutils/restic/Makefile (contents, props changed) head/sysutils/restic/distinfo (contents, props changed) Modified: head/sysutils/restic/Makefile ============================================================================== --- head/sysutils/restic/Makefile Wed Jan 3 18:42:15 2018 (r457998) +++ head/sysutils/restic/Makefile Wed Jan 3 19:01:31 2018 (r457999) @@ -1,28 +1,38 @@ # $FreeBSD$ PORTNAME= restic -PORTVERSION= 0.7.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +DISTVERSION= 0.8.1 CATEGORIES= sysutils -MAINTAINER= wg@FreeBSD.org -COMMENT= Restic backup program +MAINTAINER= gregf@hugops.pw +COMMENT= Fast, secure, efficient backup program LICENSE= BSD2CLAUSE USES= go USE_GITHUB= yes -PLIST_FILES= bin/restic +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} -post-patch: - @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/src/cmds/restic/cmd_autocomplete.go +OPTIONS_SUB= yes +PLIST_SUB= PORTNAME=${PORTNAME} -do-build: - @(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run build.go) +OPTIONS_DEFINE= BASH ZSH +OPTIONS_DEFAULT= BASH ZSH -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-BASH-on: + ${INSTALL} -d ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ + ${INSTALL_SCRIPT} ${WRKSRC}/doc/bash-completion.sh \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh + +post-install-ZSH-on: + ${INSTALL} -d ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ + ${INSTALL_DATA} ${WRKSRC}/doc/zsh-completion.zsh \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include Modified: head/sysutils/restic/distinfo ============================================================================== --- head/sysutils/restic/distinfo Wed Jan 3 18:42:15 2018 (r457998) +++ head/sysutils/restic/distinfo Wed Jan 3 19:01:31 2018 (r457999) @@ -1,3 +1,3 @@ -TIMESTAMP = 1500737632 -SHA256 (restic-restic-v0.7.1_GH0.tar.gz) = 81efde662c34225b5705f3d72daa1f6278455c2b8f786224d7a1ecca0b14efca -SIZE (restic-restic-v0.7.1_GH0.tar.gz) = 25438170 +TIMESTAMP = 1514775412 +SHA256 (restic-restic-v0.8.1_GH0.tar.gz) = 1e0e0d1e7388beaa2a892c057759fdfe6a4fe915f9518c73068761f8d6d7619d +SIZE (restic-restic-v0.8.1_GH0.tar.gz) = 40330154 Added: head/sysutils/restic/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/restic/pkg-plist Wed Jan 3 19:01:31 2018 (r457999) @@ -0,0 +1,25 @@ +bin/restic +%%BASH%%etc/bash_completion.d/%%PORTNAME%%.sh +%%ZSH%%share/zsh/site-functions/_%%PORTNAME%% +man/man1/%%PORTNAME%%-backup.1.gz +man/man1/%%PORTNAME%%-cat.1.gz +man/man1/%%PORTNAME%%-check.1.gz +man/man1/%%PORTNAME%%-diff.1.gz +man/man1/%%PORTNAME%%-dump.1.gz +man/man1/%%PORTNAME%%-find.1.gz +man/man1/%%PORTNAME%%-forget.1.gz +man/man1/%%PORTNAME%%-generate.1.gz +man/man1/%%PORTNAME%%-init.1.gz +man/man1/%%PORTNAME%%-key.1.gz +man/man1/%%PORTNAME%%-list.1.gz +man/man1/%%PORTNAME%%-ls.1.gz +man/man1/%%PORTNAME%%-migrate.1.gz +man/man1/%%PORTNAME%%-mount.1.gz +man/man1/%%PORTNAME%%-prune.1.gz +man/man1/%%PORTNAME%%-rebuild-index.1.gz +man/man1/%%PORTNAME%%-restore.1.gz +man/man1/%%PORTNAME%%-snapshots.1.gz +man/man1/%%PORTNAME%%-tag.1.gz +man/man1/%%PORTNAME%%-unlock.1.gz +man/man1/%%PORTNAME%%-version.1.gz +man/man1/%%PORTNAME%%.1.gz