Update to zsh-5.4.2
From Matthew Martin, ok pea@ (maintainer)
This commit is contained in:
parent
cb6906ca13
commit
b6636b1ec5
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.85 2017/08/10 18:38:39 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.86 2017/12/05 23:28:56 jca Exp $
|
||||
|
||||
COMMENT= Z shell, Bourne shell-compatible
|
||||
|
||||
V= 5.4.1
|
||||
V= 5.4.2
|
||||
DISTNAME= zsh-$V
|
||||
CATEGORIES= shells
|
||||
|
||||
@ -16,7 +16,7 @@ MASTER_SITES+= http://www.zsh.org/pub/
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB= c iconv m pcre ncursesw
|
||||
WANTLIB= c curses iconv m pcre
|
||||
|
||||
LIB_DEPENDS= converters/libiconv \
|
||||
devel/pcre
|
||||
@ -52,7 +52,7 @@ pre-configure:
|
||||
sed -i -e "s,/bin/zsh,${TRUEPREFIX}/bin/zsh,g" \
|
||||
${WRKSRC}/Functions/${i}
|
||||
.endfor
|
||||
@find ${WRKSRC} -name "*.orig" -exec rm -f {} \;
|
||||
@find ${WRKSRC} -name "*.orig" -delete
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/$V/scripts/
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (zsh-5.4.1.tar.gz) = xEe4MsroZvUEWh6WP5vrcjFQJScSIkLjMibbBzwAHOI=
|
||||
SIZE (zsh-5.4.1.tar.gz) = 4468512
|
||||
SHA256 (zsh-5.4.2.tar.gz) = lXvNssV/ZMAvZzaT6lp1GO8ktlV66zpM4iLO+m10rMk=
|
||||
SIZE (zsh-5.4.2.tar.gz) = 4482413
|
||||
|
@ -1,12 +1,7 @@
|
||||
$OpenBSD: patch-Completion_BSD_Command__bsd_pkg,v 1.4 2015/12/21 19:13:17 jasper Exp $
|
||||
|
||||
From 3272bdce987a3e5d5448688529ccb8290e148a67 Mon Sep 17 00:00:00 2001
|
||||
From: Matthew Martin <phy1729@gmail.com>
|
||||
Date: Fri, 11 Dec 2015 11:51:09 +0100
|
||||
Subject: [PATCH] 37383: add completion type for object files
|
||||
|
||||
--- Completion/BSD/Command/_bsd_pkg.orig Wed Jan 21 14:53:28 2004
|
||||
+++ Completion/BSD/Command/_bsd_pkg Mon Jan 23 21:30:02 2006
|
||||
$OpenBSD: patch-Completion_BSD_Command__bsd_pkg,v 1.5 2017/12/05 23:28:56 jca Exp $
|
||||
Index: Completion/BSD/Command/_bsd_pkg
|
||||
--- Completion/BSD/Command/_bsd_pkg.orig
|
||||
+++ Completion/BSD/Command/_bsd_pkg
|
||||
@@ -6,15 +6,19 @@ _bsd_pkg_pkgfiles() {
|
||||
|
||||
case $OSTYPE in
|
||||
@ -39,113 +34,7 @@ Subject: [PATCH] 37383: add completion type for object files
|
||||
}
|
||||
|
||||
(( $+functions[_bsd_pkg_pkgs_and_files] )) ||
|
||||
@@ -67,9 +71,9 @@ _bsd_pkg() {
|
||||
;;
|
||||
netbsd*)
|
||||
flags=(
|
||||
- $flags[@]
|
||||
- '-u[update]'
|
||||
- '-V[show version and exit]'
|
||||
+ $flags[@]
|
||||
+ '-u[update]'
|
||||
+ '-V[show version and exit]'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
@@ -83,37 +87,37 @@ _bsd_pkg() {
|
||||
case "$OSTYPE" in
|
||||
freebsd*)
|
||||
flags=(
|
||||
- '-f[specify plist file]:plist file:_files'
|
||||
- '(-b)-c[specify comment file]:comment file:_files'
|
||||
- '(-b)-d[specify descr file]:descr file:_files'
|
||||
- '-Y[assume YES for any questions asked]'
|
||||
- '-N[assume NO for any questions asked]'
|
||||
- '(-b)-O[packing list only mode]'
|
||||
- '-v[be verbose]'
|
||||
- '-h[force tar to follow symlinks]'
|
||||
- '(-b)-i[specify pre-install script]:pre-install script:_files'
|
||||
- '(-b)-I[specify post-install script]:post-install script:_files'
|
||||
- '(-b)-P[specify initial dependencies]:dependencies:_bsd_pkg_pkgs'
|
||||
- '(-b)-p[specify prefix]:prefix directory:_files -/'
|
||||
- '(-b)-k[specify deinstall script]:deinstall script:_files'
|
||||
- '(-b)-K[specify post-deinstall script]:post-deinstall script:_files'
|
||||
- '(-b)-r[specify req script]:req script:_files'
|
||||
- '(-b)-s[specify source directory]:source directory:_files -/'
|
||||
- '(-b)-t[specify mktemp template]:mktemp template:_files'
|
||||
- '(-b)-X[specify exclude file]:exclude file for tar:_files'
|
||||
- '(-b)-D[specify message file]:message file:_files'
|
||||
- '(-b)-m[specify mtree file]:mtree file:_files'
|
||||
- '(-b)-o[specify origin]:origin:_files -W ${PORTSDIR\:-/usr/ports} -/'
|
||||
- '-j[use bzip2]'
|
||||
- '-z[use gzip]'
|
||||
- '(-c -d -O -i -I -P -p -k -K -r -s -t -X -D -m -o)-b[specify pkgname]:pkgname:_bsd_pkg_pkgs'
|
||||
- '*:package file name:_files'
|
||||
+ '-f[specify plist file]:plist file:_files'
|
||||
+ '(-b)-c[specify comment file]:comment file:_files'
|
||||
+ '(-b)-d[specify descr file]:descr file:_files'
|
||||
+ '-Y[assume YES for any questions asked]'
|
||||
+ '-N[assume NO for any questions asked]'
|
||||
+ '(-b)-O[packing list only mode]'
|
||||
+ '-v[be verbose]'
|
||||
+ '-h[force tar to follow symlinks]'
|
||||
+ '(-b)-i[specify pre-install script]:pre-install script:_files'
|
||||
+ '(-b)-I[specify post-install script]:post-install script:_files'
|
||||
+ '(-b)-P[specify initial dependencies]:dependencies:_bsd_pkg_pkgs'
|
||||
+ '(-b)-p[specify prefix]:prefix directory:_files -/'
|
||||
+ '(-b)-k[specify deinstall script]:deinstall script:_files'
|
||||
+ '(-b)-K[specify post-deinstall script]:post-deinstall script:_files'
|
||||
+ '(-b)-r[specify req script]:req script:_files'
|
||||
+ '(-b)-s[specify source directory]:source directory:_files -/'
|
||||
+ '(-b)-t[specify mktemp template]:mktemp template:_files'
|
||||
+ '(-b)-X[specify exclude file]:exclude file for tar:_files'
|
||||
+ '(-b)-D[specify message file]:message file:_files'
|
||||
+ '(-b)-m[specify mtree file]:mtree file:_files'
|
||||
+ '(-b)-o[specify origin]:origin:_files -W ${PORTSDIR\:-/usr/ports} -/'
|
||||
+ '-j[use bzip2]'
|
||||
+ '-z[use gzip]'
|
||||
+ '(-c -d -O -i -I -P -p -k -K -r -s -t -X -D -m -o)-b[specify pkgname]:pkgname:_bsd_pkg_pkgs'
|
||||
+ '*:package file name:_files'
|
||||
)
|
||||
;;
|
||||
netbsd*)
|
||||
# NetBSD users, improve me!
|
||||
flags=(
|
||||
- '*:package name:_bsd_pkg_pkgs'
|
||||
+ '*:package name:_bsd_pkg_pkgs'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
@@ -136,35 +140,43 @@ _bsd_pkg() {
|
||||
freebsd*)
|
||||
flags=(
|
||||
$flags[@]
|
||||
- '(:)-a[delete all installed packages]'
|
||||
+ '(:)-a[delete all installed packages]'
|
||||
'-G[do not expand glob patterns]'
|
||||
- '-i[be interactive]'
|
||||
+ '-i[be interactive]'
|
||||
'-r[delete recursively]'
|
||||
'-x[use regular expression]'
|
||||
)
|
||||
;;
|
||||
netbsd*)
|
||||
flags=(
|
||||
- $flags[@]
|
||||
- '(:)-a[delete all installed packages]'
|
||||
- '-F[specify each package by an installed file]'
|
||||
- '-i[be interactive]'
|
||||
- '-O[only delete the package'\''s entries]'
|
||||
+ $flags[@]
|
||||
+ '(:)-a[delete all installed packages]'
|
||||
+ '-F[specify each package by an installed file]'
|
||||
+ '-i[be interactive]'
|
||||
+ '-O[only delete the package'\''s entries]'
|
||||
'-R[delete upward recursively]'
|
||||
'-r[delete recursively]'
|
||||
- '-V[show version and exit]'
|
||||
+ '-V[show version and exit]'
|
||||
)
|
||||
@@ -157,14 +161,22 @@ _bsd_pkg() {
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -172,41 +61,7 @@ Subject: [PATCH] 37383: add completion type for object files
|
||||
'-c[show comment fields]'
|
||||
'-D[show install-message files]'
|
||||
'-d[show long descriptions]'
|
||||
@@ -188,30 +200,41 @@ _bsd_pkg() {
|
||||
flags=(
|
||||
$flags[@]
|
||||
'-G[do not expand glob patterns]'
|
||||
- '-g[show files that'\''s modified]'
|
||||
- '-o[show origin]'
|
||||
- '-s[show total size occupied by each package]'
|
||||
- '-t[specify mktemp template]:mktemp template:_files -/'
|
||||
- '*-W[show which package the file belongs to]:file:_files'
|
||||
- '-x[use regular expression]'
|
||||
+ '-g[show files that are modified]'
|
||||
+ '-o[show origin]'
|
||||
+ '-s[show total size occupied by each package]'
|
||||
+ '-t[specify mktemp template]:mktemp template:_files -/'
|
||||
+ '*-W[show which package the file belongs to]:file:_files'
|
||||
+ '-x[use regular expression]'
|
||||
)
|
||||
;;
|
||||
netbsd*)
|
||||
flags=(
|
||||
- $flags[@]
|
||||
- '-B[show build information]'
|
||||
- '-b[show RCS Id strings]'
|
||||
- '-F[specify each package by an installed file]'
|
||||
- '-S[show total size occupied by each package and its dependents]'
|
||||
- '-s[show total size occupied by each package]'
|
||||
- '-V[show version and exit]'
|
||||
+ $flags[@]
|
||||
+ '-B[show build information]'
|
||||
+ '-b[show RCS Id strings]'
|
||||
+ '-F[specify each package by an installed file]'
|
||||
+ '-S[show total size occupied by each package and its dependents]'
|
||||
+ '-s[show total size occupied by each package]'
|
||||
+ '-V[show version and exit]'
|
||||
)
|
||||
@@ -209,9 +221,20 @@ _bsd_pkg() {
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.46 2017/08/10 18:38:40 rsadowski Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.47 2017/12/05 23:28:56 jca Exp $
|
||||
@pkgpath shells/zsh,-main
|
||||
@shell bin/zsh
|
||||
@bin bin/zsh-${V}
|
||||
@ -155,6 +155,7 @@ share/zsh/${V}/functions/_bindkey
|
||||
share/zsh/${V}/functions/_bison
|
||||
share/zsh/${V}/functions/_bittorrent
|
||||
share/zsh/${V}/functions/_bogofilter
|
||||
share/zsh/${V}/functions/_bpf_filters
|
||||
share/zsh/${V}/functions/_bpython
|
||||
share/zsh/${V}/functions/_brace_parameter
|
||||
share/zsh/${V}/functions/_brctl
|
||||
@ -537,6 +538,7 @@ share/zsh/${V}/functions/_netstat
|
||||
share/zsh/${V}/functions/_newsgroups
|
||||
share/zsh/${V}/functions/_next_label
|
||||
share/zsh/${V}/functions/_next_tags
|
||||
share/zsh/${V}/functions/_ngrep
|
||||
share/zsh/${V}/functions/_nice
|
||||
share/zsh/${V}/functions/_nkf
|
||||
share/zsh/${V}/functions/_nl
|
||||
@ -657,6 +659,7 @@ share/zsh/${V}/functions/_retrieve_mac_apps
|
||||
share/zsh/${V}/functions/_ri
|
||||
share/zsh/${V}/functions/_rlogin
|
||||
share/zsh/${V}/functions/_rm
|
||||
share/zsh/${V}/functions/_route
|
||||
share/zsh/${V}/functions/_rpm
|
||||
share/zsh/${V}/functions/_rpmbuild
|
||||
share/zsh/${V}/functions/_rrdtool
|
||||
@ -812,6 +815,7 @@ share/zsh/${V}/functions/_vorbis
|
||||
share/zsh/${V}/functions/_vorbiscomment
|
||||
share/zsh/${V}/functions/_vserver
|
||||
share/zsh/${V}/functions/_vux
|
||||
share/zsh/${V}/functions/_w
|
||||
share/zsh/${V}/functions/_w3m
|
||||
share/zsh/${V}/functions/_wait
|
||||
share/zsh/${V}/functions/_wajig
|
||||
@ -825,6 +829,7 @@ share/zsh/${V}/functions/_webbrowser
|
||||
share/zsh/${V}/functions/_wget
|
||||
share/zsh/${V}/functions/_whereis
|
||||
share/zsh/${V}/functions/_which
|
||||
share/zsh/${V}/functions/_who
|
||||
share/zsh/${V}/functions/_whois
|
||||
share/zsh/${V}/functions/_widgets
|
||||
share/zsh/${V}/functions/_wiggle
|
||||
|
Loading…
x
Reference in New Issue
Block a user