From 08686e3f58820ad024d216c5a0b29839e43b704a Mon Sep 17 00:00:00 2001 From: Aleksey Cheusov Date: Sun, 10 Oct 2010 20:34:02 +0000 Subject: [PATCH] Update to 0.43.0: Regression tests framework has been completely reworked. All tool using short options conform to POSIX Utility Syntax Guidelines. pkg_summary4view: - reworked - content of DEPENDS, BUILD_DEPENDS etc. is sorted alphabetically. pkg_src_summary: - fix in PSS_PPERS - new artificial field ALLDISTFILES, list of distfiles with their sizes separated by colon --- pkg_summary-utils/Makefile | 5 +- pkg_summary-utils/files/Makefile | 11 +- pkg_summary-utils/files/TODO | 6 +- pkg_summary-utils/files/cvs_checksum.in | 26 +- pkg_summary-utils/files/pkg_bin_summary.in | 36 +- .../files/pkg_cleanup_distdir.in | 27 +- pkg_summary-utils/files/pkg_list_all_pkgs.in | 22 +- .../files/pkg_micro_src_summary.in | 44 +- .../files/pkg_refresh_summary.in | 26 +- pkg_summary-utils/files/pkg_src_summary.1 | 10 +- pkg_summary-utils/files/pkg_src_summary.in | 133 +- pkg_summary-utils/files/pkg_summary4view.in | 84 +- .../files/pkg_update_src_summary.in | 52 +- pkg_summary-utils/files/pkg_update_summary.in | 26 +- pkg_summary-utils/files/tests/test.out | 1955 ------------- pkg_summary-utils/files/tests/test.sh | 2593 +++++++++++++++-- pkg_summary-utils/files/version.mk | 2 +- 17 files changed, 2471 insertions(+), 2587 deletions(-) delete mode 100644 pkg_summary-utils/files/tests/test.out diff --git a/pkg_summary-utils/Makefile b/pkg_summary-utils/Makefile index 40915b5f98..5c4e04883e 100644 --- a/pkg_summary-utils/Makefile +++ b/pkg_summary-utils/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.34 2010/10/10 18:23:39 cheusov Exp $ +# $NetBSD: Makefile,v 1.35 2010/10/10 20:34:02 cheusov Exp $ DISTNAME= pkg_summary-utils-${VERSION} -PKGREVISION= 1 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -12,7 +11,7 @@ COMMENT= Utilities for manipulating pkg_summary(5) files LICENSE= mit -DEPENDS+= runawk>=0.16.0:../../wip/runawk +DEPENDS+= runawk>=1.1.0:../../wip/runawk DEPENDS+= awk-pkgsrc-dewey>=0.5.6:../../wip/awk-pkgsrc-dewey DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus #DEPENDS+= getopt-[0-9]*:../../misc/getopt diff --git a/pkg_summary-utils/files/Makefile b/pkg_summary-utils/files/Makefile index 5e10e94c73..9e4f0e99d2 100644 --- a/pkg_summary-utils/files/Makefile +++ b/pkg_summary-utils/files/Makefile @@ -116,14 +116,9 @@ DIFF_PROG?= diff -U10 .PHONY : test test : all @echo 'running tests...'; \ - if cd ${.CURDIR}/tests && \ - env PATH="${.OBJDIR}:$$PATH" OBJDIR=${.OBJDIR} \ - BMAKE=${BMAKE} ./test.sh \ - > ${.OBJDIR}/_test.res && \ - ${DIFF_PROG} ${.CURDIR}/tests/test.out ${.OBJDIR}/_test.res; \ - then echo ' succeeded'; \ - else echo ' failed'; false; \ - fi + set -e; cd ${.CURDIR}/tests; \ + env PATH="${.OBJDIR}:$$PATH" OBJDIR=${.OBJDIR} \ + BMAKE=${BMAKE} ./test.sh ############################################################ diff --git a/pkg_summary-utils/files/TODO b/pkg_summary-utils/files/TODO index ac7be7934f..d4b0c059d8 100644 --- a/pkg_summary-utils/files/TODO +++ b/pkg_summary-utils/files/TODO @@ -1,9 +1,5 @@ TODO list and thoughts ------------------------- -0) pkg_summary4view ------------------------ - existing tools: cvs_checksum: @@ -18,6 +14,7 @@ existing tools: - -f use pkgbase only for comparison - -f use pkgbase and pkgpath for comparison - automatic removal of #-comments + - output ! if DEPENDS or BUILD_DEPENDS differ pkg_grep_summary: - -f output only specified fields, this @@ -49,7 +46,6 @@ existing tools: pkg_summary2deps: pkg_summary4view: - - resort tokens inside DEPENDS, BUILD_DEPENDS and CONFLICTS - another format for DEPENDS, BUILD_DEPENDS and CONFLICTS, (convertors for RHEL yum, Debian apt, OpenSolaris IPS) diff --git a/pkg_summary-utils/files/cvs_checksum.in b/pkg_summary-utils/files/cvs_checksum.in index 7ccb53390f..84c2e575bc 100755 --- a/pkg_summary-utils/files/cvs_checksum.in +++ b/pkg_summary-utils/files/cvs_checksum.in @@ -45,21 +45,15 @@ OPTIONS: EOF } -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -l|--list) - list_only=1;; - -*) - echo "Unrecognized option " $1 ". Type --help to see usage" 1>&2 - exit 1;; - *) - break;; - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + 'l list' list_only=1 \ + -- "$@" +} + +cmds=`process_args "$@"` +eval "$cmds" if test "$list_only"; then for i in "$@"; do @@ -67,7 +61,7 @@ if test "$list_only"; then if test -r "$efn"; then awk -F/ -v d="$i" '$1 == "" {print d "/" $2, $3}' "$efn" - subdirs="`awk -F/ -v d="$i" '$1 == "D" && NF > 1 {print d "/" $2}' "$efn" `" + subdirs=`awk -F/ -v d="$i" '$1 == "D" && NF > 1 {print d "/" $2}' "$efn" ` $0 -l $subdirs else echo "$i/CVS/Entries files is not readable" 1>&2 diff --git a/pkg_summary-utils/files/pkg_bin_summary.in b/pkg_summary-utils/files/pkg_bin_summary.in index df8b2fadc1..2951e575fa 100755 --- a/pkg_summary-utils/files/pkg_bin_summary.in +++ b/pkg_summary-utils/files/pkg_bin_summary.in @@ -59,31 +59,17 @@ Samples of use: EOF } -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -a) - add_fields="$add_fields $2" - shift;; - -r) - rem_fields="$rem_fields $2" - shift;; - -f) - only_fields="$only_fields $2" - shift;; - --) - shift - break;; - -*) - echo "Bad option $1" 1>&2 - exit 1;; - *) - break - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + =a add_fields= \ + =r rem_fields= \ + =f only_fields= \ + -- "$@" +} + +cmds=`process_args "$@"` +eval "$cmds" if test $# -eq 0; then pkg_info_opts=-XBa diff --git a/pkg_summary-utils/files/pkg_cleanup_distdir.in b/pkg_summary-utils/files/pkg_cleanup_distdir.in index 3c16b37dbf..87b54f9aa4 100755 --- a/pkg_summary-utils/files/pkg_cleanup_distdir.in +++ b/pkg_summary-utils/files/pkg_cleanup_distdir.in @@ -48,24 +48,15 @@ EOF } delete='' -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -r) - delete=1;; - --) - shift - break;; - -*) - echo "Bad option $1" 1>&2 - exit 1;; - *) - break - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + r delete=1 \ + -- "$@" +} + +cmds=`process_args "$@"` +eval "$cmds" DISTDIR=${DISTDIR:=@DISTDIR@} cd "$DISTDIR" diff --git a/pkg_summary-utils/files/pkg_list_all_pkgs.in b/pkg_summary-utils/files/pkg_list_all_pkgs.in index 5cd692ab6c..1ab2203f0f 100755 --- a/pkg_summary-utils/files/pkg_list_all_pkgs.in +++ b/pkg_summary-utils/files/pkg_list_all_pkgs.in @@ -37,22 +37,12 @@ OPTIONS: EOF } -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - --) - shift - break;; - -*) - echo "Unrecognized option " $1 ". Type --help to see usage" 1>&2 - exit 1;; - *) - break;; - esac - shift -done +process_args (){ + alt_getopt 'h help' 'usage; exit 0' -- "$@" +} + +cmds=`process_args "$@"` +eval "$cmds" ############################################################ # user settable variables diff --git a/pkg_summary-utils/files/pkg_micro_src_summary.in b/pkg_summary-utils/files/pkg_micro_src_summary.in index 4204eae80f..9dd89ca809 100755 --- a/pkg_summary-utils/files/pkg_micro_src_summary.in +++ b/pkg_summary-utils/files/pkg_micro_src_summary.in @@ -47,40 +47,26 @@ about source packages usage: pkg_micro_src_summary [OPTIONS] [pkgpath1 pkgpath2 ...] OPTIONS: -h|--help display this help message - -f|--fields - -f|--fields= fields to be included to summary, - PKGNAME and PKGPATH by default + -f|--fields fields to be included to summary, + PKGNAME and PKGPATH is the default EOF } fields='PKGNAME PKGPATH' -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -f|--fields) - fields="`echo $2 | tr , ' '`" - shift;; - -f=*) - printf '%s\n' '-f= is not allowed' 1>&2 - exit 1;; - --fields=*) - fields="$(echo $1 | cut -f2 -d= | tr , ' ')";; - -f*) - fields="$(echo $1 | cut -b 3- | tr , ' ')";; - --) - shift - break;; - -*) - echo "Unrecognized option " $1 ". Type --help to see usage" 1>&2 - exit 1;; - *) - break;; - esac - shift -done +set_fields (){ + fields=$(echo "$@" | tr , ' ') +} + +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + '=f fields' 'set_fields ' \ + -- "$@" +} + +cmds=`process_args "$@"` +eval "$cmds" ############################################################ cd $PKGSRCDIR diff --git a/pkg_summary-utils/files/pkg_refresh_summary.in b/pkg_summary-utils/files/pkg_refresh_summary.in index 57bd929339..409136e88e 100755 --- a/pkg_summary-utils/files/pkg_refresh_summary.in +++ b/pkg_summary-utils/files/pkg_refresh_summary.in @@ -38,24 +38,14 @@ OPTIONS: EOF } -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -o) - print_older=1;; - --) - shift - break;; - -*) - echo "Bad option $1" 1>&2 - exit 1;; - *) - break - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + o print_older=1 \ + -- "$@" +} +cmds=`process_args "$@"` +eval "$cmds" ############################################################ diff --git a/pkg_summary-utils/files/pkg_src_summary.1 b/pkg_summary-utils/files/pkg_src_summary.1 index 240d679238..d6938f28d6 100644 --- a/pkg_summary-utils/files/pkg_src_summary.1 +++ b/pkg_summary-utils/files/pkg_src_summary.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_src_summary.1,v 1.24 2010/05/30 19:29:40 cheusov Exp $ +.\" $NetBSD: pkg_src_summary.1,v 1.25 2010/10/10 20:34:03 cheusov Exp $ .\" .\" Copyright (c) 2008 by Aleksey Cheusov (vle@gmx.net) .\" Absolutely no warranty. @@ -40,9 +40,13 @@ A list of fields (separated by space character or comma) to be generated. By default the following fields are generated: PKGNAME, PKGPATH, DEPENDS, BUILD_DEPENDS, CONFLICTS, HOMEPAGE, COMMENT, LICENSE, ONLYFOR, NOTFOR, MAINTAINER, CATEGORIES, NO_BIN_ON_FTP, NO_SRC_ON_FTP, -NO_BIN_ON_CDROM, NO_SRC_ON_CDROM, ALLSRCFILES +NO_BIN_ON_CDROM, NO_SRC_ON_CDROM, ALLSRCFILES, ALLDISTFILES, DESCRIPTION (multiline), PLIST(multiline). -The following fields are NOT generated by default: CVS_CHECKSUM. +The following fields are NOT generated by default: CVS_CHECKSUM, +ALLDISTFILES. ALLDISTFILES value lists distfiles with their +sizes (obtained from distinfo file) separated by colon. +ALLSRCFILES value lists distfiles with relative directory (if any) +under ${DISTDIR}. .TP .BI "-a|--add-fields" " fields" Add the specified fields to the list of fields generated by default diff --git a/pkg_summary-utils/files/pkg_src_summary.in b/pkg_summary-utils/files/pkg_src_summary.in index 7bf9dd1b9f..b6e9cc3ffe 100755 --- a/pkg_summary-utils/files/pkg_src_summary.in +++ b/pkg_summary-utils/files/pkg_src_summary.in @@ -78,21 +78,27 @@ EOF # list of fields for default pkg_src_summary if test -z "$PSS_FIELDS"; then - PSS_FIELDS='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS CONFLICTS HOMEPAGE COMMENT LICENSE ONLYFOR NOTFOR MAINTAINER CATEGORIES NO_BIN_ON_FTP NO_SRC_ON_FTP NO_BIN_ON_CDROM NO_SRC_ON_CDROM LICENSE ALLSRCFILES DESCRIPTION PLIST' # CVS_CHECKSUM' + PSS_FIELDS='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS CONFLICTS HOMEPAGE COMMENT LICENSE ONLYFOR NOTFOR MAINTAINER CATEGORIES NO_BIN_ON_FTP NO_SRC_ON_FTP NO_BIN_ON_CDROM NO_SRC_ON_CDROM LICENSE ALLSRCFILES DESCRIPTION PLIST' # CVS_CHECKSUM ALLDISTFILES fi if test -z "$PSS_PPERS"; then PSS_PPERS=10 fi +set_fields (){ + PSS_FIELDS=$(echo $* | tr , ' ') +} + add_fields (){ - rem_fields "$@" - for f in "$@"; do + __fields=$(echo $* | tr , ' ') + rem_fields $__fields + for f in $__fields; do PSS_FIELDS="$PSS_FIELDS $f" done } rem_fields (){ + __fields=$(echo $* | tr , ' ') PSS_FIELDS=`awk ' BEGIN { for (i=1; i < ARGC; ++i){ @@ -105,86 +111,33 @@ BEGIN { } } } -' "$@" - $PSS_FIELDS` +' $__fields - $PSS_FIELDS` } process_options (){ - while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -f|--fields) - PSS_FIELDS="$(echo $2 | tr , ' ')" - shift;; - -f=*) - printf '%s\n' '-f= is not allowed' 1>&2 - exit 1;; - -a=*) - printf '%s\n' '-a= is not allowed' 1>&2 - exit 1;; - -r=*) - printf '%s\n' '-r= is not allowed' 1>&2 - exit 1;; - --fields=*) - PSS_FIELDS="$(echo $1 | cut -f2 -d= | tr , ' ')";; - -f*) - PSS_FIELDS="$(echo $1 | cut -b 3- | tr , ' ')";; - -a|--add-fields) - add_fields $(echo $2 | tr , ' ') - shift;; - --add-fields=*) - add_fields $(echo $1 | cut -f2 -d= | tr , ' ');; - -a*) - add_fields $(echo $1 | cut -b 3- | tr , ' ');; - -r|--rem-fields) - rem_fields $(echo $2 | tr , ' ') - shift;; - --rem-fields=*) - rem_fields $(echo $1 | cut -f2 -d= | tr , ' ');; - -r*) - rem_fields $(echo $1 | cut -b 3- | tr , ' ');; - -s|--slave-mode) - slave=1;; - -p|--make-plist) - make_plist='-p';; - -b) - add_fields BOOTSTRAP_DEPENDS BUILD_DEPENDS - with_bootstrap=-b;; - -l) - with_libdeps=-l;; - -d|--with-deps) - with_dep=-d;; - -D|--with-bdeps) - with_bdep=-D;; - -A|--with-alldeps) - add_fields DEPENDS BUILD_DEPENDS - with_dep=-d - with_bdep=-D;; - -m) - multi_var=1;; - -M) - multi_var=2;; - -i|--installed) - installed_pkgs=1;; - -G) - debug=1;; - --) - shift - break;; - -*) - echo "Unrecognized option " $1 ". Type --help to see usage" 1>&2 - exit 1;; - *) - break;; - esac - shift - done - - pkgpaths="$@" + alt_getopt \ + 'h help' 'usage; exit 0' \ + '=f fields' 'set_fields ' \ + '=a add-fields' 'add_fields ' \ + '=r rem-fields' 'rem_fields ' \ + 's slave-mode' slave=1 \ + 'p make-plist' make_plist='-p' \ + b 'add_fields BOOTSTRAP_DEPENDS BUILD_DEPENDS; with_bootstrap=-b' \ + l 'with_libdeps=-l' \ + 'd with-deps' with_dep=-d \ + 'D with-bdeps' with_bdep=-D \ + 'A with-alldeps' 'add_fields DEPENDS BUILD_DEPENDS; + with_dep=-d; with_bdep=-D' \ + m multi_var=1 \ + M multi_var=2 \ + 'i installed' installed_pkgs=1 \ + G debug=1 \ + -- "$@" } +cmds=`process_options $PSS_OPTIONS "$@"` +eval "$cmds" -process_options $PSS_OPTIONS "$@" +pkgpaths="$*" with_xxx="$with_bootstrap $with_libdeps" @@ -207,6 +160,9 @@ fi if echo "$PSS_FIELDS" | grep PLIST > /dev/null; then field_plist=1 fi +if echo "$PSS_FIELDS" | grep ALLDISTFILES > /dev/null; then + field_alldistfiles=1 +fi if echo "$PSS_FIELDS" | grep CVS_CHECKSUM > /dev/null; then field_cvs_checksum=1 fi @@ -284,6 +240,13 @@ pkgpath2multivar_opts (){ sed -e 's|^[^:]*:||' -e 's|,| |g' -e "s|[^ ][^ ]*|'&'|g" -e 's|~| |g' } +get_alldistfiles (){ + awk -F'[ =()]*' \ + '$1 == "Size" {printf " %s:%s", $2, $3} + END {print ""} + ' "$@" +} + cd_and_print_summary (){ # $1 - pkgpath real_pkgpath="`echo $1 | cut -d: -f1`" @@ -314,6 +277,14 @@ cd_and_print_summary (){ printf "CVS_CHECKSUM=%s\n" "$cksum" >>"$summaryfn" || return 1 fi + # alldistfiles + if test "$field_alldistfiles"; then + distinfo_fns="$(cd $real_pkgpath && ${BMAKE} show-var VARNAME=DISTINFO_FILE)" + # /dev/null is a protection against distinfo_fns emptyness + alldistfiles=$(get_alldistfiles $distinfo_fns /dev/null) + printf "ALLDISTFILES=%s\n" "$alldistfiles" >>"$summaryfn" || return 1 + fi + # PLIST if test "$field_plist"; then if test -n "$make_plist" && \ @@ -382,7 +353,7 @@ packages2stdout__1per_line (){ installed_packages2stdout elif test $# -eq 0; then # processing stdin - cat + awk '{for (i=1; i <= NF; ++i) {print $i}}' "$@" else # processing arguments for pkgpath in "$@"; do @@ -397,11 +368,11 @@ packages2stdout (){ { printf " %s", $0 } - (NR % pss_ppers) == 0 { + ((NR-1) % pss_ppers) == 0 { printf "\n" } END { - if ((NR % pss_ppers) != 0){ + if (((NR-1) % pss_ppers) != 0){ printf "\n" } }' diff --git a/pkg_summary-utils/files/pkg_summary4view.in b/pkg_summary-utils/files/pkg_summary4view.in index e9cec48d51..94d580f635 100755 --- a/pkg_summary-utils/files/pkg_summary4view.in +++ b/pkg_summary-utils/files/pkg_summary4view.in @@ -1,6 +1,6 @@ #!/usr/bin/env runawk -# Copyright (c) 2007-2008 Aleksey Cheusov +# Copyright (c) 2007-2010 Aleksey Cheusov # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -28,6 +28,7 @@ #use "alt_getopt.awk" #use "abort.awk" #use "power_getopt.awk" +#use "heapsort.awk" ############################################################ #.begin-str help @@ -46,6 +47,16 @@ function spaces (n, ret){ return ret } +function resort_D0 (arr, remap, i){ + for (i=1; i <= NF; ++i){ + arr [i] = $i + } + heapsort(arr, remap, 1, NF) + for (i=1; i <= NF; ++i){ + $i = arr [remap [i]] + } +} + BEGIN { special ["DESCRIPTION"] = 0 special ["PLIST"] = 0 @@ -56,21 +67,32 @@ BEGIN { depends_like ["DEPENDS"] = 0 depends_like ["CONFLICTS"] = 0 + # single or multiple line + s_or_m ["ALLDISTFILES"] = 0 + s_or_m ["ALLSRCFILES"] = 0 + offset = 16 } +BEGIN { + for (i in s_or_m){ + depends_like [i] = 0 + } +} + NF == 0 { - print - last_field = "" - printf "%s", accu - accu = "" - to_be_printed = 0 + prev_field = "" + print "" next } -/^PKGNAME=/ { +function get_alldistfiles (tok, idx){ + idx = index(tok, ":") + return substr(tok, 1, idx-1) " " spaces(45-idx) substr(tok, idx+1) +} + +NF > 0 && prev_field == "" { print "-----------------------------------------------------------" - to_be_printed = 1 } { @@ -81,52 +103,48 @@ NF == 0 { # sub(/^[^=]*=/, "") - if (NF == 0){ - prev_field = field + if (NF == 0) next - } + + field_alldistfiles = (field == "ALLDISTFILES") # if (field in depends_like){ + resort_D0() + if (field != prev_field) { field1 = field ":" - accu = accu field1 + printf "%s", field1 }else{ field1 = "" } - if (NF > 0) - accu = accu spaces(offset - length(field1)) + printf "%s", spaces(offset - length(field1)) - accu = accu $1 "\n" + if (field_alldistfiles){ + printf "%s\n", get_alldistfiles($1) + }else{ + printf "%s\n", $1 + } for (i=2; i <= NF; ++i){ - accu = accu spaces(offset) - accu = accu $i "\n" + printf "%s", spaces(offset) + if (field_alldistfiles){ + printf "%s\n", get_alldistfiles($i) + }else{ + printf "%s\n", $i + } } - - prev_field = field - next }else if (field in special) { if (field != prev_field) { - accu = accu field ":\n" + printf "%s:\n", field } - accu = accu " " + printf " %s\n", $0 }else{ - accu = accu field ":" - if ($0 !~ /^( |\t)*$/) - accu = accu spaces(offset - length(field) - 1) + printf "%s:%s%s\n", field, spaces(offset - length(field) - 1), $0 } # prev_field = field } - -{ - accu = accu $0 "\n" - if (to_be_printed){ - printf "%s", accu - accu = "" - } -} diff --git a/pkg_summary-utils/files/pkg_update_src_summary.in b/pkg_summary-utils/files/pkg_update_src_summary.in index 633570ce94..832e7878ae 100755 --- a/pkg_summary-utils/files/pkg_update_src_summary.in +++ b/pkg_summary-utils/files/pkg_update_src_summary.in @@ -42,8 +42,7 @@ OPTIONS: -h|--help display this help message -f|--file obtain package names from a specified file, - for stdin - -i|--fields - -i|--fields= list of fields (separated by space character + -i|--fields list of fields (separated by space character or comma) to be included to the summary, full summary is generated by default EOF @@ -51,46 +50,15 @@ EOF pkgs_fn='' -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - - -f=*) - printf '%s\n' '-f= is not allowed' 1>&2 - exit 1;; - -i=*) - printf '%s\n' '-f= is not allowed' 1>&2 - exit 1;; - - -f|--file) - pkgs_fn="$2" - shift;; - --file=*) - pkgs_fn="`printf '%s\n' \"$1\" | sed 's,^[^=]*=,,'`";; - -f*) - pkgs_fn="`printf '%s\n' \"$1\" | cut -b3-`";; - - -i|--fields) - fields="-f '$2'" - shift;; - --fields=*) - fields="-f '`echo $1 | cut -f2 -d=`'";; - -i*) - fields="-f '`printf '%s\n' \"$1\" | cut -b 3-`'";; - - --) - shift - break;; - -*) - echo "Bad option $1" 1>&2 - exit 1;; - *) - break - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + '=f file' pkgs_fn= \ + '=i fields' fields= \ + -- "$@" +} +cmds=`process_args "$@"` +eval "$cmds" if test $# -ne 1; then usage diff --git a/pkg_summary-utils/files/pkg_update_summary.in b/pkg_summary-utils/files/pkg_update_summary.in index ff72eb4a6a..2ea706f51c 100755 --- a/pkg_summary-utils/files/pkg_update_summary.in +++ b/pkg_summary-utils/files/pkg_update_summary.in @@ -38,24 +38,14 @@ EOF } refresh=cat -while test $# -ne 0; do - case "$1" in - -h|--help) - usage - exit 0;; - -r|--refresh) - refresh=pkg_refresh_summary;; - --) - shift - break;; - -*) - echo "Bad option $1" 1>&2 - exit 1;; - *) - break - esac - shift -done +process_args (){ + alt_getopt \ + 'h help' 'usage; exit 0' \ + 'r refresh' 'refresh=pkg_refresh_summary' \ + -- "$@" +} +cmds=`process_args "$@"` +eval "$cmds" PKG_SUFX=${PKG_SUFX:=@PKG_SUFX@} PKG_SUFX_RE="`echo $PKG_SUFX | sed 's,[.],[.],g'`" diff --git a/pkg_summary-utils/files/tests/test.out b/pkg_summary-utils/files/tests/test.out deleted file mode 100644 index 0ad961351a..0000000000 --- a/pkg_summary-utils/files/tests/test.out +++ /dev/null @@ -1,1955 +0,0 @@ --------------------------------------------------- -------- pkg_grep_summary #0 --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGBASE' 'distbb' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'PKGBASE' '^dict' -PKGPATH=textproc/dictem -DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -CONFLICTS=xemacs-dictem-[0-9]* -HOMEPAGE=http://freshmeat.net/projects/dictem/ -COMMENT=Dictionary client (RFC-2229) for [X]Emacs -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc editors -PKGNAME=dictem-0.82 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client -DEPENDS= libltdl>=1.5.10:../../devel/libltdl -BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=pkgsrc-users@NetBSD.org -CATEGORIES=textproc - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client -DEPENDS= libmaa>=1.0:../../devel/libmaa -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - --------------------------------------------------- -------- args: 'pkg_grep_summary' 'PKGNAME' 'fvalue ~ /^d/' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -PKGPATH=textproc/dictem -DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -CONFLICTS=xemacs-dictem-[0-9]* -HOMEPAGE=http://freshmeat.net/projects/dictem/ -COMMENT=Dictionary client (RFC-2229) for [X]Emacs -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc editors -PKGNAME=dictem-0.82 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client -DEPENDS= libltdl>=1.5.10:../../devel/libltdl -BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=pkgsrc-users@NetBSD.org -CATEGORIES=textproc - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client -DEPENDS= libmaa>=1.0:../../devel/libmaa -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'awk' 'PKGNAME' 'fvalue ~ /^d/' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb - -PKGPATH=textproc/dictem -PKGNAME=dictem-0.82 - -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' 'COMMENT' 'tolower(fvalue) ~ /dictionary.*client/' -PKGNAME=dictem-0.82 -PKGNAME=dict-client-1.9.15nb2 -PKGNAME=dict-client-1.10.11nb2 --------------------------------------------------- -------- args: 'pkg_grep_summary' '-e' 'EXFIELD' -PKGNAME=dictem-0.82 -PKGNAME=pkg_online-0.5.0nb2 -PKGNAME=dict-server-1.10.11nb2 -PKGNAME=pkg_online-server-0.5.0 -PKGNAME=dict-client-1.9.15nb2 -PKGNAME=pkg_online-client-0.5.0 -PKGNAME=libmaa-1.0.1nb1 -PKGNAME=gmake-3.81 -PKGNAME=paexec-0.10.0nb1 -PKGNAME=libtool-base-1.5.24nb6 -PKGNAME=runawk-0.14.3 -PKGNAME=emacs-22.1nb6 -PKGNAME=pkg_summary-utils-0.18.1 -PKGNAME=libungif-4.1.4nb1 -PKGNAME=tiff-3.8.2nb4 -PKGNAME=x11-links-0.38 -PKGNAME=perl-5.8.8nb8 -PKGNAME=libltdl-1.5.24 -PKGNAME=dict-client-1.10.11nb2 -PKGNAME=pipestatus-0.4.0 -PKGNAME=awk-pkgsrc-dewey-0.5.6 -PKGNAME=png-1.2.32beta01 -PKGNAME=netcat-1.10nb2 -PKGNAME=pkg-config-0.23 -PKGNAME=jpeg-6bnb4 -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -PKGNAME=ap2-vhost-ldap-1.2.0nb1 --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'empty' 'EXFIELD' '' -PKGNAME=dictem-0.82 -PKGNAME=pkg_online-0.5.0nb2 -PKGNAME=dict-server-1.10.11nb2 -PKGNAME=pkg_online-server-0.5.0 -PKGNAME=dict-client-1.9.15nb2 -PKGNAME=pkg_online-client-0.5.0 -PKGNAME=libmaa-1.0.1nb1 -PKGNAME=gmake-3.81 -PKGNAME=paexec-0.10.0nb1 -PKGNAME=libtool-base-1.5.24nb6 -PKGNAME=runawk-0.14.3 -PKGNAME=emacs-22.1nb6 -PKGNAME=pkg_summary-utils-0.18.1 -PKGNAME=libungif-4.1.4nb1 -PKGNAME=tiff-3.8.2nb4 -PKGNAME=x11-links-0.38 -PKGNAME=perl-5.8.8nb8 -PKGNAME=libltdl-1.5.24 -PKGNAME=dict-client-1.10.11nb2 -PKGNAME=pipestatus-0.4.0 -PKGNAME=awk-pkgsrc-dewey-0.5.6 -PKGNAME=png-1.2.32beta01 -PKGNAME=netcat-1.10nb2 -PKGNAME=pkg-config-0.23 -PKGNAME=jpeg-6bnb4 -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -------- args: 'pkg_grep_summary' '-m' 'MAINTAINER' 'cheusov|vle@gmx.net' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by - -PKGPATH=textproc/dictem -COMMENT=Dictionary client (RFC-2229) for [X]Emacs -MAINTAINER=cheusov@tut.by -PKGNAME=dictem-0.82 - -COMMENT=Client/Server search in pkgsrc packages -MAINTAINER=cheusov@tut.by -PKGNAME=pkg_online-0.5.0nb2 -PKGPATH=wip/pkg_online - -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by - -PKGNAME=pkg_online-server-0.5.0 -PKGPATH=wip/pkg_online-server -COMMENT=Client/Server search in pkgsrc packages (server tools) -MAINTAINER=cheusov@tut.by - -PKGNAME=pkg_online-client-0.5.0 -PKGPATH=wip/pkg_online-client -COMMENT=Client/Server search in pkgsrc packages (client tools) -MAINTAINER=cheusov@tut.by - -PKGNAME=libmaa-1.0.1nb1 -PKGPATH=devel/libmaa -COMMENT=Provides a few data structures and helpful functions -MAINTAINER=cheusov@tut.by - -PKGNAME=paexec-0.10.0nb1 -PKGPATH=wip/paexec -COMMENT=Parallel executor, distributes tasks over network -MAINTAINER=cheusov@tut.by - -PKGNAME=runawk-0.14.3 -PKGPATH=wip/runawk -COMMENT=Wrapper that impelements modules for AWK -MAINTAINER=cheusov@tut.by - -PKGNAME=pkg_summary-utils-0.18.1 -PKGPATH=wip/pkg_summary-utils -COMMENT=Utilities for manipulating pkg_summary(5) files -MAINTAINER=cheusov@tut.by - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client -COMMENT=Dictionary Service Protocol client -MAINTAINER=cheusov@tut.by - -PKGNAME=pipestatus-0.4.0 -PKGPATH=devel/pipestatus -COMMENT=UNIX/POSIX shell helper for running pipes safely -MAINTAINER=cheusov@tut.by - -PKGNAME=awk-pkgsrc-dewey-0.5.6 -PKGPATH=wip/awk-pkgsrc-dewey -COMMENT=Pkgsrc dewey module for AWK programming language -MAINTAINER=cheusov@tut.by - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGPATH' 'graphics/png' -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGPATHe' 'www/ap22-vhost-ldap:PKG_APACHE=apache22' -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -ASSIGNMENTS=PKG_APACHE=apache22 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2.2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -PKGPATH=www/ap22-vhost-ldap -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGPATHe' 'www/ap2-vhost-ldap:PKG_APACHE=apache2' -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGPATH' 'www/ap22-vhost-ldap' -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -ASSIGNMENTS=PKG_APACHE=apache22 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2.2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -PKGPATH=www/ap22-vhost-ldap -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PKGPATH' 'www/ap2-vhost-ldap' -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-S' 'PKGPATH' 'pkgs.txt' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-S' 'PKGPATHe' 'pkgs.txt' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'strfile' 'PKGPATH' 'pkgs.txt' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 -HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html -COMMENT=Apache 2 module LDAP Virtual Hosts support -MAINTAINER=imil@gcu.info -CATEGORIES=www databases - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'strfile' 'PKGPATHe' 'pkgs.txt' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server -DEPENDS= libmaa>=1.2:../../devel/libmaa -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol server -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'strlist' 'PKGPATH' 'graphics/png wip/distbb' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb -DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ -COMMENT=DISTributed Bulk Build tool for pkgsrc -MAINTAINER=cheusov@tut.by -CATEGORIES=pkgtools -EXFIELD=XVALUE1 - -PKGNAME=png-1.2.32beta01 -PKGPATH=graphics/png -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.libpng.org/pub/png/ -COMMENT=Library for manipulating PNG images -MAINTAINER=wiz@NetBSD.org -CATEGORIES=graphics - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'substring' 'PKGNAME' 'dict' -PKGPATH=textproc/dictem -PKGNAME=dictem-0.82 - -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'substring' 'PKGNAME' 'distcc' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'substring' 'DEPENDS' 'pkg_online-server' -PKGNAME=pkg_online-0.5.0nb2 -PKGPATH=wip/pkg_online - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'first' 'PKGNAME' 'dict' -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'first' 'PKGNAME' 'dic' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'last' 'PKGBASE' 'client' -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=pkg_online-client-0.5.0 -PKGPATH=wip/pkg_online-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'last' 'PKGBASE' 'lient' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'exact' 'PKGBASE' 'dictem' -PKGPATH=textproc/dictem -PKGNAME=dictem-0.82 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'exact' 'PKGBASE' 'dict' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'prefix' 'PKGBASE' 'awk' -PKGNAME=awk-pkgsrc-dewey-0.5.6 -PKGPATH=wip/awk-pkgsrc-dewey - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'prefix' 'PKGBASE' 'ruby' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'suffix' 'PKGBASE' 'ldap' -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap22-vhost-ldap - -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'suffix' 'PKGBASE' 'nis' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'dict' -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'dic' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'ldap' -PKGNAME=ap22-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap22-vhost-ldap - -PKGNAME=ap2-vhost-ldap-1.2.0nb1 -PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'dap' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'nis' --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 'word' 'PKGBASE' 'dictem' -PKGPATH=textproc/dictem -PKGNAME=dictem-0.82 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-t' 're' 'PKGBASE' 'd.*t' -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb - -PKGPATH=textproc/dictem -PKGNAME=dictem-0.82 - -PKGNAME=dict-server-1.10.11nb2 -PKGPATH=wip/dict-server - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-i' '-s' 'MAINTAINER' 'rillig@netbsd.org' -PKGNAME=checkperms-1.10 -PKGPATH=sysutils/checkperms - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-s' 'PLIST' 'file2' -PKGNAME=foo -PKGPATH=pkgtools/foo -PLIST=file1 -PLIST=file2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'CONFLICTS' 'package2' -PKGNAME=foobar -PKGPATH=pkgtools/foobar -CONFLICTS=package1 -CONFLICTS=package2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'DEPENDS' 'depends2' -PKGNAME=barbaz -PKGPATH=pkgtools/barbaz -DEPENDS=depends1 -DEPENDS=depends2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'PROVIDES' 'provides2' -PKGNAME=bazzzz -PKGPATH=pkgtools/bazzzz -PROVIDES=provides1 -PROVIDES=provides2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'REQUIRES' 'requires2' -PKGNAME=baz -PKGPATH=pkgtools/baz -REQUIRES=requires1 -REQUIRES=requires2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-m' 'DESCRIPTION' 'descr2' -PKGNAME=bar -PKGPATH=pkgtools/bar -DESCRIPTION=descr1 -DESCRIPTION=descr2 - --------------------------------------------------- -------- args: 'pkg_grep_summary' '.' 'fields ["MAINTAINER"] ~ /cheusov/ && fields ["PKGPATH"] !~ /^wip/' -PKGPATH=textproc/dictem -MAINTAINER=cheusov@tut.by -PKGNAME=dictem-0.82 - -PKGNAME=libmaa-1.0.1nb1 -PKGPATH=devel/libmaa -MAINTAINER=cheusov@tut.by - -PKGNAME=pipestatus-0.4.0 -PKGPATH=devel/pipestatus -MAINTAINER=cheusov@tut.by - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-i' '-t' 'kw' 'COMMENT' 'dictionary client' -PKGPATH=textproc/dictem -DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -CONFLICTS=xemacs-dictem-[0-9]* -HOMEPAGE=http://freshmeat.net/projects/dictem/ -COMMENT=Dictionary client (RFC-2229) for [X]Emacs -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc editors -PKGNAME=dictem-0.82 - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client -DEPENDS= libltdl>=1.5.10:../../devel/libltdl -BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=pkgsrc-users@NetBSD.org -CATEGORIES=textproc - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client -DEPENDS= libmaa>=1.0:../../devel/libmaa -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-i' '-t' 'keywords' 'COMMENT' 'dictionary client' -PKGPATH=textproc/dictem -DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs -BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms -CONFLICTS=xemacs-dictem-[0-9]* -HOMEPAGE=http://freshmeat.net/projects/dictem/ -COMMENT=Dictionary client (RFC-2229) for [X]Emacs -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc editors -PKGNAME=dictem-0.82 - -PKGNAME=dict-client-1.9.15nb2 -PKGPATH=textproc/dict-client -DEPENDS= libltdl>=1.5.10:../../devel/libltdl -BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=pkgsrc-users@NetBSD.org -CATEGORIES=textproc - -PKGNAME=dict-client-1.10.11nb2 -PKGPATH=wip/dict-client -DEPENDS= libmaa>=1.0:../../devel/libmaa -BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms -HOMEPAGE=http://www.dict.org/ -COMMENT=Dictionary Service Protocol client -MAINTAINER=cheusov@tut.by -CATEGORIES=textproc - --------------------------------------------------- -------- args: 'pkg_grep_summary' '-T' -exact prefix suffix substring word first last re strfile strlist awk empty kw --------------------------------------------------- -------- pkg_cmp_summary #1.1 -- ap2-vhost-ldap 1.2.0nb1 -- ap22-vhost-ldap 1.2.0nb1 -= awk-pkgsrc-dewey 0.5.6 0.5.6 -= checkperms 1.10 1.10 -2 dict-client -< dict-server 1.10.11nb2 1.11.0 -= dictem 0.82 0.82 -+ digest 99.99.99 -= distbb 0.22.0 0.22.0 -= emacs 22.1nb6 22.1nb6 -= gmake 3.81 3.81 -= jpeg 6bnb4 6bnb4 -= libltdl 1.5.24 1.5.24 -= libmaa 1.0.1nb1 1.0.1nb1 -= libtool-base 1.5.24nb6 1.5.24nb6 -= libungif 4.1.4nb1 4.1.4nb1 -- netcat 1.10nb2 -= paexec 0.10.0nb1 0.10.0nb1 -= perl 5.8.8nb8 5.8.8nb8 -< pipestatus 0.4.0 0.5.0 -= pkg-config 0.23 0.23 -= pkg_online 0.5.0nb2 0.5.0nb2 -= pkg_online-client 0.5.0 0.5.0 -= pkg_online-server 0.5.0 0.5.0 -= pkg_summary-utils 0.18.1 0.18.1 -= png 1.2.32beta01 1.2.32beta01 -> runawk 0.14.3 0.13.0 -= tiff 3.8.2nb4 3.8.2nb4 -- x11-links 0.38 --------------------------------------------------- -------- pkg_cmp_summary #1.2.1 -= devel/gmake gmake 3.81 3.81 -= devel/libltdl libltdl 1.5.24 1.5.24 -= devel/libmaa libmaa 1.0.1nb1 1.0.1nb1 -= devel/libtool-base libtool-base 1.5.24nb6 1.5.24nb6 -< devel/pipestatus pipestatus 0.4.0 0.5.0 -= devel/pkg-config pkg-config 0.23 0.23 -= editors/emacs emacs 22.1nb6 22.1nb6 -= graphics/jpeg jpeg 6bnb4 6bnb4 -= graphics/libungif libungif 4.1.4nb1 4.1.4nb1 -= graphics/png png 1.2.32beta01 1.2.32beta01 -= graphics/tiff tiff 3.8.2nb4 3.8.2nb4 -= lang/perl5 perl 5.8.8nb8 5.8.8nb8 -- net/netcat netcat 1.10nb2 -+ pkgtools/digest digest 99.99.99 -- pkgtools/x11-links x11-links 0.38 -= sysutils/checkperms checkperms 1.10 1.10 -= textproc/dict-client dict-client 1.9.15nb2 1.9.15nb2 -= textproc/dictem dictem 0.82 0.82 -= wip/awk-pkgsrc-dewey awk-pkgsrc-dewey 0.5.6 0.5.6 -= wip/dict-client dict-client 1.10.11nb2 1.10.11nb2 -< wip/dict-server dict-server 1.10.11nb2 1.11.0 -= wip/distbb distbb 0.22.0 0.22.0 -= wip/paexec paexec 0.10.0nb1 0.10.0nb1 -= wip/pkg_online pkg_online 0.5.0nb2 0.5.0nb2 -= wip/pkg_online-client pkg_online-client 0.5.0 0.5.0 -= wip/pkg_online-server pkg_online-server 0.5.0 0.5.0 -= wip/pkg_summary-utils pkg_summary-utils 0.18.1 0.18.1 -> wip/runawk runawk 0.14.3 0.13.0 -- www/ap2-vhost-ldap:PKG_APACHE=apache2 ap2-vhost-ldap 1.2.0nb1 -- www/ap22-vhost-ldap ap22-vhost-ldap 1.2.0nb1 --------------------------------------------------- -------- pkg_cmp_summary #1.2.2 -= devel/gmake gmake 3.81 3.81 -= devel/libltdl libltdl 1.5.24 1.5.24 -= devel/libmaa libmaa 1.0.1nb1 1.0.1nb1 -= devel/libtool-base libtool-base 1.5.24nb6 1.5.24nb6 -< devel/pipestatus pipestatus 0.4.0 0.5.0 -= devel/pkg-config pkg-config 0.23 0.23 -= editors/emacs emacs 22.1nb6 22.1nb6 -= graphics/jpeg jpeg 6bnb4 6bnb4 -= graphics/libungif libungif 4.1.4nb1 4.1.4nb1 -= graphics/png png 1.2.32beta01 1.2.32beta01 -= graphics/tiff tiff 3.8.2nb4 3.8.2nb4 -= lang/perl5 perl 5.8.8nb8 5.8.8nb8 -- net/netcat netcat 1.10nb2 -+ pkgtools/digest digest 99.99.99 -- pkgtools/x11-links x11-links 0.38 -= sysutils/checkperms checkperms 1.10 1.10 -= textproc/dict-client dict-client 1.9.15nb2 1.9.15nb2 -= textproc/dictem dictem 0.82 0.82 -= wip/awk-pkgsrc-dewey awk-pkgsrc-dewey 0.5.6 0.5.6 -= wip/dict-client dict-client 1.10.11nb2 1.10.11nb2 -< wip/dict-server dict-server 1.10.11nb2 1.11.0 -= wip/distbb distbb 0.22.0 0.22.0 -= wip/paexec paexec 0.10.0nb1 0.10.0nb1 -= wip/pkg_online pkg_online 0.5.0nb2 0.5.0nb2 -= wip/pkg_online-client pkg_online-client 0.5.0 0.5.0 -= wip/pkg_online-server pkg_online-server 0.5.0 0.5.0 -= wip/pkg_summary-utils pkg_summary-utils 0.18.1 0.18.1 -> wip/runawk runawk 0.14.3 0.13.0 -- www/ap2-vhost-ldap:PKG_APACHE=apache2 ap2-vhost-ldap 1.2.0nb1 -- www/ap22-vhost-ldap ap22-vhost-ldap 1.2.0nb1 --------------------------------------------------- -------- pkg_cmp_summary #1.3 -= dictem 1.0.0 1.0.0 --------------------------------------------------- -------- pkg_cmp_summary #1.4 -- textproc/dictem dictem 1.0.0 -+ wip/dictem dictem 1.0.0 --------------------------------------------------- -------- pkg_cmp_summary #1.5.1 -! dictem 1.0.0 1.0.0 --------------------------------------------------- -------- pkg_cmp_summary #1.5.2 -! dictem 1.0.0 1.0.0 --------------------------------------------------- -------- pkg_cmp_summary #1.6 -! textproc/dictem dictem 1.0.0 1.0.0 --------------------------------------------------- -------- pkg_cmp_summary #1.7 -= devel/gmake -= devel/libltdl -= devel/libmaa -= devel/libtool-base -= devel/pipestatus -= devel/pkg-config -= editors/emacs -= graphics/jpeg -= graphics/libungif -= graphics/png -= graphics/tiff -= lang/perl5 -- net/netcat -+ pkgtools/digest -- pkgtools/x11-links -= sysutils/checkperms -= textproc/dict-client -= textproc/dictem -= wip/awk-pkgsrc-dewey -= wip/dict-client -= wip/dict-server -= wip/distbb -= wip/paexec -= wip/pkg_online -= wip/pkg_online-client -= wip/pkg_online-server -= wip/pkg_summary-utils -= wip/runawk -- www/ap2-vhost-ldap:PKG_APACHE=apache2 -- www/ap22-vhost-ldap --------------------------------------------------- -------- pkg_list_all_pkgs #3 -XXXX --------------------------------------------------- -------- pkg_micro_src_summary #4 -PKGNAME=distbb-X -PKGPATH=wip/distbb - -PKGNAME=checkperms-X -PKGPATH=sysutils/checkperms - -PKGNAME=dict-client-X -PKGPATH=textproc/dict-client - -PKGNAME=libmaa-X -PKGPATH=devel/libmaa - -PKGNAME=gmake-X -PKGPATH=devel/gmake - -PKGNAME=paexec-X -PKGPATH=wip/paexec - -PKGNAME=libtool-base-X -PKGPATH=devel/libtool-base - -PKGNAME=runawk-X -PKGPATH=wip/runawk - -PKGNAME=emacs-X -PKGPATH=editors/emacs - -PKGNAME=pkg_summary-utils-X -PKGPATH=wip/pkg_summary-utils - -PKGNAME=libungif-X -PKGPATH=graphics/libungif - -PKGNAME=tiff-X -PKGPATH=graphics/tiff - -PKGNAME=x11-links-X -PKGPATH=pkgtools/x11-links - -PKGNAME=perl-X -PKGPATH=lang/perl5 - -PKGNAME=libltdl-X -PKGPATH=devel/libltdl - -PKGNAME=pipestatus-X -PKGPATH=devel/pipestatus - -PKGNAME=awk-pkgsrc-dewey-X -PKGPATH=wip/awk-pkgsrc-dewey - -PKGNAME=png-X -PKGPATH=graphics/png - -PKGNAME=netcat-X -PKGPATH=net/netcat - -PKGNAME=pkg-config-X -PKGPATH=devel/pkg-config - -PKGNAME=jpeg-X -PKGPATH=graphics/jpeg - -PKGNAME=dictem-X -PKGPATH=textproc/dictem - -PKGNAME=pkg_online-server-X -PKGPATH=wip/pkg_online-server - -PKGNAME=pkg_online-client-X -PKGPATH=wip/pkg_online-client - -PKGNAME=ap22-vhost-ldap-X -PKGPATH=www/ap22-vhost-ldap - --------------------------------------------------- -------- pkg_refresh_summary #5.1 -ap22-vhost-ldap-1.2.0nb1 -awk-pkgsrc-dewey-0.5.6 -checkperms-1.10 -dict-client-1.10.11nb2 -dict-client-1.9.15nb2 -dict-server-1.11.0 -dictem-0.82 -digest-99.99.99 -distbb-0.22.0 -emacs-22.1nb6 -gmake-3.81 -jpeg-6bnb4 -libltdl-1.5.24 -libmaa-1.0.1nb1 -libtool-base-1.5.24nb6 -libungif-4.1.4nb1 -netcat-1.10nb2 -paexec-0.10.0nb1 -perl-5.8.8nb8 -pipestatus-0.5.0 -pkg-config-0.23 -pkg_online-0.5.0nb2 -pkg_online-client-0.5.0 -pkg_online-server-0.5.0 -pkg_summary-utils-0.18.1 -png-1.2.32beta01 -runawk-0.14.3 -tiff-3.8.2nb4 -x11-links-0.38 --------------------------------------------------- -------- pkg_refresh_summary #5.2 -ap2-vhost-ldap-1.2.0nb1 -dict-server-1.10.11nb2 -pipestatus-0.4.0 -runawk-0.13.0 --------------------------------------------------- -------- pkg_src_summary #6 -PKGNAME=distbb-X -PKGPATH=wip/distbb - -PKGNAME=dictem-X -PKGPATH=textproc/dictem - -PKGNAME=checkperms-X -PKGPATH=sysutils/checkperms - -PKGNAME=pkg_online-server-X -PKGPATH=wip/pkg_online-server - -PKGNAME=dict-client-X -PKGPATH=textproc/dict-client - -PKGNAME=pkg_online-client-X -PKGPATH=wip/pkg_online-client - -PKGNAME=libmaa-X -PKGPATH=devel/libmaa - -PKGNAME=gmake-X -PKGPATH=devel/gmake - -PKGNAME=paexec-X -PKGPATH=wip/paexec - -PKGNAME=libtool-base-X -PKGPATH=devel/libtool-base - -PKGNAME=runawk-X -PKGPATH=wip/runawk - -PKGNAME=emacs-X -PKGPATH=editors/emacs - -PKGNAME=pkg_summary-utils-X -PKGPATH=wip/pkg_summary-utils - -PKGNAME=libungif-X -PKGPATH=graphics/libungif - -PKGNAME=tiff-X -PKGPATH=graphics/tiff - -PKGNAME=x11-links-X -PKGPATH=pkgtools/x11-links - -PKGNAME=perl-X -PKGPATH=lang/perl5 - -PKGNAME=libltdl-X -PKGPATH=devel/libltdl - -PKGNAME=pipestatus-X -PKGPATH=devel/pipestatus - -PKGNAME=awk-pkgsrc-dewey-X -PKGPATH=wip/awk-pkgsrc-dewey - -PKGNAME=png-X -PKGPATH=graphics/png - -PKGNAME=netcat-X -PKGPATH=net/netcat - -PKGNAME=pkg-config-X -PKGPATH=devel/pkg-config - -PKGNAME=jpeg-X -PKGPATH=graphics/jpeg - -PKGNAME=ap22-vhost-ldap-X -PKGPATH=www/ap22-vhost-ldap - --------------------------------------------------- -------- pkg_cmp_summary #7 --------------------------------------------------- -------- pkg_summary4view #8 ------------------------------------------------------------ -PKGNAME: pkg_summary-utils-0.18.1 -PKGPATH: wip/pkg_summary-utils -DEPENDS: runawk>=0.12.1:../../wip/runawk - awk-pkgsrc-dewey>=0.5.6:../../wip/awk-pkgsrc-dewey - pipestatus-[0-9]*:../../devel/pipestatus -BUILD_DEPENDS: checkperms>=1.1:../../sysutils/checkperms -CONFLICTS: paexec<0.9.0 - pkg_src_summary-[0-9]* - pkg_cmp_summary-[0-9]* - pkg_src_update_summary-[0-9]* - pkg_update_summary-[0-9]* - pkg_summary4view-[0-9]* -HOMEPAGE: http://www.mova.org/~cheusov/pub/pkg_summary-utils/ -COMMENT: Utilities for manipulating pkg_summary(5) files -MAINTAINER: cheusov@tut.by -CATEGORIES: pkgtools - --------------------------------------------------- -------- pkg_summary4view #8.1 -ok -ok --------------------------------------------------- -------- pkg_uniq_summary #9 -ASSIGNMENTS=OPT1=1,OPT2=2 -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb - -PKGNAME=distbb-0.22.0 -PKGPATH=wip/distbb:OPT=1,OPT2=3 - --------------------------------------------------- -------- pkg_uniq_summary #9.1 -ok1 -ok2 --------------------------------------------------- -------- pkg_src_summary #10.1 -ASSIGNMENTS=PKG_APACHE=apache2 -PKGNAME=ap2-py26-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=25 -PKGNAME=ap2-py25-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=24 -PKGNAME=ap2-py24-python-3.3.1 -PKGPATH=www/ap2-python - -PKGNAME=ap22-py26-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=ap22-py25-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PYTHON_VERSION_REQD=24 -PKGNAME=ap22-py24-python-3.3.1 -PKGPATH=www/ap2-python - --------------------------------------------------- -------- pkg_src_summary #10.2 -PKGNAME=ap22-py26-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=ap22-py25-python-3.3.1 -PKGPATH=www/ap2-python - -ASSIGNMENTS=PYTHON_VERSION_REQD=24 -PKGNAME=ap22-py24-python-3.3.1 -PKGPATH=www/ap2-python - --------------------------------------------------- -------- pkg_src_summary #10.3 -ASSIGNMENTS=PKG_APACHE=apache2 -PKGNAME=ap2-py26-python-3.3.1 -PKGPATH=www/ap2-python - -PKGNAME=ap22-py26-python-3.3.1 -PKGPATH=www/ap2-python - --------------------------------------------------- -------- pkg_src_summary #10.4 -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=ap22-py25-python-3.3.1 -PKGPATH=www/ap2-python - --------------------------------------------------- -------- pkg_src_summary #11.0 -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=py25-cairo-X -PKGPATH=graphics/py-cairo -FAKED_PKGPATH= lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 - -PKGNAME=cairo-X -PKGPATH=graphics/cairo -FAKED_PKGPATH= - -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=py25-Numeric-X -PKGPATH=math/py-Numeric -FAKED_PKGPATH= lang/python25 lang/python25 - -PKGNAME=python25-X -PKGPATH=lang/python25 -FAKED_PKGPATH= - --------------------------------------------------- -------- pkg_src_summary #11.1 -PKGNAME=py26-cairo-X -PKGPATH=graphics/py-cairo -FAKED_PKGPATH= lang/python26 math/py-Numeric math/py-Numeric - -PKGNAME=py26-Numeric-X -PKGPATH=math/py-Numeric -FAKED_PKGPATH= lang/python26 - -PKGNAME=cairo-X -PKGPATH=graphics/cairo -FAKED_PKGPATH= - -PKGNAME=python26-X -PKGPATH=lang/python26 -FAKED_PKGPATH= - --------------------------------------------------- -------- pkg_src_summary #11.2 -PKGNAME=py26-cairo-X -PKGPATH=graphics/py-cairo -FAKED_PKGPATH= lang/python26 math/py-Numeric math/py-Numeric - -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=py25-cairo-X -PKGPATH=graphics/py-cairo -FAKED_PKGPATH= lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 - -PKGNAME=cairo-X -PKGPATH=graphics/cairo -FAKED_PKGPATH= - -ASSIGNMENTS=PYTHON_VERSION_REQD=25 -PKGNAME=py25-Numeric-X -PKGPATH=math/py-Numeric -FAKED_PKGPATH= lang/python25 lang/python25 - -PKGNAME=py26-Numeric-X -PKGPATH=math/py-Numeric -FAKED_PKGPATH= lang/python26 - -PKGNAME=python25-X -PKGPATH=lang/python25 -FAKED_PKGPATH= - -PKGNAME=python26-X -PKGPATH=lang/python26 -FAKED_PKGPATH= - --------------------------------------------------- -------- pkg_assignments2pkgpath #12 -ok1 -ok2 --------------------------------------------------- -------- pkg_src_fetch_var #13.1 -+ xxkb-1.11 x11/xxkb vle@gmx.net --------------------------------------------------- -------- pkg_src_fetch_var #13.2 -+ xxkb-1.11 x11/xxkb vle@gmx.net --------------------------------------------------- -------- pkg_src_fetch_var #13.3 -+ xxkb-1.11 x11/xxkb vle@gmx.net --------------------------------------------------- -------- pkg_src_fetch_var #13.4 -+ xxkb-1.11 x11/xxkb vle@gmx.net --------------------------------------------------- -------- pkg_micro_src_summary #14.1 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_micro_src_summary #14.2 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_micro_src_summary #14.3 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_micro_src_summary #14.4 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_src_summary #15.1 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_src_summary #15.2 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_src_summary #15.3 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_src_summary #15.4 -PKGNAME=xxkb-X -PKGPATH=x11/xxkb -MAINTAINER=vle@gmx.net - --------------------------------------------------- -------- pkg_src_summary #16.1 -PKGNAME=xxkb-X -COMMENT=XXKB - switches and indicates a current keyboard layout - --------------------------------------------------- -------- pkg_src_summary #16.2 -PKGNAME=xxkb-X -COMMENT=XXKB - switches and indicates a current keyboard layout - --------------------------------------------------- -------- pkg_src_summary #16.3 -PKGNAME=xxkb-X -COMMENT=XXKB - switches and indicates a current keyboard layout - --------------------------------------------------- -------- pkg_src_summary #16.4 -PKGNAME=xxkb-X -COMMENT=XXKB - switches and indicates a current keyboard layout - --------------------------------------------------- -------- pkg_summary2build_graph #17.1 -devel/gmake devel/libmaa -devel/gmake editors/emacs -devel/gmake textproc/dict-client -devel/gmake wip/dict-client -devel/gmake wip/dict-server -devel/libltdl textproc/dict-client -devel/libmaa wip/dict-client -devel/libmaa wip/dict-server -devel/libmaa wip/paexec -devel/libtool-base devel/libltdl -devel/libtool-base devel/libmaa -devel/libtool-base devel/pkg-config -devel/libtool-base graphics/jpeg -devel/libtool-base graphics/libungif -devel/libtool-base graphics/png -devel/libtool-base graphics/tiff -devel/libtool-base wip/dict-client -devel/libtool-base wip/dict-server -devel/pipestatus wip/pkg_online-client -devel/pipestatus wip/pkg_online-server -devel/pipestatus wip/pkg_summary-utils -devel/pkg-config editors/emacs -editors/emacs textproc/dictem -graphics/jpeg editors/emacs -graphics/jpeg graphics/tiff -graphics/libungif editors/emacs -graphics/png editors/emacs -graphics/tiff editors/emacs -lang/perl5 editors/emacs -lang/perl5 graphics/libungif -net/netcat wip/pkg_online-client -pkgtools/x11-links editors/emacs -sysutils/checkperms devel/gmake -sysutils/checkperms devel/libltdl -sysutils/checkperms devel/libmaa -sysutils/checkperms devel/libtool-base -sysutils/checkperms devel/pipestatus -sysutils/checkperms devel/pkg-config -sysutils/checkperms editors/emacs -sysutils/checkperms graphics/jpeg -sysutils/checkperms graphics/libungif -sysutils/checkperms graphics/png -sysutils/checkperms graphics/tiff -sysutils/checkperms lang/perl5 -sysutils/checkperms net/netcat -sysutils/checkperms pkgtools/x11-links -sysutils/checkperms textproc/dict-client -sysutils/checkperms textproc/dictem -sysutils/checkperms wip/awk-pkgsrc-dewey -sysutils/checkperms wip/dict-client -sysutils/checkperms wip/dict-server -sysutils/checkperms wip/distbb -sysutils/checkperms wip/paexec -sysutils/checkperms wip/pkg_online -sysutils/checkperms wip/pkg_online-client -sysutils/checkperms wip/pkg_online-server -sysutils/checkperms wip/pkg_summary-utils -sysutils/checkperms wip/runawk -textproc/dict-client textproc/dictem -wip/awk-pkgsrc-dewey wip/pkg_summary-utils -wip/dict-client wip/pkg_online-client -wip/dict-server wip/pkg_online-server -wip/paexec wip/distbb -wip/pkg_online-client wip/pkg_online -wip/pkg_online-server wip/pkg_online -wip/pkg_summary-utils wip/distbb -wip/pkg_summary-utils wip/pkg_online-client -wip/pkg_summary-utils wip/pkg_online-server -wip/runawk wip/awk-pkgsrc-dewey -wip/runawk wip/distbb -wip/runawk wip/pkg_summary-utils -www/ap2-vhost-ldap:PKG_APACHE=apache2 -www/ap22-vhost-ldap:PKG_APACHE=apache22 --------------------------------------------------- -------- pkg_summary2build_graph #17.2 -devel/gmake -devel/libltdl -devel/libmaa wip/dict-client -devel/libtool-base -devel/pipestatus -devel/pkg-config -editors/emacs -graphics/jpeg -graphics/libungif -graphics/png -graphics/tiff -lang/perl5 -pkgtools/digest -sysutils/checkperms -textproc/dict-client -textproc/dictem -wip/awk-pkgsrc-dewey -wip/dict-client wip/pkg_online-client -wip/dict-server -wip/distbb -wip/paexec -wip/pkg_online-client wip/pkg_online -wip/pkg_online-server wip/pkg_online -wip/pkg_summary-utils -wip/runawk --------------------------------------------------- -------- pkg_summary2build_graph #17.3 -audio/py-mutagen audio/py-karaoke -audio/py-mutagen:PYTHON_VERSION_REQD=24 audio/py-karaoke:PYTHON_VERSION_REQD=24 -audio/py-mutagen:PYTHON_VERSION_REQD=26 audio/py-karaoke:PYTHON_VERSION_REQD=26 --------------------------------------------------- -------- pkg_summary2build_graph #17.4 -archivers/p5-Archive-Tar devel/p5-Module-Build -devel/p5-Algorithm-Diff textproc/p5-Text-Diff -devel/p5-Compress-Raw-Bzip2 devel/p5-IO-Compress -devel/p5-Compress-Raw-Zlib devel/p5-IO-Compress -devel/p5-ExtUtils-CBuilder devel/p5-Module-Build -devel/p5-ExtUtils-ParseXS devel/p5-Module-Build -devel/p5-IO-Compress archivers/p5-Archive-Tar -devel/p5-IO-Compress devel/p5-IO-Zlib -devel/p5-IO-String archivers/p5-Archive-Tar -devel/p5-IO-Zlib archivers/p5-Archive-Tar -devel/p5-version devel/p5-Module-Build -lang/perl5 archivers/p5-Archive-Tar -lang/perl5 devel/p5-Algorithm-Diff -lang/perl5 devel/p5-Compress-Raw-Bzip2 -lang/perl5 devel/p5-Compress-Raw-Zlib -lang/perl5 devel/p5-ExtUtils-CBuilder -lang/perl5 devel/p5-ExtUtils-ParseXS -lang/perl5 devel/p5-IO-Compress -lang/perl5 devel/p5-IO-String -lang/perl5 devel/p5-IO-Zlib -lang/perl5 devel/p5-Module-Build -lang/perl5 devel/p5-version -lang/perl5 textproc/p5-Filter -lang/perl5 textproc/p5-Pod-Readme -lang/perl5 textproc/p5-Regexp-Common -lang/perl5 textproc/p5-Text-Diff -lang/perl5 textproc/p5-YAML -sysutils/checkperms archivers/p5-Archive-Tar -sysutils/checkperms devel/p5-Algorithm-Diff -sysutils/checkperms devel/p5-Compress-Raw-Bzip2 -sysutils/checkperms devel/p5-Compress-Raw-Zlib -sysutils/checkperms devel/p5-ExtUtils-CBuilder -sysutils/checkperms devel/p5-ExtUtils-ParseXS -sysutils/checkperms devel/p5-IO-Compress -sysutils/checkperms devel/p5-IO-String -sysutils/checkperms devel/p5-IO-Zlib -sysutils/checkperms devel/p5-Module-Build -sysutils/checkperms devel/p5-version -sysutils/checkperms lang/perl5 -sysutils/checkperms textproc/p5-Filter -sysutils/checkperms textproc/p5-Pod-Readme -sysutils/checkperms textproc/p5-Regexp-Common -sysutils/checkperms textproc/p5-Text-Diff -sysutils/checkperms textproc/p5-YAML -textproc/p5-Filter textproc/p5-YAML -textproc/p5-Pod-Readme devel/p5-Module-Build -textproc/p5-Regexp-Common textproc/p5-Pod-Readme -textproc/p5-Text-Diff archivers/p5-Archive-Tar -textproc/p5-YAML devel/p5-Module-Build --------------------------------------------------- -------- pkg_summary2deps #18.1 -devel/gmake;gmake devel/libmaa;libmaa -devel/gmake;gmake editors/emacs;emacs -devel/gmake;gmake textproc/dict-client;dict-client -devel/gmake;gmake wip/dict-client;dict-client -devel/gmake;gmake wip/dict-server;dict-server -devel/libltdl;libltdl textproc/dict-client;dict-client -devel/libmaa;libmaa wip/dict-client;dict-client -devel/libmaa;libmaa wip/dict-server;dict-server -devel/libmaa;libmaa wip/paexec;paexec -devel/libtool-base;libtool-base devel/libltdl;libltdl -devel/libtool-base;libtool-base devel/libmaa;libmaa -devel/libtool-base;libtool-base devel/pkg-config;pkg-config -devel/libtool-base;libtool-base graphics/jpeg;jpeg -devel/libtool-base;libtool-base graphics/libungif;libungif -devel/libtool-base;libtool-base graphics/png;png -devel/libtool-base;libtool-base graphics/tiff;tiff -devel/libtool-base;libtool-base wip/dict-client;dict-client -devel/libtool-base;libtool-base wip/dict-server;dict-server -devel/pipestatus;pipestatus wip/pkg_online-client;pkg_online-client -devel/pipestatus;pipestatus wip/pkg_online-server;pkg_online-server -devel/pipestatus;pipestatus wip/pkg_summary-utils;pkg_summary-utils -devel/pkg-config;pkg-config editors/emacs;emacs -editors/emacs;emacs textproc/dictem;dictem -graphics/jpeg;jpeg editors/emacs;emacs -graphics/jpeg;jpeg graphics/tiff;tiff -graphics/libungif;libungif editors/emacs;emacs -graphics/png;png editors/emacs;emacs -graphics/tiff;tiff editors/emacs;emacs -lang/perl5;perl editors/emacs;emacs -lang/perl5;perl graphics/libungif;libungif -net/netcat;netcat wip/pkg_online-client;pkg_online-client -pkgtools/x11-links;x11-links editors/emacs;emacs -sysutils/checkperms;checkperms devel/gmake;gmake -sysutils/checkperms;checkperms devel/libltdl;libltdl -sysutils/checkperms;checkperms devel/libmaa;libmaa -sysutils/checkperms;checkperms devel/libtool-base;libtool-base -sysutils/checkperms;checkperms devel/pipestatus;pipestatus -sysutils/checkperms;checkperms devel/pkg-config;pkg-config -sysutils/checkperms;checkperms editors/emacs;emacs -sysutils/checkperms;checkperms graphics/jpeg;jpeg -sysutils/checkperms;checkperms graphics/libungif;libungif -sysutils/checkperms;checkperms graphics/png;png -sysutils/checkperms;checkperms graphics/tiff;tiff -sysutils/checkperms;checkperms lang/perl5;perl -sysutils/checkperms;checkperms net/netcat;netcat -sysutils/checkperms;checkperms pkgtools/x11-links;x11-links -sysutils/checkperms;checkperms textproc/dict-client;dict-client -sysutils/checkperms;checkperms textproc/dictem;dictem -sysutils/checkperms;checkperms wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey -sysutils/checkperms;checkperms wip/dict-client;dict-client -sysutils/checkperms;checkperms wip/dict-server;dict-server -sysutils/checkperms;checkperms wip/distbb;distbb -sysutils/checkperms;checkperms wip/paexec;paexec -sysutils/checkperms;checkperms wip/pkg_online-client;pkg_online-client -sysutils/checkperms;checkperms wip/pkg_online-server;pkg_online-server -sysutils/checkperms;checkperms wip/pkg_online;pkg_online -sysutils/checkperms;checkperms wip/pkg_summary-utils;pkg_summary-utils -sysutils/checkperms;checkperms wip/runawk;runawk -textproc/dict-client;dict-client textproc/dictem;dictem -wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey wip/pkg_summary-utils;pkg_summary-utils -wip/dict-client;dict-client wip/pkg_online-client;pkg_online-client -wip/dict-server;dict-server wip/pkg_online-server;pkg_online-server -wip/paexec;paexec wip/distbb;distbb -wip/pkg_online-client;pkg_online-client wip/pkg_online;pkg_online -wip/pkg_online-server;pkg_online-server wip/pkg_online;pkg_online -wip/pkg_summary-utils;pkg_summary-utils wip/distbb;distbb -wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-client;pkg_online-client -wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-server;pkg_online-server -wip/runawk;runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey -wip/runawk;runawk wip/distbb;distbb -wip/runawk;runawk wip/pkg_summary-utils;pkg_summary-utils -www/ap2-vhost-ldap:PKG_APACHE=apache2;ap2-vhost-ldap -www/ap22-vhost-ldap:PKG_APACHE=apache22;ap22-vhost-ldap --------------------------------------------------- -------- pkg_summary2deps #18.2 -ap2-vhost-ldap ap2-vhost-ldap -ap22-vhost-ldap ap22-vhost-ldap -awk-pkgsrc-dewey pkg_summary-utils -checkperms checkperms -dict-client dictem -dict-client pkg_online-client -dict-server pkg_online-server -emacs dictem -gmake gmake -jpeg emacs -jpeg tiff -libltdl dict-client -libmaa dict-client -libmaa dict-server -libmaa paexec -libtool-base libtool-base -libungif emacs -netcat pkg_online-client -paexec distbb -perl emacs -perl libungif -pipestatus pkg_online-client -pipestatus pkg_online-server -pipestatus pkg_summary-utils -pkg-config pkg-config -pkg_online-client pkg_online -pkg_online-server pkg_online -pkg_summary-utils distbb -pkg_summary-utils pkg_online-client -pkg_summary-utils pkg_online-server -png emacs -runawk awk-pkgsrc-dewey -runawk distbb -runawk pkg_summary-utils -tiff emacs -x11-links x11-links --------------------------------------------------- -------- pkg_summary2deps #18.3 -audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen audio/py-karaoke:PYTHON_VERSION_REQD=24;py24-karaoke-0.7.1 -audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 -audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen audio/py-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1 -audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen-1.15 -audio/py-mutagen;py25-mutagen audio/py-karaoke;py25-karaoke-0.7.1 -audio/py-mutagen;py25-mutagen-1.15 --------------------------------------------------- -------- pkg_summary2deps #18.4 -lang/perl5 devel/p5-ExtUtils-CBuilder -lang/perl5 devel/p5-ExtUtils-ParseXS -lang/perl5 devel/p5-Module-Build -lang/perl5 devel/p5-version -sysutils/checkperms archivers/p5-Archive-Tar -sysutils/checkperms devel/p5-Algorithm-Diff -sysutils/checkperms devel/p5-Compress-Raw-Bzip2 -sysutils/checkperms devel/p5-Compress-Raw-Zlib -sysutils/checkperms devel/p5-ExtUtils-CBuilder -sysutils/checkperms devel/p5-ExtUtils-ParseXS -sysutils/checkperms devel/p5-IO-Compress -sysutils/checkperms devel/p5-IO-String -sysutils/checkperms devel/p5-IO-Zlib -sysutils/checkperms devel/p5-Module-Build -sysutils/checkperms devel/p5-version -sysutils/checkperms lang/perl5 -sysutils/checkperms textproc/p5-Filter -sysutils/checkperms textproc/p5-Pod-Readme -sysutils/checkperms textproc/p5-Regexp-Common -sysutils/checkperms textproc/p5-Text-Diff -sysutils/checkperms textproc/p5-YAML -textproc/p5-YAML devel/p5-Module-Build --------------------------------------------------- -------- pkg_summary2deps #18.5 -lang/perl5;perl devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 -lang/perl5;perl devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 -lang/perl5;perl devel/p5-Module-Build;p5-Module-Build-0.35000 -lang/perl5;perl devel/p5-version;p5-version-0.7702 -sysutils/checkperms;checkperms archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 -sysutils/checkperms;checkperms devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1 -sysutils/checkperms;checkperms devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021 -sysutils/checkperms;checkperms devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021 -sysutils/checkperms;checkperms devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 -sysutils/checkperms;checkperms devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 -sysutils/checkperms;checkperms devel/p5-IO-Compress;p5-IO-Compress-2.021 -sysutils/checkperms;checkperms devel/p5-IO-String;p5-IO-String-1.08nb1 -sysutils/checkperms;checkperms devel/p5-IO-Zlib;p5-IO-Zlib-1.10 -sysutils/checkperms;checkperms devel/p5-Module-Build;p5-Module-Build-0.35000 -sysutils/checkperms;checkperms devel/p5-version;p5-version-0.7702 -sysutils/checkperms;checkperms lang/perl5;perl-5.10.0nb7 -sysutils/checkperms;checkperms textproc/p5-Filter;p5-Filter-1.37 -sysutils/checkperms;checkperms textproc/p5-Pod-Readme;p5-Pod-Readme-0.09 -sysutils/checkperms;checkperms textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1 -sysutils/checkperms;checkperms textproc/p5-Text-Diff;p5-Text-Diff-1.37 -sysutils/checkperms;checkperms textproc/p5-YAML;p5-YAML-0.70 -sysutils/checkperms;checkperms-1.10 -textproc/p5-YAML;p5-YAML devel/p5-Module-Build;p5-Module-Build-0.35000 --------------------------------------------------- -------- pkg_summary2deps #19.1 -devel/gmake;gmake>=3.81 devel/libmaa;libmaa -devel/gmake;gmake>=3.81 editors/emacs;emacs -devel/gmake;gmake>=3.81 textproc/dict-client;dict-client -devel/gmake;gmake>=3.81 wip/dict-client;dict-client -devel/gmake;gmake>=3.81 wip/dict-server;dict-server -devel/libltdl;libltdl>=1.5.10 textproc/dict-client;dict-client -devel/libmaa;libmaa>=0.990 wip/paexec;paexec -devel/libmaa;libmaa>=1.0 wip/dict-client;dict-client -devel/libmaa;libmaa>=1.2 wip/dict-server;dict-server -devel/libtool-base;libtool-base>=1.5.18nb5 devel/libltdl;libltdl -devel/libtool-base;libtool-base>=1.5.18nb5 devel/libmaa;libmaa -devel/libtool-base;libtool-base>=1.5.18nb5 devel/pkg-config;pkg-config -devel/libtool-base;libtool-base>=1.5.18nb5 graphics/jpeg;jpeg -devel/libtool-base;libtool-base>=1.5.18nb5 graphics/libungif;libungif -devel/libtool-base;libtool-base>=1.5.18nb5 graphics/png;png -devel/libtool-base;libtool-base>=1.5.18nb5 graphics/tiff;tiff -devel/libtool-base;libtool-base>=1.5.18nb5 wip/dict-client;dict-client -devel/libtool-base;libtool-base>=1.5.18nb5 wip/dict-server;dict-server -devel/pipestatus;pipestatus-[0-9]* wip/pkg_online-client;pkg_online-client -devel/pipestatus;pipestatus-[0-9]* wip/pkg_online-server;pkg_online-server -devel/pipestatus;pipestatus-[0-9]* wip/pkg_summary-utils;pkg_summary-utils -devel/pkg-config;pkg-config>=0.19 editors/emacs;emacs -editors/emacs;emacs>=22 textproc/dictem;dictem -graphics/jpeg;jpeg>=6b editors/emacs;emacs -graphics/jpeg;jpeg>=6b graphics/tiff;tiff -graphics/jpeg;jpeg>=6bnb2 editors/emacs;emacs -graphics/jpeg;jpeg>=6bnb2 graphics/tiff;tiff -graphics/libungif;libungif>=4.1.0 editors/emacs;emacs -graphics/libungif;libungif>=4.1.0.1 editors/emacs;emacs -graphics/libungif;libungif>=4.1.3nb1 editors/emacs;emacs -graphics/png;png>=1.2.4 editors/emacs;emacs -graphics/png;png>=1.2.9nb2 editors/emacs;emacs -graphics/tiff;tiff>=3.6.1 editors/emacs;emacs -graphics/tiff;tiff>=3.7.2nb1 editors/emacs;emacs -lang/perl5;perl>=5.0 editors/emacs;emacs -lang/perl5;perl>=5.0 graphics/libungif;libungif -net/netcat;netcat-[0-9]* wip/pkg_online-client;pkg_online-client -pkgtools/x11-links;x11-links>=0.38 editors/emacs;emacs -sysutils/checkperms;checkperms>=1.1 devel/gmake;gmake -sysutils/checkperms;checkperms>=1.1 devel/libltdl;libltdl -sysutils/checkperms;checkperms>=1.1 devel/libmaa;libmaa -sysutils/checkperms;checkperms>=1.1 devel/libtool-base;libtool-base -sysutils/checkperms;checkperms>=1.1 devel/pipestatus;pipestatus -sysutils/checkperms;checkperms>=1.1 devel/pkg-config;pkg-config -sysutils/checkperms;checkperms>=1.1 editors/emacs;emacs -sysutils/checkperms;checkperms>=1.1 graphics/jpeg;jpeg -sysutils/checkperms;checkperms>=1.1 graphics/libungif;libungif -sysutils/checkperms;checkperms>=1.1 graphics/png;png -sysutils/checkperms;checkperms>=1.1 graphics/tiff;tiff -sysutils/checkperms;checkperms>=1.1 lang/perl5;perl -sysutils/checkperms;checkperms>=1.1 net/netcat;netcat -sysutils/checkperms;checkperms>=1.1 pkgtools/x11-links;x11-links -sysutils/checkperms;checkperms>=1.1 textproc/dict-client;dict-client -sysutils/checkperms;checkperms>=1.1 textproc/dictem;dictem -sysutils/checkperms;checkperms>=1.1 wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey -sysutils/checkperms;checkperms>=1.1 wip/dict-client;dict-client -sysutils/checkperms;checkperms>=1.1 wip/dict-server;dict-server -sysutils/checkperms;checkperms>=1.1 wip/distbb;distbb -sysutils/checkperms;checkperms>=1.1 wip/paexec;paexec -sysutils/checkperms;checkperms>=1.1 wip/pkg_online-client;pkg_online-client -sysutils/checkperms;checkperms>=1.1 wip/pkg_online-server;pkg_online-server -sysutils/checkperms;checkperms>=1.1 wip/pkg_online;pkg_online -sysutils/checkperms;checkperms>=1.1 wip/pkg_summary-utils;pkg_summary-utils -sysutils/checkperms;checkperms>=1.1 wip/runawk;runawk -textproc/dict-client;dict-client>=1.9.14 textproc/dictem;dictem -wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey>=0.5.6 wip/pkg_summary-utils;pkg_summary-utils -wip/dict-client;dict-client>=1.10.9 wip/pkg_online-client;pkg_online-client -wip/dict-server;dict-server>=1.10.10nb2 wip/pkg_online-server;pkg_online-server -wip/paexec;paexec>=0.10.0 wip/distbb;distbb -wip/pkg_online-client;pkg_online-client-[0-9]* wip/pkg_online;pkg_online -wip/pkg_online-server;pkg_online-server-[0-9]* wip/pkg_online;pkg_online -wip/pkg_summary-utils;pkg_summary-utils-[0-9]* wip/pkg_online-client;pkg_online-client -wip/pkg_summary-utils;pkg_summary-utils>=0.18.1 wip/distbb;distbb -wip/pkg_summary-utils;pkg_summary-utils>=0.19.0 wip/pkg_online-server;pkg_online-server -wip/runawk;runawk-[0-9]* wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey -wip/runawk;runawk>=0.12.1 wip/pkg_summary-utils;pkg_summary-utils -wip/runawk;runawk>=0.13.0 wip/distbb;distbb -www/ap2-vhost-ldap:PKG_APACHE=apache2;ap2-vhost-ldap -www/ap22-vhost-ldap:PKG_APACHE=apache22;ap22-vhost-ldap --------------------------------------------------- -------- pkg_summary2deps #19.2 -ap2-vhost-ldap ap2-vhost-ldap -ap22-vhost-ldap ap22-vhost-ldap -awk-pkgsrc-dewey>=0.5.6 pkg_summary-utils -checkperms checkperms -dict-client>=1.10.9 pkg_online-client -dict-client>=1.9.14 dictem -dict-server>=1.10.10nb2 pkg_online-server -emacs>=22 dictem -gmake gmake -jpeg>=6b emacs -jpeg>=6b tiff -jpeg>=6bnb2 emacs -jpeg>=6bnb2 tiff -libltdl>=1.5.10 dict-client -libmaa>=0.990 paexec -libmaa>=1.0 dict-client -libmaa>=1.2 dict-server -libtool-base libtool-base -libungif>=4.1.0 emacs -libungif>=4.1.0.1 emacs -libungif>=4.1.3nb1 emacs -netcat-[0-9]* pkg_online-client -paexec>=0.10.0 distbb -perl>=5.0 emacs -perl>=5.0 libungif -pipestatus-[0-9]* pkg_online-client -pipestatus-[0-9]* pkg_online-server -pipestatus-[0-9]* pkg_summary-utils -pkg-config pkg-config -pkg_online-client-[0-9]* pkg_online -pkg_online-server-[0-9]* pkg_online -pkg_summary-utils-[0-9]* pkg_online-client -pkg_summary-utils>=0.18.1 distbb -pkg_summary-utils>=0.19.0 pkg_online-server -png>=1.2.4 emacs -png>=1.2.9nb2 emacs -runawk-[0-9]* awk-pkgsrc-dewey -runawk>=0.12.1 pkg_summary-utils -runawk>=0.13.0 distbb -tiff>=3.6.1 emacs -tiff>=3.7.2nb1 emacs -x11-links x11-links --------------------------------------------------- -------- pkg_summary2deps #19.3 -audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 -audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen>=1.9 audio/py-karaoke:PYTHON_VERSION_REQD=24;py24-karaoke-0.7.1 -audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen-1.15 -audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen>=1.9 audio/py-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1 -audio/py-mutagen;py25-mutagen-1.15 -audio/py-mutagen;py25-mutagen>=1.9 audio/py-karaoke;py25-karaoke-0.7.1 --------------------------------------------------- -------- pkg_summary2deps #19.4 -lang/perl5;perl>=5.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder -lang/perl5;perl>=5.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS -lang/perl5;perl>=5.10 devel/p5-version;p5-version -lang/perl5;perl>=5.10.0 devel/p5-Module-Build;p5-Module-Build -sysutils/checkperms;checkperms-[0-9]* archivers/p5-Archive-Tar;p5-Archive-Tar -sysutils/checkperms;checkperms>=1.0 archivers/p5-Archive-Tar;p5-Archive-Tar -sysutils/checkperms;checkperms>=1.1 archivers/p5-Archive-Tar;p5-Archive-Tar -sysutils/checkperms;checkperms>=1.1 devel/p5-Algorithm-Diff;p5-Algorithm-Diff -sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2 -sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib -sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder -sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Compress;p5-IO-Compress -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-String;p5-IO-String -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Zlib;p5-IO-Zlib -sysutils/checkperms;checkperms>=1.1 devel/p5-Module-Build;p5-Module-Build -sysutils/checkperms;checkperms>=1.1 devel/p5-version;p5-version -sysutils/checkperms;checkperms>=1.1 lang/perl5;perl -sysutils/checkperms;checkperms>=1.1 textproc/p5-Filter;p5-Filter -sysutils/checkperms;checkperms>=1.1 textproc/p5-Pod-Readme;p5-Pod-Readme -sysutils/checkperms;checkperms>=1.1 textproc/p5-Regexp-Common;p5-Regexp-Common -sysutils/checkperms;checkperms>=1.1 textproc/p5-Text-Diff;p5-Text-Diff -sysutils/checkperms;checkperms>=1.1 textproc/p5-YAML;p5-YAML -textproc/p5-YAML;p5-YAML>=0.50 devel/p5-Module-Build;p5-Module-Build --------------------------------------------------- -------- pkg_summary2deps #19.5 -lang/perl5;perl>=5.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 -lang/perl5;perl>=5.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 -lang/perl5;perl>=5.10 devel/p5-version;p5-version-0.7702 -lang/perl5;perl>=5.10.0 devel/p5-Module-Build;p5-Module-Build-0.35000 -sysutils/checkperms;checkperms-1.10 -sysutils/checkperms;checkperms-[0-9]* archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 -sysutils/checkperms;checkperms>=1.0 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 -sysutils/checkperms;checkperms>=1.1 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 -sysutils/checkperms;checkperms>=1.1 devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1 -sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021 -sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021 -sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 -sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Compress;p5-IO-Compress-2.021 -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-String;p5-IO-String-1.08nb1 -sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Zlib;p5-IO-Zlib-1.10 -sysutils/checkperms;checkperms>=1.1 devel/p5-Module-Build;p5-Module-Build-0.35000 -sysutils/checkperms;checkperms>=1.1 devel/p5-version;p5-version-0.7702 -sysutils/checkperms;checkperms>=1.1 lang/perl5;perl-5.10.0nb7 -sysutils/checkperms;checkperms>=1.1 textproc/p5-Filter;p5-Filter-1.37 -sysutils/checkperms;checkperms>=1.1 textproc/p5-Pod-Readme;p5-Pod-Readme-0.09 -sysutils/checkperms;checkperms>=1.1 textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1 -sysutils/checkperms;checkperms>=1.1 textproc/p5-Text-Diff;p5-Text-Diff-1.37 -sysutils/checkperms;checkperms>=1.1 textproc/p5-YAML;p5-YAML-0.70 -textproc/p5-YAML;p5-YAML>=0.50 devel/p5-Module-Build;p5-Module-Build-0.35000 --------------------------------------------------- -------- pkg_summary2deps #20.1 -awk-pkgsrc-dewey pkg_summary-utils -checkperms -dict-client pkg_online-client -dict-server pkg_online-server -gmake -libmaa dict-client -libmaa dict-server -libmaa paexec -libtool-base -netcat pkg_online-client -paexec distbb -pipestatus distbb -pipestatus pkg_online-client -pipestatus pkg_online-server -pipestatus pkg_summary-utils -pkg_online-client pkg_conflicts -pkg_online-client pkg_online -pkg_online-server pkg_online -pkg_summary-utils distbb -pkg_summary-utils pkg_conflicts -pkg_summary-utils pkg_online-client -pkg_summary-utils pkg_online-server -runawk awk-pkgsrc-dewey -runawk distbb -runawk paexec -runawk pkg_conflicts -runawk pkg_summary-utils --------------------------------------------------- -------- pkg_summary2deps #20.2 -awk-pkgsrc-dewey wip/pkg_summary-utils;pkg_summary-utils -devel/gmake;gmake -devel/libtool-base;libtool-base -dict-client wip/pkg_online-client;pkg_online-client -dict-server wip/pkg_online-server;pkg_online-server -libmaa wip/dict-client;dict-client -libmaa wip/dict-server;dict-server -libmaa wip/paexec;paexec -netcat wip/pkg_online-client;pkg_online-client -paexec wip/distbb;distbb -pipestatus wip/distbb;distbb -pipestatus wip/pkg_online-client;pkg_online-client -pipestatus wip/pkg_online-server;pkg_online-server -pipestatus wip/pkg_summary-utils;pkg_summary-utils -pkg_online-client wip/pkg_conflicts;pkg_conflicts -pkg_online-client wip/pkg_online;pkg_online -pkg_online-server wip/pkg_online;pkg_online -pkg_summary-utils wip/distbb;distbb -pkg_summary-utils wip/pkg_conflicts;pkg_conflicts -pkg_summary-utils wip/pkg_online-client;pkg_online-client -pkg_summary-utils wip/pkg_online-server;pkg_online-server -runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey -runawk wip/distbb;distbb -runawk wip/paexec;paexec -runawk wip/pkg_conflicts;pkg_conflicts -runawk wip/pkg_summary-utils;pkg_summary-utils -sysutils/checkperms;checkperms --------------------------------------------------- -------- pkg_summary2deps #20.3 -awk-pkgsrc-dewey>=0.5.6 pkg_summary-utils-0.35rc1 -checkperms-1.10 -dict-client>=1.10.9 pkg_online-client-0.9.1 -dict-server>=1.10.10nb2 pkg_online-server-0.9.1 -gmake-3.81 -libmaa-1.1.0 -libmaa>=0.990 dict-client-1.11.2 -libmaa>=0.990 dict-server-1.11.2 -libmaa>=0.990 paexec-0.13.0nb1 -libtool-base-1.5.26nb2 -netcat-1.10nb2 -netcat-[0-9]* pkg_online-client-0.9.1 -paexec>=0.13.0nb1 distbb-0.33.0 -pipestatus-0.6.0 -pipestatus-[0-9]* pkg_online-client-0.9.1 -pipestatus-[0-9]* pkg_online-server-0.9.1 -pipestatus-[0-9]* pkg_summary-utils-0.35rc1 -pipestatus>=0.5.0 distbb-0.33.0 -pkg_online-client-0.9.1 pkg_online-0.9.1 -pkg_online-client>=0.6.0 pkg_conflicts-0.4.0 -pkg_online-server-0.9.1 pkg_online-0.9.1 -pkg_summary-utils-[0-9]* pkg_conflicts-0.4.0 -pkg_summary-utils-[0-9]* pkg_online-client-0.9.1 -pkg_summary-utils>=0.18.1 pkg_online-server-0.9.1 -pkg_summary-utils>=0.31.0 distbb-0.33.0 -runawk-0.18.0 -runawk-[0-9]* awk-pkgsrc-dewey-0.5.6 -runawk>=0.14.3 distbb-0.33.0 -runawk>=0.14.3 pkg_conflicts-0.4.0 -runawk>=0.16.0 paexec-0.13.0nb1 -runawk>=0.16.0 pkg_summary-utils-0.35rc1 --------------------------------------------------- -------- pkg_lint_summary #21.0 -MandatoryOptionErrorMessage --------------------------------------------------- -------- pkg_lint_summary #21.1 -l: not_found /usr/pkg/lib/libmaa.so.2 wip/dict-client dict-client-1.11.2 -l: not_found /usr/pkg/lib/libz.so.1 wip/dict-client dict-client-1.11.2 -l: not_found /usr/pkg/lib/libz.so.1 wip/dict-server dict-server-1.11.2 --------------------------------------------------- -------- pkg_subgraph_deps #22.1 -textproc/dictem -wip/awk-pkgsrc-dewey wip/pkg_summary-utils -wip/libuxre wip/heirloom-awk -wip/paexec wip/distbb -wip/pkg_summary-utils wip/distbb -wip/pkg_summary-utils wip/pkg_online-client -wip/pkg_summary-utils wip/pkg_online-server -wip/runawk wip/awk-pkgsrc-dewey -wip/runawk wip/distbb -wip/runawk wip/paexec -wip/runawk wip/pkg_summary-utils --------------------------------------------------- -------- pkg_subgraph_deps -r #22.2 -devel/libtool-base wip/libuxre -lang/f2c devel/libtool-base -textproc/dictem -wip/heirloom-common wip/heirloom-doc -wip/heirloom-doc wip/heirloom-libcommon -wip/heirloom-libcommon wip/libuxre -wip/runawk --------------------------------------------------- -------- pkg_subgraph_deps -x #22.3 -wip/awk-pkgsrc-dewey wip/pkg_summary-utils -wip/heirloom-awk -wip/paexec wip/distbb -wip/pkg_summary-utils wip/distbb -wip/pkg_summary-utils wip/pkg_online-client -wip/pkg_summary-utils wip/pkg_online-server --------------------------------------------------- -------- pkg_subgraph_deps -xr #22.4 -lang/f2c devel/libtool-base -wip/heirloom-common wip/heirloom-doc -wip/heirloom-doc wip/heirloom-libcommon --------------------------------------------------- -------- pkg_subgraph_deps -xv #22.5 -devel/gmake textproc/dict-client -devel/gmake textproc/dict-server -devel/libjudy -devel/libmaa textproc/dict-client -devel/libmaa textproc/dict-server -devel/libtool-base devel/libmaa -devel/libtool-base textproc/dict-client -devel/libtool-base textproc/dict-server -devel/libtool-base wip/libuxre -devel/pipestatus -lang/f2c devel/libtool-base -net/netcat -textproc/dictem -wip/heirloom-common wip/heirloom-doc -wip/heirloom-doc wip/heirloom-libcommon -wip/heirloom-libcommon wip/libuxre -wip/runawk --------------------------------------------------- -------- pkg_bin_summary #23.1 -LICENSE=modified-bsd -PKGPATH=pkgtools/pkg_install --------------------------------------------------- -------- pkg_bin_summary #23.2 -LICENSE=modified-bsd -PKGPATH=devel/bmake --------------------------------------------------- -------- pkg_bin_summary #23.3 -PKGPATH=devel/bmake --------------------------------------------------- -------- pkg_bin_summary #23.4 -PKGPATH=devel/bmake - -PKGPATH=pkgtools/pkg_install - diff --git a/pkg_summary-utils/files/tests/test.sh b/pkg_summary-utils/files/tests/test.sh index e9219a6adc..0f7dba5922 100755 --- a/pkg_summary-utils/files/tests/test.sh +++ b/pkg_summary-utils/files/tests/test.sh @@ -3,6 +3,8 @@ LC_ALL=C export LC_ALL +DIFF_PROG=${DIFF_PROG-diff -u} + # srcdir="`pwd`/.." if test "$OBJDIR"; then @@ -34,10 +36,10 @@ print_args (){ } runtest (){ - echo '--------------------------------------------------' - printf '%s' '------- args:' - print_args "$@" - printf '\n' +# echo '--------------------------------------------------' +# printf '%s' '------- args:' +# print_args "$@" +# printf '\n' prog="$objdir/$1" shift @@ -49,143 +51,1026 @@ grep_PKGNAME_n_PKGBASE_only (){ grep -E '^(PKGNAME|PKGPATH)=|^$|^-' "$@" } +tmpdir="/tmp/psu-test.$$" +mkdir -m 0700 "$tmpdir" || exit 60 + +tmpfn1="$tmpdir/1" +tmpfn2="$tmpdir/2" +tmpfn3="$tmpdir/3" +tmpfn4="$tmpdir/4" +tmpex="$tmpdir/5" + +trap "rm -rf $tmpdir" 0 INT QUIT TERM HUP + +echo > $tmpex + +cmp (){ + # $1 - progress message + # $2 - expected text + printf ' %s... ' "$1" 1>&2 + + cat > "$tmpfn2" + printf '%s' "$2" > "$tmpfn1" + + if $DIFF_PROG "$tmpfn1" "$tmpfn2" > "$tmpfn3"; then + echo ok + else + echo FAILED + awk '{print " " $0}' "$tmpfn3" + rm -f $tmpex + fi +} + # pkg_grep_summary -echo '--------------------------------------------------' -echo '------- pkg_grep_summary #0' -runtest pkg_grep_summary -s PKGBASE distbb < src_summary.txt -runtest pkg_grep_summary -m PKGBASE '^dict' < src_summary.txt -runtest pkg_grep_summary PKGNAME 'fvalue ~ /^d/' < src_summary.txt +#echo '--------------------------------------------------' +#echo '------- pkg_grep_summary #0' +runtest pkg_grep_summary -s PKGBASE distbb < src_summary.txt | +cmp 'pkg_grep_summary #1' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +' + +runtest pkg_grep_summary -m PKGBASE '^dict' < src_summary.txt | +cmp 'pkg_grep_summary #2' \ +'PKGPATH=textproc/dictem +DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +CONFLICTS=xemacs-dictem-[0-9]* +HOMEPAGE=http://freshmeat.net/projects/dictem/ +COMMENT=Dictionary client (RFC-2229) for [X]Emacs +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc editors +PKGNAME=dictem-0.82 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client +DEPENDS= libltdl>=1.5.10:../../devel/libltdl +BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=pkgsrc-users@NetBSD.org +CATEGORIES=textproc + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client +DEPENDS= libmaa>=1.0:../../devel/libmaa +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +' + +runtest pkg_grep_summary PKGNAME 'fvalue ~ /^d/' < src_summary.txt | +cmp 'pkg_grep_summary #3' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +PKGPATH=textproc/dictem +DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +CONFLICTS=xemacs-dictem-[0-9]* +HOMEPAGE=http://freshmeat.net/projects/dictem/ +COMMENT=Dictionary client (RFC-2229) for [X]Emacs +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc editors +PKGNAME=dictem-0.82 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client +DEPENDS= libltdl>=1.5.10:../../devel/libltdl +BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=pkgsrc-users@NetBSD.org +CATEGORIES=textproc + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client +DEPENDS= libmaa>=1.0:../../devel/libmaa +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +' + runtest pkg_grep_summary -t awk PKGNAME 'fvalue ~ /^d/' < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #4' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb + +PKGPATH=textproc/dictem +PKGNAME=dictem-0.82 + +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' + runtest pkg_grep_summary COMMENT \ 'tolower(fvalue) ~ /dictionary.*client/' < src_summary.txt | \ - grep -E 'PKGNAME|---' -runtest pkg_grep_summary -e EXFIELD < src_summary.txt | \ - grep -E 'PKGNAME|---' -runtest pkg_grep_summary -t empty EXFIELD '' < src_summary.txt | \ - grep -E 'PKGNAME|---' -runtest pkg_grep_summary -m MAINTAINER 'cheusov|vle@gmx.net' < src_summary.txt | - grep -E 'PKGNAME|PKGPATH|^$|MAINTAINER|COMMENT' + grep -E 'PKGNAME|---' | +cmp 'pkg_grep_summary #5' \ +'PKGNAME=dictem-0.82 +PKGNAME=dict-client-1.9.15nb2 +PKGNAME=dict-client-1.10.11nb2 +' -runtest pkg_grep_summary -s PKGPATH graphics/png < src_summary.txt +runtest pkg_grep_summary -e EXFIELD < src_summary.txt | \ + grep -E 'PKGNAME|---' | +cmp 'pkg_grep_summary #6' \ +'PKGNAME=dictem-0.82 +PKGNAME=pkg_online-0.5.0nb2 +PKGNAME=dict-server-1.10.11nb2 +PKGNAME=pkg_online-server-0.5.0 +PKGNAME=dict-client-1.9.15nb2 +PKGNAME=pkg_online-client-0.5.0 +PKGNAME=libmaa-1.0.1nb1 +PKGNAME=gmake-3.81 +PKGNAME=paexec-0.10.0nb1 +PKGNAME=libtool-base-1.5.24nb6 +PKGNAME=runawk-0.14.3 +PKGNAME=emacs-22.1nb6 +PKGNAME=pkg_summary-utils-0.18.1 +PKGNAME=libungif-4.1.4nb1 +PKGNAME=tiff-3.8.2nb4 +PKGNAME=x11-links-0.38 +PKGNAME=perl-5.8.8nb8 +PKGNAME=libltdl-1.5.24 +PKGNAME=dict-client-1.10.11nb2 +PKGNAME=pipestatus-0.4.0 +PKGNAME=awk-pkgsrc-dewey-0.5.6 +PKGNAME=png-1.2.32beta01 +PKGNAME=netcat-1.10nb2 +PKGNAME=pkg-config-0.23 +PKGNAME=jpeg-6bnb4 +PKGNAME=ap22-vhost-ldap-1.2.0nb1 +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +' + +runtest pkg_grep_summary -t empty EXFIELD '' < src_summary.txt | \ + grep -E 'PKGNAME|---' | +cmp 'pkg_grep_summary #7' \ +'PKGNAME=dictem-0.82 +PKGNAME=pkg_online-0.5.0nb2 +PKGNAME=dict-server-1.10.11nb2 +PKGNAME=pkg_online-server-0.5.0 +PKGNAME=dict-client-1.9.15nb2 +PKGNAME=pkg_online-client-0.5.0 +PKGNAME=libmaa-1.0.1nb1 +PKGNAME=gmake-3.81 +PKGNAME=paexec-0.10.0nb1 +PKGNAME=libtool-base-1.5.24nb6 +PKGNAME=runawk-0.14.3 +PKGNAME=emacs-22.1nb6 +PKGNAME=pkg_summary-utils-0.18.1 +PKGNAME=libungif-4.1.4nb1 +PKGNAME=tiff-3.8.2nb4 +PKGNAME=x11-links-0.38 +PKGNAME=perl-5.8.8nb8 +PKGNAME=libltdl-1.5.24 +PKGNAME=dict-client-1.10.11nb2 +PKGNAME=pipestatus-0.4.0 +PKGNAME=awk-pkgsrc-dewey-0.5.6 +PKGNAME=png-1.2.32beta01 +PKGNAME=netcat-1.10nb2 +PKGNAME=pkg-config-0.23 +PKGNAME=jpeg-6bnb4 +PKGNAME=ap22-vhost-ldap-1.2.0nb1 +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +' + +runtest pkg_grep_summary -m MAINTAINER 'cheusov|vle@gmx.net' < src_summary.txt | + grep -E 'PKGNAME|PKGPATH|^$|MAINTAINER|COMMENT' | +cmp 'pkg_grep_summary #8' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by + +PKGPATH=textproc/dictem +COMMENT=Dictionary client (RFC-2229) for [X]Emacs +MAINTAINER=cheusov@tut.by +PKGNAME=dictem-0.82 + +COMMENT=Client/Server search in pkgsrc packages +MAINTAINER=cheusov@tut.by +PKGNAME=pkg_online-0.5.0nb2 +PKGPATH=wip/pkg_online + +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by + +PKGNAME=pkg_online-server-0.5.0 +PKGPATH=wip/pkg_online-server +COMMENT=Client/Server search in pkgsrc packages (server tools) +MAINTAINER=cheusov@tut.by + +PKGNAME=pkg_online-client-0.5.0 +PKGPATH=wip/pkg_online-client +COMMENT=Client/Server search in pkgsrc packages (client tools) +MAINTAINER=cheusov@tut.by + +PKGNAME=libmaa-1.0.1nb1 +PKGPATH=devel/libmaa +COMMENT=Provides a few data structures and helpful functions +MAINTAINER=cheusov@tut.by + +PKGNAME=paexec-0.10.0nb1 +PKGPATH=wip/paexec +COMMENT=Parallel executor, distributes tasks over network +MAINTAINER=cheusov@tut.by + +PKGNAME=runawk-0.14.3 +PKGPATH=wip/runawk +COMMENT=Wrapper that impelements modules for AWK +MAINTAINER=cheusov@tut.by + +PKGNAME=pkg_summary-utils-0.18.1 +PKGPATH=wip/pkg_summary-utils +COMMENT=Utilities for manipulating pkg_summary(5) files +MAINTAINER=cheusov@tut.by + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client +COMMENT=Dictionary Service Protocol client +MAINTAINER=cheusov@tut.by + +PKGNAME=pipestatus-0.4.0 +PKGPATH=devel/pipestatus +COMMENT=UNIX/POSIX shell helper for running pipes safely +MAINTAINER=cheusov@tut.by + +PKGNAME=awk-pkgsrc-dewey-0.5.6 +PKGPATH=wip/awk-pkgsrc-dewey +COMMENT=Pkgsrc dewey module for AWK programming language +MAINTAINER=cheusov@tut.by + +' + +runtest pkg_grep_summary -s PKGPATH graphics/png < src_summary.txt | +cmp 'pkg_grep_summary #9' \ +'PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +' runtest pkg_grep_summary -s PKGPATHe www/ap22-vhost-ldap:PKG_APACHE=apache22 \ - < src_summary.txt + < src_summary.txt | +cmp 'pkg_grep_summary #10' \ +'PKGNAME=ap22-vhost-ldap-1.2.0nb1 +ASSIGNMENTS=PKG_APACHE=apache22 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2.2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +PKGPATH=www/ap22-vhost-ldap +CATEGORIES=www databases + +' + runtest pkg_grep_summary -s PKGPATHe www/ap2-vhost-ldap:PKG_APACHE=apache2 \ - < src_summary.txt + < src_summary.txt | +cmp 'pkg_grep_summary #11' \ +'PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +CATEGORIES=www databases -runtest pkg_grep_summary -s PKGPATH www/ap22-vhost-ldap < src_summary.txt -runtest pkg_grep_summary -s PKGPATH www/ap2-vhost-ldap < src_summary.txt +' -runtest pkg_grep_summary -S PKGPATH pkgs.txt < src_summary.txt -runtest pkg_grep_summary -S PKGPATHe pkgs.txt < src_summary.txt +runtest pkg_grep_summary -s PKGPATH www/ap22-vhost-ldap < src_summary.txt | +cmp 'pkg_grep_summary #12' \ +'PKGNAME=ap22-vhost-ldap-1.2.0nb1 +ASSIGNMENTS=PKG_APACHE=apache22 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2.2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +PKGPATH=www/ap22-vhost-ldap +CATEGORIES=www databases -runtest pkg_grep_summary -t strfile PKGPATH pkgs.txt < src_summary.txt -runtest pkg_grep_summary -t strfile PKGPATHe pkgs.txt < src_summary.txt +' -runtest pkg_grep_summary -t strlist PKGPATH 'graphics/png wip/distbb' < src_summary.txt +runtest pkg_grep_summary -s PKGPATH www/ap2-vhost-ldap < src_summary.txt | +cmp 'pkg_grep_summary #13' \ +'PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +CATEGORIES=www databases + +' + +runtest pkg_grep_summary -S PKGPATH pkgs.txt < src_summary.txt | +cmp 'pkg_grep_summary #14' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +CATEGORIES=www databases + +' + +runtest pkg_grep_summary -S PKGPATHe pkgs.txt < src_summary.txt | +cmp 'pkg_grep_summary #15' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +' + +runtest pkg_grep_summary -t strfile PKGPATH pkgs.txt < src_summary.txt | +cmp 'pkg_grep_summary #16' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 +HOMEPAGE=http://packages.qa.debian.org/m/mod-vhost-ldap.html +COMMENT=Apache 2 module LDAP Virtual Hosts support +MAINTAINER=imil@gcu.info +CATEGORIES=www databases + +' + +runtest pkg_grep_summary -t strfile PKGPATHe pkgs.txt < src_summary.txt | +cmp 'pkg_grep_summary #17' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server +DEPENDS= libmaa>=1.2:../../devel/libmaa +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol server +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +' + +runtest pkg_grep_summary -t strlist PKGPATH 'graphics/png wip/distbb' \ + < src_summary.txt | +cmp 'pkg_grep_summary #18' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb +DEPENDS=pkg_summary-utils>=0.18.1:../../wip/pkg_summary-utils paexec>=0.10.0:../../wip/paexec runawk>=0.13.0:../../wip/runawk +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://mova.org/~cheusov/pub/distbb/ +COMMENT=DISTributed Bulk Build tool for pkgsrc +MAINTAINER=cheusov@tut.by +CATEGORIES=pkgtools +EXFIELD=XVALUE1 + +PKGNAME=png-1.2.32beta01 +PKGPATH=graphics/png +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.libpng.org/pub/png/ +COMMENT=Library for manipulating PNG images +MAINTAINER=wiz@NetBSD.org +CATEGORIES=graphics + +' runtest pkg_grep_summary -t substring PKGNAME dict < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #19' \ +'PKGPATH=textproc/dictem +PKGNAME=dictem-0.82 + +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' + runtest pkg_grep_summary -t substring PKGNAME distcc < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #20' \ +'' + runtest pkg_grep_summary -t substring DEPENDS pkg_online-server < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #21' \ +'PKGNAME=pkg_online-0.5.0nb2 +PKGPATH=wip/pkg_online + +' runtest pkg_grep_summary -t first PKGNAME dict < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #22' \ +'PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' + runtest pkg_grep_summary -t first PKGNAME dic < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #23' \ +'' runtest pkg_grep_summary -t last PKGBASE client < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #24' \ +'PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=pkg_online-client-0.5.0 +PKGPATH=wip/pkg_online-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' + runtest pkg_grep_summary -t last PKGBASE lient < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #25' \ +'' runtest pkg_grep_summary -t exact PKGBASE dictem < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #26' \ +'PKGPATH=textproc/dictem +PKGNAME=dictem-0.82 + +' + runtest pkg_grep_summary -t exact PKGBASE dict < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #27' \ +'' runtest pkg_grep_summary -t prefix PKGBASE awk < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #28' \ +'PKGNAME=awk-pkgsrc-dewey-0.5.6 +PKGPATH=wip/awk-pkgsrc-dewey + +' + runtest pkg_grep_summary -t prefix PKGBASE ruby < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #29' \ +'' runtest pkg_grep_summary -t suffix PKGBASE ldap < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #30' \ +'PKGNAME=ap22-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap22-vhost-ldap + +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 + +' + runtest pkg_grep_summary -t suffix PKGBASE nis < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #31' \ +'' runtest pkg_grep_summary -t word PKGBASE dict < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #32' \ +'PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' + runtest pkg_grep_summary -t word PKGBASE dic < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #33' \ +'' + runtest pkg_grep_summary -t word PKGBASE ldap < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #34' \ +'PKGNAME=ap22-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap22-vhost-ldap + +PKGNAME=ap2-vhost-ldap-1.2.0nb1 +PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2 + +' + runtest pkg_grep_summary -t word PKGBASE dap < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #35' \ +'' + runtest pkg_grep_summary -t word PKGBASE nis < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #36' \ +'' + runtest pkg_grep_summary -t word PKGBASE dictem < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #37' \ +'PKGPATH=textproc/dictem +PKGNAME=dictem-0.82 + +' runtest pkg_grep_summary -t re PKGBASE 'd.*t' < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #38' \ +'PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb + +PKGPATH=textproc/dictem +PKGNAME=dictem-0.82 + +PKGNAME=dict-server-1.10.11nb2 +PKGPATH=wip/dict-server + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client + +' runtest pkg_grep_summary -i -s MAINTAINER 'rillig@netbsd.org' < src_summary.txt | - grep_PKGNAME_n_PKGBASE_only + grep_PKGNAME_n_PKGBASE_only | +cmp 'pkg_grep_summary #39' \ +'PKGNAME=checkperms-1.10 +PKGPATH=sysutils/checkperms -runtest pkg_grep_summary -s PLIST file2 < src_summary10.txt -runtest pkg_grep_summary -m CONFLICTS package2 < src_summary10.txt -runtest pkg_grep_summary -m DEPENDS depends2 < src_summary10.txt -runtest pkg_grep_summary -m PROVIDES provides2 < src_summary10.txt -runtest pkg_grep_summary -m REQUIRES requires2 < src_summary10.txt -runtest pkg_grep_summary -m DESCRIPTION descr2 < src_summary10.txt +' + +runtest pkg_grep_summary -s PLIST file2 < src_summary10.txt | +cmp 'pkg_grep_summary #40' \ +'PKGNAME=foo +PKGPATH=pkgtools/foo +PLIST=file1 +PLIST=file2 + +' + +runtest pkg_grep_summary -m CONFLICTS package2 < src_summary10.txt | +cmp 'pkg_grep_summary #41' \ +'PKGNAME=foobar +PKGPATH=pkgtools/foobar +CONFLICTS=package1 +CONFLICTS=package2 + +' + +runtest pkg_grep_summary -m DEPENDS depends2 < src_summary10.txt | +cmp 'pkg_grep_summary #42' \ +'PKGNAME=barbaz +PKGPATH=pkgtools/barbaz +DEPENDS=depends1 +DEPENDS=depends2 + +' + +runtest pkg_grep_summary -m PROVIDES provides2 < src_summary10.txt | +cmp 'pkg_grep_summary #43' \ +'PKGNAME=bazzzz +PKGPATH=pkgtools/bazzzz +PROVIDES=provides1 +PROVIDES=provides2 + +' + +runtest pkg_grep_summary -m REQUIRES requires2 < src_summary10.txt | +cmp 'pkg_grep_summary #44' \ +'PKGNAME=baz +PKGPATH=pkgtools/baz +REQUIRES=requires1 +REQUIRES=requires2 + +' + +runtest pkg_grep_summary -m DESCRIPTION descr2 < src_summary10.txt | +cmp 'pkg_grep_summary #45' \ +'PKGNAME=bar +PKGPATH=pkgtools/bar +DESCRIPTION=descr1 +DESCRIPTION=descr2 + +' runtest pkg_grep_summary . \ 'fields ["MAINTAINER"] ~ /cheusov/ && fields ["PKGPATH"] !~ /^wip/' \ - < src_summary.txt | grep -E '^(PKGNAME|PKGPATH|MAINTAINER)=|^$|^--' + < src_summary.txt | grep -E '^(PKGNAME|PKGPATH|MAINTAINER)=|^$|^--' | +cmp 'pkg_grep_summary #46' \ +'PKGPATH=textproc/dictem +MAINTAINER=cheusov@tut.by +PKGNAME=dictem-0.82 -runtest pkg_grep_summary -i -t kw COMMENT 'dictionary client' < src_summary.txt -runtest pkg_grep_summary -i -t keywords COMMENT 'dictionary client' < src_summary.txt +PKGNAME=libmaa-1.0.1nb1 +PKGPATH=devel/libmaa +MAINTAINER=cheusov@tut.by -runtest pkg_grep_summary -T +PKGNAME=pipestatus-0.4.0 +PKGPATH=devel/pipestatus +MAINTAINER=cheusov@tut.by + +' + +runtest pkg_grep_summary -i -t kw COMMENT 'dictionary client' \ + < src_summary.txt | +cmp 'pkg_grep_summary #47' \ +'PKGPATH=textproc/dictem +DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +CONFLICTS=xemacs-dictem-[0-9]* +HOMEPAGE=http://freshmeat.net/projects/dictem/ +COMMENT=Dictionary client (RFC-2229) for [X]Emacs +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc editors +PKGNAME=dictem-0.82 + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client +DEPENDS= libltdl>=1.5.10:../../devel/libltdl +BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=pkgsrc-users@NetBSD.org +CATEGORIES=textproc + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client +DEPENDS= libmaa>=1.0:../../devel/libmaa +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +' + +runtest pkg_grep_summary -i -t keywords COMMENT 'dictionary client' \ + < src_summary.txt | +cmp 'pkg_grep_summary #48' \ +'PKGPATH=textproc/dictem +DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22:../../editors/emacs emacs>=22:../../editors/emacs +BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms +CONFLICTS=xemacs-dictem-[0-9]* +HOMEPAGE=http://freshmeat.net/projects/dictem/ +COMMENT=Dictionary client (RFC-2229) for [X]Emacs +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc editors +PKGNAME=dictem-0.82 + +PKGNAME=dict-client-1.9.15nb2 +PKGPATH=textproc/dict-client +DEPENDS= libltdl>=1.5.10:../../devel/libltdl +BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=pkgsrc-users@NetBSD.org +CATEGORIES=textproc + +PKGNAME=dict-client-1.10.11nb2 +PKGPATH=wip/dict-client +DEPENDS= libmaa>=1.0:../../devel/libmaa +BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms +HOMEPAGE=http://www.dict.org/ +COMMENT=Dictionary Service Protocol client +MAINTAINER=cheusov@tut.by +CATEGORIES=textproc + +' + +runtest pkg_grep_summary -T | +cmp 'pkg_grep_summary #49' \ +'exact prefix suffix substring word first last re strfile strlist awk empty kw +' # pkg_cmp_summary -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.1' -pkg_cmp_summary src_summary.txt src_summary2.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.2.1' -pkg_cmp_summary -p src_summary.txt src_summary2.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.2.2' -pkg_cmp_summary --with-pkgpath src_summary.txt src_summary2.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.3' -pkg_cmp_summary src_summary4.txt src_summary5.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.4' -pkg_cmp_summary -p src_summary4.txt src_summary5.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.5.1' -pkg_cmp_summary --use-checksum src_summary4.txt src_summary5.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.5.2' -pkg_cmp_summary -c src_summary4.txt src_summary5.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.6' -pkg_cmp_summary -cp src_summary4.txt src_summary6.txt | sort -k2,2 -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #1.7' -pkg_cmp_summary -P src_summary.txt src_summary2.txt | sort -k2,2 +pkg_cmp_summary src_summary.txt src_summary2.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #1' \ +'- ap2-vhost-ldap 1.2.0nb1 +- ap22-vhost-ldap 1.2.0nb1 += awk-pkgsrc-dewey 0.5.6 0.5.6 += checkperms 1.10 1.10 +2 dict-client +< dict-server 1.10.11nb2 1.11.0 += dictem 0.82 0.82 ++ digest 99.99.99 += distbb 0.22.0 0.22.0 += emacs 22.1nb6 22.1nb6 += gmake 3.81 3.81 += jpeg 6bnb4 6bnb4 += libltdl 1.5.24 1.5.24 += libmaa 1.0.1nb1 1.0.1nb1 += libtool-base 1.5.24nb6 1.5.24nb6 += libungif 4.1.4nb1 4.1.4nb1 +- netcat 1.10nb2 += paexec 0.10.0nb1 0.10.0nb1 += perl 5.8.8nb8 5.8.8nb8 +< pipestatus 0.4.0 0.5.0 += pkg-config 0.23 0.23 += pkg_online 0.5.0nb2 0.5.0nb2 += pkg_online-client 0.5.0 0.5.0 += pkg_online-server 0.5.0 0.5.0 += pkg_summary-utils 0.18.1 0.18.1 += png 1.2.32beta01 1.2.32beta01 +> runawk 0.14.3 0.13.0 += tiff 3.8.2nb4 3.8.2nb4 +- x11-links 0.38 +' +pkg_cmp_summary -p src_summary.txt src_summary2.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #2' \ +'= devel/gmake gmake 3.81 3.81 += devel/libltdl libltdl 1.5.24 1.5.24 += devel/libmaa libmaa 1.0.1nb1 1.0.1nb1 += devel/libtool-base libtool-base 1.5.24nb6 1.5.24nb6 +< devel/pipestatus pipestatus 0.4.0 0.5.0 += devel/pkg-config pkg-config 0.23 0.23 += editors/emacs emacs 22.1nb6 22.1nb6 += graphics/jpeg jpeg 6bnb4 6bnb4 += graphics/libungif libungif 4.1.4nb1 4.1.4nb1 += graphics/png png 1.2.32beta01 1.2.32beta01 += graphics/tiff tiff 3.8.2nb4 3.8.2nb4 += lang/perl5 perl 5.8.8nb8 5.8.8nb8 +- net/netcat netcat 1.10nb2 ++ pkgtools/digest digest 99.99.99 +- pkgtools/x11-links x11-links 0.38 += sysutils/checkperms checkperms 1.10 1.10 += textproc/dict-client dict-client 1.9.15nb2 1.9.15nb2 += textproc/dictem dictem 0.82 0.82 += wip/awk-pkgsrc-dewey awk-pkgsrc-dewey 0.5.6 0.5.6 += wip/dict-client dict-client 1.10.11nb2 1.10.11nb2 +< wip/dict-server dict-server 1.10.11nb2 1.11.0 += wip/distbb distbb 0.22.0 0.22.0 += wip/paexec paexec 0.10.0nb1 0.10.0nb1 += wip/pkg_online pkg_online 0.5.0nb2 0.5.0nb2 += wip/pkg_online-client pkg_online-client 0.5.0 0.5.0 += wip/pkg_online-server pkg_online-server 0.5.0 0.5.0 += wip/pkg_summary-utils pkg_summary-utils 0.18.1 0.18.1 +> wip/runawk runawk 0.14.3 0.13.0 +- www/ap2-vhost-ldap:PKG_APACHE=apache2 ap2-vhost-ldap 1.2.0nb1 +- www/ap22-vhost-ldap ap22-vhost-ldap 1.2.0nb1 +' +pkg_cmp_summary --with-pkgpath src_summary.txt src_summary2.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #3' \ +'= devel/gmake gmake 3.81 3.81 += devel/libltdl libltdl 1.5.24 1.5.24 += devel/libmaa libmaa 1.0.1nb1 1.0.1nb1 += devel/libtool-base libtool-base 1.5.24nb6 1.5.24nb6 +< devel/pipestatus pipestatus 0.4.0 0.5.0 += devel/pkg-config pkg-config 0.23 0.23 += editors/emacs emacs 22.1nb6 22.1nb6 += graphics/jpeg jpeg 6bnb4 6bnb4 += graphics/libungif libungif 4.1.4nb1 4.1.4nb1 += graphics/png png 1.2.32beta01 1.2.32beta01 += graphics/tiff tiff 3.8.2nb4 3.8.2nb4 += lang/perl5 perl 5.8.8nb8 5.8.8nb8 +- net/netcat netcat 1.10nb2 ++ pkgtools/digest digest 99.99.99 +- pkgtools/x11-links x11-links 0.38 += sysutils/checkperms checkperms 1.10 1.10 += textproc/dict-client dict-client 1.9.15nb2 1.9.15nb2 += textproc/dictem dictem 0.82 0.82 += wip/awk-pkgsrc-dewey awk-pkgsrc-dewey 0.5.6 0.5.6 += wip/dict-client dict-client 1.10.11nb2 1.10.11nb2 +< wip/dict-server dict-server 1.10.11nb2 1.11.0 += wip/distbb distbb 0.22.0 0.22.0 += wip/paexec paexec 0.10.0nb1 0.10.0nb1 += wip/pkg_online pkg_online 0.5.0nb2 0.5.0nb2 += wip/pkg_online-client pkg_online-client 0.5.0 0.5.0 += wip/pkg_online-server pkg_online-server 0.5.0 0.5.0 += wip/pkg_summary-utils pkg_summary-utils 0.18.1 0.18.1 +> wip/runawk runawk 0.14.3 0.13.0 +- www/ap2-vhost-ldap:PKG_APACHE=apache2 ap2-vhost-ldap 1.2.0nb1 +- www/ap22-vhost-ldap ap22-vhost-ldap 1.2.0nb1 +' + +pkg_cmp_summary src_summary4.txt src_summary5.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #4' \ +'= dictem 1.0.0 1.0.0 +' + +pkg_cmp_summary -p src_summary4.txt src_summary5.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #5' \ +'- textproc/dictem dictem 1.0.0 ++ wip/dictem dictem 1.0.0 +' + +pkg_cmp_summary --use-checksum src_summary4.txt src_summary5.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #6' \ +'! dictem 1.0.0 1.0.0 +' + +pkg_cmp_summary -c src_summary4.txt src_summary5.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #7' \ +'! dictem 1.0.0 1.0.0 +' + +pkg_cmp_summary -cp src_summary4.txt src_summary6.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #8' \ +'! textproc/dictem dictem 1.0.0 1.0.0 +' + +pkg_cmp_summary -P src_summary.txt src_summary2.txt | sort -k2,2 | +cmp 'pkg_cmp_summary #9' \ +'= devel/gmake += devel/libltdl += devel/libmaa += devel/libtool-base += devel/pipestatus += devel/pkg-config += editors/emacs += graphics/jpeg += graphics/libungif += graphics/png += graphics/tiff += lang/perl5 +- net/netcat ++ pkgtools/digest +- pkgtools/x11-links += sysutils/checkperms += textproc/dict-client += textproc/dictem += wip/awk-pkgsrc-dewey += wip/dict-client += wip/dict-server += wip/distbb += wip/paexec += wip/pkg_online += wip/pkg_online-client += wip/pkg_online-server += wip/pkg_summary-utils += wip/runawk +- www/ap2-vhost-ldap:PKG_APACHE=apache2 +- www/ap22-vhost-ldap +' + +pkg_cmp_summary -p "$objdir"/summary_micro.txt "$objdir"/summary_full.txt | +grep -v '^=' | +cmp 'pkg_cmp_summary #10' \ +'' # pkg_list_all_pkgs -echo '--------------------------------------------------' -echo '------- pkg_list_all_pkgs #3' env pkg_list_all_pkgs | awk ' END { @@ -194,7 +1079,10 @@ END { }else{ print "failure" } -}' +}' | +cmp 'pkg_list_all_pkgs #1' \ +'XXXX +' normalize_version (){ awk ' @@ -208,94 +1096,286 @@ normalize_version (){ -# pkg_micro_src_summary -echo '--------------------------------------------------' -echo '------- pkg_micro_src_summary #4' -pkgs="`sed -n 's/^PKGPATH=//p' src_summary.txt`" -pkg_micro_src_summary $pkgs | tee "$objdir"/summary_micro.txt | -normalize_version - - - # pkg_refresh_summary -echo '--------------------------------------------------' -echo '------- pkg_refresh_summary #5.1' pkg_refresh_summary src_summary.txt src_summary2.txt | -sed -n 's/^PKGNAME=//p' | sort +sed -n 's/^PKGNAME=//p' | sort | +cmp 'pkg_refresh_summary #1' \ +'ap22-vhost-ldap-1.2.0nb1 +awk-pkgsrc-dewey-0.5.6 +checkperms-1.10 +dict-client-1.10.11nb2 +dict-client-1.9.15nb2 +dict-server-1.11.0 +dictem-0.82 +digest-99.99.99 +distbb-0.22.0 +emacs-22.1nb6 +gmake-3.81 +jpeg-6bnb4 +libltdl-1.5.24 +libmaa-1.0.1nb1 +libtool-base-1.5.24nb6 +libungif-4.1.4nb1 +netcat-1.10nb2 +paexec-0.10.0nb1 +perl-5.8.8nb8 +pipestatus-0.5.0 +pkg-config-0.23 +pkg_online-0.5.0nb2 +pkg_online-client-0.5.0 +pkg_online-server-0.5.0 +pkg_summary-utils-0.18.1 +png-1.2.32beta01 +runawk-0.14.3 +tiff-3.8.2nb4 +x11-links-0.38 +' -echo '--------------------------------------------------' -echo '------- pkg_refresh_summary #5.2' pkg_refresh_summary -o src_summary.txt src_summary2.txt | -sed -n 's/^PKGNAME=//p' | sort - - - -# pkg_src_summary -echo '--------------------------------------------------' -echo '------- pkg_src_summary #6' -pkgs="`sed -n 's/^PKGPATH=//p' src_summary.txt`" -pkg_src_summary -f PKGNAME,PKGPATH $pkgs | -tee "$objdir"/summary_full.txt | -normalize_version - - - -echo '--------------------------------------------------' -echo '------- pkg_cmp_summary #7' -pkg_cmp_summary -p "$objdir"/summary_micro.txt "$objdir"/summary_full.txt | -grep -v '^=' - +sed -n 's/^PKGNAME=//p' | sort | +cmp 'pkg_refresh_summary #2' \ +'ap2-vhost-ldap-1.2.0nb1 +dict-server-1.10.11nb2 +pipestatus-0.4.0 +runawk-0.13.0 +' # pkg_summary4view -echo '--------------------------------------------------' -echo '------- pkg_summary4view #8' pkg_grep_summary -s PKGPATH 'wip/pkg_summary-utils' \ - < src_summary.txt | pkg_summary4view + < src_summary.txt | +pkg_summary4view | +normalize_version | +cmp 'pkg_summary4view #1' \ +'----------------------------------------------------------- +PKGNAME: pkg_summary-utils-0.18.1 +PKGPATH: wip/pkg_summary-utils +DEPENDS: awk-pkgsrc-dewey>=0.5.6:../../wip/awk-pkgsrc-dewey + pipestatus-[0-9]*:../../devel/pipestatus + runawk>=0.12.1:../../wip/runawk +BUILD_DEPENDS: checkperms>=1.1:../../sysutils/checkperms +CONFLICTS: paexec<0.9.0 + pkg_cmp_summary-[0-9]* + pkg_src_summary-[0-9]* + pkg_src_update_summary-[0-9]* + pkg_summary4view-[0-9]* + pkg_update_summary-[0-9]* +HOMEPAGE: http://www.mova.org/~cheusov/pub/pkg_summary-utils/ +COMMENT: Utilities for manipulating pkg_summary(5) files +MAINTAINER: cheusov@tut.by +CATEGORIES: pkgtools -echo '--------------------------------------------------' -echo '------- pkg_summary4view #8.1' -pkg_summary4view -h 2>&1 | grep pkg_summary4view >/dev/null && echo ok -pkg_summary4view --help 2>&1 | grep pkg_summary4view >/dev/null && echo ok +' + +pkg_summary4view -h 2>&1 | grep pkg_summary4view | grep summary4view | +cmp 'pkg_summary4view #2' \ +'pkg_summary4view - converts pkg_summary(5) to human readable format +usage: pkg_summary4view [OPTIONS] [files...] +' + +pkg_summary4view --help 2>&1 | grep pkg_summary4view | grep summary4view | +cmp 'pkg_summary4view #3' \ +'pkg_summary4view - converts pkg_summary(5) to human readable format +usage: pkg_summary4view [OPTIONS] [files...] +' # pkg_uniq_summary -echo '--------------------------------------------------' -echo '------- pkg_uniq_summary #9' -pkg_uniq_summary src_summary3.txt +pkg_uniq_summary src_summary3.txt | +cmp 'pkg_uniq_summary #1' \ +'ASSIGNMENTS=OPT1=1,OPT2=2 +PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb + +PKGNAME=distbb-0.22.0 +PKGPATH=wip/distbb:OPT=1,OPT2=3 + +' + +pkg_uniq_summary -h 2>&1 | grep pkg_uniq_summary | +cmp 'pkg_uniq_summary #2' \ +'pkg_uniq_summary - filter out repeated summaries. +usage: pkg_uniq_summary -h + pkg_uniq_summary [OPTIONS] [files...] +' + +pkg_uniq_summary --help 2>&1 | grep pkg_uniq_summary | +cmp 'pkg_uniq_summary #3' \ +'pkg_uniq_summary - filter out repeated summaries. +usage: pkg_uniq_summary -h + pkg_uniq_summary [OPTIONS] [files...] +' -echo '--------------------------------------------------' -echo '------- pkg_uniq_summary #9.1' -pkg_uniq_summary -h 2>&1 | grep pkg_uniq_summary > /dev/null && echo ok1 -pkg_uniq_summary --help 2>&1 | grep pkg_uniq_summary > /dev/null && echo ok2 # pkg_src_summary -echo '--------------------------------------------------' -echo '------- pkg_src_summary #10.1' +pkgs="`sed -n 's/^PKGPATH=//p' src_summary.txt`" +pkg_src_summary -f PKGNAME,PKGPATH $pkgs 2>"$tmpfn4" | +tee "$objdir"/summary_full.txt | +normalize_version | +cmp 'pkg_src_summary #1' \ +'PKGNAME=distbb-X +PKGPATH=wip/distbb + +PKGNAME=dictem-X +PKGPATH=textproc/dictem + +PKGNAME=checkperms-X +PKGPATH=sysutils/checkperms + +PKGNAME=pkg_online-server-X +PKGPATH=wip/pkg_online-server + +PKGNAME=dict-client-X +PKGPATH=textproc/dict-client + +PKGNAME=pkg_online-client-X +PKGPATH=wip/pkg_online-client + +PKGNAME=libmaa-X +PKGPATH=devel/libmaa + +PKGNAME=gmake-X +PKGPATH=devel/gmake + +PKGNAME=paexec-X +PKGPATH=wip/paexec + +PKGNAME=libtool-base-X +PKGPATH=devel/libtool-base + +PKGNAME=runawk-X +PKGPATH=wip/runawk + +PKGNAME=emacs-X +PKGPATH=editors/emacs + +PKGNAME=pkg_summary-utils-X +PKGPATH=wip/pkg_summary-utils + +PKGNAME=libungif-X +PKGPATH=graphics/libungif + +PKGNAME=tiff-X +PKGPATH=graphics/tiff + +PKGNAME=x11-links-X +PKGPATH=pkgtools/x11-links + +PKGNAME=perl-X +PKGPATH=lang/perl5 + +PKGNAME=libltdl-X +PKGPATH=devel/libltdl + +PKGNAME=pipestatus-X +PKGPATH=devel/pipestatus + +PKGNAME=awk-pkgsrc-dewey-X +PKGPATH=wip/awk-pkgsrc-dewey + +PKGNAME=png-X +PKGPATH=graphics/png + +PKGNAME=netcat-X +PKGPATH=net/netcat + +PKGNAME=pkg-config-X +PKGPATH=devel/pkg-config + +PKGNAME=jpeg-X +PKGPATH=graphics/jpeg + +PKGNAME=ap22-vhost-ldap-X +PKGPATH=www/ap22-vhost-ldap + +' + +cat "$tmpfn4" | +cmp 'pkg_src_summary #1 stderr' \ +" ------------------ +Bad package wip/pkg_online, skipped +cd: can't cd to wip/pkg_online + ------------------ +Bad package wip/dict-server, skipped +cd: can't cd to wip/dict-server + ------------------ +Bad package wip/dict-client, skipped +cd: can't cd to wip/dict-client + ------------------ +Bad package www/ap2-vhost-ldap:PKG_APACHE=apache2, skipped +cd: can't cd to www/ap2-vhost-ldap +" + pkg_src_summary -m -fPKGNAME,PKGPATH www/ap2-python | -grep -v DEPENDS +grep -v DEPENDS | +cmp 'pkg_src_summary #2' \ +'ASSIGNMENTS=PKG_APACHE=apache2 +PKGNAME=ap2-py26-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=25 +PKGNAME=ap2-py25-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=24 +PKGNAME=ap2-py24-python-3.3.1 +PKGPATH=www/ap2-python + +PKGNAME=ap22-py26-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=ap22-py25-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PYTHON_VERSION_REQD=24 +PKGNAME=ap22-py24-python-3.3.1 +PKGPATH=www/ap2-python + +' -echo '--------------------------------------------------' -echo '------- pkg_src_summary #10.2' pkg_src_summary -m --fields PKGNAME,PKGPATH www/ap2-python:PKG_APACHE=apache2 | -grep -v DEPENDS +grep -v DEPENDS | +cmp 'pkg_src_summary #3' \ +'PKGNAME=ap22-py26-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=ap22-py25-python-3.3.1 +PKGPATH=www/ap2-python + +ASSIGNMENTS=PYTHON_VERSION_REQD=24 +PKGNAME=ap22-py24-python-3.3.1 +PKGPATH=www/ap2-python + +' -echo '--------------------------------------------------' -echo '------- pkg_src_summary #10.3' pkg_src_summary -m --fields='PKGNAME PKGPATH' www/ap2-python:PYTHON_VERSION_REQD=25 | -grep -v DEPENDS +grep -v DEPENDS | +cmp 'pkg_src_summary #4' \ +'ASSIGNMENTS=PKG_APACHE=apache2 +PKGNAME=ap2-py26-python-3.3.1 +PKGPATH=www/ap2-python + +PKGNAME=ap22-py26-python-3.3.1 +PKGPATH=www/ap2-python + +' -echo '--------------------------------------------------' -echo '------- pkg_src_summary #10.4' pkg_src_summary -m -f'PKGNAME PKGPATH' \ www/ap2-python:PYTHON_VERSION_REQD=25,PKG_APACHE=apache22 | -grep -v DEPENDS +grep -v DEPENDS | +cmp 'pkg_src_summary #5' \ +'ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=ap22-py25-python-3.3.1 +PKGPATH=www/ap2-python + +' -# pkg_src_summary normalize_python_deps (){ awk ' sub(/^DEPENDS=/, "FAKED_PKGPATH= ") { @@ -319,239 +1399,1120 @@ sub(/^DEPENDS=/, "FAKED_PKGPATH= ") { ' "$@" } -echo '--------------------------------------------------' -echo '------- pkg_src_summary #11.0' -pkg_src_summary -A -f PKGNAME,PKGPATH \ +if false; then +pkg_src_summary -Af PKGNAME,PKGPATH \ graphics/py-cairo:PYTHON_VERSION_REQD=25 | normalize_python_deps | pkg_grep_summary -m PKGPATH 'py-Numeric|py-cairo|python|cairo' | -normalize_version +normalize_version | +cmp 'pkg_src_summary #6' \ +'ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=py25-cairo-X +PKGPATH=graphics/py-cairo +FAKED_PKGPATH= lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 -echo '--------------------------------------------------' -echo '------- pkg_src_summary #11.1' -pkg_src_summary -A -f PKGNAME,PKGPATH \ +PKGNAME=cairo-X +PKGPATH=graphics/cairo +FAKED_PKGPATH= + +ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=py25-Numeric-X +PKGPATH=math/py-Numeric +FAKED_PKGPATH= lang/python25 lang/python25 + +PKGNAME=python25-X +PKGPATH=lang/python25 +FAKED_PKGPATH= + +' +fi + +if false; then +pkg_src_summary -A -fPKGNAME,PKGPATH \ graphics/py-cairo:PYTHON_VERSION_REQD=26 | normalize_python_deps | pkg_grep_summary -m PKGPATH 'py-Numeric|py-cairo|python|cairo' | -normalize_version +normalize_version | +cmp 'pkg_src_summary #7' \ +'PKGNAME=py26-cairo-X +PKGPATH=graphics/py-cairo +FAKED_PKGPATH= lang/python26 math/py-Numeric math/py-Numeric -echo '--------------------------------------------------' -echo '------- pkg_src_summary #11.2' -pkg_src_summary -m -A -f PKGNAME,PKGPATH graphics/py-cairo | +PKGNAME=py26-Numeric-X +PKGPATH=math/py-Numeric +FAKED_PKGPATH= lang/python26 + +PKGNAME=cairo-X +PKGPATH=graphics/cairo +FAKED_PKGPATH= + +PKGNAME=python26-X +PKGPATH=lang/python26 +FAKED_PKGPATH= + +' +fi + +if false; then +pkg_src_summary -mA -f PKGNAME,PKGPATH graphics/py-cairo | normalize_python_deps | pkg_grep_summary -m PKGPATH 'py-Numeric|py-cairo|python|cairo' | -normalize_version +normalize_version | +cmp 'pkg_src_summary #8' \ +'PKGNAME=py26-cairo-X +PKGPATH=graphics/py-cairo +FAKED_PKGPATH= lang/python26 math/py-Numeric math/py-Numeric +ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=py25-cairo-X +PKGPATH=graphics/py-cairo +FAKED_PKGPATH= lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 lang/python25 math/py-Numeric:PYTHON_VERSION_REQD=25 + +PKGNAME=cairo-X +PKGPATH=graphics/cairo +FAKED_PKGPATH= + +ASSIGNMENTS=PYTHON_VERSION_REQD=25 +PKGNAME=py25-Numeric-X +PKGPATH=math/py-Numeric +FAKED_PKGPATH= lang/python25 lang/python25 + +PKGNAME=py26-Numeric-X +PKGPATH=math/py-Numeric +FAKED_PKGPATH= lang/python26 + +PKGNAME=python25-X +PKGPATH=lang/python25 +FAKED_PKGPATH= + +PKGNAME=python26-X +PKGPATH=lang/python26 +FAKED_PKGPATH= + +' +fi + +pkg_src_summary -f PKGNAME --add-fields 'PKGPATH MAINTAINER' x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #9' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + +pkg_src_summary --fields=PKGNAME -a 'PKGPATH MAINTAINER' x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #10' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + +pkg_src_summary -fPKGNAME -aPKGPATH,MAINTAINER x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #11' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + +pkg_src_summary -fPKGNAME --add-fields=PKGPATH,MAINTAINER x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #12' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + + + +# pkg_src_summary +pkg_src_summary -f PKGNAME,PKGPATH,COMMENT --rem-fields 'PKGPATH MAINTAINER' x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #13' \ +'PKGNAME=xxkb-X +COMMENT=XXKB - switches and indicates a current keyboard layout + +' + +pkg_src_summary -f PKGNAME,PKGPATH,COMMENT -r 'PKGPATH MAINTAINER' x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #14' \ +'PKGNAME=xxkb-X +COMMENT=XXKB - switches and indicates a current keyboard layout + +' + +pkg_src_summary -f PKGNAME,PKGPATH,COMMENT -rPKGPATH,MAINTAINER x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #15' \ +'PKGNAME=xxkb-X +COMMENT=XXKB - switches and indicates a current keyboard layout + +' + +pkg_src_summary -f PKGNAME,PKGPATH,COMMENT --rem-fields=PKGPATH,MAINTAINER x11/xxkb | +normalize_version | +cmp 'pkg_src_summary #16' \ +'PKGNAME=xxkb-X +COMMENT=XXKB - switches and indicates a current keyboard layout + +' + +hide_distfile_size (){ + sed 's/:[0-9]*/:NNN/g' "$@" +} + +pkg_src_summary -f PKGNAME,PKGPATH,ALLDISTFILES x11/xxkb | hide_distfile_size | +cmp 'pkg_src_summary #17' \ +'PKGNAME=xxkb-1.11 +PKGPATH=x11/xxkb +ALLDISTFILES= xxkb-1.11-src.tar.gz:NNN + +' # pkg_assignments2pkgpath -echo '--------------------------------------------------' -echo '------- pkg_assignments2pkgpath #12' pkg_assignments2pkgpath -h 2>&1 | -grep pkg_assignments2pkgpath > /dev/null && echo ok1 +grep pkg_assignments2pkgpath | +cmp 'pkg_assignments2pkgpath #1' \ +'pkg_assignments2pkgpath - makes an ASSIGNMENTS section a part of PKGPATH +usage: pkg_assignments2pkgpath -h|--help\n\ + pkg_assignments2pkgpath [OPTIONS] [files...] +' pkg_assignments2pkgpath --help 2>&1 | -grep pkg_assignments2pkgpath > /dev/null && echo ok2 +grep pkg_assignments2pkgpath | +cmp 'pkg_assignments2pkgpath #2' \ +'pkg_assignments2pkgpath - makes an ASSIGNMENTS section a part of PKGPATH +usage: pkg_assignments2pkgpath -h|--help\n\ + pkg_assignments2pkgpath [OPTIONS] [files...] +' # pkg_src_fetch_var -echo '--------------------------------------------------' -echo '------- pkg_src_fetch_var #13.1' echo x11/xxkb | pkg_src_fetch_var -f 'PKGNAME PKGPATH MAINTAINER' | -normalize_version +normalize_version | +cmp 'pkg_src_fetch_var #1' \ +'+ xxkb-1.11 x11/xxkb vle@gmx.net +' -echo '--------------------------------------------------' -echo '------- pkg_src_fetch_var #13.2' echo x11/xxkb | pkg_src_fetch_var -v'PKGNAME PKGPATH MAINTAINER' | -normalize_version +normalize_version | +cmp 'pkg_src_fetch_var #2' \ +'+ xxkb-1.11 x11/xxkb vle@gmx.net +' -echo '--------------------------------------------------' -echo '------- pkg_src_fetch_var #13.3' echo x11/xxkb | pkg_src_fetch_var --vars='PKGNAME PKGPATH MAINTAINER' | -normalize_version +normalize_version | +cmp 'pkg_src_fetch_var #3' \ +'+ xxkb-1.11 x11/xxkb vle@gmx.net +' -echo '--------------------------------------------------' -echo '------- pkg_src_fetch_var #13.4' echo x11/xxkb | pkg_src_fetch_var --fields 'PKGNAME PKGPATH MAINTAINER' | -normalize_version - +normalize_version | +cmp 'pkg_src_fetch_var #4' \ +'+ xxkb-1.11 x11/xxkb vle@gmx.net +' # pkg_micro_src_summary -echo '--------------------------------------------------' -echo '------- pkg_micro_src_summary #14.1' +pkgs="`sed -n 's/^PKGPATH=//p' src_summary.txt`" +pkg_micro_src_summary $pkgs 2>"$tmpfn4" | +tee "$objdir"/summary_micro.txt | +normalize_version | +cmp 'pkg_micro_src_summary #1' \ +'PKGNAME=distbb-X +PKGPATH=wip/distbb + +PKGNAME=checkperms-X +PKGPATH=sysutils/checkperms + +PKGNAME=dict-client-X +PKGPATH=textproc/dict-client + +PKGNAME=libmaa-X +PKGPATH=devel/libmaa + +PKGNAME=gmake-X +PKGPATH=devel/gmake + +PKGNAME=paexec-X +PKGPATH=wip/paexec + +PKGNAME=libtool-base-X +PKGPATH=devel/libtool-base + +PKGNAME=runawk-X +PKGPATH=wip/runawk + +PKGNAME=emacs-X +PKGPATH=editors/emacs + +PKGNAME=pkg_summary-utils-X +PKGPATH=wip/pkg_summary-utils + +PKGNAME=libungif-X +PKGPATH=graphics/libungif + +PKGNAME=tiff-X +PKGPATH=graphics/tiff + +PKGNAME=x11-links-X +PKGPATH=pkgtools/x11-links + +PKGNAME=perl-X +PKGPATH=lang/perl5 + +PKGNAME=libltdl-X +PKGPATH=devel/libltdl + +PKGNAME=pipestatus-X +PKGPATH=devel/pipestatus + +PKGNAME=awk-pkgsrc-dewey-X +PKGPATH=wip/awk-pkgsrc-dewey + +PKGNAME=png-X +PKGPATH=graphics/png + +PKGNAME=netcat-X +PKGPATH=net/netcat + +PKGNAME=pkg-config-X +PKGPATH=devel/pkg-config + +PKGNAME=jpeg-X +PKGPATH=graphics/jpeg + +PKGNAME=dictem-X +PKGPATH=textproc/dictem + +PKGNAME=pkg_online-server-X +PKGPATH=wip/pkg_online-server + +PKGNAME=pkg_online-client-X +PKGPATH=wip/pkg_online-client + +PKGNAME=ap22-vhost-ldap-X +PKGPATH=www/ap22-vhost-ldap + +' + +cat "$tmpfn4" | +cmp 'pkg_micro_src_summary #1 stderr' \ +" ------------------ +Bad package wip/pkg_online, skipped +cd: can't cd to wip/pkg_online + ------------------ +Bad package wip/dict-server, skipped +cd: can't cd to wip/dict-server + ------------------ +Bad package wip/dict-client, skipped +cd: can't cd to wip/dict-client + ------------------ +Bad package www/ap2-vhost-ldap:PKG_APACHE=apache2, skipped +cd: can't cd to www/ap2-vhost-ldap +" + pkg_micro_src_summary -f PKGNAME,PKGPATH,MAINTAINER x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_micro_src_summary #14.2' +normalize_version | +cmp 'pkg_micro_src_summary #2' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + pkg_micro_src_summary --fields=PKGNAME,PKGPATH,MAINTAINER x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_micro_src_summary #14.3' +normalize_version | +cmp 'pkg_micro_src_summary #3' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + pkg_micro_src_summary -fPKGNAME,PKGPATH,MAINTAINER x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_micro_src_summary #14.4' +normalize_version | +cmp 'pkg_micro_src_summary #4' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net + +' + pkg_micro_src_summary --fields PKGNAME,PKGPATH,MAINTAINER x11/xxkb | -normalize_version +normalize_version | +cmp 'pkg_micro_src_summary #5' \ +'PKGNAME=xxkb-X +PKGPATH=x11/xxkb +MAINTAINER=vle@gmx.net +' # pkg_src_summary -echo '--------------------------------------------------' -echo '------- pkg_src_summary #15.1' -pkg_src_summary -f PKGNAME --add-fields 'PKGPATH MAINTAINER' x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #15.2' -pkg_src_summary --fields=PKGNAME -a 'PKGPATH MAINTAINER' x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #15.3' -pkg_src_summary -fPKGNAME -aPKGPATH,MAINTAINER x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #15.4' -pkg_src_summary -fPKGNAME --add-fields=PKGPATH,MAINTAINER x11/xxkb | -normalize_version - - - -# pkg_src_summary -echo '--------------------------------------------------' -echo '------- pkg_src_summary #16.1' -pkg_src_summary -f PKGNAME,PKGPATH,COMMENT --rem-fields 'PKGPATH MAINTAINER' x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #16.2' -pkg_src_summary -f PKGNAME,PKGPATH,COMMENT -r 'PKGPATH MAINTAINER' x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #16.3' -pkg_src_summary -f PKGNAME,PKGPATH,COMMENT -rPKGPATH,MAINTAINER x11/xxkb | -normalize_version -echo '--------------------------------------------------' -echo '------- pkg_src_summary #16.4' -pkg_src_summary -f PKGNAME,PKGPATH,COMMENT --rem-fields=PKGPATH,MAINTAINER x11/xxkb | -normalize_version - - - # pkg_summary2build_graph -echo '--------------------------------------------------' -echo '------- pkg_summary2build_graph #17.1' -pkg_summary2build_graph src_summary.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_summary2build_graph #17.2' -pkg_summary2build_graph src_summary2.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_summary2build_graph #17.3' -pkg_summary2build_graph src_summary7.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_summary2build_graph #17.4' -pkg_summary2build_graph src_summary8.txt | sort | uniq +pkg_summary2build_graph src_summary.txt | sort | +cmp 'pkg_summary2build_graph #1' \ +'devel/gmake devel/libmaa +devel/gmake editors/emacs +devel/gmake textproc/dict-client +devel/gmake wip/dict-client +devel/gmake wip/dict-server +devel/libltdl textproc/dict-client +devel/libmaa wip/dict-client +devel/libmaa wip/dict-server +devel/libmaa wip/paexec +devel/libtool-base devel/libltdl +devel/libtool-base devel/libmaa +devel/libtool-base devel/pkg-config +devel/libtool-base graphics/jpeg +devel/libtool-base graphics/libungif +devel/libtool-base graphics/png +devel/libtool-base graphics/tiff +devel/libtool-base wip/dict-client +devel/libtool-base wip/dict-server +devel/pipestatus wip/pkg_online-client +devel/pipestatus wip/pkg_online-server +devel/pipestatus wip/pkg_summary-utils +devel/pkg-config editors/emacs +editors/emacs textproc/dictem +graphics/jpeg editors/emacs +graphics/jpeg graphics/tiff +graphics/libungif editors/emacs +graphics/png editors/emacs +graphics/tiff editors/emacs +lang/perl5 editors/emacs +lang/perl5 graphics/libungif +net/netcat wip/pkg_online-client +pkgtools/x11-links editors/emacs +sysutils/checkperms devel/gmake +sysutils/checkperms devel/libltdl +sysutils/checkperms devel/libmaa +sysutils/checkperms devel/libtool-base +sysutils/checkperms devel/pipestatus +sysutils/checkperms devel/pkg-config +sysutils/checkperms editors/emacs +sysutils/checkperms graphics/jpeg +sysutils/checkperms graphics/libungif +sysutils/checkperms graphics/png +sysutils/checkperms graphics/tiff +sysutils/checkperms lang/perl5 +sysutils/checkperms net/netcat +sysutils/checkperms pkgtools/x11-links +sysutils/checkperms textproc/dict-client +sysutils/checkperms textproc/dictem +sysutils/checkperms wip/awk-pkgsrc-dewey +sysutils/checkperms wip/dict-client +sysutils/checkperms wip/dict-server +sysutils/checkperms wip/distbb +sysutils/checkperms wip/paexec +sysutils/checkperms wip/pkg_online +sysutils/checkperms wip/pkg_online-client +sysutils/checkperms wip/pkg_online-server +sysutils/checkperms wip/pkg_summary-utils +sysutils/checkperms wip/runawk +textproc/dict-client textproc/dictem +wip/awk-pkgsrc-dewey wip/pkg_summary-utils +wip/dict-client wip/pkg_online-client +wip/dict-server wip/pkg_online-server +wip/paexec wip/distbb +wip/pkg_online-client wip/pkg_online +wip/pkg_online-server wip/pkg_online +wip/pkg_summary-utils wip/distbb +wip/pkg_summary-utils wip/pkg_online-client +wip/pkg_summary-utils wip/pkg_online-server +wip/runawk wip/awk-pkgsrc-dewey +wip/runawk wip/distbb +wip/runawk wip/pkg_summary-utils +www/ap2-vhost-ldap:PKG_APACHE=apache2 +www/ap22-vhost-ldap:PKG_APACHE=apache22 +' + +pkg_summary2build_graph src_summary2.txt | sort | +cmp 'pkg_summary2build_graph #2' \ +'devel/gmake +devel/libltdl +devel/libmaa wip/dict-client +devel/libtool-base +devel/pipestatus +devel/pkg-config +editors/emacs +graphics/jpeg +graphics/libungif +graphics/png +graphics/tiff +lang/perl5 +pkgtools/digest +sysutils/checkperms +textproc/dict-client +textproc/dictem +wip/awk-pkgsrc-dewey +wip/dict-client wip/pkg_online-client +wip/dict-server +wip/distbb +wip/paexec +wip/pkg_online-client wip/pkg_online +wip/pkg_online-server wip/pkg_online +wip/pkg_summary-utils +wip/runawk +' + +pkg_summary2build_graph src_summary7.txt | sort | +cmp 'pkg_summary2build_graph #3' \ +'audio/py-mutagen audio/py-karaoke +audio/py-mutagen:PYTHON_VERSION_REQD=24 audio/py-karaoke:PYTHON_VERSION_REQD=24 +audio/py-mutagen:PYTHON_VERSION_REQD=26 audio/py-karaoke:PYTHON_VERSION_REQD=26 +' + +pkg_summary2build_graph src_summary8.txt | sort | uniq | +cmp 'pkg_summary2build_graph #4' \ +'archivers/p5-Archive-Tar devel/p5-Module-Build +devel/p5-Algorithm-Diff textproc/p5-Text-Diff +devel/p5-Compress-Raw-Bzip2 devel/p5-IO-Compress +devel/p5-Compress-Raw-Zlib devel/p5-IO-Compress +devel/p5-ExtUtils-CBuilder devel/p5-Module-Build +devel/p5-ExtUtils-ParseXS devel/p5-Module-Build +devel/p5-IO-Compress archivers/p5-Archive-Tar +devel/p5-IO-Compress devel/p5-IO-Zlib +devel/p5-IO-String archivers/p5-Archive-Tar +devel/p5-IO-Zlib archivers/p5-Archive-Tar +devel/p5-version devel/p5-Module-Build +lang/perl5 archivers/p5-Archive-Tar +lang/perl5 devel/p5-Algorithm-Diff +lang/perl5 devel/p5-Compress-Raw-Bzip2 +lang/perl5 devel/p5-Compress-Raw-Zlib +lang/perl5 devel/p5-ExtUtils-CBuilder +lang/perl5 devel/p5-ExtUtils-ParseXS +lang/perl5 devel/p5-IO-Compress +lang/perl5 devel/p5-IO-String +lang/perl5 devel/p5-IO-Zlib +lang/perl5 devel/p5-Module-Build +lang/perl5 devel/p5-version +lang/perl5 textproc/p5-Filter +lang/perl5 textproc/p5-Pod-Readme +lang/perl5 textproc/p5-Regexp-Common +lang/perl5 textproc/p5-Text-Diff +lang/perl5 textproc/p5-YAML +sysutils/checkperms archivers/p5-Archive-Tar +sysutils/checkperms devel/p5-Algorithm-Diff +sysutils/checkperms devel/p5-Compress-Raw-Bzip2 +sysutils/checkperms devel/p5-Compress-Raw-Zlib +sysutils/checkperms devel/p5-ExtUtils-CBuilder +sysutils/checkperms devel/p5-ExtUtils-ParseXS +sysutils/checkperms devel/p5-IO-Compress +sysutils/checkperms devel/p5-IO-String +sysutils/checkperms devel/p5-IO-Zlib +sysutils/checkperms devel/p5-Module-Build +sysutils/checkperms devel/p5-version +sysutils/checkperms lang/perl5 +sysutils/checkperms textproc/p5-Filter +sysutils/checkperms textproc/p5-Pod-Readme +sysutils/checkperms textproc/p5-Regexp-Common +sysutils/checkperms textproc/p5-Text-Diff +sysutils/checkperms textproc/p5-YAML +textproc/p5-Filter textproc/p5-YAML +textproc/p5-Pod-Readme devel/p5-Module-Build +textproc/p5-Regexp-Common textproc/p5-Pod-Readme +textproc/p5-Text-Diff archivers/p5-Archive-Tar +textproc/p5-YAML devel/p5-Module-Build +' +#test -f "$tmpex" +#exit $? # pkg_summary2deps -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #18.1' -pkg_summary2deps -Apn src_summary.txt | sort +pkg_summary2deps -Apn src_summary.txt | sort | +cmp 'pkg_summary2deps #1' \ +'devel/gmake;gmake devel/libmaa;libmaa +devel/gmake;gmake editors/emacs;emacs +devel/gmake;gmake textproc/dict-client;dict-client +devel/gmake;gmake wip/dict-client;dict-client +devel/gmake;gmake wip/dict-server;dict-server +devel/libltdl;libltdl textproc/dict-client;dict-client +devel/libmaa;libmaa wip/dict-client;dict-client +devel/libmaa;libmaa wip/dict-server;dict-server +devel/libmaa;libmaa wip/paexec;paexec +devel/libtool-base;libtool-base devel/libltdl;libltdl +devel/libtool-base;libtool-base devel/libmaa;libmaa +devel/libtool-base;libtool-base devel/pkg-config;pkg-config +devel/libtool-base;libtool-base graphics/jpeg;jpeg +devel/libtool-base;libtool-base graphics/libungif;libungif +devel/libtool-base;libtool-base graphics/png;png +devel/libtool-base;libtool-base graphics/tiff;tiff +devel/libtool-base;libtool-base wip/dict-client;dict-client +devel/libtool-base;libtool-base wip/dict-server;dict-server +devel/pipestatus;pipestatus wip/pkg_online-client;pkg_online-client +devel/pipestatus;pipestatus wip/pkg_online-server;pkg_online-server +devel/pipestatus;pipestatus wip/pkg_summary-utils;pkg_summary-utils +devel/pkg-config;pkg-config editors/emacs;emacs +editors/emacs;emacs textproc/dictem;dictem +graphics/jpeg;jpeg editors/emacs;emacs +graphics/jpeg;jpeg graphics/tiff;tiff +graphics/libungif;libungif editors/emacs;emacs +graphics/png;png editors/emacs;emacs +graphics/tiff;tiff editors/emacs;emacs +lang/perl5;perl editors/emacs;emacs +lang/perl5;perl graphics/libungif;libungif +net/netcat;netcat wip/pkg_online-client;pkg_online-client +pkgtools/x11-links;x11-links editors/emacs;emacs +sysutils/checkperms;checkperms devel/gmake;gmake +sysutils/checkperms;checkperms devel/libltdl;libltdl +sysutils/checkperms;checkperms devel/libmaa;libmaa +sysutils/checkperms;checkperms devel/libtool-base;libtool-base +sysutils/checkperms;checkperms devel/pipestatus;pipestatus +sysutils/checkperms;checkperms devel/pkg-config;pkg-config +sysutils/checkperms;checkperms editors/emacs;emacs +sysutils/checkperms;checkperms graphics/jpeg;jpeg +sysutils/checkperms;checkperms graphics/libungif;libungif +sysutils/checkperms;checkperms graphics/png;png +sysutils/checkperms;checkperms graphics/tiff;tiff +sysutils/checkperms;checkperms lang/perl5;perl +sysutils/checkperms;checkperms net/netcat;netcat +sysutils/checkperms;checkperms pkgtools/x11-links;x11-links +sysutils/checkperms;checkperms textproc/dict-client;dict-client +sysutils/checkperms;checkperms textproc/dictem;dictem +sysutils/checkperms;checkperms wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey +sysutils/checkperms;checkperms wip/dict-client;dict-client +sysutils/checkperms;checkperms wip/dict-server;dict-server +sysutils/checkperms;checkperms wip/distbb;distbb +sysutils/checkperms;checkperms wip/paexec;paexec +sysutils/checkperms;checkperms wip/pkg_online-client;pkg_online-client +sysutils/checkperms;checkperms wip/pkg_online-server;pkg_online-server +sysutils/checkperms;checkperms wip/pkg_online;pkg_online +sysutils/checkperms;checkperms wip/pkg_summary-utils;pkg_summary-utils +sysutils/checkperms;checkperms wip/runawk;runawk +textproc/dict-client;dict-client textproc/dictem;dictem +wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey wip/pkg_summary-utils;pkg_summary-utils +wip/dict-client;dict-client wip/pkg_online-client;pkg_online-client +wip/dict-server;dict-server wip/pkg_online-server;pkg_online-server +wip/paexec;paexec wip/distbb;distbb +wip/pkg_online-client;pkg_online-client wip/pkg_online;pkg_online +wip/pkg_online-server;pkg_online-server wip/pkg_online;pkg_online +wip/pkg_summary-utils;pkg_summary-utils wip/distbb;distbb +wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-client;pkg_online-client +wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-server;pkg_online-server +wip/runawk;runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey +wip/runawk;runawk wip/distbb;distbb +wip/runawk;runawk wip/pkg_summary-utils;pkg_summary-utils +www/ap2-vhost-ldap:PKG_APACHE=apache2;ap2-vhost-ldap +www/ap22-vhost-ldap:PKG_APACHE=apache22;ap22-vhost-ldap +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #18.2' -pkg_summary2deps -dnt src_summary.txt | sort +pkg_summary2deps -dnt src_summary.txt | sort | +cmp 'pkg_summary2deps #2' \ +'ap2-vhost-ldap ap2-vhost-ldap +ap22-vhost-ldap ap22-vhost-ldap +awk-pkgsrc-dewey pkg_summary-utils +checkperms checkperms +dict-client dictem +dict-client pkg_online-client +dict-server pkg_online-server +emacs dictem +gmake gmake +jpeg emacs +jpeg tiff +libltdl dict-client +libmaa dict-client +libmaa dict-server +libmaa paexec +libtool-base libtool-base +libungif emacs +netcat pkg_online-client +paexec distbb +perl emacs +perl libungif +pipestatus pkg_online-client +pipestatus pkg_online-server +pipestatus pkg_summary-utils +pkg-config pkg-config +pkg_online-client pkg_online +pkg_online-server pkg_online +pkg_summary-utils distbb +pkg_summary-utils pkg_online-client +pkg_summary-utils pkg_online-server +png emacs +runawk awk-pkgsrc-dewey +runawk distbb +runawk pkg_summary-utils +tiff emacs +x11-links x11-links +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #18.3' -pkg_summary2deps -Apntr src_summary7.txt | sort +pkg_summary2deps -Apntr src_summary7.txt | sort | +cmp 'pkg_summary2deps #3' \ +'audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen audio/py-karaoke:PYTHON_VERSION_REQD=24;py24-karaoke-0.7.1 +audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 +audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen audio/py-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1 +audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen-1.15 +audio/py-mutagen;py25-mutagen audio/py-karaoke;py25-karaoke-0.7.1 +audio/py-mutagen;py25-mutagen-1.15 +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #18.4' -pkg_summary2deps -Dp src_summary8.txt | sort | uniq +pkg_summary2deps -Dp src_summary8.txt | sort | uniq | +cmp 'pkg_summary2deps #4' \ +'lang/perl5 devel/p5-ExtUtils-CBuilder +lang/perl5 devel/p5-ExtUtils-ParseXS +lang/perl5 devel/p5-Module-Build +lang/perl5 devel/p5-version +sysutils/checkperms archivers/p5-Archive-Tar +sysutils/checkperms devel/p5-Algorithm-Diff +sysutils/checkperms devel/p5-Compress-Raw-Bzip2 +sysutils/checkperms devel/p5-Compress-Raw-Zlib +sysutils/checkperms devel/p5-ExtUtils-CBuilder +sysutils/checkperms devel/p5-ExtUtils-ParseXS +sysutils/checkperms devel/p5-IO-Compress +sysutils/checkperms devel/p5-IO-String +sysutils/checkperms devel/p5-IO-Zlib +sysutils/checkperms devel/p5-Module-Build +sysutils/checkperms devel/p5-version +sysutils/checkperms lang/perl5 +sysutils/checkperms textproc/p5-Filter +sysutils/checkperms textproc/p5-Pod-Readme +sysutils/checkperms textproc/p5-Regexp-Common +sysutils/checkperms textproc/p5-Text-Diff +sysutils/checkperms textproc/p5-YAML +textproc/p5-YAML devel/p5-Module-Build +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #18.5' -pkg_summary2deps -Dpr src_summary8.txt | sort | uniq +pkg_summary2deps -Dpr src_summary8.txt | sort | uniq | +cmp 'pkg_summary2deps #5' \ +'lang/perl5;perl devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 +lang/perl5;perl devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 +lang/perl5;perl devel/p5-Module-Build;p5-Module-Build-0.35000 +lang/perl5;perl devel/p5-version;p5-version-0.7702 +sysutils/checkperms;checkperms archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 +sysutils/checkperms;checkperms devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1 +sysutils/checkperms;checkperms devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021 +sysutils/checkperms;checkperms devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021 +sysutils/checkperms;checkperms devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 +sysutils/checkperms;checkperms devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 +sysutils/checkperms;checkperms devel/p5-IO-Compress;p5-IO-Compress-2.021 +sysutils/checkperms;checkperms devel/p5-IO-String;p5-IO-String-1.08nb1 +sysutils/checkperms;checkperms devel/p5-IO-Zlib;p5-IO-Zlib-1.10 +sysutils/checkperms;checkperms devel/p5-Module-Build;p5-Module-Build-0.35000 +sysutils/checkperms;checkperms devel/p5-version;p5-version-0.7702 +sysutils/checkperms;checkperms lang/perl5;perl-5.10.0nb7 +sysutils/checkperms;checkperms textproc/p5-Filter;p5-Filter-1.37 +sysutils/checkperms;checkperms textproc/p5-Pod-Readme;p5-Pod-Readme-0.09 +sysutils/checkperms;checkperms textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1 +sysutils/checkperms;checkperms textproc/p5-Text-Diff;p5-Text-Diff-1.37 +sysutils/checkperms;checkperms textproc/p5-YAML;p5-YAML-0.70 +sysutils/checkperms;checkperms-1.10 +textproc/p5-YAML;p5-YAML devel/p5-Module-Build;p5-Module-Build-0.35000 +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #19.1' -pkg_summary2deps -ApnR src_summary.txt | sort +pkg_summary2deps -ApnR src_summary.txt | sort | +cmp 'pkg_summary2deps #6' \ +'devel/gmake;gmake>=3.81 devel/libmaa;libmaa +devel/gmake;gmake>=3.81 editors/emacs;emacs +devel/gmake;gmake>=3.81 textproc/dict-client;dict-client +devel/gmake;gmake>=3.81 wip/dict-client;dict-client +devel/gmake;gmake>=3.81 wip/dict-server;dict-server +devel/libltdl;libltdl>=1.5.10 textproc/dict-client;dict-client +devel/libmaa;libmaa>=0.990 wip/paexec;paexec +devel/libmaa;libmaa>=1.0 wip/dict-client;dict-client +devel/libmaa;libmaa>=1.2 wip/dict-server;dict-server +devel/libtool-base;libtool-base>=1.5.18nb5 devel/libltdl;libltdl +devel/libtool-base;libtool-base>=1.5.18nb5 devel/libmaa;libmaa +devel/libtool-base;libtool-base>=1.5.18nb5 devel/pkg-config;pkg-config +devel/libtool-base;libtool-base>=1.5.18nb5 graphics/jpeg;jpeg +devel/libtool-base;libtool-base>=1.5.18nb5 graphics/libungif;libungif +devel/libtool-base;libtool-base>=1.5.18nb5 graphics/png;png +devel/libtool-base;libtool-base>=1.5.18nb5 graphics/tiff;tiff +devel/libtool-base;libtool-base>=1.5.18nb5 wip/dict-client;dict-client +devel/libtool-base;libtool-base>=1.5.18nb5 wip/dict-server;dict-server +devel/pipestatus;pipestatus-[0-9]* wip/pkg_online-client;pkg_online-client +devel/pipestatus;pipestatus-[0-9]* wip/pkg_online-server;pkg_online-server +devel/pipestatus;pipestatus-[0-9]* wip/pkg_summary-utils;pkg_summary-utils +devel/pkg-config;pkg-config>=0.19 editors/emacs;emacs +editors/emacs;emacs>=22 textproc/dictem;dictem +graphics/jpeg;jpeg>=6b editors/emacs;emacs +graphics/jpeg;jpeg>=6b graphics/tiff;tiff +graphics/jpeg;jpeg>=6bnb2 editors/emacs;emacs +graphics/jpeg;jpeg>=6bnb2 graphics/tiff;tiff +graphics/libungif;libungif>=4.1.0 editors/emacs;emacs +graphics/libungif;libungif>=4.1.0.1 editors/emacs;emacs +graphics/libungif;libungif>=4.1.3nb1 editors/emacs;emacs +graphics/png;png>=1.2.4 editors/emacs;emacs +graphics/png;png>=1.2.9nb2 editors/emacs;emacs +graphics/tiff;tiff>=3.6.1 editors/emacs;emacs +graphics/tiff;tiff>=3.7.2nb1 editors/emacs;emacs +lang/perl5;perl>=5.0 editors/emacs;emacs +lang/perl5;perl>=5.0 graphics/libungif;libungif +net/netcat;netcat-[0-9]* wip/pkg_online-client;pkg_online-client +pkgtools/x11-links;x11-links>=0.38 editors/emacs;emacs +sysutils/checkperms;checkperms>=1.1 devel/gmake;gmake +sysutils/checkperms;checkperms>=1.1 devel/libltdl;libltdl +sysutils/checkperms;checkperms>=1.1 devel/libmaa;libmaa +sysutils/checkperms;checkperms>=1.1 devel/libtool-base;libtool-base +sysutils/checkperms;checkperms>=1.1 devel/pipestatus;pipestatus +sysutils/checkperms;checkperms>=1.1 devel/pkg-config;pkg-config +sysutils/checkperms;checkperms>=1.1 editors/emacs;emacs +sysutils/checkperms;checkperms>=1.1 graphics/jpeg;jpeg +sysutils/checkperms;checkperms>=1.1 graphics/libungif;libungif +sysutils/checkperms;checkperms>=1.1 graphics/png;png +sysutils/checkperms;checkperms>=1.1 graphics/tiff;tiff +sysutils/checkperms;checkperms>=1.1 lang/perl5;perl +sysutils/checkperms;checkperms>=1.1 net/netcat;netcat +sysutils/checkperms;checkperms>=1.1 pkgtools/x11-links;x11-links +sysutils/checkperms;checkperms>=1.1 textproc/dict-client;dict-client +sysutils/checkperms;checkperms>=1.1 textproc/dictem;dictem +sysutils/checkperms;checkperms>=1.1 wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey +sysutils/checkperms;checkperms>=1.1 wip/dict-client;dict-client +sysutils/checkperms;checkperms>=1.1 wip/dict-server;dict-server +sysutils/checkperms;checkperms>=1.1 wip/distbb;distbb +sysutils/checkperms;checkperms>=1.1 wip/paexec;paexec +sysutils/checkperms;checkperms>=1.1 wip/pkg_online-client;pkg_online-client +sysutils/checkperms;checkperms>=1.1 wip/pkg_online-server;pkg_online-server +sysutils/checkperms;checkperms>=1.1 wip/pkg_online;pkg_online +sysutils/checkperms;checkperms>=1.1 wip/pkg_summary-utils;pkg_summary-utils +sysutils/checkperms;checkperms>=1.1 wip/runawk;runawk +textproc/dict-client;dict-client>=1.9.14 textproc/dictem;dictem +wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey>=0.5.6 wip/pkg_summary-utils;pkg_summary-utils +wip/dict-client;dict-client>=1.10.9 wip/pkg_online-client;pkg_online-client +wip/dict-server;dict-server>=1.10.10nb2 wip/pkg_online-server;pkg_online-server +wip/paexec;paexec>=0.10.0 wip/distbb;distbb +wip/pkg_online-client;pkg_online-client-[0-9]* wip/pkg_online;pkg_online +wip/pkg_online-server;pkg_online-server-[0-9]* wip/pkg_online;pkg_online +wip/pkg_summary-utils;pkg_summary-utils-[0-9]* wip/pkg_online-client;pkg_online-client +wip/pkg_summary-utils;pkg_summary-utils>=0.18.1 wip/distbb;distbb +wip/pkg_summary-utils;pkg_summary-utils>=0.19.0 wip/pkg_online-server;pkg_online-server +wip/runawk;runawk-[0-9]* wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey +wip/runawk;runawk>=0.12.1 wip/pkg_summary-utils;pkg_summary-utils +wip/runawk;runawk>=0.13.0 wip/distbb;distbb +www/ap2-vhost-ldap:PKG_APACHE=apache2;ap2-vhost-ldap +www/ap22-vhost-ldap:PKG_APACHE=apache22;ap22-vhost-ldap +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #19.2' -pkg_summary2deps -dntR src_summary.txt | sort +pkg_summary2deps -dntR src_summary.txt | sort | +cmp 'pkg_summary2deps #7' \ +'ap2-vhost-ldap ap2-vhost-ldap +ap22-vhost-ldap ap22-vhost-ldap +awk-pkgsrc-dewey>=0.5.6 pkg_summary-utils +checkperms checkperms +dict-client>=1.10.9 pkg_online-client +dict-client>=1.9.14 dictem +dict-server>=1.10.10nb2 pkg_online-server +emacs>=22 dictem +gmake gmake +jpeg>=6b emacs +jpeg>=6b tiff +jpeg>=6bnb2 emacs +jpeg>=6bnb2 tiff +libltdl>=1.5.10 dict-client +libmaa>=0.990 paexec +libmaa>=1.0 dict-client +libmaa>=1.2 dict-server +libtool-base libtool-base +libungif>=4.1.0 emacs +libungif>=4.1.0.1 emacs +libungif>=4.1.3nb1 emacs +netcat-[0-9]* pkg_online-client +paexec>=0.10.0 distbb +perl>=5.0 emacs +perl>=5.0 libungif +pipestatus-[0-9]* pkg_online-client +pipestatus-[0-9]* pkg_online-server +pipestatus-[0-9]* pkg_summary-utils +pkg-config pkg-config +pkg_online-client-[0-9]* pkg_online +pkg_online-server-[0-9]* pkg_online +pkg_summary-utils-[0-9]* pkg_online-client +pkg_summary-utils>=0.18.1 distbb +pkg_summary-utils>=0.19.0 pkg_online-server +png>=1.2.4 emacs +png>=1.2.9nb2 emacs +runawk-[0-9]* awk-pkgsrc-dewey +runawk>=0.12.1 pkg_summary-utils +runawk>=0.13.0 distbb +tiff>=3.6.1 emacs +tiff>=3.7.2nb1 emacs +x11-links x11-links +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #19.3' -pkg_summary2deps -ApntrR src_summary7.txt | sort +pkg_summary2deps -ApntrR src_summary7.txt | sort | +cmp 'pkg_summary2deps #8' \ +'audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 +audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen>=1.9 audio/py-karaoke:PYTHON_VERSION_REQD=24;py24-karaoke-0.7.1 +audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen-1.15 +audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen>=1.9 audio/py-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1 +audio/py-mutagen;py25-mutagen-1.15 +audio/py-mutagen;py25-mutagen>=1.9 audio/py-karaoke;py25-karaoke-0.7.1 +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #19.4' -pkg_summary2deps -DpR src_summary8.txt | sort | uniq +pkg_summary2deps -DpR src_summary8.txt | sort | uniq | +cmp 'pkg_summary2deps #9' \ +'lang/perl5;perl>=5.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder +lang/perl5;perl>=5.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS +lang/perl5;perl>=5.10 devel/p5-version;p5-version +lang/perl5;perl>=5.10.0 devel/p5-Module-Build;p5-Module-Build +sysutils/checkperms;checkperms-[0-9]* archivers/p5-Archive-Tar;p5-Archive-Tar +sysutils/checkperms;checkperms>=1.0 archivers/p5-Archive-Tar;p5-Archive-Tar +sysutils/checkperms;checkperms>=1.1 archivers/p5-Archive-Tar;p5-Archive-Tar +sysutils/checkperms;checkperms>=1.1 devel/p5-Algorithm-Diff;p5-Algorithm-Diff +sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2 +sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib +sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder +sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Compress;p5-IO-Compress +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-String;p5-IO-String +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Zlib;p5-IO-Zlib +sysutils/checkperms;checkperms>=1.1 devel/p5-Module-Build;p5-Module-Build +sysutils/checkperms;checkperms>=1.1 devel/p5-version;p5-version +sysutils/checkperms;checkperms>=1.1 lang/perl5;perl +sysutils/checkperms;checkperms>=1.1 textproc/p5-Filter;p5-Filter +sysutils/checkperms;checkperms>=1.1 textproc/p5-Pod-Readme;p5-Pod-Readme +sysutils/checkperms;checkperms>=1.1 textproc/p5-Regexp-Common;p5-Regexp-Common +sysutils/checkperms;checkperms>=1.1 textproc/p5-Text-Diff;p5-Text-Diff +sysutils/checkperms;checkperms>=1.1 textproc/p5-YAML;p5-YAML +textproc/p5-YAML;p5-YAML>=0.50 devel/p5-Module-Build;p5-Module-Build +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #19.5' -pkg_summary2deps -DpRr src_summary8.txt | sort | uniq +pkg_summary2deps -DpRr src_summary8.txt | sort | uniq | +cmp 'pkg_summary2deps #10' \ +'lang/perl5;perl>=5.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 +lang/perl5;perl>=5.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 +lang/perl5;perl>=5.10 devel/p5-version;p5-version-0.7702 +lang/perl5;perl>=5.10.0 devel/p5-Module-Build;p5-Module-Build-0.35000 +sysutils/checkperms;checkperms-1.10 +sysutils/checkperms;checkperms-[0-9]* archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 +sysutils/checkperms;checkperms>=1.0 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 +sysutils/checkperms;checkperms>=1.1 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 +sysutils/checkperms;checkperms>=1.1 devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1 +sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021 +sysutils/checkperms;checkperms>=1.1 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021 +sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 +sysutils/checkperms;checkperms>=1.1 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Compress;p5-IO-Compress-2.021 +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-String;p5-IO-String-1.08nb1 +sysutils/checkperms;checkperms>=1.1 devel/p5-IO-Zlib;p5-IO-Zlib-1.10 +sysutils/checkperms;checkperms>=1.1 devel/p5-Module-Build;p5-Module-Build-0.35000 +sysutils/checkperms;checkperms>=1.1 devel/p5-version;p5-version-0.7702 +sysutils/checkperms;checkperms>=1.1 lang/perl5;perl-5.10.0nb7 +sysutils/checkperms;checkperms>=1.1 textproc/p5-Filter;p5-Filter-1.37 +sysutils/checkperms;checkperms>=1.1 textproc/p5-Pod-Readme;p5-Pod-Readme-0.09 +sysutils/checkperms;checkperms>=1.1 textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1 +sysutils/checkperms;checkperms>=1.1 textproc/p5-Text-Diff;p5-Text-Diff-1.37 +sysutils/checkperms;checkperms>=1.1 textproc/p5-YAML;p5-YAML-0.70 +textproc/p5-YAML;p5-YAML>=0.50 devel/p5-Module-Build;p5-Module-Build-0.35000 +' -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #20.1' -pkg_summary2deps -dn bin_summary1.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #20.2' -pkg_summary2deps -Apn bin_summary1.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_summary2deps #20.3' -pkg_summary2deps -ArR bin_summary1.txt | sort +pkg_summary2deps -dn bin_summary1.txt | sort | +cmp 'pkg_summary2deps #11' \ +'awk-pkgsrc-dewey pkg_summary-utils +checkperms +dict-client pkg_online-client +dict-server pkg_online-server +gmake +libmaa dict-client +libmaa dict-server +libmaa paexec +libtool-base +netcat pkg_online-client +paexec distbb +pipestatus distbb +pipestatus pkg_online-client +pipestatus pkg_online-server +pipestatus pkg_summary-utils +pkg_online-client pkg_conflicts +pkg_online-client pkg_online +pkg_online-server pkg_online +pkg_summary-utils distbb +pkg_summary-utils pkg_conflicts +pkg_summary-utils pkg_online-client +pkg_summary-utils pkg_online-server +runawk awk-pkgsrc-dewey +runawk distbb +runawk paexec +runawk pkg_conflicts +runawk pkg_summary-utils +' + +pkg_summary2deps -Apn bin_summary1.txt | sort | +cmp 'pkg_summary2deps #12' \ +'awk-pkgsrc-dewey wip/pkg_summary-utils;pkg_summary-utils +devel/gmake;gmake +devel/libtool-base;libtool-base +dict-client wip/pkg_online-client;pkg_online-client +dict-server wip/pkg_online-server;pkg_online-server +libmaa wip/dict-client;dict-client +libmaa wip/dict-server;dict-server +libmaa wip/paexec;paexec +netcat wip/pkg_online-client;pkg_online-client +paexec wip/distbb;distbb +pipestatus wip/distbb;distbb +pipestatus wip/pkg_online-client;pkg_online-client +pipestatus wip/pkg_online-server;pkg_online-server +pipestatus wip/pkg_summary-utils;pkg_summary-utils +pkg_online-client wip/pkg_conflicts;pkg_conflicts +pkg_online-client wip/pkg_online;pkg_online +pkg_online-server wip/pkg_online;pkg_online +pkg_summary-utils wip/distbb;distbb +pkg_summary-utils wip/pkg_conflicts;pkg_conflicts +pkg_summary-utils wip/pkg_online-client;pkg_online-client +pkg_summary-utils wip/pkg_online-server;pkg_online-server +runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey +runawk wip/distbb;distbb +runawk wip/paexec;paexec +runawk wip/pkg_conflicts;pkg_conflicts +runawk wip/pkg_summary-utils;pkg_summary-utils +sysutils/checkperms;checkperms +' + +pkg_summary2deps -ArR bin_summary1.txt | sort | +cmp 'pkg_summary2deps #13' \ +'awk-pkgsrc-dewey>=0.5.6 pkg_summary-utils-0.35rc1 +checkperms-1.10 +dict-client>=1.10.9 pkg_online-client-0.9.1 +dict-server>=1.10.10nb2 pkg_online-server-0.9.1 +gmake-3.81 +libmaa-1.1.0 +libmaa>=0.990 dict-client-1.11.2 +libmaa>=0.990 dict-server-1.11.2 +libmaa>=0.990 paexec-0.13.0nb1 +libtool-base-1.5.26nb2 +netcat-1.10nb2 +netcat-[0-9]* pkg_online-client-0.9.1 +paexec>=0.13.0nb1 distbb-0.33.0 +pipestatus-0.6.0 +pipestatus-[0-9]* pkg_online-client-0.9.1 +pipestatus-[0-9]* pkg_online-server-0.9.1 +pipestatus-[0-9]* pkg_summary-utils-0.35rc1 +pipestatus>=0.5.0 distbb-0.33.0 +pkg_online-client-0.9.1 pkg_online-0.9.1 +pkg_online-client>=0.6.0 pkg_conflicts-0.4.0 +pkg_online-server-0.9.1 pkg_online-0.9.1 +pkg_summary-utils-[0-9]* pkg_conflicts-0.4.0 +pkg_summary-utils-[0-9]* pkg_online-client-0.9.1 +pkg_summary-utils>=0.18.1 pkg_online-server-0.9.1 +pkg_summary-utils>=0.31.0 distbb-0.33.0 +runawk-0.18.0 +runawk-[0-9]* awk-pkgsrc-dewey-0.5.6 +runawk>=0.14.3 distbb-0.33.0 +runawk>=0.14.3 pkg_conflicts-0.4.0 +runawk>=0.16.0 paexec-0.13.0nb1 +runawk>=0.16.0 pkg_summary-utils-0.35rc1 +' -echo '--------------------------------------------------' -echo '------- pkg_lint_summary #21.0' pkg_lint_summary bin_summary1.txt 2>&1 | sort | -sed 's/^One of the.*$/MandatoryOptionErrorMessage/' -echo '--------------------------------------------------' -echo '------- pkg_lint_summary #21.1' -pkg_lint_summary -l bin_summary1.txt | sort +sed 's/^One of the.*$/MandatoryOptionErrorMessage/' | +cmp 'pkg_lint_summary #1' \ +'MandatoryOptionErrorMessage +' + +pkg_lint_summary -l bin_summary1.txt | sort | +cmp 'pkg_lint_summary #2' \ +'l: not_found /usr/pkg/lib/libmaa.so.2 wip/dict-client dict-client-1.11.2 +l: not_found /usr/pkg/lib/libz.so.1 wip/dict-client dict-client-1.11.2 +l: not_found /usr/pkg/lib/libz.so.1 wip/dict-server dict-server-1.11.2 +' # pkg_subgraph_deps -echo '--------------------------------------------------' -echo '------- pkg_subgraph_deps #22.1' -pkg_subgraph_deps -f src_pkgs.txt src_deps.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_subgraph_deps -r #22.2' -pkg_subgraph_deps -f src_pkgs.txt -r src_deps.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_subgraph_deps -x #22.3' -pkg_subgraph_deps -x -f src_pkgs.txt src_deps.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_subgraph_deps -xr #22.4' -pkg_subgraph_deps -rx -f src_pkgs.txt src_deps.txt | sort -echo '--------------------------------------------------' -echo '------- pkg_subgraph_deps -xv #22.5' -pkg_subgraph_deps -xv -f src_pkgs.txt src_deps.txt | sort +pkg_subgraph_deps -f src_pkgs.txt src_deps.txt | sort | +cmp 'pkg_subgraph_deps #1' \ +'textproc/dictem +wip/awk-pkgsrc-dewey wip/pkg_summary-utils +wip/libuxre wip/heirloom-awk +wip/paexec wip/distbb +wip/pkg_summary-utils wip/distbb +wip/pkg_summary-utils wip/pkg_online-client +wip/pkg_summary-utils wip/pkg_online-server +wip/runawk wip/awk-pkgsrc-dewey +wip/runawk wip/distbb +wip/runawk wip/paexec +wip/runawk wip/pkg_summary-utils +' + +pkg_subgraph_deps -f src_pkgs.txt -r src_deps.txt | sort | +cmp 'pkg_subgraph_deps #2' \ +'devel/libtool-base wip/libuxre +lang/f2c devel/libtool-base +textproc/dictem +wip/heirloom-common wip/heirloom-doc +wip/heirloom-doc wip/heirloom-libcommon +wip/heirloom-libcommon wip/libuxre +wip/runawk +' + +pkg_subgraph_deps -x -f src_pkgs.txt src_deps.txt | sort | +cmp 'pkg_subgraph_deps #3' \ +'wip/awk-pkgsrc-dewey wip/pkg_summary-utils +wip/heirloom-awk +wip/paexec wip/distbb +wip/pkg_summary-utils wip/distbb +wip/pkg_summary-utils wip/pkg_online-client +wip/pkg_summary-utils wip/pkg_online-server +' + +pkg_subgraph_deps -rx -f src_pkgs.txt src_deps.txt | sort | +cmp 'pkg_subgraph_deps #4' \ +'lang/f2c devel/libtool-base +wip/heirloom-common wip/heirloom-doc +wip/heirloom-doc wip/heirloom-libcommon +' + +pkg_subgraph_deps -xv -f src_pkgs.txt src_deps.txt | sort | +cmp 'pkg_subgraph_deps #5' \ +'devel/gmake textproc/dict-client +devel/gmake textproc/dict-server +devel/libjudy +devel/libmaa textproc/dict-client +devel/libmaa textproc/dict-server +devel/libtool-base devel/libmaa +devel/libtool-base textproc/dict-client +devel/libtool-base textproc/dict-server +devel/libtool-base wip/libuxre +devel/pipestatus +lang/f2c devel/libtool-base +net/netcat +textproc/dictem +wip/heirloom-common wip/heirloom-doc +wip/heirloom-doc wip/heirloom-libcommon +wip/heirloom-libcommon wip/libuxre +wip/runawk +' # pkg_bin_summary -echo '--------------------------------------------------' -echo '------- pkg_bin_summary #23.1' pkg_bin_summary pkg_install | -grep -E 'LICENSE|PKGPATH' +grep -E 'LICENSE|PKGPATH' | +cmp 'pkg_bin_summary #1' \ +'LICENSE=modified-bsd +PKGPATH=pkgtools/pkg_install +' + -echo '--------------------------------------------------' -echo '------- pkg_bin_summary #23.2' pkg_bin_summary | pkg_grep_summary -s PKGBASE bmake | -grep -E 'PKGPATH|LICENSE' +grep -E 'PKGPATH|LICENSE' | +cmp 'pkg_bin_summary #2' \ +'LICENSE=modified-bsd +PKGPATH=devel/bmake +' + -echo '--------------------------------------------------' -echo '------- pkg_bin_summary #23.3' pkg_bin_summary -r LICENSE,COMMENT,DESCRIPTION,REQUIRES -- bmake | -grep -E 'PKGPATH|LICENSE' +grep -E 'PKGPATH|LICENSE' | +cmp 'pkg_bin_summary #3' \ +'PKGPATH=devel/bmake +' -echo '--------------------------------------------------' -echo '------- pkg_bin_summary #23.4' -pkg_bin_summary -f 'PKGPATH' -- bmake pkg_install -# pkg_src_summary -#echo '--------------------------------------------------' -#echo '------- pkg_src_summary #24.0' -#pkg_src_summary -f PKGNAME,PKGPATH x11/xxkb +pkg_bin_summary -f 'PKGPATH' -- bmake pkg_install | +cmp 'pkg_bin_summary #4' \ +'PKGPATH=devel/bmake +PKGPATH=pkgtools/pkg_install + +' + + +test -f "$tmpex" +exit $? diff --git a/pkg_summary-utils/files/version.mk b/pkg_summary-utils/files/version.mk index 97b2514160..d1f2933e39 100644 --- a/pkg_summary-utils/files/version.mk +++ b/pkg_summary-utils/files/version.mk @@ -1 +1 @@ -VERSION= 0.42.2 +VERSION= 0.43.0