Mon Oct 8 10:35:15 2018 UTC ()
Update pkg_chk to 2.0.10

Output deprecated warnings to STDERR rather than STDOUT


(abs)
diff -r1.87 -r1.88 pkgsrc/pkgtools/pkg_chk/Makefile
diff -r1.73 -r1.74 pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh

cvs diff -r1.87 -r1.88 pkgsrc/pkgtools/pkg_chk/Makefile (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_chk/Makefile 2018/01/27 23:17:22 1.87
+++ pkgsrc/pkgtools/pkg_chk/Makefile 2018/10/08 10:35:15 1.88
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.87 2018/01/27 23:17:22 wiz Exp $ 1# $NetBSD: Makefile,v 1.88 2018/10/08 10:35:15 abs Exp $
2 2
3PKGNAME= pkg_chk-2.0.9 3PKGNAME= pkg_chk-2.0.10
4CATEGORIES= pkgtools 4CATEGORIES= pkgtools
5 5
6OWNER= abs@NetBSD.org 6OWNER= abs@NetBSD.org
7HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html 7HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
8COMMENT= Check installed package versions against pkgsrc 8COMMENT= Check installed package versions against pkgsrc
9LICENSE= 2-clause-bsd 9LICENSE= 2-clause-bsd
10 10
11WRKSRC= ${WRKDIR} 11WRKSRC= ${WRKDIR}
12USE_LANGUAGES= # empty 12USE_LANGUAGES= # empty
13USE_TOOLS+= mktemp:run 13USE_TOOLS+= mktemp:run
14USE_TOOLS+= gzcat:run 14USE_TOOLS+= gzcat:run
15USE_TOOLS+= gzip:run 15USE_TOOLS+= gzip:run
16USE_TOOLS+= bzcat:run 16USE_TOOLS+= bzcat:run

cvs diff -r1.73 -r1.74 pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh 2014/04/23 00:01:01 1.73
+++ pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh 2018/10/08 10:35:15 1.74
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1#!@SH@ -e 1#!@SH@ -e
2# 2#
3# $Id: pkg_chk.sh,v 1.73 2014/04/23 00:01:01 abs Exp $ 3# $Id: pkg_chk.sh,v 1.74 2018/10/08 10:35:15 abs Exp $
4# 4#
5# TODO: Make -g check dependencies and tsort 5# TODO: Make -g check dependencies and tsort
6# TODO: Make -g list user-installed packages first, followed by commented 6# TODO: Make -g list user-installed packages first, followed by commented
7# out automatically installed packages 7# out automatically installed packages
8# TODO: List user-installed packages that are not in config 8# TODO: List user-installed packages that are not in config
9 9
10# Copyright (c) 2001-2012 David Brownlee (Standard 2 clause BSD licence) 10# Copyright (c) 2001-2012 David Brownlee (Standard 2 clause BSD licence)
11# All rights reserved. 11# All rights reserved.
12# 12#
13# Redistribution and use in source and binary forms, with or without 13# Redistribution and use in source and binary forms, with or without
14# modification, are permitted provided that the following conditions 14# modification, are permitted provided that the following conditions
15# are met: 15# are met:
16# 16#
@@ -799,32 +799,32 @@ verbose_var() @@ -799,32 +799,32 @@ verbose_var()
799 var=$1 799 var=$1
800 shift 800 shift
801 verbose Variable: $var = $(eval echo \$$var) $@ 801 verbose Variable: $var = $(eval echo \$$var) $@
802 fi 802 fi
803 } 803 }
804 804
805original_argv="$@" # just used for verbose output 805original_argv="$@" # just used for verbose output
806while getopts BC:D:L:P:U:abcfghiklNnpqrsuv ch; do 806while getopts BC:D:L:P:U:abcfghiklNnpqrsuv ch; do
807 case "$ch" in 807 case "$ch" in
808 a ) opt_a=1 ;; 808 a ) opt_a=1 ;;
809 B ) opt_B=1 ;; 809 B ) opt_B=1 ;;
810 b ) opt_b=1 ;; 810 b ) opt_b=1 ;;
811 C ) opt_C="$OPTARG" ;; 811 C ) opt_C="$OPTARG" ;;
812 c ) opt_a=1 ; opt_q=1 ; echo "-c is deprecated - use -a -q" ;; 812 c ) opt_a=1 ; opt_q=1 ; echo "** -c deprecated - use -a -q" 1>&2 ;;
813 D ) opt_D="$OPTARG" ;; 813 D ) opt_D="$OPTARG" ;;
814 f ) opt_f=1 ;; 814 f ) opt_f=1 ;;
815 g ) opt_g=1 ;; 815 g ) opt_g=1 ;;
816 h ) opt_h=1 ;; 816 h ) opt_h=1 ;;
817 i ) opt_u=1 ; opt_q=1 ; echo "-i is deprecated - use -u -q" ;; 817 i ) opt_u=1 ; opt_q=1 ; echo "** -i deprecated - use -u -q" 1>&2 ;;
818 k ) opt_k=1 ;; 818 k ) opt_k=1 ;;
819 L ) opt_L="$OPTARG" ;; 819 L ) opt_L="$OPTARG" ;;
820 l ) opt_l=1 ;; 820 l ) opt_l=1 ;;
821 N ) opt_N=1 ;; 821 N ) opt_N=1 ;;
822 n ) opt_n=1 ;; 822 n ) opt_n=1 ;;
823 p ) opt_p=1 ;; 823 p ) opt_p=1 ;;
824 P ) opt_P="$OPTARG" ;; 824 P ) opt_P="$OPTARG" ;;
825 q ) opt_q=1 ;; 825 q ) opt_q=1 ;;
826 r ) opt_r=1 ;; 826 r ) opt_r=1 ;;
827 s ) opt_s=1 ;; 827 s ) opt_s=1 ;;
828 U ) opt_U="$OPTARG" ;; 828 U ) opt_U="$OPTARG" ;;
829 u ) opt_u=1 ;; 829 u ) opt_u=1 ;;
830 v ) opt_v=1 ;; 830 v ) opt_v=1 ;;