From owner-svn-ports-all@freebsd.org Sun Jan 24 16:36:23 2016 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 31DE37628; Sun, 24 Jan 2016 16:36:23 +0000 (UTC) (envelope-from rakuco@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 0CA36695; Sun, 24 Jan 2016 16:36:22 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0OGaMQk027628; Sun, 24 Jan 2016 16:36:22 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0OGaL59027625; Sun, 24 Jan 2016 16:36:21 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201601241636.u0OGaL59027625@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sun, 24 Jan 2016 16:36:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407168 - in head/shells/bash-completion: . files X-SVN-Group: ports-head 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.20 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: Sun, 24 Jan 2016 16:36:23 -0000 Author: rakuco Date: Sun Jan 24 16:36:21 2016 New Revision: 407168 URL: https://svnweb.freebsd.org/changeset/ports/407168 Log: Stop installing the reptyr completion. Import an upstream commit that installs the reptyr completion as _reptyr to avoid conflicts with the version that reptyr itself has started shipping. It is required for bash-completion not to conflict with sysutils/reptyr. PR: 206541 Approved by: adamw (maintainer) MFH: 2016Q1 Added: head/shells/bash-completion/files/patch-reptyr (contents, props changed) Modified: head/shells/bash-completion/Makefile head/shells/bash-completion/pkg-plist Modified: head/shells/bash-completion/Makefile ============================================================================== --- head/shells/bash-completion/Makefile Sun Jan 24 16:25:26 2016 (r407167) +++ head/shells/bash-completion/Makefile Sun Jan 24 16:36:21 2016 (r407168) @@ -3,7 +3,7 @@ PORTNAME= bash-completion PORTVERSION= 2.1 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= shells MASTER_SITES= http://bash-completion.alioth.debian.org/files/ Added: head/shells/bash-completion/files/patch-reptyr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bash-completion/files/patch-reptyr Sun Jan 24 16:36:21 2016 (r407168) @@ -0,0 +1,84 @@ +From 6a4ad49fa53cc92d3bd23b5b4db0b3318f2ef136 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ville=20Skytt=C3=A4?= +Date: Tue, 3 Feb 2015 07:55:22 +0200 +Subject: reptyr: Rename file to _reptyr to avoid conflict with upstreamed + completion + +https://github.com/nelhage/reptyr/pull/53 +--- + completions/Makefile.am | 2 +- + completions/_reptyr | 26 ++++++++++++++++++++++++++ + completions/reptyr | 23 ----------------------- + 3 files changed, 27 insertions(+), 24 deletions(-) + create mode 100644 completions/_reptyr + delete mode 100644 completions/reptyr + +--- completions/Makefile.am ++++ completions/Makefile.am +@@ -303,7 +303,7 @@ bashcomp_DATA = 2to3 \ + _renice \ + _repomanage \ + reportbug \ +- reptyr \ ++ _reptyr \ + resolvconf \ + rfkill \ + ri \ +--- /dev/null ++++ completions/_reptyr +@@ -0,0 +1,26 @@ ++# bash completion for reptyr(1) -*- shell-script -*- ++ ++# Use of this file is deprecated. Upstream completion is available in ++# reptyr > 0.6.2, use that instead. ++ ++_reptyr() ++{ ++ local cur prev words cword ++ _init_completion || return ++ ++ case $prev in ++ -l) ++ return 0 ++ ;; ++ esac ++ ++ if [[ $cur == -* ]]; then ++ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) ++ return 0 ++ fi ++ ++ [[ $prev != +([0-9]) ]] && _pids ++} && ++complete -F _reptyr reptyr ++ ++# ex: ts=4 sw=4 et filetype=sh +--- completions/reptyr ++++ /dev/null +@@ -1,23 +0,0 @@ +-# bash completion for reptyr(1) -*- shell-script -*- +- +-_reptyr() +-{ +- local cur prev words cword +- _init_completion || return +- +- case $prev in +- -l) +- return 0 +- ;; +- esac +- +- if [[ $cur == -* ]]; then +- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) +- return 0 +- fi +- +- [[ $prev != +([0-9]) ]] && _pids +-} && +-complete -F _reptyr reptyr +- +-# ex: ts=4 sw=4 et filetype=sh +-- +cgit v0.11.2 + Modified: head/shells/bash-completion/pkg-plist ============================================================================== --- head/shells/bash-completion/pkg-plist Sun Jan 24 16:25:26 2016 (r407167) +++ head/shells/bash-completion/pkg-plist Sun Jan 24 16:36:21 2016 (r407168) @@ -1,6 +1,7 @@ libdata/pkgconfig/bash-completion.pc %%DATADIR%%/bash_completion %%DATADIR%%/bash_completion.sh +%%DATADIR%%/completions/_reptyr %%DATADIR%%/completions/a2x %%DATADIR%%/completions/abook %%DATADIR%%/completions/aclocal @@ -426,7 +427,6 @@ libdata/pkgconfig/bash-completion.pc %%DATADIR%%/completions/renice %%DATADIR%%/completions/reportbug %%DATADIR%%/completions/repquota -%%DATADIR%%/completions/reptyr %%DATADIR%%/completions/resolvconf %%DATADIR%%/completions/rfcomm %%DATADIR%%/completions/rfkill