summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheusov <cheusov>2011-07-30 09:54:17 +0000
committercheusov <cheusov>2011-07-30 09:54:17 +0000
commit775c4e1ed595da97511fded52b22a4d891d7b88c (patch)
tree8237dec2a9f3df9d9fe63018212378eda5f28500
parent1364eb102cec6a879517c50e863bb1e0c6a92acd (diff)
downloadpkgsrc-775c4e1ed595da97511fded52b22a4d891d7b88c.tar.gz
Updated to 0.54.0
pkg_micro_src_summary: - support for PSS_SLAVES=nnn was added pkg_digger: - workaround for buggy shells (set -e; if eval false; ...) Regression tests were updated
-rw-r--r--pkgtools/pkg_summary-utils/Makefile19
-rw-r--r--pkgtools/pkg_summary-utils/distinfo5
-rw-r--r--pkgtools/pkg_summary-utils/files/Makefile99
-rw-r--r--pkgtools/pkg_summary-utils/files/NEWS1142
-rw-r--r--pkgtools/pkg_summary-utils/files/README156
-rw-r--r--pkgtools/pkg_summary-utils/files/TODO78
-rwxr-xr-xpkgtools/pkg_summary-utils/files/XB2bin_summary.in216
-rw-r--r--pkgtools/pkg_summary-utils/files/cvs_checksum.152
-rwxr-xr-xpkgtools/pkg_summary-utils/files/cvs_checksum.in77
-rwxr-xr-xpkgtools/pkg_summary-utils/files/direct_deps.in87
-rwxr-xr-xpkgtools/pkg_summary-utils/files/get_processed_pkgs.in51
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_assignments2pkgpath.in73
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_bin_summary.173
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_bin_summary.in90
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.149
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.in107
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_cmp_summary.197
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_cmp_summary.in360
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_digger.1151
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_digger.conf47
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_digger.in296
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_digger_backend.in202
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_grep_summary.1216
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_grep_summary.awk254
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_grep_summary.in250
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_lint_summary.1127
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_lint_summary.in212
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.145
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.in111
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.163
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_micro_src_summary.in141
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_refresh_summary.143
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_refresh_summary.in121
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_src_fetch_var.in384
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_src_summary.1139
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_src_summary.in587
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_src_summary.mk101
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.182
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_subgraph_deps.in165
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_summary-utils.745
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_summary2bb_pkgs.in176
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.144
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_summary2build_graph.in6
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_summary2deps.1135
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_summary2deps.in538
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_summary2leaves.153
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_summary2leaves.in166
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_summary4view.138
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_summary4view.in160
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_uniq_summary.138
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_uniq_summary.in94
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_update_src_summary.167
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_update_src_summary.in119
-rw-r--r--pkgtools/pkg_summary-utils/files/pkg_update_summary.173
-rwxr-xr-xpkgtools/pkg_summary-utils/files/pkg_update_summary.in223
-rw-r--r--pkgtools/pkg_summary-utils/files/pkgsrc-dewey.awk121
-rw-r--r--pkgtools/pkg_summary-utils/files/psu_funcs.awk71
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary1.txt255
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary2.txt58
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary3.txt15
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary4.txt12
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary5.txt40
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/bin_summary6.txt127
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/pkgs.txt4
-rwxr-xr-xpkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test22
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test.txt55
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_deps.txt34
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_pkgs.txt3
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary.txt254
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary10.txt30
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary11.txt84
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary12.txt83
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary13.txt41
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary14.txt18
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary2.txt81
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary3.txt11
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary4.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary5.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary6.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary7.txt29
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary8.txt87
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/src_summary9.txt61
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/summary1.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/summary2.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/summary3.txt4
-rw-r--r--pkgtools/pkg_summary-utils/files/tests/summary4.txt3
-rwxr-xr-xpkgtools/pkg_summary-utils/files/tests/test.sh3655
-rw-r--r--pkgtools/pkg_summary-utils/files/version.mk1
88 files changed, 10 insertions, 13812 deletions
diff --git a/pkgtools/pkg_summary-utils/Makefile b/pkgtools/pkg_summary-utils/Makefile
index a7ef891f21a..d77a1dfd687 100644
--- a/pkgtools/pkg_summary-utils/Makefile
+++ b/pkgtools/pkg_summary-utils/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2011/05/11 19:28:41 cheusov Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/30 09:54:17 cheusov Exp $
-DISTNAME= pkg_summary-utils-${VERSION}
+DISTNAME= pkg_summary-utils-0.54.0
CATEGORIES= pkgtools
-MASTER_SITES= # empty
-DISTFILES= # empty
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/psu/ \
+ http://www.mova.org/~cheusov/pub/pkg_summary-utils/
MAINTAINER= cheusov@tut.by
HOMEPAGE= http://www.mova.org/~cheusov/pub/pkg_summary-utils/
@@ -25,16 +25,11 @@ CONFLICTS+= pkg_summary4view-[0-9]*
TEST_TARGET= test
-NO_CHECKSUM= yes
-
USE_LANGUAGES= #empty
USE_TOOLS+= gzip:run
-PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/files
-
EGDIR= ${PREFIX}/share/examples/pkg_summary-utils
CONF_FILES= ${EGDIR}/pkg_digger.conf ${PKG_SYSCONFDIR}/pkg_digger.conf
@@ -55,10 +50,6 @@ MAKE_ENV+= PKG_INFO_CMD=${PKG_INFO:Q}
AUTO_MKDIRS= yes
-MAKE_PROGRAM= mkcmake
-
-do-extract:
- ${CP} -Rp ${FILESDIR} ${WRKSRC}
+MAKE_PROGRAM= ${PREFIX}/bin/mkcmake
-.include "../../pkgtools/pkg_summary-utils/files/version.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/pkgtools/pkg_summary-utils/distinfo b/pkgtools/pkg_summary-utils/distinfo
new file mode 100644
index 00000000000..b9f675542ed
--- /dev/null
+++ b/pkgtools/pkg_summary-utils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2011/07/30 09:54:17 cheusov Exp $
+
+SHA1 (pkg_summary-utils-0.54.0.tar.gz) = 9bebe1b96304dc966e30e42e0b366f6c072b0724
+RMD160 (pkg_summary-utils-0.54.0.tar.gz) = b453a4c571d7a2fe490a024fc078b153280059cd
+Size (pkg_summary-utils-0.54.0.tar.gz) = 102888 bytes
diff --git a/pkgtools/pkg_summary-utils/files/Makefile b/pkgtools/pkg_summary-utils/files/Makefile
deleted file mode 100644
index 801dbf81c0d..00000000000
--- a/pkgtools/pkg_summary-utils/files/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-#############################################################
-
-LIBEXECDIR ?= ${PREFIX}/libexec/psu
-DOCDIR ?= ${DATADIR}/doc/pkg_summary-utils
-EGDIR ?= ${DOCDIR}/examples
-AWKMODDIR ?= ${DATADIR}/runawk
-MKSCRIPTSDIR ?= ${DATADIR}/psu_mk
-DISTDIR ?= /usr/pkgsrc/distfiles
-
-SH ?= /bin/sh
-AWK ?= /usr/bin/awk
-PKG_INFO_CMD ?= /usr/sbin/pkg_info -K /var/db/pkg
-
-# NetBSD make is required for pkgsrc
-BMAKE ?= /usr/bin/make
-
-#############################################################
-
-LIBEXECSCRIPTS = direct_deps XB2bin_summary get_processed_pkgs
-
-INSCRIPTS = pkg_cmp_summary pkg_list_all_pkgs
-INSCRIPTS += pkg_refresh_summary pkg_src_fetch_var
-INSCRIPTS += pkg_micro_src_summary pkg_src_summary
-INSCRIPTS += pkg_update_src_summary pkg_summary4view
-INSCRIPTS += pkg_update_summary pkg_grep_summary
-INSCRIPTS += cvs_checksum pkg_assignments2pkgpath
-INSCRIPTS += pkg_uniq_summary pkg_summary2bb_pkgs
-INSCRIPTS += pkg_cleanup_distdir pkg_summary2build_graph
-INSCRIPTS += pkg_summary2deps pkg_lint_summary
-INSCRIPTS += pkg_subgraph_deps pkg_bin_summary
-INSCRIPTS += pkg_digger_backend pkg_digger pkg_summary2leaves
-
-INSCRIPTS += ${LIBEXECSCRIPTS}
-
-SCRIPTS = ${INSCRIPTS}
-
-.for i in ${LIBEXECSCRIPTS}
-SCRIPTSDIR_${i} = ${LIBEXECDIR}
-.endfor
-
-MAN = pkg_summary-utils.7
-
-MAN += pkg_cmp_summary.1 pkg_list_all_pkgs.1
-MAN += pkg_refresh_summary.1
-MAN += pkg_micro_src_summary.1 pkg_src_summary.1
-MAN += pkg_update_src_summary.1 pkg_summary4view.1
-MAN += pkg_update_summary.1 pkg_grep_summary.1
-MAN += cvs_checksum.1 # pkg_assignments2pkgpath.1
-MAN += pkg_uniq_summary.1 # pkg_summary2bb_pkgs.1
-MAN += pkg_cleanup_distdir.1 pkg_summary2build_graph.1
-MAN += pkg_summary2deps.1 pkg_lint_summary.1
-MAN += pkg_subgraph_deps.1 pkg_bin_summary.1
-MAN += pkg_digger.1 pkg_summary2leaves.1 # pkg_digger_backend.1
-
-FILES = README NEWS TODO
-FILES += pkg_grep_summary.awk pkg_src_summary.mk psu_funcs.awk
-FILES += pkgsrc-dewey.awk pkg_digger.conf
-
-FILESDIR = ${DOCDIR}
-FILESDIR_pkg_grep_summary.awk = ${AWKMODDIR}
-FILESDIR_psu_funcs.awk = ${AWKMODDIR}
-FILESDIR_pkgsrc-dewey.awk = ${AWKMODDIR}
-FILESDIR_pkg_src_summary.mk = ${MKSCRIPTSDIR}
-FILESDIR_pkg_digger.conf = ${EGDIR}
-
-BIRTHDATE = 2008-04-06
-
-PROJECTNAME = pkg_summary-utils
-
-INTEXTS_REPLS += version ${VERSION}
-INTEXTS_REPLS += awkmoddir ${AWKMODDIR}
-INTEXTS_REPLS += mkscriptsdir ${MKSCRIPTSDIR}
-INTEXTS_REPLS += SH ${SH}
-INTEXTS_REPLS += AWK ${AWK}
-INTEXTS_REPLS += DISTDIR ${DISTDIR}
-INTEXTS_REPLS += PKGSRCDIR ${PKGSRCDIR}
-INTEXTS_REPLS += BMAKE ${BMAKE}
-INTEXTS_REPLS += PKG_SUFX ${PKG_SUFX}
-
-INTEXTS_SED += -e 's,@PKG_INFO_CMD@,${PKG_INFO_CMD},'
-
-CLEANFILES += ChangeLog
-
-############################################################
-
-DIFF_PROG?= diff -U10
-
-.PHONY : test
-test : all
- @echo 'running tests...'; \
- unset MAKEFLAGS; \
- set -e; cd ${.CURDIR}/tests; \
- env PATH="${.OBJDIR}:$$PATH" OBJDIR=${.OBJDIR} \
- PKGSRCDIR=${PKGSRCDIR} BMAKE=${BMAKE} ./test.sh
-
-############################################################
-
-.include "version.mk"
-.include <mkc.prog.mk>
diff --git a/pkgtools/pkg_summary-utils/files/NEWS b/pkgtools/pkg_summary-utils/files/NEWS
deleted file mode 100644
index f7f6a8e61e7..00000000000
--- a/pkgtools/pkg_summary-utils/files/NEWS
+++ /dev/null
@@ -1,1142 +0,0 @@
-----------------------------------------------------------------------
-Version 0.54, by Aleksey Cheusov, Tue, 10 May 2011 00:10:50 +0300
-
-----------------------------------------------------------------------
-Version 0.53.2, by Aleksey Cheusov, Wed, 13 Apr 2011 21:33:58 +0300
-
- pkg_digger:
- - FIX: do not treat failures of $PKG_DIGGER_BACKEND for
- patterns with leading `-' (logical NOT).
-
-----------------------------------------------------------------------
-Version 0.53.1, by Aleksey Cheusov, Tue, 5 Apr 2011 13:41:54 +0300
-
- pkg_lint_summary:
- - Remove duplicated // in fields PROVIDES and REQUIRED.
- Official pkg_summary.txt contains such a bad paths.
-
-----------------------------------------------------------------------
-Version 0.53.0, by Aleksey Cheusov, Sun, 27 Mar 2011 22:56:39 +0300
-
- Long options have been removed from all utilities.
-
- Fix in comparing dewey versions: (N.0 > N problem)
-
- pkg_summary2deps:
- - Now it works correctly if multiple packages per
- (PKGPATH, ASSIGNMENTS) pair are available in input summary.
-
- - Now multiple conditions for the same package, e.g
- "apache-1.3.* AND apache>=1.3" are handled correctly.
-
- - Now -N and -P options accept absolute and relative
- filename as argument.
-
- pkg_digger.in:
- - Workaround for buggy /bin/sh on DragonFly and FreeBSD<=N.M.
- On these systems the following code
- set -e; if eval false; then ...; fi
- doesn't work correctly. Due to this problem pkg_digger failed.
-
- pkg_bin_summary:
- - Field ASSIGNMENTS is set with a help of recently introduced
- field MULTI in "Build information" section of the binary
- package. Hardcoded rules have been removed.
-
-----------------------------------------------------------------------
-Version 0.52.0, by Aleksey Cheusov, Fri, 11 Feb 2011 17:05:27 +0200
-
- pkg_cmp_summary:
- - New option -b was added for using BUILD_DATE field
- for comparison.
-
-----------------------------------------------------------------------
-Version 0.51.0, by Aleksey Cheusov, Sun, 16 Jan 2011 16:21:35 +0200
-
- pkg_digger_backend:
- - More fields to search in: PKGBASE, PKGPATHe, PKGPABA, PKGPANA
- and PKGPAIR
-
- pkg_digger:
- - New short synonyms (pkg_digger.conf) for fields:
- - C - CATEGORIES
- - b - PKGBASE
- - New defaults in pkg_digger.conf.
- pkg_digger_field__empty has changed from "COMMENTS" to "PKGBASE"
- pkg_digger_strat__empty is assigned to "exact"
- Thus ::<query> matches exact PKGBASE, e.g.
- 'pkg_digger ::emacs' will search for PKGBASE equal to 'emacs'.
- - Option -r without -3|-9 doesn't fail anymore
-
- pkg_summary2deps:
- - TNF provides pkg_summary(5) files that contain packages without
- PKGPATH (netbsd-compat50-5.1). So, absense of PKGPATH is not a
- fatal error in pkg_summary2deps anymore.
-
- Minor improvements
-
-----------------------------------------------------------------------
-Version 0.50.0, by Aleksey Cheusov, Tue, 11 Jan 2011 01:06:43 +0200
-
- pkg_grep_summary:
- - fix for case insensitive search (pkg_digger_backend)
- - new artificial fields were added: PKGPANA and PKGPABA,
- see the manual page for details
-
- pkg_bin_summary:
- - new artificial field PLIST was added.
-
- pkg_uniq_sumary:
- - new option -n was added
-
- pkg_summary2deps:
- - new option -a was added for outputting all matched dependencies
- separated by `|' symbol, not only the first one.
- - new options -N and -P were added
- - new option -X was added
- - if multiple packages satisfy the condition, the package with highest
- version is selected unless -a option was specified.
- - another format for missed alternative dependencies.
- Now they are written as altdep1|altdep2|...|altdepN
-
- pkg_lint_summary:
- - option -d: non-zero status if problems were detected
-
- New tool pkg_summary2leaves was added.
-
- pkg_cmp_summary:
- - long options were removed
- - option -2 was added
- - option -u was added for showing information about whether
- the package from summary1 is installed by user or as a dependency.
-
- pkg_summary2deps:
- - workaround for bad patterns like p5-Digest<=1.16nb*
- found perl binary
-
- pkg_refresh_summary:
- - reimplemented using latest version of pkg_grep_summary.
- This removes about 50 lines of code
-
- minor fixes and clean-ups
-
-----------------------------------------------------------------------
-Version 0.49.1, by Aleksey Cheusov, Wed, 24 Nov 2010 00:35:21 +0200
-
- Man page for pkg_digger(1)
-
-----------------------------------------------------------------------
-Version 0.49, by Aleksey Cheusov, Sat, 20 Nov 2010 01:14:47 +0200
-
- New tools pkg_digger and pkg_digger_backend were added. pkg_digger
- is a powerful high-level package searcher. Run 'pkg_digger -h' for
- details.
-
- psu_funcs.awk:
- - fix in pkgver_position, pkgname2pkgbase and pkgname2version
- functions for glob square brackets without *+ after them
-
- pkg_summary2deps:
- - New option -l was added
- - New option -c was added
-
- pkg_lint_summary:
- - Option -d was fully reimplemented, now it uses pkg_summary2deps.
- - New option -D was added
- - New option -c was added
- - New option -u was added
-
- pkg_grep_summary:
- - New option -f was added to specify fields to output
- - New artificial search field: PKGPAIR = PKGPATH,PKGBASE
- (e.g. textproc/dict-server,dict-server)
- - New options -r and -R, see the manual page for details.
- - Doubled -T shows strategies with their description separated by
- TAB character.
-
- pkg_summary2build_graph:
- marked as deprecated
-
-----------------------------------------------------------------------
-Version 0.48.0, by Aleksey Cheusov, Sun, 7 Nov 2010 20:35:18 +0200
-
- Build system has been changed from mk-files to mk-configure
-
- pkg_subgraph_deps:
- - manual page was added.
- - new option -t was added.
- - tsort(1)-like input is also accepted, i.e., two equal tokens on
- input mean isolated node of graph (package with no dependencies and
- dependent packafes)
-
- pkg_bin_summary:
- - manual page was added, usage message was also improved.
-
-----------------------------------------------------------------------
-Version 0.47.0, by Aleksey Cheusov, Sun, 7 Nov 2010 13:35:58 +0200
-
- Long options are considered deprecated. Do not use them. They will
- be removed in the future.
-
- pkg_summary2deps:
- - has been completely reimplemented. Now it handles
- glob pattern like libao-[a-z]*-[0-9]* correctly.
- - Options -r and -R now work differently.
- - New option -s for was added.
-
- pkg_src_summary:
- - FIX: With -A option "bad" dependencies, i.e. ones with incorrect
- assignments like XXX_VERSION_REQD=<unsupported-value>, are
- skipped, thus allowing distbb to outout much better diagnistics.
- - Minor fix for -G debugging option
- - Simplification: due to changes in pkg_summary2deps,
- "enrich_XDEPENDS" helper script is not needed anymore, so it was
- removed.
-
-----------------------------------------------------------------------
-Version 0.46.0, by Aleksey Cheusov, Sun, 31 Oct 2010 16:27:55 +0200
-
- pkg_src_fetch_var:
- -All tokens on input are treated as pkgpath, not only $1. Support
- for paexec slave mode was added.
-
- pkg_lint_summary:
- - Documentation and sample of use for -L was added.
- - If -L is applied, existense of all files from REQUIRES is
- checked, not only pkgsrc libraries.
-
- All shell scripts use 'mktemp -d' for creating a temporary directory
- instead of $$.
-
- pkg_micro_src_summary:
- - become even more "parallelized".
-
-----------------------------------------------------------------------
-Version 0.45.0, by Aleksey Cheusov, Thu, 21 Oct 2010 00:04:30 +0300
-
- FIX: Now pkg_lint_summary -d handles correctly glob patterns like
- liboa-[a-z]*-[0-9]*
-
- All scripts using regexp are run with locale C (LC_ALL=C) in order
- to avoid locale-dependent behaviour.
-
- New option -n for was added to pkg_subgraph_deps in order to output
- only nodes without edges
-
- New option -L was added to pkg_lint_summary for ensuring that
- all non-pkgsrc libraries exist on filesystem.
-
- New option -d was added to pkg_cmp_summary for using DEPENDS in
- comparison.
-
-----------------------------------------------------------------------
-Version 0.44.0, by Aleksey Cheusov, Sun, 17 Oct 2010 18:39:54 +0300
-
- As of this version pkg_summary-utils uses its own pkgsrc-dewey.awk
- and therefore CONFLICTS with awk-pkgsrc-dewey.
-
-----------------------------------------------------------------------
-Version 0.43.1, by Aleksey Cheusov
-
- New artificial field ALLDISTFILES was added consisting of distfiles
- with their sizes separated by colon.
-
- Regression tests have been significantly reworked.
-
- pkg_summary4view:
- - tokens inside DEPENDS, BUILD_DEPENDS and similar
- fields are resorted in alphabetic order.
- - ALLDISTFILES is correctly output.
-
- All utilities conform to POSIX Utility Syntax Guidelines and support
- long options.
-
- paexec>=0.15.0 is needed
-
-----------------------------------------------------------------------
-Version 0.42.2, by Aleksey Cheusov, Fri, 30 Jul 2010 19:00:01 +0300
-
- pkg_src_summary:
- - fix for -b and -l, they didn't work with non-empty PSS_SLAVES
-
-----------------------------------------------------------------------
-Version 0.42.1, by Aleksey Cheusov, Sun, 25 Jul 2010 17:48:14 +0300
-
- pkg_grep_summary:
- - FIXED: search strategy "substring"
-
- pkg_summary2deps:
- - More verbose error message "Cannot find PKGPATH for %s"
-
- get_processed_pkgs is separated into an individual libexec script
-
-----------------------------------------------------------------------
-Version 0.42.0, by Aleksey Cheusov, Wed, 23 Jun 2010 00:41:29 +0300
-
- pkg_src_summary, pkg_summary2deps:
- Forcibly remove `/' at the end of PKGPATH. This unbreaks some
- packages in distbb bulk builds.
-
- pkg_summary2deps:
- One more fix for alternative dependencies. This unbreaks
- editors/leim20 and some others.
-
-----------------------------------------------------------------------
-Version 0.41.1, by Aleksey Cheusov, Sat, 5 Jun 2010 00:43:58 +0300
-
- pkg_lint_summary:
- fix for -d: alternative dependencies are handles correctly now
-
- pkg_bin_summary:
- If REQUIREDBY was requested, PKGNAME if also generated forcibly.
-
-----------------------------------------------------------------------
-Version 0.41.0, by Aleksey Cheusov, Sun, 30 May 2010 22:31:49 +0300
-
- pkg_grep_summary:
- - new variable "fields" that may be used in awk_condition.
- See man page for details.
- - new search strategy "kw" (or "keywords") for matching all words
- within query.
-
- pkg_src_summary:
- - new option -l for adding library dependencies to BUILD_DEPENDS.
-
- New tool: pkg_bin_summary, wrapper for 'pkg_info -X' which outputs
- build information variables and and installation information
- variables as well some special variables, e.g. ASSIGNMENTS and
- REQUIREDBY.
-
- Path to "pkg_info" command is embedded to all scripts using it.
-
-----------------------------------------------------------------------
-Version 0.40.0, by Aleksey Cheusov, Sun, 30 May 2010 02:36:30 +0300
-
- pkg_grep_summary:
- - new option -t that implements the following search strategies:
- empty (synonym to -e), exact (synonym to -s), prefix, suffix,
- substring, first, last, word, re (synonym to -m),
- strfile (synonym to -S) and awk (synonym to non-option mode).
- - new option -T that displays all available search strategies.
- - new option -i for ignoring the case while matching
- - update of manual page
- - FIXED: Multiline fields don't like my optimization.
- Disabling optimization for them
- - minor optimization
-
-----------------------------------------------------------------------
-Version 0.39.0, by Aleksey Cheusov, Mon, 24 May 2010 23:51:13 +0300
-
- pkg_src_summary:
- - new option "-b".
- - fix for -r and -a options
- (-a BOOTSTRAP_DEPENDS -r DEPENDS worked incorrectly).
-
-----------------------------------------------------------------------
-Version 0.38.0, by Aleksey Cheusov, Thu, 29 Apr 2010 23:29:38 +0300
-
- New mega tool -- pkg_subgraph_deps!
-
- pkg_src_summary:
- - Fix in adding ASSIGNMENTS inside DEPENDS and BUILD_DEPENDS.
- - Portions of this script were separated into individual scripts under
- libexec/ subdirectory.
- - Improvements for -G
- - New implementation for -A + -m. Speed-ups. Clean-ups.
-
- pkg_summary2deps:
- - FIX: no double removal of -version anymore.
-
- pkg_summary2bb_pkgs:
- - FIX: do not output two packages with the same PKGNAME if they
- both have non-empty ASSIGNMENTS, e.g
- net/nicotine:PYTHON_VERSION_REQD={24,25}
-
- Updates in manual pages.
-
- More regresion tests.
-
- Makefile:
- - Overridable DIFF_PROG that defaults to "diff -U10"
-
-----------------------------------------------------------------------
-Version 0.37.2, by Aleksey Cheusov, Sun, 18 Apr 2010 23:16:22 +0300
-
- FIX: The following command no longer hangs up (infinite loop)
- pkg_src_summary -G -A graphics/py-cairo:PYTHON_VERSION_REQD=25
-
- Regression tests correspond to latest pkgsrc sources
-
-----------------------------------------------------------------------
-Version 0.37.1, by Aleksey Cheusov, ?
-
-----------------------------------------------------------------------
-Version 0.37.0, by Aleksey Cheusov, Sat, 27 Mar 2010 01:01:03 +0200
-
- pkg_lint_summary:
- - If problems were encountered, an exit status is 1
-
- - New option -d for checking that all required dependencies are
- present in input summary. For details, see a manual page.
-
- pkg_grep_summary:
- - New option -S for grepping summaries using a list of PKGPATHs,
- PKGBASEs or whatever else stored in a file. For details, see a
- manual page.
-
- - New artificial field for searching: "PKGPATHe". This is an
- enriched PKGPATH, i.e. PKGPATH and ASSIGNMENTS (if present)
- separated by a colon (`:') symbol.
-
- - optimizations
-
-----------------------------------------------------------------------
-Version 0.36.1, by Aleksey Cheusov, Mon, 1 Mar 2010 23:25:27 +0200
-
- - New tool pkg_lint_summary. Given summary on input it makes some
- sanity checks. At the moment the only implemented check is
- (-l option) is PROVIDES/REQUIRES consistency.
-
- - pkg_grep_summary:
- - Artificial field PKGBASE is also supported.
- It is actually a PKGNAME without package version.
- - New regression tests
- - Minor update and mixes in manual page
-
-----------------------------------------------------------------------
-Version 0.35.1, by Aleksey Cheusov, Thu, 7 Jan 2010 13:26:33 +0200
-
- - FIXED: bug in pkg_src_summary caused by incorrect PKGNAME version
- stripping. (pkg_src_summary -A multimedia/gnash didn't generate
- summary for multimedia/gst-plugins0.10-ffmpeg and
- audio/gst-plugins0.10-fluendo-mp3)
-
-----------------------------------------------------------------------
-Version 0.35.0, by Aleksey Cheusov, Wed, 11 Nov 2009 22:56:25 +0200
-
- - New tool pkg_summary2deps
- - pkg_summary2build_graph is reimplemented using pkg_summary2deps
-
-----------------------------------------------------------------------
-Version 0.34.2, by Aleksey Cheusov, Mon, 31 Oct 2009 21:34:37 +0200
-
- - Fix for a bug (cyclic dependencies again)
- in pkg_summary2build_graph recently introduced in revision 1.2
-
-----------------------------------------------------------------------
-Version 0.34.1, by Aleksey Cheusov, Mon, 26 Oct 2009 11:57:37 +0200
-
- - Yet another fix for
-
- pkg_src_summary -A meta-pkgs/php4-extensions
-
- (DEPENDS field should contain enriched PKGPATHs for php4 packages)
-
-----------------------------------------------------------------------
-Version 0.34.0, by Aleksey Cheusov, Wed, 21 Oct 2009 11:34:30 +0300
-
- - FIX: pkg_summary2build_graph is reimplemented and now handles
- correctly summaries with enriched PKGPATHS and ASSIGNMENTS field.
- Regression tests for this utility have been added.
-
-----------------------------------------------------------------------
-Version 0.33.0, by Aleksey Cheusov, Sat, 17 Oct 2009 21:41:48 +0300
-
- - FIX: 'pkg_src_summary -A meta-pkgs/php4-extensions'
- wrongly shows summaries for php5-xxx packages.
- Obviously meta-pkgs/php4-extensions depends on php4-xxx packages.
-
- - FIX: {alter,natives} in DEPENDS and BUILD_DEPENDS
- are handled correctly now.
-
-----------------------------------------------------------------------
-Version 0.32.0, by Aleksey Cheusov, Sat, 19 Sep 2009 15:18:45 +0300
-
- - Default values of variables PKG_SUFX, DISTDIR, PKGSRCDIR, BMAKE
- and PKG_INFO_CMD are embedded to scripts itself and are obtained
- from pkgsrc. Manual pages do not tell what is the default.
-
- - tests/test.sh:
-
- fix in regression test #3, pkgsrc vs. pkgsrc+wip ==> XXXX vs. XXXXX
-
- fix in regression test #11 (Darwin)
-
- "make test" doesn't need "make install" anymore
-
-----------------------------------------------------------------------
-Version 0.31.0, by Aleksey Cheusov, Sun, 9 Aug 2009 21:08:34 +0300
-
- - pkg_src_summary(1) accepts PSS_PRE_PATH and PSS_POST_PATH
- environment variables.
-
-----------------------------------------------------------------------
-Version 0.30.0, by Aleksey Cheusov, Sat, 30 May 2009 17:12:18 +0300
-
- - New utility pkg_summary2build_graph that converts src_summary
- to build dependency graph.
-
-----------------------------------------------------------------------
-Version 0.29.0, by Aleksey Cheusov, Sun, 10 May 2009 23:00:18 +0300
-
- - pkg_src_summary:
-
- pkg_src_summary is now also fault-tolerant just like wip/distbb.
- paexec(1) child process is now run with -slez options.
- Additional options may also be passed to paexec(1) through
- PSS_PAEXEC_EXTRA_OPTS environment variable.
-
- - pkg_assignments2pkgpath, pkg_cmp_summary, pkg_summary2bb_pkgs,
- pkg_summary4view.in and pkg_uniq_summary.in:
-
- All these scripts use latest power_getopt.awk module.
- This make arguments handling code cleaner, simplier and shorter.
-
-----------------------------------------------------------------------
-Version 0.28.0, by Aleksey Cheusov, Wed, 1 Apr 2009 12:52:57 +0300
-
- - pkg_src_summary
- new option -i|--installed:
- generate src_summary for the installed packages only,
- do not read list of packages from stdin and
- from pkgpathN arguments
-
- - New tool pkg_cleanup_distdir which is actually a replacement for
- lintpkgsrc -o|-r and works much faster.
-
- pkg_cleanup_distdir - analyses ALLSRCFILES field of src_summary
- given on input and optionally removes files and directories in DISTDIR
- not referenced by any package.
-
- - pkg_grep_summary:
- new options -s and -m which make it easier for use.
-
- - New tool pkg_summary2bb_pkgs (needs more testing)
-
-----------------------------------------------------------------------
-Version 0.26.0, by Aleksey Cheusov, Fri, 6 Mar 2009 00:29:03 +0200
-
- pkg_src_summary analyses DEPENDS and BUILD_DEPENDS for correctness.
- That is if appropriate directories don't exist, building summary
- fails with stderr messages.
-
- 'pkg_micro_src_summary -f' supports comma separated fields
-
- pkg_cmp_summary: new option -P for comparison PKGPATH without PKGNAME
-
-----------------------------------------------------------------------
-Version 0.24.0, by Aleksey Cheusov, Fri, 26 Dec 2008 15:30:19 +0200
-
- pkg_micro_src_summary, pkg_src_summary, pkg_update_src_summary:
- -X=value options are not supported. Use -Xvalue instead!
-
-----------------------------------------------------------------------
-Version 0.23.0, by Aleksey Cheusov, Fri, 26 Dec 2008 00:30:26 +0200
-
- tools based on runawk uses alt_getopt.awk module
- for handling options, regression tests
-
- pkg_src_fetch_var doesn't accept -f=<value>
-
- minor clean-ups in pkg_update_src_summary
-
-----------------------------------------------------------------------
-Version 0.22.0, by Aleksey Cheusov, Thu, 27 Nov 2008 22:16:16 +0200
-
- 1) MEGAFIXES and improvements in pkg_src_summary
-
- - 'pkg_src_summary -d' automatically adds DEPENDS and
- 'pkg_src_summary -D' adds BUILD_DEPENDS
- to the list of generated fields (PSS_FIELDS).
- 'pkg_src_summary -A' adds them both.
-
- - 'pkg_src_summary -A' now correctly passes building options
- (*_REQD) to the dependencies. For example,
-
- 0 ~>pkg_src_summary -A graphics/py-cairo:PYTHON_VERSION_REQD=25
- PKGNAME=py25-cairo-1.6.4
- PKGPATH=graphics/py-cairo
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- ...
- PKGNAME=py25-Numeric-24.2
- PKGPATH=math/py-Numeric
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- ...
- PKGNAME=inputproto-1.4.4
- PKGPATH=x11/inputproto
- BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
- ...
- 0 ~>
-
- - pkg_src_summary assigns ASSIGNMENTS variable only if building
- options are not equal to the default settings.
- For example,
-
- 0 ~>export PSS_FIELDS='PKGNAME PKGPATH'
- 0 ~>pkg_src_summary graphics/py-cairo:PYTHON_VERSION_REQD=24
- PKGNAME=py24-cairo-1.6.4
- PKGPATH=graphics/py-cairo
-
- 0 ~>pkg_src_summary graphics/py-cairo:PYTHON_VERSION_REQD=25
- PKGNAME=py25-cairo-1.6.4
- PKGPATH=graphics/py-cairo
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- 0 ~>pkg_src_summary graphics/py-cairo:PYTHON_VERSION_REQD=23
- PKGNAME=-cairo-1.6.4
- PKGPATH=graphics/py-cairo
- ASSIGNMENTS=PYTHON_VERSION_REQD=23
-
- 0 ~>
-
- - 'pkg_src_summary -m' do not list variants for *_REQ which is
- already set. For example,
-
- 0 ~>export PSS_FIELDS='PKGNAME PKGPATH'
- 0 ~>pkg_src_summary -m www/ap2-python
- PKGNAME=ap2-py25-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=25
-
- PKGNAME=ap2-py24-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PKG_APACHE=apache2
-
- PKGNAME=ap2-py23-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=23
-
- PKGNAME=ap22-py25-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- PKGNAME=ap22-py24-python-3.3.1
- PKGPATH=www/ap2-python
-
- PKGNAME=ap22-py23-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PYTHON_VERSION_REQD=23
-
- 0 ~>pkg_src_summary -m www/ap2-python:PKG_APACHE=apache2
- PKGNAME=ap22-py25-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- PKGNAME=ap22-py24-python-3.3.1
- PKGPATH=www/ap2-python
-
- PKGNAME=ap22-py23-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PYTHON_VERSION_REQD=23
-
- 0 ~>pkg_src_summary -m www/ap2-python:PYTHON_VERSION_REQD=25
- PKGNAME=ap2-py24-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PKG_APACHE=apache2
-
- PKGNAME=ap22-py24-python-3.3.1
- PKGPATH=www/ap2-python
-
- 0 ~>pkg_src_summary -m www/ap2-python:PYTHON_VERSION_REQD=25,PKG_APACHE=apache22
- PKGNAME=ap22-py25-python-3.3.1
- PKGPATH=www/ap2-python
- ASSIGNMENTS=PYTHON_VERSION_REQD=25
-
- 0 ~>
-
- 2) pkg_uniq_summary uses (PKGPATH, PKGBASE, ASSIGNMENTS) triple for
- comparison
-
- 3) regression test for pkg_uniq_summary
-
- 4) -h option added to pkg_summary4view
-
- 5) -G option for debugging is added to pkg_src_summary
-
-----------------------------------------------------------------------
-Version 0.21.0, by Aleksey Cheusov, Tue, 11 Nov 2008 22:59:51 +0200
-
- new executable pkg_uniq_summary for filtering out repeated summaries
-
- Man pages are rewritten in 'man' macroses. Now they may be seen
- under Solaris too.
- Homemade macro VB and VE are used to implement EXAMPLES section,
- these macro implements "verbatim" output.
-
- pkg_src_summary fix: when reading DESCR files failed a bad error
- message was output (`` was output instead of real filename).
-
- fix in regression tests (test.sh)
-
-----------------------------------------------------------------------
-Version 0.20.0, by Aleksey Cheusov, Sun, 26 Oct 2008 13:09:43 +0200
-
- Regression test framework appeared (run 'bmake test').
- Regression tests for most utilities.
-
- FIXED: Broken pkg_src_summary -m.
- Affected versions: 0.17.0-0.19.0
-
- pkg_summary4view: /usr/bin/awk -f --> runawk
-
-----------------------------------------------------------------------
-Version 0.19.0, by Aleksey Cheusov, Wed, 22 Oct 2008 21:38:19 +0300
-
- all scripts are preprocessed before installation
- (sed 's,@@bindir@@,${BINDIR},g' etc.)
-
- pkg_src_summary: fix for packages having more than one file listed
- in DESCR_SRC
-
- FIX for pkg_src_summary -p: For a huge number of packages 'make
- plist' fails because this stage requires package's sources
- extracted. Now 'make plist' failures are not critical,
- i.e. summary for such package is generated in any case.
-
- fix in pkg_src_fetch_var.in: comments are removed
- PKGNAME=pkgname-ver ### trtrtr -> PKGNAME=pkgname-ver
-
- fix in pkg_micro_src_summary: If PKGREVISION is set to 0 (or empty)
- in Makefile (bug?), then nb0 is *not* added to PKGNAME
-
-----------------------------------------------------------------------
-Version 0.17.2, by Aleksey Cheusov, Sat, 4 Oct 2008 14:47:09 +0300
-
- FIX: pkg_src_summary may fail for packages when fields contain
- quotes (e.g. COMMENT field for devel/apache-ant15/Makefile rev. 1.10)
-
-----------------------------------------------------------------------
-Version 0.17.1, by Aleksey Cheusov, Tue, 30 Sep 2008 23:28:39 +0300
-
- FIX for -A option: strip ending / symbol from dependencies
- (DEPENDS and BUILD_DEPENDS)
-
- www/typo3/Makefile revision 1.5
- DEPENDS+= ... ../../archivers/php-zlib/
- ^^^
- /
- extra slash character here --------/
-
-----------------------------------------------------------------------
-Version 0.17.0, by Aleksey Cheusov, Sat, 20 Sep 2008 02:29:07 +0300
-
- pkg_src_summary:
-
- Fields with empty values (like NOT_FOR=) are not printed.
-
- The following fields are added to the default list of fields
- generated by pkg_src_summary: NO_BIN_ON_FTP, NO_SRC_ON_FTP,
- NO_BIN_ON_CDROM, NO_SRC_ON_CDROM.
-
- New field ALLSRCFILES (also generated by default) - sum of
- DISTFILES and PATCHFILES prepanded with DIST_SUBDIR.
-
- pkg_grep_summary:
-
- pkg_grep_summary FIELD 'fvalue == ""' also matches packages
- with no FIELD at all. That is no field becomes synonym to
- FIELD=
-
- new option -e
- pkg_grep_summary -e FIELD is shorter equivalent for
- pkg_grep_summary FIELD 'fvalue == ""'
-
-----------------------------------------------------------------------
-Version 0.16.0, by Aleksey Cheusov, Sat, 13 Sep 2008 11:23:57 +0300
-
- A code that moves/adds ASSIGNMENTS to PKGPATH is separated into a
- separate script "pkg_assignments2pkgpath". One application for it is
- distbb.
-
- Sample of usage: pkg_src_summary ... | pkg_assignments2pkgpath
-
-
- pkg_src_summary: PKGPATH enriched with variable assignments and
- passed to pkg_src_summary may contain spaces. They should be
- represented as ~. In output spaces are also encoded as ~.
-
- Example:
-
- $ export PSS_FIELDS='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS'
- $ pkg_src_summary sysutils/mc:PKG_OPTIONS.mc=-x11~-slang,PKGNAME=mc-myown-4.6.1nb4
- PKGNAME=mc-myown-4.6.1nb4
- PKGPATH=sysutils/mc
- DEPENDS= perl>=5.0:../../lang/perl5 unzip-[0-9]*:../../archivers/unzip glib2>=2.4.0:../../devel/glib2 glib2>=2.14.3:../../devel/glib2
- BUILD_DEPENDS= pkg-config>=0.19:../../devel/pkg-config checkperms>=1.1:../../sysutils/checkperms
- ASSIGNMENTS=PKG_OPTIONS.mc=-x11~-slang PKGNAME=mc-4.6.1nb4
-
- $
-
-----------------------------------------------------------------------
-Version 0.15.0, by Aleksey Cheusov, Sun, 7 Sep 2008 21:04:34 +0300
-
- pkg_grep_summary: in order to support summaries for multi-variant
- packages it is strongly recommented to use 'fvalue' variable in
- condition, not $2. Man page and README updated accordingly.
-
- pkg_cmp_summary: -m option added for comparing summaries for
- multi-variant packages
- (PKGPATH=CATEGORY/PACKAGE[:var1=value1[,var2=value2[...]]] format).
-
-----------------------------------------------------------------------
-Version 0.14.0, by Aleksey Cheusov, Sun, 7 Sep 2008 01:25:37 +0300
-
- pkg_src_summary: added option -M which implies -m and moves/adds
- ASSIGNMENTS field to PKGPATH.
-
- Example:
-
- 0 ~>export PSS_FIELDS='PKGPATH PKGNAME'
- 0 ~>pkg_src_summary -M lang/lua www/php-apc www/ap2-python
- PKGPATH=lang/lua
- PKGNAME=lua-5.1.3nb1
-
- PKGPATH=www/php-apc:PHP_VERSION_REQD=4
- PKGNAME=php4-apc-4.4.8.3.0.16
-
- PKGPATH=www/php-apc:PHP_VERSION_REQD=5
- PKGNAME=php5-apc-5.2.6.3.0.16
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=25
- PKGNAME=ap2-py25-python-3.2.10
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=24
- PKGNAME=ap2-py24-python-3.2.10
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=23
- PKGNAME=ap2-py23-python-3.2.10
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=25
- PKGNAME=ap22-py25-python-3.2.10
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=24
- PKGNAME=ap22-py24-python-3.2.10
-
- PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=23
- PKGNAME=ap22-py23-python-3.2.10
-
- 0 ~>
-
-----------------------------------------------------------------------
-Version 0.13.1, by Aleksey Cheusov, Sun, 7 Sep 2008 01:25:37 +0300
-
- VARIANTS7 is reimplemented through pbulk's mk/pbulk/pbulk-index.mk.
- I hope this API will not change...
-
-----------------------------------------------------------------------
-Version 0.13.0, by Aleksey Cheusov, Sat, 6 Sep 2008 23:05:15 +0300
-
- -----------------
- pkg_src_summary: new option -m added that generates summary
- for all variants of multi-variant packages
- (Python {23,24,25}, PHP {4,5}, Apache {1.3,2,2.2} etc.)
-
- Example:
-
- 0 ~>export PSS_FIELDS='PKGPATH PKGNAME'
- 0 ~>./pkg_src_summary -m lang/lua www/php-apc www/ap2-python
- PKGPATH=lang/lua
- PKGNAME=lua-5.1.3nb1
-
- PKGPATH=www/php-apc
- PKGNAME=php4-apc-4.4.8.3.0.16
- => ASSIGNMENTS=PHP_VERSION_REQD=4
-
- PKGPATH=www/php-apc
- => PKGNAME=php5-apc-5.2.6.3.0.16
- => ASSIGNMENTS=PHP_VERSION_REQD=5
-
- PKGPATH=www/ap2-python
- => PKGNAME=ap2-py25-python-3.2.10
- => ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache2
-
- PKGPATH=www/ap2-python
- => PKGNAME=ap22-py25-python-3.2.10
- => ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache22
-
- PKGPATH=www/ap2-python
- PKGNAME=ap2-py24-python-3.2.10
- ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache2
-
- PKGPATH=www/ap2-python
- PKGNAME=ap22-py24-python-3.2.10
- ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache22
-
- PKGPATH=www/ap2-python
- PKGNAME=ap2-py23-python-3.2.10
- ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache2
-
- PKGPATH=www/ap2-python
- PKGNAME=ap22-py23-python-3.2.10
- ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache22
-
- 0 ~>
-
- See lines with '=>'.
-
- -----------------
- pkg_src_summary: the following format of input PKGPATH is supported:
- real_pkgpath[:var1=value1[,var2=value2[...]]]
-
- Example:
-
- 0 ~>export PSS_FIELDS='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS'
- 0 ~>pkg_src_summary textproc/dictem:EMACS_TYPE=xemacs
- => PKGNAME=xemacs-dictem-0.82
- PKGPATH=textproc/dictem
- => DEPENDS=dict-client>=1.9.14:../../textproc/dict-client xemacs>=21.4<21.5:../../editors/xemacs xemacs>=21.4<21.5:../../editors/xemacs
- BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
- => ASSIGNMENTS=EMACS_TYPE=xemacs
-
- 0 ~>pkg_src_summary www/ap2-wsgi:PYTHON_VERSION_DEFAULT=23,PKG_APACHE_DEFAULT=apache2
- => PKGNAME=ap2-py23-wsgi-1.3
- PKGPATH=www/ap2-wsgi
- => DEPENDS= python23>=2.3:../../lang/python23 apache>=2.0.51<2.2:../../www/apache2 python23>=2.3.5nb6:../../lang/python23 apache>=2.0.61nb2:../../www/apache2
- BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base perl>=5.0:../../lang/perl5 checkperms>=1.1:../../sysutils/checkperms
- => ASSIGNMENTS=PYTHON_VERSION_DEFAULT=23 PKG_APACHE_DEFAULT=apache2
-
- 0 ~>
-
- See lines with '=>'.
-
-----------------------------------------------------------------------
-Version 0.12.0, by Aleksey Cheusov, Mon, 7 Jul 2008 17:26:35 +0300
-
- minor fixes in pkg_grep_summary
-
- added: pkg_grep_summary.1
-
-----------------------------------------------------------------------
-Version 0.11.0, by Aleksey Cheusov, Sat, 14 Jun 2008 15:33:06 +0300
-
- pkg_src_summary:
-
- -d, -D and -A options for generating summary of the specified
- packages and their dependancies. -d is for DEPENDS
- dependancies, -D is for BUILD_DEPENDS and -A is for both. See
- pkg_src_summary(1) for details.
-
-----------------------------------------------------------------------
-Version 0.10.0, by Aleksey Cheusov, Sat, 14 Jun 2008 13:30:04 +0300
-
- added: pkg_summary-utils(7) that describes what pkg_summary-utils
- project is. All tools refer to it in its manual pages and
- pkg_summary-utils(7) refers to manual pages of all tools.
-
- pkg_src_summary:
-
- a list of fields listed in -f|--fields option may be separated
- by comma, not only space.
-
- PSS_OPTIONS environment variable specifies default options to be
- placed in front of any explicit options. See man page for the
- sample.
-
- -a and -r options added for adding and removing the specified
- fields to/from the list of fields generated by default.
- See man page for the samples.
-
- pkg_update_src_summary:
-
- a list of fields listed in -f|--fields option may be separated
- by comma, not only space.
-
-----------------------------------------------------------------------
-Version 0.9.0, by Aleksey Cheusov, Sat, 14 Jun 2008 10:38:55 +0300
-
- ADDED: CVS_CHECKSUM field to pkg_src_summary. This gives a way to
- compare two pkgsrc trees by comparing their pkg_src_summaries
- comparing not only an information about package versions but also
- an information about CVS files and their revisions.
-
- new script added: 'cvs_checksum' that analyses local cvs
- repository and lists all files in it with their revisions and,
- optionally, calculates a checksum for all this. Run
- 'cvs_checksum -h' for more information. CKSUM environment
- variable sets a checksum program, by default, standard 'cksum'.
-
- pkg_src_summary can generate new field: CVS_CHECKSUM, a checksum
- calculated by 'cvs_checksum' program for a package. By default
- CVS_CHECKSUM is NOT generated.
-
- 'pkg_cmp_summary -c' prints '!' (this means "not equal") for
- packages with the same versions but different CVS_CHECKSUM provided
- that CVS_CHECKSUM is set in both compared packages.
-
-----------------------------------------------------------------------
-Version 0.8.0, by Aleksey Cheusov
-
- FIXED: pkg_src_summary pkgpath
-
- pkg_summary4view:
-
- DESCRIPTION, PLIST, PROVIDES and REQUIRES fields now look
- better. "FIELD_NAME:" is not followed by any data on the same
- line. Data are displayed on the next lines.
-
- Multilined DEPENDS field (pkg_summary(5) from binary packages)
- now looks nicer - just like in case pkg_src_summary
-
- CONFLICTS field is processed just like DEPENDS
-
- Fields with values (DEPENDS - noe dependancies, NOTFOR - no
- restrictions etc.) are not output at all.
-
- pkg_src_summary:
-
- added option -p|--make-plist for using 'bmake plist'
- instead 'cat PLIST'. @directives are removed.
-
-----------------------------------------------------------------------
-Version 0.7.0, by Aleksey Cheusov, Sat, 10 May 2008 12:43:07 +0300
-
- pkg_src_summary is now "distributed" tool, i.e. it can build
- src_summary using several processes or machines.
- Examples:
-
- # for SMP machine
- env PSS_SLAVES=+5 pkg_src_summary ...
-
- # for machines in a network
- env PSS_SLAVES='host1 host2 host3' \
- PSS_PPERS=5 \
- PSS_TRANSPORT=/usr/bin/ssh pkg_src_summary ...
-
- PSS_PPERS variable sets a number of packages per slave that
- are built at once, defaults to 10.
-
- pkg_src_summary: PSS_FIELDS overrides the default
- list of generated fields
-
- pkg_update_src_summary: -i|--fields options specify a list of
- generated fields.
-
-----------------------------------------------------------------------
-Version 0.6.2, by Aleksey Cheusov
-
- grepping functionality of pkg_grep_summary has been moved to a
- separate file pkg_grep_summary.awk. Similar code fragments found
- in pkg_refresh_summary and pkg_update_src_summary use
- pkg_grep_summary.awk now.
-
-----------------------------------------------------------------------
-Version 0.6.1, by Aleksey Cheusov, Wed, 7 May 2008 23:07:00 +0300
-
- README file added. There are available a few examples how to use
- all these tools separately and together . You can use it as a
- titorial.
-
-----------------------------------------------------------------------
-Version 0.6.0, by Aleksey Cheusov, Wed, 7 May 2008 21:53:35 +0300
-
- NEW tool: pkg_grep_summary
- Run 'pkg_grep_summary -h' for a documentation.
-
-----------------------------------------------------------------------
-Version 0.5.1, by Aleksey Cheusov, Mon, 5 May 2008 01:00:43 +0300
-
- FIXED: pkg_update_summary fails under Linux, Solaris, Interix and
- probably other OSes when there are no binary packages in a specified
- directory. This happens because xargs works differently on
- NetBSD/FreeBSD and Linux/Solaris/Interix. In NetBSD/FreeBSD xargs's
- command is NOT run at all when there is no input, while on L/S/I it is
- run once without arguments and (pkg_info -X in our case) fails.
-
- DESCR improved
-
- Minor fixes in documentation ans NEWS
-
-----------------------------------------------------------------------
-Version 0.5.0, by Aleksey Cheusov, Sun, 27 Apr 2008 14:37:46 +0300
-
- Lots of tasks from TODO are implemented.
-
- pkg_src_fetch_var:
- - minor fixes in comments
- - new options -h|--help for use message
- - new options -f|--fields|-v|--vars for specifying a list of fields
- to be generated. By default PKGNAME and PKPATH
- are generated as earlier versions did.
-
- Example:
- echo 'wip/distbb' | \
- pkg_src_fetch_var -f='PKGNAME PKGPATH COMMENT MAINTAINER'
-
- - bmake '+=' operator is also supported
-
- pkg_src_summary:
- - new options -h|--help for use message
- - new options -f|--fields for specifying a list of fields
- to be generated. By default PKGNAME and PKPATH
- are generated as earlier versions did.
- - 'print-summary-data' pkgsrc target is not used anymore.
- Instead, variable's values are obtained directly by bmake.
-
- Side effect/incompatibility: NOTFOR and ONLYFOR are set to
- <empty_string> instead of 'any' string in case
- NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM are not specified.
-
- pkg_micro_src_summary:
- - new options -f|--fields for specifying a list of fields
- to be generated. By default PKGNAME and PKPATH
- are generated as earlier versions did.
-
- Example:
- pkg_micro_src_summary -f 'PKGNAME PKGPATH COMMENT MAINTAINER' \
- lang/lua wip/distbb
- - In case pkg_src_fetch_var failes pkg_micro_src_summary fallbacks
- to pkg_src_summary.
-
-----------------------------------------------------------------------
-Version 0.4.6, by Aleksey Cheusov, Sun, 13 Apr 2008 14:56:41 +0300
-
- fix for pkg_summary4view: doesn't depend on input fields order.
- fix for pkg_src_summary: PKGNAME and PKGPATH are printed first.
-
-----------------------------------------------------------------------
-Version 0.4.5, by Aleksey Cheusov, Sat, 13 Apr 2008 00:43:22 +0300
-
- Both pkg_micro_src_summary and pkg_src_summary generate
- nicely formatted bmake failures to stderr.
- (will be used by future versions of distbb)
-
-----------------------------------------------------------------------
-Version 0.4.4, by Aleksey Cheusov, Sat, 12 Apr 2008 19:53:22 +0300
-
- lots of fixes and improvements in manual pages
- minors fixes in utilities
-
-----------------------------------------------------------------------
-Version 0.4.3, by Aleksey Cheusov, Sat, 12 Apr 2008 18:00:50 +0300
-
- added:
- - pkg_list_all_pkgs.1
- - pkg_refresh_summary.1
-
-----------------------------------------------------------------------
-Version 0.4.2, by Aleksey Cheusov, Wed, 9 Apr 2008 00:34:58 +0300
-
- pkg_src_fetch_var:
- - read PKGPATHs instead of Makefile filenames.
- In order to Makefiles from PKGPATH, PKGSRCDIR environment
- variable is used (/usr/pkgsrc by default).
- - TAB character is used as a fields separator instead of SPC
-
- pkg_micro_src_summary:
- - added options: -h|--help|-f|--fields
- -f|--fields is for specifying fields to be included
- to the summary, PKGNAME and PKGPATH by default
-
-----------------------------------------------------------------------
-Version 0.4.1, by Aleksey Cheusov, Wed, 9 Apr 2008 23:14:03 +0300
-
- ADDED: -f|--fields=<fields> option to pkg_src_fetc_var
- clean-ups
-
-----------------------------------------------------------------------
-Version 0.4.0, by Aleksey Cheusov
-
- first publicly available release (with name pkg_summary-utils)
diff --git a/pkgtools/pkg_summary-utils/files/README b/pkgtools/pkg_summary-utils/files/README
deleted file mode 100644
index ebd5307d117..00000000000
--- a/pkgtools/pkg_summary-utils/files/README
+++ /dev/null
@@ -1,156 +0,0 @@
-pkg_summary-utils is a collection of tools designed to handle summary
-files about pkgsrc (http://www.pkgsrc.org) packages, both binary
-summaries (pkg_summary(5)) and source summaries.
-Despite orientation on pkgsrc, most(all?) scripts are
-rather universal and can be adapted for othe packaging systems.
-
-Just a few words about the included tools.
-
-=================================================================
-
-A collection of utilities for manipulating pkg_summary files,
-pkg_summary(5) and pkg_src_summary (the same but for pkgsrc tree).
-
- pkg_list_all_pkgs - list (in PKGPATH form) all packages in pkgsrc tree
- pkg_src_summary - create a full pkg_src_summary
- for given (in PKGPATH form) packages
- pkg_micro_src_summary - create a micro pkg_src_summary
- for given (in PKGPATH form) packages
- pkg_cmp_summary - compare two summary files, i.e. packages
- are compared by their versions
- pkg_digger - high-level searcher for package summaries,
- pkg_online databases etc.
- pkg_digger_backend - pkg_summary.txt backend for pkg_digger
- pkg_update_summary - updates pkg_summary(5) by analysing the modification
- time of binary packages and pkg_summary(5) file
- pkg_update_src_summary - efficiently updates pkg_src_summary for all
- packages in pkgsrc tree
- pkg_summary4view - convert a summary file to human readable format
- pkg_refresh_summary - output an information about latest/newest version
- of packages
- pkg_grep_summary - output summaries about packages that matches
- the specified condition.
- pkg_cleanup_distdir - cleanups directory with binary packages,
- that is remove all binaries absent
- in input summary.
- pkg_uniq_summary - filters out repeated package summaries.
- pkg_assignments2pkgpath - makes an ASSIGNMENTS field a part of PKGPATH
- pkg_summary2bb_pkgs - outputs packages ready for bulk builds
- pkg_summary2deps - extract dependencies from summary
-
-=================================================================
-
-Samples of usage are below.
-
------
-
-All pkgsrc packages (uses SUBDIR variable)
-
- pkg_list_all_pkgs
-
------
-
-Analog for 'lintpkgsrc -i', but MUCH faster:
-
- pkg_info -Q PKGPATH '*' > packages.txt
- pkg_micro_src_summary < packages.txt 2>/dev/null > micro_summary.txt
- pkg_info -X '*' > inst_pkgs_summary.txt
- pkg_cmp_summary -p inst_pkgs_summary.txt micro_summary.txt
-
------
-
-Comparison of binary packages against pkgsrc source tree
-
- (It is assumed that multiple versions of package may present
- in pkg_summary(5)).
-
- cd /usr/pkgsrc
- cvs up
- pkg_update_src_summary /usr/pkgsrc/pkg_src_summary.txt # first run is slow
- pkg_update_summary /usr/pkgsrc/pkg_summary.txt
- pkg_refresh_summary /usr/pkgsrc/pkg_summary.txt > newest_pkgs.txt
- pkg_cmp_summary -p newest_pkgs.txt \
- /usr/pkgsrc/pkg_src_summary.txt
-
- or (only newest versions are in pkg_summary(5))
-
- pkg_update_src_summary /usr/pkgsrc/pkg_src_summary.txt # first run is slow
- pkg_update_summary -r /usr/pkgsrc/pkg_summary.txt
- pkg_cmp_summary -p /usr/pkgsrc/pkg_summary.txt \
- /usr/pkgsrc/pkg_src_summary.txt
-
------
-
-The same but with micro summary (much faster!)
-
- pkg_list_all_pkgs | \
- pkg_micro_src_summary > /usr/pkgsrc/pkg_micro_summary.txt
- pkg_update_summary /usr/pkgsrc/pkg_summary.txt
- pkg_cmp_summary -p /usr/pkgsrc/pkg_micro_summary.txt \
- /usr/pkgsrc/pkg_src_summary.txt
-
------
-
-Summary for humans (looks nice but still easily parsable)
-
- pkg_summary4view /usr/pkgsrc/pkg_src_summary.txt
-
- or
-
- pkg_summary4view /usr/pkgsrc/pkg_summary.txt
-
------
-
-Close to 'pkg_chk -an'
-
- pkg_info -X '*' > packages.txt
- pkg_cmp_summary -p packages.txt /path/to/simplified_pkgchk.conf
-
------
-
-Close to 'pkg_chk -usn'
-
- pkg_info -X '*' > packages.txt
- pkg_cmp_summary -p packages.txt /usr/pkgsrc/pkg_src_summary.txt |
- awk '$1 !~ /^[+=]$/'
-
- or
-
- pkg_info -X '*' > packages.txt
- pkg_cmp_summary -p packages.txt /usr/pkgsrc/pkg_micro_summary.txt |
- awk '$1 !~ /^[+=]$/'
-
------
-
-Close to 'pkg_chk -ubn'
-
- pkg_info -X '*' > packages.txt
- pkg_cmp_summary -p packages.txt /usr/pkgsrc/pkg_summary.txt |
- awk '$1 !~ /^[+=]$/'
-
-NOTE: To keep pkg_src_summary.txt up-to-date it makes sense to run
-pkg_update_src_summary after updating pkgsrc source tree.
-
------
-
-Are you tired of PKGSRCDIR/pkglocate, pkg_find etc.?
-Try to use pkg_grep_summary like the following
-
- pkg_grep_summary -h
-
- pkg_grep_summary 'PKGNAME' 'fvalue ~ /judy/' \
- < /usr/pkgsrc/packages/pkg_summary.txt
- pkg_grep_summary 'PKGPATH' 'fvalue ~ /^lang\//' \
- < /usr/pkgsrc/packages/pkg_summary.txt
- pkg_grep_summary 'DEPENDS' 'fvalue ~ /libX/' \
- < /usr/pkgsrc/pkg_src_summary.txt
- pkg_grep_summary 'COMMENT' 'toupper(fvalue) ~ /DNS/' \
- < /usr/pkgsrc/pkg_src_summary.txt
-
------
-
-In some situations the installed packages may be in inconsistent state
-due to problems with required and installed shared libraries
-(REQUIRES/PROVIDES fields in summary)
-
- pkg_info -Xa | pkg_lint_summary -l
diff --git a/pkgtools/pkg_summary-utils/files/TODO b/pkgtools/pkg_summary-utils/files/TODO
deleted file mode 100644
index eebce8b1ff3..00000000000
--- a/pkgtools/pkg_summary-utils/files/TODO
+++ /dev/null
@@ -1,78 +0,0 @@
-TODO list and thoughts
-
-existing tools:
-
- cvs_checksum:
-
- pkg_assignments2pkgpath:
-
- pkg_cleanup_distdir:
-
- pkg_cmp_summary:
- - test for -m
- - -f <p> use pkgpath only for comparison
- - -f <n> use pkgbase only for comparison
- - -f <pn> use pkgbase and pkgpath for comparison
- - automatic removal of #-comments
-
- pkg_grep_summary:
-
- pkg_list_all_pkgs:
-
- pkg_micro_src_summary:
- - rewrite it! There is no reason to "emulate" 'make'.
- Sometimes it is enough to run bmake for cut off Makefile.
-
- pkg_refresh_summary:
-
- pkg_src_fetch_var:
- - remove it, see pkg_micro_src_summary
-
- pkg_src_summary:
- - new option for exit code 0 if everything was done successfully,
- 1 otherwise
-
- pkg_summary2bb_pkgs:
-
- pkg_digger:
-
- pkg_digger_backend:
-
- pkg_summary2deps:
-
- pkg_summary4view:
- - another format for DEPENDS, BUILD_DEPENDS and CONFLICTS,
- (convertors for RHEL yum, Debian apt, OpenSolaris IPS)
-
- pkg_uniq_summary:
-
- pkg_update_src_summary:
- - use "pkg_grep_summary -t strfile PKGPANA"
-
- pkg_update_summary:
- - reimplement it using 'pkg_grep_summary -S FILE_NAME file'
- and...
-
- pkg_lint_summary:
- - checks for bad patterns like foobar<=1.1.1nb*
- - improve REQUIRES/PROVIDES checks, i.e. use
- PROVIDES from dependencies only
- - CONFLICTS vs. actual PLISTs in packages
- - distfiles checksums
- - check binaries and their REQUIRES and analyse Makefile
-
-new tools?
- - replacement for lintpkgsrc -m
-
- - (unsure) additional tool for fields reordering?
-
- - rfc822_to_summary and (?)debian_to_summary(?) for converting an
- information about Debian packages to pkg_summary(5) format.
- For pkg_online database server for Debian packages?
-
- - pkg_summary2INDEX
- pkg_summary2PKGDB
-
- - pkg_op_summary <refresh|intersect|subtract>
-
-ANY IDEAS? LET ME KNOW
diff --git a/pkgtools/pkg_summary-utils/files/XB2bin_summary.in b/pkgtools/pkg_summary-utils/files/XB2bin_summary.in
deleted file mode 100755
index bf06aef5b55..00000000000
--- a/pkgtools/pkg_summary-utils/files/XB2bin_summary.in
+++ /dev/null
@@ -1,216 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-#use "exitnow.awk"
-#use "power_getopt.awk"
-#use "trim.awk"
-#use "tmpfile.awk"
-#use "has_prefix.awk"
-#use "xsystem.awk"
-
-#.begin-str help
-# XB2bin_summary - converts output of 'pkg_info -XB' to bin_summary
-# Usage: XB2bin_summary [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-# =a <fields> add specified fields to the output
-# =f <fields> output only specified fields
-# =r <fields> remove specified fields
-#.end-str
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- add_fields_str=getarg("a")
- gsub(/,/, " ", add_fields_str)
- cnt=split(add_fields_str, arr)
- for (i=1; i <= cnt; ++i)
- add_fields [arr [i]] = 1
-
- rem_fields_str=getarg("r")
- gsub(/,/, " ", rem_fields_str)
- cnt=split(rem_fields_str, arr)
- for (i=1; i <= cnt; ++i)
- rem_fields [arr [i]] = 1
-
- only_fields_str=getarg("f")
- gsub(/,/, " ", only_fields_str)
- cnt=split(only_fields_str, arr)
- for (i=1; i <= cnt; ++i)
- only_fields [arr [i]] = 1
-
- multiline ["PLIST"] = 1
- multiline ["DESCRIPTION"] = 1
- multiline ["DEPENDS"] = 1
- multiline ["REQUIRES"] = 1
- multiline ["PROVIDES"] = 1
- multiline ["CONFLICTS"] = 1
-
- #
- need_assigns = ("ASSIGNMENTS" in only_fields) || ("ASSIGNMENTS" in add_fields)
- need_reqd = ("REQUIREDBY" in only_fields) || ("REQUIREDBY" in add_fields)
- need_plist = ("PLIST" in only_fields) || ("PLIST" in add_fields)
-
- if (need_reqd){
- out_file = tmpfile()
- add_fields ["PKGNAME"] = 1
- only_fields ["PKGNAME"] = 1
- }
-
- #
- X_section = 1
- L_section = 0
-
- pkg_info_cmd="@PKG_INFO_CMD@"
-}
-
-NF == 0 {
- prev_is_empty = 1
- next
-}
-
-($1 == "Build" || $1 == "Installed") && $2 == "information:" {
- prev_is_empty = 0
- X_section = 0
- L_section = 0
- next
-}
-
-$1 == "Files:" {
- prev_is_empty = 0
- X_section = 0
- L_section = 1
- next
-}
-
-function print_me (s){
- if (out_file)
- print s > out_file
- else
- print s
-}
-
-function eos (){
- # end of package summary
- if (need_assigns && assigns != ""){
- print_me("ASSIGNMENTS=" assigns)
- }
-
- print_me("")
- X_section = 1
- L_section = 0
- delete already_printed
- assigns = ""
-}
-
-prev_is_empty {
- eos()
-}
-
-L_section {
- print "PLIST=" $0
-}
-
-{
- eq_idx = index($0, "=")
- fname = substr($0, 1, eq_idx-1)
- if (need_assigns && fname == "MULTI"){
- assigns = substr($0, eq_idx+1)
- gsub(/ /, ",", assigns)
- }
-
- # print current non-empty line
- if (rem_fields_str != "" && (fname in rem_fields))
- ok = 0
- else if (only_fields_str != "" && !(fname in only_fields))
- ok = 0
- else if (!X_section && ((fname in add_fields) || (fname in only_fields)))
- ok = 1
- else
- ok = X_section
-
- if (ok && !(fname in already_printed)){
- if (!(fname in multiline))
- already_printed [fname] = 1
-
- print_me($0)
- }
-
- #
- prev_is_empty = 0
-}
-
-END {
- if (prev_is_empty)
- eos()
-
- if (!need_reqd)
- exitnow(0)
-
- ##########################################################################
- ### REQUIREDBY section
-
- # close file with bin_summaries
- printf "" > out_file
- xclose(out_file)
-
- # generating file with required_by information
- reqd_file = tmpfile()
- pipe = "xargs " pkg_info_cmd " -R > " reqd_file
- while(xgetline0(out_file)){
- if (has_prefix($0, "PKGNAME="))
- print substr($0, 9) | pipe
- }
- xclose(out_file)
- xclose(pipe)
-
- #
- while (xgetline0(reqd_file)){
- if ($1 == "Information" && $2 == "for"){
- pkgname = $3
- sub(/:$/, "", pkgname)
- }else if (NF == 1 && !index($0, ":")){
- reqd [pkgname, ++reqd_count [pkgname]] = $1
- }
- }
- xclose(reqd_file)
-
- #
- while (xgetline0(out_file)){
- print $0
- if (has_prefix($0, "PKGNAME=")){
- pkgname = substr($0, 9)
- for (i=1; i <= reqd_count [pkgname]; ++i){
- print "REQUIREDBY=" reqd [pkgname, i]
- }
- }
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/cvs_checksum.1 b/pkgtools/pkg_summary-utils/files/cvs_checksum.1
deleted file mode 100644
index 2407678a4f2..00000000000
--- a/pkgtools/pkg_summary-utils/files/cvs_checksum.1
+++ /dev/null
@@ -1,52 +0,0 @@
-.\" $NetBSD: cvs_checksum.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH CVS_CHECKSUM 1 "Jan 29, 2008" "" ""
-.SH NAME
-cvs_checksum \- outputs checksum of all files and their revisions
-from the CVS working directory
-.SH SYNOPSIS
-.BI cvs_checksum " [OPTIONS] [cvsdirs ...]"
-.SH DESCRIPTION
-.B cvs_checksum
-analyses CVS/Entries file and (with -l option) outputs a list of all
-files with their revisions in the working CVS directory. By default
-checksum is output.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.B "-l"
-List of files and their revisions are output
-.SH ENVIRONMENT
-.TP
-.B CKSUM
-problem for calculating a checksum, By default
-the standard utility cksum is used.
-.SH EXAMPLES
-.VB
-cvs_checksum /usr/src/bin/sh
-cvs_checksum -l /usr/pkgsrc/devel/libjudy /usr/pkgsrc/x11/xxkb
-env CKSUM=md5 cvs_checksum /usr/src/bin/sh
-.VE
-.SH SEE ALSO
-.BR cvs(1) ,
-.BR cksum(1) ,
-.BR md5(1) ,
-.B pkg_summary-utils(7)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/cvs_checksum.in b/pkgtools/pkg_summary-utils/files/cvs_checksum.in
deleted file mode 100755
index 68a8fb407ac..00000000000
--- a/pkgtools/pkg_summary-utils/files/cvs_checksum.in
+++ /dev/null
@@ -1,77 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-############################################################
-# user settable variables
-if test -z "$CKSUM"; then
- CKSUM=cksum
-fi
-
-############################################################
-usage (){
- cat 1>&2 <<EOF
-cvs_checksum - analyses CVS/Entries file and print a checksum of
- cvs file names and their revisions.
-
-usage:
- cvs_checksum [OPTIONS] [cvsdirs ...]
-OPTIONS:
- -h display this help message
- -l list CVS files names with their revisions
- instead of their checksum
-EOF
-}
-
-while getopts hl f; do
- case "$f" in
- h) usage; exit 0;;
- l) list_only=1;;
- ?) printf "Run cvs_checksum -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-if test "$list_only"; then
- for i in "$@"; do
- efn=$i/CVS/Entries
- 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" `
- $0 -l $subdirs
- else
- echo "$i/CVS/Entries files is not readable" 1>&2
- exit 1
- fi
- done
-else
- $0 -l "$@" | env LC_ALL=C sort | $CKSUM
-fi
diff --git a/pkgtools/pkg_summary-utils/files/direct_deps.in b/pkgtools/pkg_summary-utils/files/direct_deps.in
deleted file mode 100755
index c685eb54330..00000000000
--- a/pkgtools/pkg_summary-utils/files/direct_deps.in
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/usr/bin/env runawk
-
-#.begin-str help
-# direct_deps - takes summaries on input and a list of already
-# processed packages and outputs enriched PKGPATHs for direct
-# dependencies (either DEPENDS or BUILD_DEPENDS or both) provided that
-# they are not listed in "processed packages". Output PKGPATHs
-# contain the value of _INHER_ASSIGNS from input summary if it is present.
-#
-# Usage: direct_deps [OPTIONS] [files...]
-# OPTIONS:
-# -h display this screen
-# -d generate summary for dependancies (DEPENDS)
-# -D generate summary for build dependancies (BUILD_DEPENDS)
-# =p <filename> already processed packages
-#.end-str
-
-#env "LC_ALL=C"
-
-#use "alt_assert.awk"
-#use "xgetline.awk"
-#use "braceexpand.awk"
-#use "power_getopt.awk"
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- with_dep = getarg("d")
- with_bdep = getarg("D")
- processed_pkgs_fn = getarg("p")
-
- assert(processed_pkgs_fn != "")
-
- while (xgetline0(processed_pkgs_fn)){
- processed_pkgs [$0] = 1
- }
-}
-
-/^PKGPATH=/ {
- pkgpath = substr($0, 9)
- next
-}
-
-/^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- next
-}
-
-/^_INHER_ASSIGNS=/ {
- inher_assigns = ":" substr($0, 16)
- next
-}
-
-NF == 0 {
- if (assigns != "")
- pkgpath = pkgpath ":" assigns
-
- pkgpaths [pkgpath] = 1
-
- inher_assigns = assigns = pkgpath = ""
- next
-}
-
-(with_dep && /^DEPENDS=/) || (with_bdep && /^BUILD_DEPENDS=/) {
- sub(/^[^=]*=/, "")
- for (i=1; i <= NF; ++i){
- if ($i ~ /[{]/){
- $i = braceexpand($i)
- sub(/ .*$/, "", $i)
- }
- gsub(/[^ ]*:[.][.]\/[.][.]\//, "", $i)
- sub(/\/+$/, "", $i)
- depends [$i inher_assigns] = 1
- }
- next
-}
-
-END {
- for (d in depends){
- if (! (d in pkgpaths) && ! (d in processed_pkgs)){
- print d
- }
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/get_processed_pkgs.in b/pkgtools/pkg_summary-utils/files/get_processed_pkgs.in
deleted file mode 100755
index 7d3eea793bc..00000000000
--- a/pkgtools/pkg_summary-utils/files/get_processed_pkgs.in
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env runawk
-
-#env "LC_ALL=C"
-
-#use "power_getopt.awk"
-
-#.begin-str help
-# Taking summaries on input this script outputs all possible
-# enriched PKGPATHs, i.e plain PKGPATHs,
-# PKGPATH:<good_assignments> and
-# PKGPATH:<good_assignments>,<bad_assignments> where
-# <good_assignments> are assignments from ASSIGMENTS, and
-# <bad_assignments> are rejected ones from _INHER_ASSIGNS_REJ.
-# usage: get_process_pkgs [OPTIONS] [files...]
-# OPTIONS:
-# -h display this screen
-#.end-str
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-}
-
-NF == 0 {
- if (assigns != "")
- pkgpath = pkgpath ":" assigns
- print pkgpath
-
- if (assigns_rej != "")
- print pkgpath (assigns != "" ? "," : ":") assigns_rej
-
- pkgpath = assigns_rej = assigns = ""
- next
-}
-
-/^PKGPATH=/ {
- pkgpath = substr($0, 9)
- next
-}
-
-/^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- next
-}
-
-/^_INHER_ASSIGNS_REJ=/ {
- assigns_rej = substr($0, 20)
- next
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_assignments2pkgpath.in b/pkgtools/pkg_summary-utils/files/pkg_assignments2pkgpath.in
deleted file mode 100755
index 6153e3964a8..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_assignments2pkgpath.in
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "power_getopt.awk"
-#use "abort.awk"
-
-############################################################
-#.begin-str help
-# pkg_assignments2pkgpath - makes an ASSIGNMENTS section a part of PKGPATH
-# usage: pkg_assignments2pkgpath -h\n\
-# pkg_assignments2pkgpath [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-}
-
-$0 ~ /^PKGPATH=/ {
- pkgpath = $0
- next
-}
-$0 ~ /^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- gsub(/ /, ",", assigns)
- next
-}
-NF == 0 {
- if (assigns != "")
- print pkgpath ":" assigns body "\n"
- else
- print pkgpath body "\n"
-
- pkgpath = assigns = body = ""
- next
-}
-{
- body = body "\n" $0
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_bin_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_bin_summary.1
deleted file mode 100644
index dae4048395c..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_bin_summary.1
+++ /dev/null
@@ -1,73 +0,0 @@
-.\" $NetBSD: pkg_bin_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_BIN_SUMMARY 1 "Nov 7, 2010" "" ""
-.SH NAME
-.B pkg_bin_summary
-wrapper for pkg_info that outputs a package summary
-.SH SYNOPSIS
-.BI pkg_bin_summary " [OPTIONS] [-- [PKG_INFO_ARGS]] [packages...]"
-.SH DESCRIPTION
-.B pkg_bin_summary
-is a wrapper for 'pkg_info -X' that outputs
-build information and installation information
-variables as well some special variables for installed or binary packages,
-e.g. ASSIGNMENTS (settings to build multivariant packages), PLIST (a list of files
-of the package) and
-REQUIREDBY. By default it is equivalent to pkg_info -Xa.
-.SH OPTIONS
-.TP
-.B "-h"
-Display help message.
-.TP
-.B "-a <fields>"
-add to the output the specified fields,
-fields are separated by space or comma.
-.TP
-.B "-f <fields>"
-output only specified fields,
-fields are separated by space or comma.
-.TP
-.B "-r <fields>"
-remove from output the specified fields,
-fields are separated by space or comma.
-.TP
-PKG_INFO_ARGS are
-options passed to pkg_info(1) that default to -a.
-In addition to these options -X is always applied to pkg_info
-as well as -B if needed. "--" is required
-if PKG_INFO_ARGS is not empty.
-.SH EXAMPLES
-.VB
- pkg_bin_summary -f PKGNAME,automatic,REQUIREDBY |
- pkg_grep_summary -e REQUIREDBY |
- pkg_grep_summary -s automatic yes
-
- pkg_bin_summary -a automatic,ASSIGNMENTS
-
- pkg_bin_summary -r 'DESCRIPTION REQUIRES PROVIDES' -- -u
-
- pkg_bin_summary -a automatic -r REQUIRES 'lib*'
-
- pkg_bin_summary -f PKGNAME,PKGPATH,DEPENDS,BUILD_DEPENDS,ASSIGNMENTS |
- pkg_summary2deps -pdt |
- tsort
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_bin_summary.in b/pkgtools/pkg_summary-utils/files/pkg_bin_summary.in
deleted file mode 100755
index 4d8128658e4..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_bin_summary.in
+++ /dev/null
@@ -1,90 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-export LC_ALL=C
-
-LIBEXECDIR=${LIBEXECDIR-@libexecdir@}
-PKG_INFO_CMD="${PKG_INFO_CMD-@PKG_INFO_CMD@}"
-
-usage (){
- cat 1>&2 <<EOF
-pkg_bin_summary - wrapper for 'pkg_info -X' that outputs
- build information and installation information
- variables as well some special variables for installed
- or binary packages,
- e.g. ASSIGNMENTS (settings to build multivariant packages) and
- REQUIREDBY. By default it is equivalent to pkg_info -Xa.
-USAGE: pkg_bin_summary -h
- pkg_bin_summary [OPTIONS] [-- [PKG_INFO_ARGS]] [packages...]
-OPTIONS:
- -h display this help
- -a <fields> add to the output the specified fields,
- fields are separated by space or comma
- -f <fields> output only the specified fields,
- fields are separated by space or comma
- -r <fields> remove from output the specified fields,
- fields are output only specified fields
-PKG_INFO_ARGS:
- Options passed to pkg_info(1) that default to -a.
- In addition to these options -X is always applied to pkg_info
- as well as -B if needed. "--" is required
- if PKG_INFO_ARGS is not empty.
-Samples of use:
- pkg_bin_summary -f PKGNAME,PKGPATH,ASSIGNMENTS,DEPENDS,automatic
- pkg_bin_summary -a automatic,ASSIGNMENTS
- pkg_bin_summary -r 'DESCRIPTION REQUIRES PROVIDES' -- -u
- pkg_bin_summary -a automatic -r REQUIRES 'lib*'
-EOF
-}
-
-while getopts ha:r:f: f; do
- case "$f" in
- '?') exit 1;;
- h) usage; exit 0;;
- a) add_fields="$OPTARG";;
- r) rem_fields="$OPTARG";;
- f) only_fields="$OPTARG";;
- esac
-done
-shift `expr $OPTIND - 1`
-
-if test $# -eq 0; then
- pkg_info_opts=-XBa
-else
- pkg_info_opts=-XB
-fi
-
-if echo "$only_fields$add_fields" | grep PLIST > /dev/null; then
- pkg_info_opts="$pkg_info_opts -L"
-fi
-
-$PKG_INFO_CMD $pkg_info_opts "$@" |
-$LIBEXECDIR/XB2bin_summary -a "$add_fields" -r "$rem_fields" -f "$only_fields"
diff --git a/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.1 b/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.1
deleted file mode 100644
index ef6eff4fcb6..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.1
+++ /dev/null
@@ -1,49 +0,0 @@
-.\" $NetBSD: pkg_cleanup_distdir.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_CLEANUP_DISTDIR 1 "Jan 29, 2008" "" ""
-.SH NAME
-PKG_CLEANUP_DISTDIR \- cleanups DISTDIR directory
-.SH SYNOPSIS
-.BI pkg_cleanup_distdir " [OPTIONS] [files ...]"
-.SH DESCRIPTION
-.B pkg_cleanup_distdir
-analyses ALLSRCFILES field of pkg_src_summary given on input and
-outputs list of files found in DISTDIR that are not referenced
-by any package.
-With option
-.B "-r"
-it removes all those files and empty subdirectories.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.BI "-r"
-Remove unreferenced files and empty subdirectories
-.SH ENVIRONMENT
-.TP
-.B DISTDIR
-Directory that contains distfiles
-.SH EXAMPLES
-.VB
-pkg_cleanup_distdir -r /usr/pkgsrc/pkg_src_summary.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.B pkg_summary(5)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.in b/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.in
deleted file mode 100755
index e3a4f089546..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_cleanup_distdir.in
+++ /dev/null
@@ -1,107 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-export LC_ALL=C
-
-############################################################
-
-tmp_dir=`mktemp -d /tmp/pkg_cleanup_distdir.XXXXXX`
-trap "rm -rf $tmp_dir" 0 1 2 15
-test -n "$tmp_dir" || exit 1
-
-############################################################
-
-usage (){
- cat 1>&2 <<EOF
-pkg_cleanup_distdir - analyses ALLSRCFILES field of src_summary
-given on input and optionally removes files and directories in DISTDIR
-not referenced by any package.
-
-usage: pkg_cleanup_distdir [OPTIONS] [files...]
-OPTIONS:
- -h display this help message
- -r remove unreferenced files and empty directories
-EOF
-}
-
-delete=''
-while getopts hr f; do
- case "$f" in
- h) usage; exit 0;;
- r) delete=1;;
- ?) printf "Run pkg_cleanup_distdir -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-DISTDIR=${DISTDIR:=@DISTDIR@}
-cd "$DISTDIR"
-
-useful_distfiles (){
- awk '/^ALLSRCFILES=/ {
- $0 = substr($0, 13)
- for (i=1; i <= NF; ++i)
- print $i
- }' "$@" |
- sort | uniq
-}
-
-existing_files (){
- find . -type f | sed "s,^[.]/,,"
-}
-
-ex_file=$tmp_dir/existing
-us_file=$tmp_dir/useful
-rm_file=$tmp_dir/to_be_removed
-rmdir_file=$tmp_dir/dirs
-
-existing_files > "$ex_file"
-
-useful_distfiles "$@" > "$us_file"
-
-sort "$ex_file" "$ex_file" "$us_file" | uniq -c |
-awk '$1 == 2 {print $2}' > "$rm_file"
-
-if test -n "$delete"; then
- xargs rm -f < "$rm_file"
-
- sed 's,/[^/]*$,,' "$rm_file" | sort | uniq |
- while read -r dir; do
- while test "$dir" != '.'; do
- if ! rmdir "$dir" 2>/dev/null; then
- break
- fi
- dir=`dirname $dir`
- done
- done
-else
- cat "$rm_file"
-fi
diff --git a/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.1
deleted file mode 100644
index 91ba8aca5df..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.1
+++ /dev/null
@@ -1,97 +0,0 @@
-.\" $NetBSD: pkg_cmp_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_CMP_SUMMARY 1 "Feb 10, 2008" "" ""
-.SH NAME
-pkg_cmp_summary \- compares two summary files (pkg_summary(5) format)
-.SH SYNOPSIS
-.BI pkg_cmp_summary " [OPTIONS] pkg_summary1 pkg_summary2"
-.SH DESCRIPTION
-.B pkg_cmp_summary
-compares package versions in two pkg_summary(5) files.
-These files may be generated by pkg_info -X, pkg_src_summary(1)
-and other utils.
-By default PKGBASE is used for identifying the package.
-.P
-Format of the results:
-.VB
- <R> [PKGPATH] <PKGBASE> <VER1> <VER2>
-.VE
-where R is
-.VB
- - present in the first file but absent in the second one (disappears)
- + absent in the first file but present in the second one (appears/new)
- <NUM> more than one package with the same PKGBASE is in the first file
- = versions are the same
- < second file contains newer version
- > second file contains earlier version
- ? versions are incomparable (incorrect version, for example)
- ! packages are different (versions are the equal but
- CVS_CHECKSUMs, BUILD_DATE or DEPENDS are different)
-.VE
-.P
-PKGBASE is PKGNAME with version stripped,
-VER1 and VER2 are package versions.
-PKGPATH appears in output if -p option is specified.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.B "-p"
-use PKGPATH:PKGBASE pair for identifing a package instead of PKGBASE.
-.TP
-.B "-m"
-for comparing summaries for multi-variant packages
-(PKGPATH=category/name:variable_assignments format of PKGPATH field)
-.TP
-.B "-c"
-use CVS_CHECKSUM field for comparing in addition to PKGNAME and/or PKGPATH
-.TP
-.B "-b"
-use BUILD_DATE field for comparing in addition to PKGNAME and/or PKGPATH
-.TP
-.B "-d"
-use DEPENDS field for comparing in addition to PKGNAME and/or PKGPATH
-.TP
-.B "-u"
-output A at the end of line for automatically
-installed packages and U for packages installed by user.
-A field
-.I automatic
-is expected in
-.IR summary1 ,
-if it is specified in
-.IR summary2 ,
-it is ignored.
-.TP
-.B "-2"
-output PKGPATHe from summary1 and from summary2 (<>!=)
-.TP
-.B "-e"
-normally a number of duplications is output as a result of
-comparison if they (duplications) exist. If
-.I "-e"
-was
-applied, = (or !) is output if package from summary2
-exists (or doesn't exist) in summary1
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1) ,
-.BR pkg_info(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.in b/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.in
deleted file mode 100755
index f5816096e49..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_cmp_summary.in
+++ /dev/null
@@ -1,360 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "pkgsrc-dewey.awk"
-#use "power_getopt.awk"
-
-############################################################
-#.begin-str help
-# pkg_cmp_summary - compares two summary files
-# usage: pkg_cmp_summary -h
-# pkg_cmp_summary [OPTIONS] summary1 summary2
-# OPTIONS:
-# -h display this help
-# -p use PKGPATH:PKGBASE pair for identifing a package
-# -c consider packages different
-# if they have different CVS_CHECKSUM
-# -m ignored
-# -P use PKGPATH only for comparison, ignore PKGNAME
-# -d consider packages different
-# if they have different DEPENDS
-# -b consider packages different
-# if they have different BUILD_DATE, unfortunately pkgsrc
-# doesn't mark packages with UUID
-# -2 output PKGPATHe from summary1 and from summary2 (<>!=)
-# -e normally a number of duplications is output as a result of
-# comparison if they (duplications) exist. If -e was
-# applied, = (or !) is output if package from summary2
-# exists (or doesn't exist) in summary1
-# -u output A at the end of line for automatically
-# installed packages and U for packages installed by user.
-# automatic=yes is expected in summary1
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exit 0
- }
-
- with_pkgname = 1
-
- with_pkgpath = getarg("p")
- use_checksum = getarg("c")
- use_dep = getarg("d")
- use_builddate = getarg("b")
- check_existence = getarg("e")
- user_auto = getarg("u")
-
- if (getarg("P")){
- with_pkgpath = 1
- with_pkgname = 0
- }
-
- output2 = getarg("2")
-
- for (ind=1; ind < ARGC && ARGV [ind] == ""; ++ind);
-
- if (ARGC != ind+2){
- print_help()
- exit 1
- }
-
- file1 = ARGV [ind]
-
- installed_by_user = 1
-}
-
-function trim (s){
- sub(/^[ \t]+/, "", s)
- sub(/[ \t]+$/, "", s)
-
- return s
-}
-
-with_pkgname && /^PKGNAME=/ {
- pkgname = trim(substr($0, 9))
- next
-}
-
-use_checksum && /^CVS_CHECKSUM=/ {
- checksum = trim(substr($0, 14))
- next
-}
-
-with_pkgpath && /^PKGPATH=/ {
- pkgpath = trim(substr($0, 9))
- full_pkgpath = pkgpath
- sub(/:.*$/, "", pkgpath)
- next
-}
-
-user_auto && FILENAME == file1 && /^automatic=/ {
- installed_by_user = tolower(trim(substr($0, 11))) != "yes"
- next
-}
-
-with_pkgpath && /^ASSIGNMENTS=/ {
- assigns = trim(substr($0, 13))
- next
-}
-
-use_dep && /^DEPENDS=/ {
- $0 = substr($0, 9)
- if (FILENAME == file1){
- for (i=1; i <= NF; ++i){
- dep1 [$i] = 0
- }
- }else{
- for (i=1; i <= NF; ++i){
- dep2 [$i] = 0
- }
- }
- next
-}
-
-use_builddate && /^BUILD_DATE=/ {
- build_date = substr($0, 12)
- next
-}
-
-function get_ua_sufx (pkgbase){
- if (user_auto){
- if (! (pkgbase in pkgbase2ua))
- return " ?"
- else if (pkgbase2ua [pkgbase])
- return " U"
- else
- return " A"
- }else{
- return ""
- }
-}
-
-NF == 0 {
- if (assigns != ""){
- full_pkgpath = full_pkgpath ":" assigns
- assigns = ""
- }
-
- # ver
- ver = pkgname
- sub(/^.*-/, "", ver)
-
- # pkgbase
- sub(/-[^-]+$/, "", pkgname)
-
- # option PKGPATH
- if (with_pkgpath && with_pkgname){
- pkgbase = pkgpath " " pkgname
- full_pkgbase = full_pkgpath " " pkgname
- }else if (with_pkgpath){
- pkgbase = pkgpath
- full_pkgbase = full_pkgpath
- }else{
- pkgbase = pkgname
- full_pkgbase = pkgname
- }
-
- # current checksum, build date
- curr_checksum = checksum
- curr_build_date = build_date
-
- # cleaning...
- pkgname = pkgpath = checksum = build_date = ""
-
- #
- if (FILENAME == file1){
- # first file!
- if (user_auto)
- pkgbase2ua [pkgbase] = installed_by_user
-
- installed_by_user = 1
-
- if (pkgbase in names){
- if (check_existence){
-# print "???", full_pkgbase, "!", full_pkgpaths [pkgbase]
- exists [pkgbase "-" ver] = full_pkgbase
- exists [pkgbase "-" names [pkgbase]] = full_pkgpaths [pkgbase]
- }
- duplicates [pkgbase] += 1
- }else{
- names [pkgbase] = ver
- full_pkgpaths [pkgbase] = full_pkgbase
-
- if (use_checksum){
- checksums [pkgbase] = curr_checksum
- }
-
- if (use_dep){
- for (dep in dep1){
- depends [pkgbase, ++depends_cnt [pkgbase]] = dep
- }
- delete dep1
- }
-
- if (use_builddate){
- build_dates [pkgbase] = curr_build_date
- }
- }
- }else{
- # second file!
- present [pkgbase] = 0
-
- if (user_auto){
- ua_sufx = get_ua_sufx(pkgbase)
- }
-
- if (pkgbase in duplicates){
- if (check_existence){
- if ((pkgbase "-" ver) in exists){
- if (output2){
- _full = exists [pkgbase "-" ver]
- sub(/ .*$/, "", _full)
- if (with_pkgname)
- print "=", _full, full_pkgbase, ver ua_sufx
- else
- print "=", _full, full_pkgbase ua_sufx
- }else{
- if (with_pkgname)
- print "=", full_pkgbase, ver ua_sufx
- else
- print "=", full_pkgbase ua_sufx
- }
- }else{
- if (ver != "")
- print "!", full_pkgbase, ver ua_sufx
- else
- print "!", full_pkgbase ua_sufx
- }
- }
-
- next
- }
-
- if (! (pkgbase in names)){
- if (ver != "")
- print "+", full_pkgbase, ver
- else
- print "+", full_pkgbase
-
- next
- }
-
- res = "="
-
- # ! -P
- if (with_pkgname){
- ver1 = names [pkgbase]
- res = dewey_cmp(ver1, ver)
- }
-
- # -c
- if (use_checksum && res == "="){
- prev_checksum = checksums [pkgbase]
- if (prev_checksum != curr_checksum)
- res = "!"
- }
-
- # -b
- if (use_builddate && res == "="){
- prev_build_date = build_dates [pkgbase]
- if (prev_build_date != curr_build_date)
- res = "!"
- }
-
- # -d
- if (use_dep && res == "="){
- if (pkgbase in depends_cnt){
- cnt = depends_cnt [pkgbase]
- for (i=1; i <= cnt; ++i){
- dep = depends [pkgbase, i]
- if (dep in dep2){
- delete dep2 [dep]
- }else{
- res = "!"
- break
- }
- }
- if (res == "="){
- for (dep in dep2){
- res = "!"
- break
- }
- }
- }else{
- res = "!"
- }
- delete dep2
- }
-
- #
- if (output2){
- _full = full_pkgpaths [pkgbase]
- sub(/ .*$/, "", _full)
- if (with_pkgname)
- print res, _full, full_pkgbase, ver1, ver ua_sufx
- else
- print res, _full, full_pkgbase ua_sufx
- }else{
- if (with_pkgname)
- print res, full_pkgbase, ver1, ver ua_sufx
- else
- print res, full_pkgbase ua_sufx
- }
- }
-
- next
-}
-
-END {
- for (pkgbase in names){
- if (user_auto){
- ua_sufx = get_ua_sufx(pkgbase)
- }
-
- if (! (pkgbase in present)){
- if (names [pkgbase] != ""){
- nm = " " names [pkgbase]
- }else{
- nm = ""
- }
-
- print "-", full_pkgpaths [pkgbase] nm ua_sufx
-
- delete duplicates [pkgbase]
- }else if (!check_existence && (pkgbase in duplicates)){
- print duplicates [pkgbase]+1, pkgbase
- }
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_digger.1 b/pkgtools/pkg_summary-utils/files/pkg_digger.1
deleted file mode 100644
index 78675e7b59d..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_digger.1
+++ /dev/null
@@ -1,151 +0,0 @@
-.\" $NetBSD: pkg_digger.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_DIGGER 1 "Nov 22, 2010" "" ""
-.SH NAME
-pkg_digger \- package searcher for PkgSrc
-.SH SYNOPSIS
-.BI pkg_digger " -h"
-.br
-.BI pkg_digger " -f"
-.br
-.BI pkg_digger " -s"
-.br
-.BI pkg_digger " [-1|-3-9|-i] [-r] [-q] query1 [query2 ...]"
-.SH DESCRIPTION
-.B pkg_digger
-is a package searcher for PkgSrc. Unlike other searchers
-it scans (by default) prebuilt package summary file, but the pkgsrc tree
-thus working much faster.
-.I Query
-is either
-.IR field ":" strategy ":" "text"
-or just
-.IR text ,
-for example,
-.IR PKGNAME:substring:dict " or " dictionary .
-.I Field
-means field to search in listed by
-.IR -f .
-.I Strategy
-means search strategy listed by
-.IR -s .
-If neither field nor strategy are specified, those listed
-in PKG_DIGGER_FALLBACK_RULES variable are used.
-PKG_DIGGER_FALLBACK_RULES can be set in environment or in configuration file.
-Optional leading
-.IR - " (minus) or " ! " (exclamation mark)"
-invert the sense of match, for example,
-.br
-COMMENT:word:dictionary -spell -japanese -chinese -korean
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.B "-s"
-display supported search strategies. A list of supported search strategies
-are detetermined by backend search program
-.br
-.RB ( pkg_digger_backend " by default)."
-In addition to full search strategy, short single-letter synonyms may be used,
-they are determined by
-.br
-.I pkg_digger_strat__<synonym>
-variable set in environment or in configuration file.
-.TP
-.B "-f"
-display supported fields to search in, for example PKGNAME, PKGPATH, COMMENT,
-DEPENDS etc.
-A list of supported fields
-are detetermined by backend search program
-.RB ( pkg_digger_backend " by default)."
-In addition to full fields, short single-letter synonyms may be used,
-they are determined by
-.br
-.I pkg_digger_field__<synonym>
-variable set in environment or in configuration file.
-.TP
-.B "-1"
-only PKGPATH, PKGNAME (if needed) and COMMENT are output (oneline format)
-.TP
-.B "-3"
-only basic fields are output, i.e. PKGNAME, PKGPATH, COMMENT, DESCRIPTION
-and some others.
-.TP
-.B "-9"
-all fields present in input are output
-.TP
-.B "-r"
-output raw summary,
-.I "-r"
-requires either
-.IR -3 " or " -9 .
-.TP
-.B "-q"
-quiet mode, do not print "No matches found" to stderr
-.BR pkg_digger .
-.SH ENVIRONMENT
-.TP
-.B PKG_DIGGER_BACKEND
-backend searcher. Possible values:
-.IR pkg_digger_backend " (the default), " pkg_online_client .
-.TP
-.B PKG_DIGGER_SUMMARY
-Path to package summary file. Actually this is
-.br
-.BR pkg_digger_backend "'s variable"
-.SH EXAMPLES
-.VB
- export PKG_DIGGER_SUMMARY=/usr/pkgsrc/packages/pkg_summary.txt
- pkg_digger -h
- pkg_digger -s
- pkg_digger -f
- pkg_digger DEPENDS:substring:libmaa
- pkg_digger PKGNAME:prefix:dict
- pkg_digger COMMENT:word:dns PKGPATH:prefix:net
- pkg_digger c:kw:'dns server'
- pkg_digger n:p:lua
- pkg_digger ::emacs
- pkg_digger -9 lang/mawk
- pkg_digger oberon
- pkg_digger dns server
- pkg_digger -3 dictionary -spell -japanese -chinese -korean
- pkg_digger -q9r spreadsheet
- pkg_digger FILE_SIZE:awk:'fvalue+0 > 100000000'
-
- export PKG_DIGGER_BACKEND=pkg_online_client
- export PKG_ONLINE_SERVER=dictd.xdsl.by
- export PKG_ONLINE_PORT=26280
- pkg_digger -s
- pkg_digger -f
- pkg_digger -9 mawk -p:p:wip/
- pkg_digger m:p:joerg
- pkg_digger bulk build
- pkg_digger dictionary -spell -japanese -chinese -korean
-.VE
-.SH FILES
-.TP
-.IR "~/.pkg_digger" ", " SYSCONFDIR/pkg_digger.conf
-configuration file
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_grep_summary(1) ,
-.BR pkg_online_client(1) ,
-.B pkg_digger_backend(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_digger.conf b/pkgtools/pkg_summary-utils/files/pkg_digger.conf
deleted file mode 100644
index e109e305337..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_digger.conf
+++ /dev/null
@@ -1,47 +0,0 @@
-#-*-mode: sh -*-
-
-#
-assign (){
- # $1 - varname
- # $2 - value
- __cmd="test -z \"\$$1\""
- if eval "$__cmd"; then
- eval "$1='$2'"
- fi
-}
-
-# default client
-assign PKG_DIGGER_BACKEND pkg_digger_backend
-
-# default guessing rules for simple queries
-assign \
- PKG_DIGGER_FALLBACK_RULES \
- 'PKGNAME:exact PKGPATH:exact PKGNAME:substring COMMENT:word COMMENT:substring'
-
-# short names (synonyms) for strategies.
-# some strategies may be disabled per field on the server!
-#assign pkg_digger_strat__empty '.' # every field may have
-# # its own default
-assign pkg_digger_strat__empty exact
-assign pkg_digger_strat__e exact
-assign pkg_digger_strat__p prefix
-assign pkg_digger_strat__u suffix
-assign pkg_digger_strat__s substring
-assign pkg_digger_strat__r re
-assign pkg_digger_strat__x soundex
-assign pkg_digger_strat__w word
-assign pkg_digger_strat__f first
-assign pkg_digger_strat__l last
-assign pkg_digger_strat__x soundex
-assign pkg_digger_strat__v lev
-
-# short names (synonyms) for fields
-assign pkg_digger_field__empty PKGBASE
-assign pkg_digger_field__b PKGBASE
-assign pkg_digger_field__n PKGNAME
-assign pkg_digger_field__p PKGPATH
-assign pkg_digger_field__c COMMENT
-assign pkg_digger_field__f PLIST
-assign pkg_digger_field__m MAINTAINER
-assign pkg_digger_field__d DESCRIPTION
-assign pkg_digger_field__C CATEGORIES
diff --git a/pkgtools/pkg_summary-utils/files/pkg_digger.in b/pkgtools/pkg_summary-utils/files/pkg_digger.in
deleted file mode 100755
index 1ea6a0185d1..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_digger.in
+++ /dev/null
@@ -1,296 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2008-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-#LIBEXECDIR=${LIBEXECDIR-@libexecdir@}
-#. "$LIBEXECDIR"/pkg_digger_backend.env
-. pipestatus
-
-export LC_ALL=C
-
-PKGDIG_SYSCONFDIR=${PKGDIG_SYSCONFDIR-@sysconfdir@}
-
-systemwide_conf="$PKGDIG_SYSCONFDIR/pkg_digger.conf"
-user_conf="$HOME/.pkg_digger"
-
-if test -r "$user_conf"; then
- . "$user_conf"
-elif test -r "$systemwide_conf"; then
- . "$systemwide_conf"
-fi
-
-set -e
-
-usage () {
-cat <<EOF
-usage: pkg_digger -h
- pkg_digger -f
- pkg_digger -s
- pkg_digger [-1|-3-9|-i] [-r] [-q] query1 [query2 ...]
- where 'queryX' is either plain text query or in 'f:s:q' format,
- 'f' here means field name, 's' - search strategy and
- 'q' means plain text query
-OPTIONS:
- -h display this screen
- -s display available search strategies
- -f display available fields for search in
- -1 display 1-line information about packages (default)
- -3 display short information about packages
- -i|-9 display full information about packages
- -r raw output in pkg_summary(5) format
- -q quiet mode, do not print "No matches found" to stderr
-EOF
-}
-
-while getopts sfi931rqh f; do
- case "$f" in
- s) strats=1;;
- f) fields=1;;
- i|9) info_type="$info_type -9";;
- 3) info_type="$info_type -3";;
- 1) info_type="$info_type -1";;
- r) raw_out='-r';;
- q) quiet_mode='-q';;
- h) usage; exit 0;;
- ?) printf "Run pkg_digger -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-if test -n "$info_type"; then
- info_type="$info_type $raw_out"
-else
- info_type=-1 # the default is oneline information
-fi
-
-# temp dir
-tmp_dir="/tmp/pkg_digger.$$"
-trap "rm -rf $tmp_dir" 0 1 2 3 15
-mkdir -m 700 "$tmp_dir"
-
-# highligting defaults
-invert_def_loop (){
- while read def; do
- synonym=`printf '%s\n' "$def" | sed -e 's,^.*__,,' -e 's,=.*,,'`
- fullname=`printf '%s\n' "$def" | sed -e 's,^[^=]*=,,' -e 's,[.],dot,'`
- echo pkg_digger_definv_$fullname=$synonym
- done
-}
-
-invert_defaults (){
- # $1 - field or strat
- runpipe_re '0 [01] 0' \
- set '|' \
- grep ^pkg_digger_$1__ '|' \
- invert_def_loop
-}
-
-######################################################################
-# -s
-highligh_strat_def_loop (){
- while read strat comment; do
- cmd="printf '%7s %10s %s\\n' \"\$pkg_digger_definv_$strat\" \ '$strat' '$comment'"
- eval "$cmd"
- done
-}
-
-highligh_strat_def (){
- eval `invert_defaults strat`
- highligh_strat_def_loop
-}
-
-if test $strats; then
- echo 'synonym | full name | description'
- echo '--------------------------------------'
- runpipe0 $PKG_DIGGER_BACKEND -s '|' highligh_strat_def
- exit 0
-fi
-
-######################################################################
-# -f
-highligh_field_def_loop (){
- while read field; do
- cmd="printf '%7s %s\\n' \"\$pkg_digger_definv_$field\" '$field'"
- eval "$cmd"
- done
-}
-
-highligh_field_def (){
- eval `invert_defaults field`
- highligh_field_def_loop
-}
-
-if test $fields; then
- echo 'synonym | full name'
- echo '--------------------------'
- runpipe0 $PKG_DIGGER_BACKEND -f '|' highligh_field_def
- exit 0
-fi
-
-#
-if test $# -eq 0; then
- usage
- exit 1
-fi
-
-# the following code is for searching
-#
-grep_count (){
- # args: $1 - count
- awk '$1 == '"$1"' {print $2}'
-}
-
-#
-intersect (){
- # args: $1 - count
- runpipe0 sort $tmp_dir/with_*.txt '|' uniq -c '|' \
- grep_count "$1"
-}
-
-#
-subtract (){
- # args: $1 - minuend
- awk -v minuend="$1" '
-FILENAME == minuend {
- if (!($0 in without)){
- print $0
- }
- next
-}
-{
- without [$0] = 1
-}
-' $tmp_dir/without.txt "$1"
-}
-
-# search images...
-run_backend__fsq (){
- field=`printf '%s\n' "$1" | cut -d: -f1`
- strat=`printf '%s\n' "$1" | cut -d: -f2`
- query=`printf '%s\n' "$1" | cut -d: -f3`
-
- # short names for strategies
- if test -z "$strat"; then
- strat=empty
- fi
-
- synonym="pkg_digger_strat__$strat"
- if eval test "\$$synonym"; then
- eval strat=\$$synonym
- fi
-
- # short names for fields
- if test -z "$field"; then
- field=empty
- fi
-
- synonym="pkg_digger_field__$field"
- if eval test "\$$synonym"; then
- eval field=\$$synonym
- fi
-
- #
- $PKG_DIGGER_BACKEND $quiet_mode -- "$field:$strat:$query"
-}
-
-run_backend__fallbacks (){
- eval "$PKG_DIGGER_BACKEND $quiet_mode $query"
-}
-
-run_backend (){
- if printf '%s\n' "$1" | grep '^[^:]*:[^:]*:[^:]*$' > /dev/null; then
- run_backend__fsq "$1"
- else
- query=''
- for rule in $PKG_DIGGER_FALLBACK_RULES; do
- query="$query '$rule:$1'"
- done
-
- run_backend__fallbacks
- fi
-}
-
-cnt_with=0
-touch $tmp_dir/without.txt $tmp_dir/with_0.txt
-for q in "$@"; do
- if printf '%s\n' "$q" | grep '^[!-]' > /dev/null; then
- res_fn=$tmp_dir/without.txt
- else
- res_fn=$tmp_dir/with_$cnt_with.txt
- cnt_with=$(($cnt_with+1))
- fi
-
- q=$(printf '%s\n' "$q" | sed 's/^[!-]//')
-
- if test "_$res_fn" = "_$tmp_dir/without.txt"; then
- # - pattern
- set +e
- run_backend "$q" >> $res_fn 2>/dev/null
- set -e
- else
- run_backend "$q" >> $res_fn
- fi
-done
-
-no_matches_found (){
- echo "No matches found" 1>&2
- exit 20
-}
-
-res_with_fn="$tmp_dir"/res_with
-result_fn="$tmp_dir"/result
-
-intersect "$cnt_with" > "$res_with_fn"
-if ! test -s "$res_with_fn"; then
- no_matches_found
-fi
-
-subtract "$res_with_fn" > "$result_fn"
-if ! test -s "$result_fn"; then
- no_matches_found
-fi
-
-wrapper (){
- awk -v cols="$COLUMNS" '
-{
- if (length($0) >= cols)
- $0 = substr($0, 1, cols-1) ">"
-
- print $0
-}
-' "$@"
-}
-
-run_pkg_digger_backend (){
- $PKG_DIGGER_BACKEND $quiet_mode $info_type -- `cat $result_fn`
-}
-
-if test -t 1 -a -n "$COLUMNS"; then
- run_pkg_digger_backend | wrapper
-else
- run_pkg_digger_backend
-fi
diff --git a/pkgtools/pkg_summary-utils/files/pkg_digger_backend.in b/pkgtools/pkg_summary-utils/files/pkg_digger_backend.in
deleted file mode 100755
index c8c8927a41a..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_digger_backend.in
+++ /dev/null
@@ -1,202 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-. pipestatus
-
-export LC_ALL=C
-
-usage () {
- cat 1>&2 <<EOF
-pkg_digger_backend is a pkg summary searcher
-(backend for pkg_digger).
-usage: pkg_digger_backend -h
- pkg_digger_backend -f
- pkg_digger_backend -s
- pkg_digger_backend [-n] fsq1 [fsq2 ...]
- pkg_digger_backend -1|-3|-9|-i [-r] [-q] pkgpair1 [pkgpair2...]
-where pkgpair is <PKGPATH>,<PKGNAME>
-and fsq is <field>:<strategy>:<query>
-OPTIONS:
- -h display this screen
- -s display available search strategies
- -f display available fields for search in
- -1 display 1-line information about packages (by PKGPAIR)
- -3 display short information about packages (by PKGPAIR)
- -9|-i display full information about packages (by PKGPAIR)
- -r raw output in pkg_summary(5) format
- -q quiet mode, do not print "No matches found" to stderr
- -n <limit> maximum number of results
-EOF
-}
-
-if test -z "$PKG_DIGGER_SUMMARY"; then
- echo 'PKG_DIGGER_SUMMARY environment variable must be set' 1>&2
- exit 1
-fi
-
-if test $# -eq 0; then
- usage
- exit 2
-fi
-
-limit=1000000000
-
-show_fields (){
- runawk -F= -f heapsort.awk -e '
- BEGIN {hash ["PKGBASE"] = hash ["PKGPATHe"] = ""
- hash ["PKGPABA"] = hash ["PKGPANA"] = hash ["PKGPAIR"] = ""}
- NF > 0 {hash [$1]=0}
- END {cnt = heapsort_indices(hash, remap)
- for (i=1; i <= cnt; ++i) {print remap [i]}}' \
- "$PKG_DIGGER_SUMMARY"
- exit 0
-}
-
-FIELDS_3='PKGNAME PKGPATH HOMEPAGE COMMENT MAINTAINER CATEGORIES DESCRIPTION'
-FIELDS_9=''
-
-while getopts hsf139irqn: f; do
- case "$f" in
- s) pkg_grep_summary -T -T; exit 0;;
- f) show_fields;;
- 9|i) info=1;;
- 3) shortinfo=1; FIELDS=-f`echo $FIELDS_3 | tr ' ' ,`;;
- 1) onelineinfo=1;;
- r) raw_format=1;;
- q) quiet_mode=1;;
- n) limit=$OPTARG;;
- h) usage; exit 0;;
- ?) printf "Run pkg_digger_backend -h for details\n"; exit 2;;
- esac
-done
-
-shift `expr $OPTIND - 1`
-
-gen_summary4view (){
- if test -n "$raw_format"; then
- cat
- else
- pkg_summary4view
- fi
-}
-
-summary2onelineinfo (){
- awk -v quiet_mode="$quiet_mode" \
- '/^PKGNAME=/ {pkgbase = substr($0, 9); sub(/-[^-]*$/, "", pkgbase); next}
- /^PKGPATH=/ {pkgpath = substr($0, 9); next}
- /^COMMENT=/ {comment = substr($0, 9); next}
- NF == 0 {
- pos = index(pkgpath, "/")
- if (substr(pkgpath, pos+1) == pkgbase)
- printf "%-25s - %s\n", pkgpath, comment
- else
- printf "%-25s - %s\n", pkgpath "(" pkgbase ")", comment
- found = 1
- }
- END {
- if (!found){
- if (!quiet_mode)
- print "No matches found" > "/dev/stderr"
- exit 20
- }
- }' "$@"
-}
-
-if test -n "$onelineinfo"; then
- # -1
- pkg_grep_summary -r -fPKGNAME,PKGPATH,COMMENT -i \
- -t strlist PKGPAIR "$*" < "$PKG_DIGGER_SUMMARY" |
- summary2onelineinfo
-
- exit 0
-elif test -n "${shortinfo}${info}"; then
- # -3|-9
- runpipe \
- pkg_grep_summary $FIELDS -r -i \
- -t strlist PKGPAIR "$*" < "$PKG_DIGGER_SUMMARY" '|' \
- gen_summary4view
- if test "$pipestatus_1" != 0; then
- test "$quiet_mode" = 1 || echo 'No matches found' 1>&2
- exit 20
- fi
-
- exit 0
-else
- # f:s:q
- tmp_dir=`mktemp -d /tmp/pkg_digger.XXXXXX`
- trap "rm -rf $tmp_dir $new_summary" 0 1 2 15
-
- cnt=1
- for i in "$@"; do
- if printf '%s\n' "$i" | grep ':.*:' > /dev/null; then
- :
- else
- echo "Invalid search pattern: '$i'," 1>&2
- echo " field:strategy:query is expected" 1>&2
- exit 34
- fi
-
- field=`echo "$i" | cut -d: -f1`
- strat=`echo "$i" | cut -d: -f2`
- query=`echo "$i" | cut -d: -f3`
- pkg_grep_summary -fPKGNAME,PKGPATH,ASSIGNMENTS -i \
- -t "$strat" "$field" "$query" < "$PKG_DIGGER_SUMMARY" > "$tmp_dir/$cnt" &
- cnt=$(($cnt+1))
- done
- wait
- runawk -v quiet_mode="$quiet_mode" -v limit="$limit" \
- -e '
- /^PKGPATH=/ {
- pkgpath = substr($0, 9)
- sub(/:.*/, "", pkgpath)
- next
- }
- /^PKGNAME=/ {
- pkgbase = substr($0, 9)
- sub(/-[^-]*$/, "", pkgbase)
- next
- }
- NF == 0 {
- pkgpair = pkgpath "," pkgbase
- if (pkgpair in hash)
- next
- hash [pkgpair] = 1
- print pkgpair
- found = 1
- }
- END {
- if (!found){
- if (!quiet_mode)
- print "No matches found" > "/dev/stderr"
- exit 20
- }
- }' "$tmp_dir"/*
- exit 0
-fi
diff --git a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_grep_summary.1
deleted file mode 100644
index 384c7c03026..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.1
+++ /dev/null
@@ -1,216 +0,0 @@
-.\" $NetBSD: pkg_grep_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_GREP_SUMMARY 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_grep_summary \- tool for grepping pkgsrc summary file
-.SH SYNOPSIS
-.BI "pkg_grep_summary -h"
-.br
-.BI "pkg_grep_summary [option]" " field awk_expression"
-.br
-.BI "pkg_grep_summary [option] -e " field
-.br
-.BI "pkg_grep_summary [option] -m" " field regexp"
-.br
-.BI "pkg_grep_summary [option] -s" " field string"
-.br
-.BI "pkg_grep_summary [option] -S" " field filename"
-.br
-.BI "pkg_grep_summary [option] -t" " strategy field condition"
-.br
-.BI "pkg_grep_summary -T"
-.br
-.SH DESCRIPTION
-.B pkg_grep_summary
-takes package summaries on stdin and
-outputs those matching the specified condition.
-Format of summary is described in
-.BR pkg_summary(5) .
-Fields are PKGPATH, PKGNAME, DEPENDS, MAINTAINER
-and so on, actually anything separated by
-.B =
-sign.
-In addition to fields really present on input a few artificial fields
-are supported: PKGBASE, PKGPATHe, PKGPAIR, PKGPABA and PKGPANA. PKGBASE
-is a PKGNAME with package version stripped. PKGPATHe (enriched PKGPATH)
-is PKGPATH with ASSIGNMENTS
-(if present) separated by colon symbol, for example,
-.IR lang/py-psyco:PYTHON_VERSION_REQD=25 .
-PKGPAIR is a PKGPATH and PKGBASE separated by comma character, for example,
-.IR net/dhisd,dhisd .
-PKGPABA is a synonym for PKGPAIR. PKGPANA is
-a PKGPATH and PKGNAME separated by
-comma, for example textproc/dict-server,dict-server-1.11.2.
-.B pkg_grep_summary
-is a search tool somewhat similar to
-.BR grep(1) ", " PKGSRCDIR/pkglocate ", " pkgfind
-and others. Unlike
-.B grep(1)
-it uses summary information about one package instead of line of text
-as an indivisible block of text. Unlike
-.BR pkgfind " and " PKGSRCDIR/pkglocate
-it doesn't scan pkgsrc source tree.
-For scanning pkgsrc source tree you may use
-.BR pkg_src_summary(1) " or " pkg_micro_src_summary(1) .
-The following variables can be used in
-.IR awk_expression ": "
-"fname"
-(field name to check),
-"fvalue"
-(part of line after = sign) and associative array
-"fields"
-mapping field names to values which is available only if
-.I field
-is `.' (single dot).
-.SH OPTIONS
-.TP
-.B "-h"
-display help message.
-.TP
-.B "-i"
-ignore case. Before matching
-.I field
-is converted to lower case.
-.TP
-.B "-v"
-invert the sense of matching to select non-matching summaries.
-.TP
-.B "-r"
-exit status is non-zero if no matches were found.
-.TP
-.B "-R"
-option
-.B -r
-is implied and "No matches found" is output to stderr.
-.TP
-.BI "-f" " fields"
-a list of fields to output, by default the whole package summary is output.
-.TP
-.BI "-e" " field"
-outputs summaries in which
-.I "field"
-is either empty or absent.
-.TP
-.BI "-m" " field regexp"
-outputs summary if
-.I "regexp"
-matches
-.I "field"
-.TP
-.BI "-s" " field string"
-outputs summary if
-.I "field"
-is equal to
-.I "string"
-.TP
-.BI "-S" " field filename"
-reads strings from
-.IR filename ,
-one string per line, and outputs summary given on stdin if
-.I "field"
-is equal to one of read strings.
-.TP
-.BI "-t" " strategy field condition"
-outputs summary if
-.I condition
-matches
-.I field
-according to search strategy
-.IR strategy .
-Available search strategies are:
-.IR exact ", " prefix ", " suffix ", " substring ", " word ", "
-.IR first ", " last ", " re ", " strfile ", " strlist ", " awk ", " kw
-.RI " (" keywords ") and " empty .
-Search strategy
-.I re
-is for matching using regexp (ERE).
-Search strategies
-.IR first ", " last " and " word
-are for matching first, last or any separate word within
-.IR field .
-With
-.IR kw " (" keywords ")"
-.I condition
-is treated as a list of words each of which should present in
-.IR field .
-With
-search strategy
-.IR strlist ", " condition
-is treated as a list of words at least one of which should present in
-.IR field .
-.TP
-.B "-T"
-display all search strategies available for
-.B -t
-and exits. Doubled
-.I -T
-will show search strategies with their descriptions separated by TAB character.
-.SH NOTES
-.IR "-t exact <field> <string>" " and " "-s <field> <string>" " are equivalents"
-.br
-.IR "-t re <field> <regexp>" " and " "-m <field> <regexp>" " are equivalents"
-.br
-.IR "-t strfile <field> <filename>" " and " "-S <field> <filename>" " are equivalents"
-.br
-.IR "-t awk <field> <awk_expr>" " and " "<field> <awk_expr>" " are equivalents"
-.br
-.IR "-t empty <field> ''" " and " "-e <field>" " are equivalents"
-.SH EXAMPLES
-.VB
-pkg_grep_summary -s PKGPATH 'devel/libjudy'
-
-pkg_grep_summary -m PKGPATH '^wip/'
-
-pkg_info -Xa | pkg_grep_summary SIZE_PKG 'fvalue+0 > 100000000'
-
-pkg_grep_summary PKGNAME 'fvalue ~ /judy/' \\
- < /usr/pkgsrc/packages/pkg_summary.txt
-
-pkg_grep_summary PKGPATH 'fvalue ~ /^lang\\//' \\
- < /usr/pkgsrc/packages/pkg_summary.txt
-
-pkg_grep_summary DEPENDS 'fvalue ~ /libX11/' \\
- < /usr/pkgsrc/pkg_src_summary.txt
-
-pkg_grep_summary COMMENT 'toupper(fvalue) ~ /DNS/' \\
- < /usr/pkgsrc/pkg_src_summary.txt
-
-pkg_info -QPKGPATH -a > /tmp/wanted_pkgpaths.txt
-pkg_grep_summary -S PKGPATH /tmp/wanted_pkgpaths.txt \\
- < /usr/pkgsrc/packages/pkg_summary.txt
-
-pkg_grep_summary -t word COMMENT DNS \\
- < /usr/pkgsrc/pkg_src_summary.txt
-
-pkg_bin_summary -f PKGNAME,automatic,REQUIREDBY |
-pkg_grep_summary . 'fields ["automatic"] == "yes" &&
- fields ["REQUIREDBY"] == ""'
-
-pkg_grep_summary -i -t kw COMMENT 'dns server' \\
- < /usr/pkgsrc/packages/pkg_summary.txt
-
-pkg_grep_summary -t strlist MAINAINER 'cheusov@tut.by vle@gmx.net' \\
- < /usr/pkgsrc/packages/pkg_summary.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7),
-.BR pkg_summary(5)
-.BR pkg_src_summary(1)
-.BR pkg_micro_src_summary(1)
-.BR pkg_info(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.awk b/pkgtools/pkg_summary-utils/files/pkg_grep_summary.awk
deleted file mode 100644
index 6fcb182629b..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.awk
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-#use "has_prefix.awk"
-#use "has_suffix.awk"
-#use "psu_funcs.awk"
-
-#env "LC_ALL=C"
-
-BEGIN {
- if (ic)
- string = tolower(string)
-
- _gs_matched = -1 # -1 - unknown, 0 - false, 1 - true
- _gs_count = 0
-
- _sg_multiline ["PLIST"] = 1
- _sg_multiline ["DESCRIPTION"] = 1
- _sg_multiline ["DEPENDS"] = 1
- _sg_multiline ["REQUIRES"] = 1
- _sg_multiline ["PROVIDES"] = 1
- _sg_multiline ["CONFLICTS"] = 1
-
- keep_fields = 0
-
- invert += 0
-
- # required fields
- gsub(/,/, " ", reqd_fields_)
- reqd_fields_cnt = split(reqd_fields_, f)
- for (i=1; i <= reqd_fields_cnt; ++i){
- reqd_fields [f [i]] = 1
- }
- delete f
-}
-
-function match_first_word (s, word){
- if (s == word)
- return 1
- else if (!has_prefix(s, word))
- return 0
- else{
- return substr(s, length(word)+1, 1) ~ /^[^A-Za-z0-9]$/
- }
-}
-
-function match_last_word (s, word){
- if (s == word)
- return 1
- else if (!has_suffix(s, word))
- return 0
- else
- return substr(s, length(s)-length(word), 1) ~ /^[^A-Za-z0-9]$/
-}
-
-function match_word (s, word, idx){
- if (s == word)
- return 1
-
- idx = index(s, word)
- if (!idx)
- return 0
-
- if (idx > 1 && substr(s, idx-1, 1) ~ /[A-Za-z0-9]$/)
- return 0
-
- idx += length(word)
- if (idx <= length(s) && substr(s, idx, 1) ~ /[A-Za-z0-9]$/)
- return 0
-
- return 1
-}
-
-function match_keywords (s, cnt_s, arr_s, set_s, i){
- if (s !~ re_kw)
- return 0
-
- cnt_s = split(s, arr_s, /[^A-Za-z0-9]/)
- for (i=1; i <= cnt_s; ++i){
- set_s [arr_s [i]] = 1
- }
-
- for (i=1; i <= cnt_kw; ++i){
- if (! (arr_kw [i] in set_s)){
- return 0
- }
- }
-
- return 1
-}
-
-function update_skip (){
- if (ic)
- fvalue = tolower(fvalue)
-
- _gs_matched = grep_summary__condition()
-
- if (_gs_matched == 0 && (fname in _sg_multiline)){
- _gs_matched = -1
- }
-
- if (invert && _gs_matched >= 0){
- _gs_matched = 1-_gs_matched;
- }
-
- if (_gs_matched == 1){
- for (i=0; i < _gs_count; ++i)
- print _gs_accu [i]
-
- delete _gs_accu
- _gs_count = 0
- }
-}
-
-_gs_matched == 0 && NF > 0 {
- next
-}
-
-{
- pos = index($0, "=")
- if (pos > 0){
- fname = substr($0, 1, pos-1)
- fvalue = substr($0, pos+1)
- }else{
- fname = ""
- fvalue = ""
- }
- fname_orig = fname
-}
-
-function check_PKGPATHe (){
- if (_gs_assigns != "" && _gs_pkgpath != ""){
- fvalue = _gs_pkgpath ":" _gs_assigns
- fname = "PKGPATHe"
- update_skip()
- }else if (index(_gs_pkgpath, ":") > 0){
- fvalue = _gs_pkgpath
- fname = "PKGPATHe"
- update_skip()
- }
-}
-
-_gs_matched == -1 {
- if (grep_summary__field == "PKGBASE"){
- if (fname == "PKGNAME"){
- fname = "PKGBASE"
- fvalue = pkgname2pkgbase(fvalue)
- update_skip()
- }
- }else if (grep_summary__field == "PKGPATHe"){
- if (fname == "ASSIGNMENTS") {
- _gs_assigns = fvalue
- check_PKGPATHe()
- }else if (fname == "PKGPATH") {
- _gs_pkgpath = fvalue
- check_PKGPATHe()
- }
- }else if (grep_summary__field == "PKGPATH"){
- idx = index(fvalue, ":")
- if (idx > 0)
- fvalue = substr(fvalue, 1, idx-1)
- }else if (grep_summary__field == "PKGPAIR" ||
- grep_summary__field == "PKGPABA" ||
- grep_summary__field == "PKGPANA")
- {
- if (fname == "PKGPATH") {
- _gs_pkgpath = fvalue
- }else if (fname == "PKGNAME") {
- _gs_pkgbase = fvalue
- if (grep_summary__field != "PKGPANA")
- sub(/-[^-]*$/, "", _gs_pkgbase)
- }
-
- if (_gs_pkgbase != "" && _gs_pkgpath != ""){
- fvalue = _gs_pkgpath "," _gs_pkgbase
- fname = grep_summary__field
- update_skip()
- }
- }
-
- if (fname == grep_summary__field || "" == grep_summary__field) {
- update_skip()
- }
-}
-
-_gs_matched == 1 && NF > 0 {
- if (!reqd_fields_cnt || (fname_orig in reqd_fields))
- print $0
-
- next
-}
-
-keep_fields {
- fields [fname] = fvalue
-}
-
-_gs_matched == -1 && NF > 0 {
- if (!reqd_fields_cnt || (fname_orig in reqd_fields))
- _gs_accu [_gs_count++] = $0
-}
-
-NF == 0 {
- if (_gs_matched == -1 && grep_summary__field == "PKGPATHe"){
- fvalue = _gs_pkgpath
- update_skip()
- fvalue = ""
- }
- if (_gs_matched == -1){
- update_skip()
- }
- if (_gs_matched == 1){
- ++_gs_matches_cnt
- print ""
- }
-
- delete _gs_accu
- delete fields
- _gs_count = 0
- _gs_matched = -1
-
- _gs_assigns = _gs_pkgpath = _gs_pkgbase = ""
-}
-
-END {
- if (error && !_gs_matches_cnt){
- if (error_msg)
- print error_msg > "/dev/stderr"
-
- exitnow(1)
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.in b/pkgtools/pkg_summary-utils/files/pkg_grep_summary.in
deleted file mode 100755
index b6c75c66d2b..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_grep_summary.in
+++ /dev/null
@@ -1,250 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-export LC_ALL=C
-
-usage (){
- cat 1>&2 <<EOF
-pkg_grep_summary - output summaries about packages that matches
-the specified condition, summaries are read from stdin.
-
-USAGE: pkg_grep_summary -h
- pkg_grep_summary [opts] -e <field>
- pkg_grep_summary [opts] -m <field> <regexp>
- pkg_grep_summary [opts] -s <field> <string>
- pkg_grep_summary [opts] -S <field> <file>
- pkg_grep_summary [opts] -t <strategy> <field> <condition>
- pkg_grep_summary [opts] <field> <awk_condition>
- pkg_grep_summary -T
- <field> - PKGBASE, PKGNAME, PKGPATH, DEPENDS etc.
- <awk_condition> - Boolean expression written in AWK language
- <regexp> - AWK regular expression
- <string> - Text string
- <strategy> - Search strategy. See -T for a list of available
- search strategies.
-OPTIONS:
- -h display this message
- -i ignore case
- -v invert the sense of matching
- -f <fields> output only the specified fields, by default
- the whole summary is output
- -r exit status is non-zero if nothing was found
- -R -r + "No matches found" is output to stderr
-
- -t matches <field> using search strategy <strategy>
- and condition specified in <condition>
- -e matches empty and absent fields,
- synonym to "-t empty"
- -m matches <field> against regular expression <regexp>,
- synonym for "-t re"
- -s matches <field> equal to <string>,
- synonym for "-t exact"
- -S matches <field> equal to any string in <file>,
- one string per line,
- synonym for "-t strfile"
-
- -T displays all search strategies available for -t and exits
-EOF
-}
-
-strats=0
-while test $# -ne 0; do
- case "$1" in
- -h|--help)
- usage
- exit 0;;
- -e|--empty)
- strategy=empty
- field=$2
- shift;;
- -s)
- strategy=exact
- field=$2
- string=$3
- shift
- shift;;
- -S)
- strategy=strfile
- field=$2
- string=$3
- shift
- shift;;
- -m)
- strategy=re
- field=$2
- string=$3
- shift
- shift;;
- -t)
- strategy=$2
- field=$3
- string=$4
- shift
- shift
- shift;;
- -T)
- strats=$(($strats+1));;
- -f)
- fields="$2"
- shift;;
- -f*)
- fields=`echo "$1" | cut -b3-`;;
- -i)
- ic=1;;
- -r)
- error=1;;
- -R)
- error=1
- error_msg='No matches found';;
- -v)
- invert=1;;
- --)
- shift
- break;;
- -*)
- echo "Bad option $1" 1>&2
- exit 1;;
- *)
- break
- esac
- shift
-done
-
-show_strats (){
- cat <<'EOF'
-exact Match exactly
-prefix Match prefixes
-suffix Match suffixes
-substring Match substring
-word Match separate words
-first Match the first word
-last Match the last word
-re POSIX 1003.2 (modern) regular expressions
-strfile Match the words from file
-strlist Match the specified words
-awk Match using AWK expression
-empty Match an empty string
-kw "keyword" match
-EOF
-}
-
-if test "$strats" -gt 1; then
- show_strats
- exit 0
-elif test "$strats" -eq 1; then
- strategies=`show_strats | cut -f1`
- echo $strategies
- exit 0
-fi
-
-if test $# -eq 2 -a -z "$strategy"; then
- strategy=awk
- field="$1"
- string="$2"
- shift
- shift
-elif test $# -eq 0; then
- true
-else
- usage
- exit 1
-fi
-
-case "$strategy" in
- exact)
- condition='fvalue == string';;
- prefix)
- condition='has_prefix(fvalue, string) != 0';;
- suffix)
- condition='has_suffix(fvalue, string) != 0';;
- substring)
- condition='index(fvalue, string) > 0';;
- first)
- condition='match_first_word(fvalue, string)';;
- last)
- condition='match_last_word(fvalue, string)';;
- word)
- condition='match_word(fvalue, string)';;
- re)
- condition='fvalue ~ string';;
- strfile)
- condition='fvalue in strings';;
- strlist)
- condition='fvalue in strings';;
- awk)
- condition="$string";;
- empty)
- condition='fvalue == ""';;
- kw|keywords)
- strategy=kw
- condition='match_keywords(fvalue)';;
- *)
- echo "Unknown search strategy: $strategy" 1>&2
- exit 1;;
-esac
-
-runawk -v ic="$ic" -v reqd_fields_="$fields" -v invert="$invert" \
- -v string="$string" -v strategy="$strategy" \
- -v error="$error" -v error_msg="$error_msg" \
--e '
-#use "pkg_grep_summary.awk"
-#use "xgetline.awk"
-#use "str2regexp.awk"
-
-BEGIN {
- if (strategy == "strfile"){
- while(xgetline0(string)){
- strings [$0] = 1
- }
- close(string)
- }else if (strategy == "strlist"){
- cnt = split(string, arr)
- for (i=1; i <= cnt; ++i){
- strings [arr [i]] = 1
- }
- }else if (strategy == "kw"){
- cnt_kw = split(string, arr_kw)
- for (i=1; i <= cnt_kw; ++i){
- if (i > 1)
- re_kw = re_kw "|"
- re_kw = re_kw str2regexp(arr_kw [i])
- }
- re_kw = "(" re_kw ")"
- }
-
- grep_summary__field="'"$field"'"
- keep_fields = (grep_summary__field == "" || grep_summary__field == ".")
-}
-
-function grep_summary__condition (){
- return '"$condition"'
-}
-'
diff --git a/pkgtools/pkg_summary-utils/files/pkg_lint_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_lint_summary.1
deleted file mode 100644
index 4b86509bea2..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_lint_summary.1
+++ /dev/null
@@ -1,127 +0,0 @@
-.\" $NetBSD: pkg_lint_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_LINT_SUMMARY 1 "Feb 10, 2010" "" ""
-.SH NAME
-pkg_lint_summary \- attempts to detect problems in input summaries
-.SH SYNOPSIS
-.BI pkg_lint_summary " [OPTIONS] [files...]"
-.SH DESCRIPTION
-.B pkg_lint_summary
-attempts to detect problems in input summaries.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.B "-l"
-analyses REQUIRES/PROVIDES fields of pkg_summary(5) given on
-input. Format of the output:
-.VB
-
- l: not_found SO_LIBRARY PKGPATH PKGNAME
-
-.VE
-This means that the package PKGNAME from PKGPATH requires SO_LIBRARY but
-there is no package that provide it.
-Sample of usage:
-.VB
-
- # pkg_info -Xa | pkg_lint_summary -l
- l: not_found /usr/pkg/lib/libmaa.so.2 wip/dict dict-1.11.2
- l: not_found /usr/pkg/lib/libz.so.1 wip/dict dict-1.11.2
- l: not_found /usr/pkg/lib/libz.so.1 wip/dictd dictd-1.11.2
- #
-
-.VE
-.TP
-.B "-L"
-checks that files listed in REQUIRES exist. Format of the output:
-.VB
-
- L: not_found SO_LIBRARY PKGPATH PKGNAME
-
-.VE
-This means that the package PKGNAME from PKGPATH requires file ABSENT but
-it doesn't exist.
-Sample of usage:
-.VB
-
- # pkg_delete -f libmaa
- # pkg_info -Xa | pkg_lint_summary -L
- L: not_found /usr/pkg/lib/libmaa.so.2 textproc/dict dict-1.11.2
- L: not_found /usr/pkg/lib/libmaa.so.2 textproc/dictd dictd-1.11.2
- L: not_found /usr/pkg/lib/libmaa.so.2 wip/paexec paexec-0.15.0
- #
-
-.VE
-.TP
-.B "-d"
-checks that ALL required DEPENDS are present and their versions
-are good to satisfy requirements. Format of the output:
-.VB
-
- d: not_found ABSENT <- PKGPATH PKGBASE
-
-.VE
-This means that the package PKGBASE from PKGPATH requires package ABSENT but
-it is absent in input summary or requirements are not satisfied.
-Sample of usage:
-.VB
-
- # pkg_delete -f gtk2+
- # pkg_delete -f paexec
- # pkg_info -Xa | pkg_lint_summary -d
- d: not_found gtk2+ <- net/avahi avahi
- d: not_found gtk2+ <- devel/xulrunner xulrunner
- d: not_found gtk2+ <- graphics/graphviz graphviz
- d: not_found paexec <- wip/distbb distbb
- d: not_found gtk2+ <- www/firefox firefox
- d: not_found gtk2+ <- devel/libglade libglade
- d: not_found gtk2+ <- www/nspluginwrapper nspluginwrapper
- #
-
-.VE
-.TP
-.B "-D"
-the same as "-d" but for BUILD_DEPENDS
-.TP
-.B "-c"
-summary given on input is analysed for CONFLICTS, found conflicts are
-output in the following format:
-.VB
-
- c: conflict CNFLCT_REQD CNFLCT_PATH CNFLCT_NAME <- PKGPATH PKGBASE
-
-.VE
-.TP
-.B "-u"
-check unicity of PKGBASE of packages given on input and outputs found
-problems to stderr in the following format:
-.VB
-
- u: unicity PKGBASE <- PKGPATH1 PKGPATH2 ... PKGPATHn
-
-.VE
-.SH EXIT STATUS
-Non-zero value if errors were encountered, zero otherwise.
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1) ,
-.BR pkg_info(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_lint_summary.in b/pkgtools/pkg_summary-utils/files/pkg_lint_summary.in
deleted file mode 100755
index efc7b00bcf2..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_lint_summary.in
+++ /dev/null
@@ -1,212 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "pkgsrc-dewey.awk"
-#use "power_getopt.awk"
-#use "psu_funcs.awk"
-#use "has_prefix.awk"
-#use "tmpfile.awk"
-#use "xclose.awk"
-
-############################################################
-#.begin-str help
-# pkg_lint_summary - does sanity check for summaries
-# usage: pkg_lint_summary -h
-# pkg_lint_summary [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-# -l checks REQUIRES/PROVIDES consistency
-# -L checks that libs from REQUIRES are present on filesystem
-# -d checks that dependencies (DEPENDS) are satisfied
-# -D checks that dependencies (BUILD_DEPENDS) are satisfied
-# -c checks CONFLICTS
-# -u checks unicity of PKGBASEs
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- prefix = ENVIRON ["PREFIX"]
- if (prefix == "")
- prefix = "@prefix@"
-
- opt_L = getarg("L")
- opt_l = getarg("l")
- opt_d = getarg("d")
- opt_D = getarg("D")
- opt_c = getarg("c")
- opt_u = getarg("u")
-
- cnt = 0
-
- if (!opt_L && !opt_l && !opt_d && !opt_D && !opt_c && !opt_u){
- print "At least one of the following options should be applied:\n -L, -l, -d, -D, -c or -u" > "/dev/stderr"
- exitnow(1)
- }
-
- tmp_summary = tmpfile()
- if (opt_d || opt_D || opt_c)
- printf "" > tmp_summary
-}
-
-/^PKGNAME=/{
- pkgname = substr($0, 9)
- pkgbase = pkgname2pkgbase(pkgname)
- pkgver = pkgname2version(pkgname)
-}
-
-/^PKGPATH=/{
- pkgpath = substr($0, 9)
-}
-
-opt_u {
- if (/^ASSIGNMENTS=/){
- assigns = substr($0, 13)
- }else if (NF == 0){
- if (assigns != "")
- path = pkgpath ":" assigns
- else
- path = pkgpath
-
- if (pkgbase in pkgbase2path){
- pkgbase2path [pkgbase] = pkgbase2path [pkgbase] " " path
- }else{
- pkgbase2path [pkgbase] = path
- }
- }
-}
-
-opt_l || opt_L {
- if (/^REQUIRES=/){
- requires1 = substr($0, 10)
- gsub(/\/\/+/, "/", requires1)
- if (!(requires1 in provides2pkg))
- requires [++requires_cnt] = requires1
- if (opt_L) { # && !has_prefix(requires1, prefix)){
- dirname = requires1
- sub(/\/[^\/]*\/?$/, "", dirname)
- syslibdirs [dirname] = 1
- }
- }else if (opt_l && /^PROVIDES=/){
- provides1 = substr($0, 10)
- gsub(/\/\/+/, "/", provides1)
- provides2pkg [provides1] = 1
- }else if (NF == 0){
- pkg = (pkgpath " " pkgname)
- for (i=1; i <= requires_cnt; ++i){
-# print "r:", requires [i], pkg
- req = requires [i]
- reqd_libs [req] = 1
- reqd_libs2where [req, ++reqd_libs2cnt [req]] = pkg
- }
-
- requires_cnt = 0
- }
-}
-
-opt_d || opt_D || opt_c {
- print > tmp_summary
-}
-
-NF == 0 {
- pkgname = pkgpath = pkgver = assigns = ""
-}
-
-function print_lib_notfound (prefix, lib, i){
- for (i=1; i <= reqd_libs2cnt [lib]; ++i){
- print prefix ": not_found " lib, reqd_libs2where [lib, i]
- }
-}
-
-END {
- ex = 0
-
- # -L
- if (opt_L){
- for (libdir in syslibdirs){
- pipe = "ls -1 '" libdir "' 2>/dev/null"
- while((pipe | getline lib) > 0){
- syslibs [libdir "/" lib] = 0
- }
- close(pipe)
- }
-
- for (p in reqd_libs){
- if (!(p in syslibs)){
- print_lib_notfound("L", p)
- ex = 1
- }
- }
- }
-
- # -l
- if (opt_l){
- for (p in reqd_libs){
- if (has_prefix(p, prefix) && !(p in provides2pkg)){
- print_lib_notfound("l", p)
- ex = 1
- }
- }
- }
-
- # -d -D -c
- if (opt_d || opt_D || opt_c){
- if (ex)
- fflush()
-
- xclose(tmp_summary)
-
- if (opt_d) opts = "d"
- if (opt_D) opts = opts "D"
- if (opt_c) opts = opts "c"
-
- cmd = "pkg_summary2deps -Xnls" opts " " tmp_summary " 2>&1 > /dev/null"
- if (system(cmd))
- ex = 1
- }
-
- # -u
- if (opt_u){
- for (pkgbase in pkgbase2path){
- if (index(pkgbase2path [pkgbase], " ")){
- printf "u: unicity %s <- %s\n", pkgbase, pkgbase2path [pkgbase]
- ex = 1
- }
- }
- }
-
- exitnow(ex)
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.1 b/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.1
deleted file mode 100644
index 726aeff4a03..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.1
+++ /dev/null
@@ -1,45 +0,0 @@
-.\" $NetBSD: pkg_list_all_pkgs.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_LIST_ALL_PKGS 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_list_all_pkgs \- list all packages in pkgsrc source tree
-.SH SYNOPSIS
-.BI pkg_list_all_pkgs " [OPTIONS]"
-.SH DESCRIPTION
-.B pkg_list_all_pkgs
-analyses /usr/pkgsrc/Makefile file (SUBDIR
-variable defined there) and outputs all available packages
-in category/directory format. One package per line.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.SH ENVIRONMENT
-.TP
-.B PKGSRCDIR
-pkgsrc root directory
-.TP
-.B BMAKE
-path to pkgsrc friendly make utility
-.SH EXAMPLES
-.VB
-pkg_list_all_pkgs
-.VE
-.SH "SEE ALSO"
-.B pkg_summary-utils(7)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.in b/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.in
deleted file mode 100755
index e66c71a1702..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_list_all_pkgs.in
+++ /dev/null
@@ -1,111 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-. pipestatus
-
-############################################################
-usage (){
- cat 1>&2 <<EOF
-pkg_list_all_pkgs - outputs all packages in pkgsrc tree
-
-usage: pkg_list_all_pkgs [OPTIONS]
-OPTIONS:
- -h display this help message
-EOF
-}
-
-while getopts h f; do
- case "$f" in
- h) usage; exit 0;;
- ?) printf "Run pkg_list_all_pkgs -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-############################################################
-# user settable variables
-if test -z "$PKGSRCDIR"; then
- PKGSRCDIR=@PKGSRCDIR@
-fi
-
-if test -z "$BMAKE"; then
- BMAKE=@BMAKE@
-fi
-
-############################################################
-cd $PKGSRCDIR
-
-tmp_dir=`mktemp -d /tmp/pkg_list_all_pkgs.XXXXXX`
-trap "rm -rf $tmp_dir" 0 1 2 15
-test -n "$tmp_dir" || exit 1
-
-############################################################
-############################################################
-#### get all available packages
-
-enrich_Makefile (){
- cat <<EOF
-.PHONY: my-show-var
-my-show-var:
- @echo \${\${VARNAME}:Q}
-
-.include "./Makefile"
-EOF
-}
-
-get_SUBDIR (){
- subdir_fn=$tmp_dir/subdirs
- runpipe0 \
- enrich_Makefile '|' \
- ${BMAKE} -f - my-show-var VARNAME=SUBDIR > $subdir_fn
- cat $subdir_fn
-}
-
-prepand (){
- awk -v prefix="$1" '
-{
- for (i=1; i <= NF; ++i)
- print prefix $i
-}
-'
-}
-
-list_all_packages (){
- categories="`get_SUBDIR`"
- for c in $categories; do
- cd "$PKGSRCDIR/$c";
- runpipe0 \
- get_SUBDIR '|' \
- prepand "$c/"
- done
-}
-
-list_all_packages
diff --git a/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.1
deleted file mode 100644
index 609e8098fbb..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.1
+++ /dev/null
@@ -1,63 +0,0 @@
-.\" $NetBSD: pkg_micro_src_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_MICRO_SRC_SUMMARY 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_micro_src_summary \- build micro summary for source packages
-.SH SYNOPSIS
-.BI pkg_micro_src_summary " [OPTIONS] [category1/pkg1 category2/pkg2 ...]"
-.SH DESCRIPTION
-.B pkg_micro_src_summary
-builds micro summary information about source packages specified in
-arguments or read from stdin (one package per line). The word micro
-means that only PKGNAME and PKGPATH fields (by default) are
-generated. Format of this summary is the same as used in
-pkg_summary(5) built from binary packages. The main advantage of this
-utility is that is works DRAMMATICALLY faster than pkg_src_summary(1)
-in most cases. This is possible because special hack is used (only
-when it is possible!) to fetch variables values instead of running
-make. And for ~90% of all packages (pkgsrc + wip) it is possible to
-use this hack and fallback to make for other ~10%. As a result
-pkg_micro_src_summary works approximately 10 times faster than using
-make for all packages.
-.SH OPTIONS
-.TP
-.BR "-h"
-display help message
-.TP
-.BI "-f" " fields"
-A list of fields (separated by space character) to be generated. By
-default the following fields are generated: PKGNAME, PKGPATH. Fields
-here are actually Makefile's variable names and should be fetchable by
-pkg_src_fetch_var from Makefile itself, for example, COMMENT,
-MAINTAINER etc., but not PLIST, DESCRIPTION, GZIP_CMD or similar.
-.SH ENVIRONMENT
-.TP
-.B PKGSRCDIR
-pkgsrc root directory
-.TP
-.B BMAKE
-path to pkgsrc friendly make utility
-.SH EXAMPLES
-.VB
-pkg_micro_src_summary wip/dict-server wip/dict-mueller7 x11/xxkb
-printf 'wip/dict-server\\ntextproc/dictem\\n' | pkg_micro_src_summary
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_src_summary(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.in b/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.in
deleted file mode 100755
index c1ff791615d..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_micro_src_summary.in
+++ /dev/null
@@ -1,141 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-. pipestatus
-
-############################################################
-# user settable variables
-export PKGSRCDIR=${PKGSRCDIR:=@PKGSRCDIR@} # export - for pkg_src_fetch_var
-export BMAKE=${BMAKE:=@BMAKE@}
-SH=${SH-@SH@}
-
-############################################################
-tmpdir=`mktemp -d /tmp/pkg_micro_src_summary.XXXXXX`
-trap "rm -rf $tmpdir" 0 1 2 15
-test -n $tmpdir || exit 1
-
-errsfn=$tmpdir/errors.txt
-
-############################################################
-usage (){
- cat 1>&2 <<EOF
-pkg_micro_src_summary - builds micro summary information
-about source packages
-
-usage: pkg_micro_src_summary [OPTIONS] [pkgpath1 pkgpath2 ...]
-OPTIONS:
- -h display this help message
- -f <fields> fields to be included to summary,
- PKGNAME and PKGPATH is the default
-EOF
-}
-
-fields='PKGNAME PKGPATH'
-
-set_fields (){
- fields=$(echo "$@" | tr , ' ')
-}
-
-while getopts hf: f; do
- case "$f" in
- h) usage; exit 0;;
- f) set_fields "$OPTARG";;
- ?) printf "Run pkg_micro_src_summary -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-############################################################
-cd $PKGSRCDIR
-
-# running helper
-helper_out=$tmpdir/helper_out.txt
-
-list_pkgs (){
- if test $# -ne 0; then
- # processing arguments
- for pkgpath in "$@"; do
- echo "$pkgpath"
- done
- else
- awk -v C=10 \
- 'BEGIN {modu=C-1}
- { printf ",%s", $0; if ((NR % C) == modu) printf "\n"; }
- END {if (NR && (NR % C) != modu) printf "\n"}'
- fi
-}
-
-if test "$slave"; then
- pkg_src_fetch_var -sf "$fields"
- exit 0
-fi
-
-pkg_src_fetch (){
- if test "$PSS_SLAVES"; then
- qfields="$(echo $fields | tr ' ' ,)"
- environ="PSS_SLAVES= BMAKE=$BMAKE PKGSRCDIR=$PKGSRCDIR"
- environ="$environ PSS_PRE_PATH=$PSS_PRE_PATH PSS_POST_PATH=$PSS_POST_PATH"
-
- runpipe0 \
- paexec -glez $PSS_PAEXEC_EXTRA_OPTS \
- -n "$PSS_SLAVES" \
- -t "$PSS_TRANSPORT" \
- -c "env $environ $SH $0 -s -f '$qfields'" '|' \
- paexec_reorder '|' \
- sed '/^success$/ d'
- else
- pkg_src_fetch_var -f "$fields"
- fi
-}
-
-runpipe list_pkgs "$@" '|' pkg_src_fetch > "$helper_out"
-
-# `+' to micro_summary (fast!)
-awk -F'\t' -v fields="$fields" '
-BEGIN {
- fcnt = split(fields, fname, " ")
-}
-
-/^[+]/ {
- for (i=1; i <= fcnt; ++i){
- printf "%s=%s\n", fname [i], $(i+1)
- }
-
- printf "\n"
-}' "$helper_out"
-
-# `-' to micro_summary (slo-o-o-ow!)
-make_out=$tmpdir/make_out.txt
-awk -F'\t' '
-/^[-]/ {
- print $NF
-}' "$helper_out" |
-pkg_src_summary -f "$fields"
diff --git a/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.1
deleted file mode 100644
index 40717a027e8..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.1
+++ /dev/null
@@ -1,43 +0,0 @@
-.\" $NetBSD: pkg_refresh_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_REFRESH_SUMMARY 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_refresh_summary \- refreshes the pkg_summary
-.SH SYNOPSIS
-.BI pkg_refresh_summary " [OPTIONS] [files...]"
-.SH DESCRIPTION
-.B pkg_refresh_summary
-pkg_refresh_summary - refreshes pkg_summary, that is for each
-(PKGPATH,PKGBASE) pair present on input it outputs summaries about
-newest packages only. Duplicated summaries are also removed.
-.SH OPTIONS
-.TP
-.BR "-h"
-display help message
-.TP
-.BR "-o"
-print summaries about older packages instead of newest
-.SH EXAMPLES
-.VB
-pkg_refresh_summary /usr/pkgsrc/packages/pkg_summary.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.in b/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.in
deleted file mode 100755
index cfe07840f95..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_refresh_summary.in
+++ /dev/null
@@ -1,121 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-usage (){
- cat 1>&2 <<EOF
-pkg_refresh_summary - refreshes pkg_summary, that is for each
-(PKGPATH,PKGBASE) pair present on input it outputs summaries about
-newest packages only. Duplicated summaries are also removed.
-
-usage: pkg_refresh_summary [OPTIONS] [files...]
-OPTIONS:
- -h display this help message
- -o output summaries of all package except newest ones
-EOF
-}
-
-while getopts ho f; do
- case "$f" in
- h) usage; exit 0;;
- o) print_older=-v;;
- ?) printf "Run pkg_refresh_summary -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-############################################################
-
-tmp_dir=`mktemp -d /tmp/pkg_refresh_summary.XXXXXX`
-trap "rm -rf $tmp_dir $new_summary" 0 1 2 15
-test -n "$tmp_dir" || exit 1
-
-############################################################
-if test $# -eq 0; then
- # copy stdin to temporary file and then use it
- tmp_fn=$tmp_dir/tmp
- cat > "$tmp_fn"
- set -- "$tmp_fn"
-fi
-
-newest_fn=$tmp_dir/newest
-
-############################################################
-find_newest (){
- runawk -e '
-#use "pkgsrc-dewey.awk"
-
-BEGIN {
- FS = "="
-}
-
-$1 == "PKGNAME" {
- pkgbase = $2
- sub(/-[^-]*$/, "", pkgbase)
-
- pkgver = $2
- sub(/^.*-/, "", pkgver)
-
- next
-}
-
-$1 == "PKGPATH" {
- pkgpath = $2
- next
-}
-
-NF == 0 && pkgpath != "" && pkgbase != "" {
- pair = pkgpath ":" pkgbase
-
- if (!(pair in pkgbase2ver) ||
- dewey_cmp(pkgbase2ver [pair], pkgver) == "<")
- {
- pkgbase2ver [pair] = pkgver
- }
-
- pkgpath = pkgbase = ""
-}
-
-END {
- for (p in pkgbase2ver){
- pathname = p
- sub(/:/, ",", pathname)
-
- print pathname "-" pkgbase2ver [p]
- }
-}
-' "$@"
-}
-
-find_newest "$@" > "$newest_fn"
-
-cat "$@" |
-pkg_grep_summary $print_older -t strfile PKGPANA "$newest_fn" |
-pkg_uniq_summary
diff --git a/pkgtools/pkg_summary-utils/files/pkg_src_fetch_var.in b/pkgtools/pkg_summary-utils/files/pkg_src_fetch_var.in
deleted file mode 100755
index 7cf700f7eb9..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_src_fetch_var.in
+++ /dev/null
@@ -1,384 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-###############################################################
-
-#env "LC_ALL=C"
-
-#use "alt_getopt.awk"
-
-###############################################################
-# output format:
-# for success:
-# + <TAB> FIELD1 <TAB> FIELD2 ...FIELD-N
-# for failure:
-# - <TAB> RAW_FIELD1 <TAB> RAW_FIELD2 ... RAW_FIELD-N PKGPATH
-# PKGNAME means PKGNAME[nbPKGREVISION]
-
-BEGIN {
- good_pkgname_re = "^[^${}()]+$" #"^[[:alnum:]_-]+-[[:digit:]]+([.][[:digit:]]+)*$"
-}
-
-function get_var_value (varname, value, pkgrev){
- value = ""
-
- if (varname == "PKGNAME"){
- if (read_error == 0 && ! ("PKGNAME" in badvar)){
- if ("PKGNAME" in var)
- value = check("PKGNAME")
- else if ("DISTNAME" in var)
- value = check("DISTNAME")
- }
-
- if (value == ""){
- error = 1
- return "<badvalue>"
- }
-
- pkgrev = ""
- if ("PKGREVISION" in var){
- pkgrev_ = var ["PKGREVISION"]
- if (pkgrev_ != "0" && pkgrev_ != "")
- pkgrev = "nb" pkgrev_
- }
- return value pkgrev
- }else if (varname == "PKGPATH"){
- return pkgpath
- }else{
- if (read_error == 0 && ! (varname in badvar)){
- return check(varname)
- }else{
- error = 1
- return "<badvalue>"
- }
- }
-}
-
-function usage (){
- printf "\
-pkg_src_fetch_var - hack for obtaining variable values from package,\n\
- (partially(!!!) emulates bmake)\n\
-\n\
-usage: pkg_src_fetch_var [OPTIONS] [files...]\n\
-OPTIONS:\n\
- -h display this help message\n\
- -v|-f <varnames> list of variable names\n\
- separated by space.\n\
- PKGNAME and PKGPATH are fetched by default\n\
-PKGPATHs are read from files or stdin, one PKGPATH per line\n\
-" > "/dev/stderr"
-}
-
-BEGIN {
- # options and fields
- while (getopt("hf:v:s")){
- if (optopt == "h"){
- usage()
- exit 0
- }else if (optopt == "f" || optopt == "v"){
- fields = optarg
- }else if (optopt == "s"){
- slave_mode = 1
- }else{
- abort()
- }
- }
-
- if (fields == "")
- fields = "PKGNAME PKGPATH"
-
- varnames_count = split(fields, varnames)
-
- # pkgsrcdir
- pkgsrcdir = ENVIRON ["PKGSRCDIR"]
- if (pkgsrcdir == "")
- pkgsrcdir = "/usr/pkgsrc"
-}
-
-function print_bad_vars ( j){
- for (j=1; j <= varnames_count; ++j){
- printf "\t%s", var [varnames [j]]
- }
- printf "\t%s\n", pkgpath
-}
-
-function print_good_vars ( j){
- for (j=1; j <= varnames_count; ++j){
- printf "\t%s", good_var [varnames [j]]
- }
- printf "\n"
-}
-
-function calc_and_print ( i, varname, value){
- error = 0
- for (i=1; i <= varnames_count; ++i){
- varname = varnames [i]
- good_var [varname] = value = get_var_value(varname)
- if (error){
- error = 0
- printf "-"
- print_bad_vars()
- return
- }
- }
-
- printf "+"
- print_good_vars()
-}
-
-# try to get a real PKGNAME...
-function check (variable,
-
- value,left,right,subvarname,subvalue,repl,old_string,new_string)
-{
- # fast checks
-
- # PKGNAME was assigned more than once, i.e. badname?
- if (variable in badvar)
- return ""
-
- value = var [variable]
- # not set?
- if (value == "")
- return ""
-
- # try replacements...
- while (match(value, /[$][{][[:alnum:]_.]+(:S\/[^\/]*\/[^\/]*\/)?[}]/)){
- left = substr(value, 1, RSTART-1)
- right = substr(value, RSTART+RLENGTH)
-
- # ${VARNAME} found?
- if (value !~ /:S\//){
- # yes!
- subvarname = substr(value, RSTART + 2, RLENGTH - 3)
- subvalue = check(subvarname)
-
- if (subvalue == ""){
- return ""
- }
-
- value = left subvalue right
- continue
- }
-
- # ${VARNAME:S/old_substr/new_substr/} found!
- repl = substr(value, RSTART + 2, RLENGTH - 4)
- subvarname = repl
- sub(/:.*$/, "", subvarname)
- sub(/^[^:]+:S\//, "", repl)
-
- subvalue = check(subvarname)
- if (subvalue == ""){
- return ""
- }
-
-# print "left=" left
-# print "right=" right
-# print "varname=" varname
-# print "repl=" repl
-# print "----"
-
- match(repl, "/")
- old_string = substr(repl, 1, RSTART-1)
- new_string = substr(repl, RSTART+1)
-
- # complex old_string?
- if (old_string ~ /[$^\[\]\\]/){
- # yes :-(
- return ""
- }
-
- # string to regexp
- gsub(/[?{}|()*+.]/, "[&]", old_string)
-
- # old_string to new_string
- sub(old_string, new_string, subvalue)
-# print "result of substritution: var [" varname "]=" var [varname]
- #
- value = left subvalue right
- }
-
- # final check
- if (value ~ good_pkgname_re){
- return value
- }
-
- # :-(
- return ""
-}
-
-function trim (s){
- sub(/^[ \t]+/, "", s)
- sub(/[ \t]+$/, "", s)
-
- return s
-}
-
-function dirname (fn){
- if (sub(/\/[^\/]+$/, "", fn))
- return fn
- else
- return "."
-}
-
-function process_include (fn, inc, cond_cnt, ret,varname){
- if (inc ~ /^\//)
- fn = inc
- else
- fn = dirname(fn) "/" inc
-
-# print "incl:" fn
-
- while ((ret = getline < fn) > 0){
- # in: <spaces>VAR=...
- # out: VAR=...
- sub(/^[ \t]+/, "")
-
- # in: VAR=123 # assignment
- # out: VAR=123
- sub(/#.*$/, "")
-
- # in: VAR=...<spaces>
- # out: VAR=...
- sub(/[ \t]+$/, "")
-
- if ($1 ~ /^[[:alnum:]_.]+$/ && $2 ~ /=/){
- # in: VAR =...
- # out: VAR=...
- sub(/[ \t]+/, "")
- }
-
- if ($1 ~ /[[:alnum:]_.]+[!+?]=/){
- # in: VAR=123
- # out: VAR= 123
- sub(/=/, "= ")
- }
-
- if ($1 ~ /^[.]if/) {
- ++cond_cnt
- continue
- }
-
- if ($1 == ".endif") {
- --cond_cnt
- continue
- }
-
- if ($1 ~ /^[[:alnum:]_.]+!=$/){
- varname = $1
- sub(/!=$/, "", varname)
- badvar [varname] = 1
- }
-
- if ($1 == ".undef"){
- badvar [$2] = 1
- }
-
- if (match ($1, /^[[:alnum:]_.]+[?:]?=/)) {
- varname = $1
- sub(/[?:]?=.*$/, "", varname)
-
- sub(/^[^=]+=/, "", $0)
- $0 = trim($0)
-
- if (cond_cnt != 0 || (varname in var) && var [varname] != $0){
- # double assignment? -> badvar
- badvar [varname] = 1
- }else{
- # conditional assignments are not remembered
- var [varname] = $0
-# print varname " ---> " var [varname]
- }
- continue
- }
-
- if (match ($1, /^[[:alnum:]_.]+[+]=/)) {
- varname = $1
- sub(/[+]=.*$/, "", varname)
-
- sub(/^[^=]+=/, "", $0)
- $0 = trim($0)
-
- if (cond_cnt != 0){
- # double assignment? -> badvar
- badvar [varname] = 1
- }else{
- # conditional assignments are not remembered
- var [varname] = (var [varname] " " $0)
-# print varname " ---> " var [varname]
- }
- continue
- }
-
- if ($1 == ".include" &&
- $2 !~ /buildlink3.mk"$/ && $2 !~ /^"[.][.]\/[.][.]\/mk/)
- {
- # recursive .include processing
- if (cond_cnt > 0)
- new_cnt = 10000 # unbalanced .if/.endif? who knows
- else
- new_cnt = 0
-
- inc = substr($2, 2, length($2)-2)
- sub(/[$][{][.]CURDIR[}]/, top_dir, inc)
- process_include(fn, inc, new_cnt)
- }
- }
-
- close(fn)
-
- if (ret < 0){
- read_error = 1
- }
-}
-
-{
- gsub(/,/, " ")
- for (i=1; i <= NF; ++i){
- pkgpaths [i] = $i
- }
- pkgpath_cnt = NF
-
- for (i=1; i <= pkgpath_cnt; ++i){
- pkgpath = pkgpaths [i]
- last_fn = pkgsrcdir "/" pkgpath "/Makefile"
-
- top_dir = dirname(last_fn)
- read_error = 0
- process_include(".", last_fn, 0)
- calc_and_print()
-
- delete var
- delete badvar
- }
-
- if (slave_mode){
- printf "success\n\n"
- fflush()
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_src_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_src_summary.1
deleted file mode 100644
index bfb7d898c24..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_src_summary.1
+++ /dev/null
@@ -1,139 +0,0 @@
-.\" $NetBSD: pkg_src_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SRC_SUMMARY 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_src_summary \- build summary information for source packages
-.SH SYNOPSIS
-.BI pkg_src_summary " [OPTIONS] [pkgpath1 ...]"
-.br
-.BI pkg_src_summary " -s [OPTIONS]"
-.br
-.BI pkg_src_summary " -i [OPTIONS]"
-.SH DESCRIPTION
-.B pkg_src_summary
-builds summary information about source packages specified in
-arguments or read from stdin (one package per line). Format of this
-summary information is the same as used in pkg_summary(5) built from
-binary packages. List of fields (PKGNAME, PKGPATH, DEPENDS etc.) is
-very similar but not fully the same.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.BI "-f" " fields"
-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, ALLDISTFILES,
-DESCRIPTION (multiline), PLIST(multiline).
-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" " fields"
-Add the specified fields to the list of fields generated by default
-.TP
-.BI "-r" " fields"
-Remove the specified fields from the list of fields generated by default
-.TP
-.B "-b"
-add value of variable BOOTSTRAP_DEPENDS to BUILD_DEPENDS
-.TP
-.B "-l"
-add library dependencies (buildlink3.mk) to BUILD_DEPENDS
-.TP
-.B "-p"
-use 'bmake plist' for obtaining PLIST
-.TP
-.B "-d"
-generate summary for specified packages and their dependancies (DEPENDS)
-.TP
-.B "-D"
-generate summary for specified packages and their dependancies (BUILD_DEPENDS)
-.TP
-.B "-A"
-generate summary for specified packages and all their dependancies, that is,
-implies -d and -D
-.TP
-.B "-m"
-generate summary for all variants of multi-variant packages
-(Python {22,23,24,25}, PHP {4,5}, Apache {1.3,2,2.2} etc.)
-.TP
-.B "-M"
-implies -m and moves/adds ASSIGNMENTS field to PKGPATH
-.TP
-.B "-i"
-generate src_summary for the installed packages only,
-do not read list of packages from stdin and from pkgpathN arguments
-.SH ENVIRONMENT
-.TP
-.B PKGSRCDIR
-pkgsrc root directory
-.TP
-.B BMAKE
-path to pkgsrc friendly make utility
-.TP
-.B PSS_SLAVES
-Space separated list of remote hosts or +<Number> for distributed
-summary generation. If case of +<Number>, <Number> local processes
-are run, this is useful for SMP machines.
-.TP
-.B PSS_TRANSPORT
-Transport program like ssh or rsh to communicate with remote/slave hosts.
-.TP
-.B PSS_PPERS
-A number of packages per slave that are built at once, defaults to 10.
-.TP
-.B PSS_OPTIONS
-This variable specifies default options to be placed in front of
-any explicit options.
-.TP
-.B PSS_PAEXEC_EXTRA_OPTS
-Additional options passed to
-.I paexec
-executable in case a pkg_summary is built in parallel. Example: -Z300
-.TP
-.BR PSS_PRE_PATH ", " PSS_POST_PATH
-In a distributed mode prepand and append PSS_PRE_PATH and PSS_POST_PATH to
-PATH
-.SH EXAMPLES
-.VB
-pkg_src_summary wip/dict-server wip/dict-mueller7 wip/dict-client
-printf 'wip/dict-server\\nwip/dict-client\\n' | pkg_src_summary
-env BMAKE=/usr/pkg/bin/bmake \\
- PSS_SLAVES='host1 host2' \\
- PSS_TRANSPORT=/usr/bin/ssh \\
- /usr/pkg/bin/pkg_src_summary \\
- -f 'PKGNAME PKGPATH DEPENDS BUILD_DEPENDS' \\
- < /tmp/packages.txt \\
-pkg_list_all_pkgs | env PSS_SLAVES='+6' pkg_src_summary
-env PSS_OPTIONS=-p pkg_update_src_summary /path/to/pkg_src_summary.txt
-pkg_src_summary -a CVS_CHECKSUM x11/xxkb wip/distbb
-pkg_src_summary -r LICENSE,PLIST,DESCR x11/xxkb wip/distbb
-pkg_src_summary -m lang/lua www/php-apc www/ap2-python
-pkg_src_summary -i
-pkg_src_summary -l -b textproc/dict-server
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.B pkg_summary(5)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_src_summary.in b/pkgtools/pkg_summary-utils/files/pkg_src_summary.in
deleted file mode 100755
index 1388afc3447..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_src_summary.in
+++ /dev/null
@@ -1,587 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-export PATH=$PSS_PRE_PATH:$PATH:$PSS_POST_PATH
-
-. pipestatus
-
-export LC_ALL=C
-
-############################################################
-# user settable variables
-PKGSRCDIR=${PKGSRCDIR:=@PKGSRCDIR@}
-BMAKE=${BMAKE:=@BMAKE@}
-PSS_MKSCRIPTSDIR=${PSS_MKSCRIPTSDIR:=@mkscriptsdir@}
-LIBEXECDIR=${LIBEXECDIR:=@libexecdir@}
-PKG_INFO_CMD="${PKG_INFO_CMD-@PKG_INFO_CMD@}"
-
-############################################################
-usage (){
- cat 1>&2 <<EOF
-pkg_src_summary - builds summary information
-about source packages
-
-usage:
- pkg_src_summary [OPTIONS] [pkgpath1 pkgpath2 ...]
- pkg_src_summary -s [OPTIONS]
- pkg_src_summary -i [OPTIONS]
-OPTIONS:
- -h display this help message
- -p generate PLIST using 'bmake plist'
- -i generate src_summary for the installed packages only,
- do not read list of packages from stdin and
- from pkgpathN arguments
- -f <fields> list of fields (separated by space or comma)
- to be included to summary,
- by default FULL summary is generated
- -s ready for use as paexec slave/remote program
- (used internally for generating summary in parallel
- when PSS_SLAVES is set)
- -a <fields> add the specified fields to the list
- of default ones
- -r <fields> remove the specified fields from the list
- of default ones
- -b add BOOTSTRAP_DEPENDS to BUILD_DEPENDS
- -l add library dependencies (bl3.mk) to BUILD_DEPENDS
- -d also generates summary for dependancies (DEPENDS)
- -D also generates summary for dependancies (BUILD_DEPENDS)
- -A implies -d and -D
- -m generate ASSIGNMENTS field
- for multi-variant packages
- -M implies -m and move/add ASSIGNMENTS to PKGPATH field
- -G for debugging
-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 ALLDISTFILES
-fi
-
-if test -z "$PSS_PPERS"; then
- PSS_PPERS=10
-fi
-
-PSS_PPERS=1 # until I really fix it.
-
-set_fields (){
- PSS_FIELDS=$(echo $* | tr , ' ')
-}
-
-add_fields (){
- __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){
- if (ARGV [i] == "-") break
- excl [ARGV [i]] = 1
- }
- for (++i; i < ARGC; ++i){
- if (! (ARGV [i] in excl)){
- printf "%s ", ARGV [i]
- }
- }
-}
-' $__fields - $PSS_FIELDS`
-}
-
-process_options (){
- alt_opts="$1"
- shift
- alt_getopt $alt_opts \
- '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 -c $PSS_OPTIONS`
-eval "$cmds"
-cmds=`process_options '' "$@"`
-eval "$cmds"
-
-pkgpaths="$*"
-
-with_xxx="$with_bootstrap $with_libdeps"
-
-if test "$multi_var"; then
- # VARIANTS - artificial field keeping all variable assignments
- # for multi-variant packages.
- add_fields '_VARIANTS'
-fi
-
-if test -n "$with_dep"; then
- add_fields DEPENDS
-fi
-if test -n "$with_bdep"; then
- add_fields BUILD_DEPENDS
-fi
-
-if echo "$PSS_FIELDS" | grep DESCRIPTION > /dev/null; then
- field_descr=1
-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
-varnames=`echo $PSS_FIELDS |
- awk '{gsub(/PLIST/, "")
- gsub(/CVS_CHECKSUM/, "")
- gsub(/ONLYFOR/, "ONLY_FOR_PLATFORM")
- gsub(/NOTFOR/, "NOT_FOR_PLATFORM")
- gsub(/DESCRIPTION/, "DESCR_SRC")
- print}'`
-
-if test -n "$debug"; then
- echo '===== PSS_FIELDS: =========' 1>&2
- echo "$PSS_FIELDS" 1>&2
-fi
-
-############################################################
-cd $PKGSRCDIR
-
-tmp_dir=`mktemp -d /tmp/pkg_src_summary.XXXXXX`
-trap "rm -rf $tmp_dir" 0 1 2 15
-test -n "$tmp_dir" || exit 1
-
-tmpfn=$tmp_dir/pkgdirs2info.txt
-errsfn=$tmp_dir/errors.txt
-summaryfn=$tmp_dir/summary.txt
-real_plistfn=$tmp_dir/real_plist.txt
-multi_pkgs_fn=$tmp_dir/multi_pkgs.txt
-normal_pkgs_fn=$tmp_dir/normal_pkgs.txt
-
-############################################################
-enrich_summary (){
- awk -v with_bootstrap="$with_bootstrap" '
- with_bootstrap != "" && $0 ~ /^BOOTSTRAP_DEPENDS=/ {\
- bootstrapdeps = substr($0, 19)
- next
- }
- with_bootstrap != "" && $0 ~ /^BUILD_DEPENDS=/ {
- builddeps = substr($0, 15)
- next
- }
- $0 ~ /^DESCR_SRC=/ {
- $0 = substr($0, 11)
- for (i=1; i <= NF; ++i){
- while (0 < ret = (getline ln < $i)){
- print "DESCRIPTION=" ln
- }
- if (ret < 0){
- printf "reading from `" $i "` failed\n" > "/dev/stderr"
- exit 1
- }
- close($i)
- }
- next
- }
- {
- gsub(/ONLY_FOR_PLATFORM/, "ONLYFOR")
- gsub(/NOT_FOR_PLATFORM/, "NOTFOR")
- print
- }
- END {
- if (builddeps != "" || bootstrapdeps != "")
- print "BUILD_DEPENDS=" builddeps " " bootstrapdeps
- }' "$@"
-}
-
-prepand_PLIST () {
- awk '/^[^@]/ {print "PLIST=" $0}' "$@"
-}
-
-pkgpath2multivar_opts (){
- # textproc/dictem:EMACS_TYPE=xemacs215 -> EMACS_TYPE=xemacs215
- # sysutils/mc:PKG_OPTIONS.mc=-x11~-slang -> PKG_OPTIONS.mc='-x11 -slang'
- # sysutils/mc:A=a,B=b -> A=a B=b
- 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`"
- if test "$real_pkgpath" = "$1"; then
- var_assigns=''
- else
- var_assigns="$(echo $1 | pkgpath2multivar_opts)"
- var_assignments="_ASSIGNMENTS='$(echo $1 | sed 's,^[^:]*:,,')'"
- fi
-
- extra_mk=''
- if test -f mk/pbulk/pbulk-index.mk; then
- extra_mk='-f ../../mk/pbulk/pbulk-index.mk'
- fi
-
- # INHER_ASSIGNS must be before DEPENDS and BUILD_DEPENDS, see below
- ( cd "$real_pkgpath" && eval ${BMAKE} -f ./Makefile $extra_mk \
- -f "$PSS_MKSCRIPTSDIR"/pkg_src_summary.mk my-show-vars \
- VARNAMES="'_INHER_ASSIGNS _INHER_ASSIGNS_REJ _INHER_ASSIGNS_BAD ASSIGNMENTS $varnames'" \
- $var_assignments $var_assigns ) > "$tmpfn" || return 1
-
- enrich_summary "$tmpfn" >"$summaryfn" || return 1
-
- # CVS_CHECKSUM
- if test "$field_cvs_checksum"; then
- cvs_checksum "$real_pkgpath" > "$tmpfn" || return 1
- read cksum < "$tmpfn" || return 1
- 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" && \
- rm -f "$real_plistfn" && \
- ( cd "$real_pkgpath" && \
- eval ${BMAKE} PLIST="$real_plistfn" $var_assigns plist 2>/dev/null 1>&2)
- then
- prepand_PLIST "$real_plistfn" >> "$summaryfn" || return 1
- else
- plist_fns="$(cd $real_pkgpath && ${BMAKE} show-var VARNAME=PLIST_SRC)"
- for plist_fn in $plist_fns; do
- if test -f $plist_fn; then
- prepand_PLIST $plist_fn >>"$summaryfn" || return 1
- fi
- done
- fi
- fi
-}
-
-summary2deps (){
- awk '
-match($0, /^(BUILD_)?DEPENDS=/) {
- $0=substr($0, RLENGTH+1)
- gsub(/[^ :]*:[.][.]\/[.][.]\//, "")
- print
-}' "$@"
-}
-
-generate_summary (){
- # general information
- if cd_and_print_summary $1 2>"$errsfn"
- then
- all_deps=$(summary2deps "$summaryfn")
-
- bad_deps=''
- for d in $all_deps; do
- if ! test -d "$PKGSRCDIR/$d"; then
- if test -z "$bad_deps"; then
- printf ' ------------------\n' 1>&2
- printf "Bad package %s, skipped\n" "$1" 1>&2
- fi
- bad_deps=1
- printf " not existing dependancy: %s\n" "$d" 1>&2
- fi
- done
-
- if test -z "$bad_deps"; then
- cat "$summaryfn"
-
- echo '' # empty line - separator
- fi
- else
- printf ' ------------------\n' 1>&2
- printf "Bad package %s, skipped\n" "$1" 1>&2
- cat "$errsfn" 1>&2
- fi
-}
-
-############################################################
-installed_packages2stdout (){
- $PKG_INFO_CMD -Xa | sed -n 's,^PKGPATH=,,p'
-}
-
-packages2stdout__1per_line (){
- if test -n "$installed_pkgs"; then
- installed_packages2stdout
- elif test $# -eq 0; then
- # processing stdin
- awk '{for (i=1; i <= NF; ++i) {print $i}}' "$@"
- else
- # processing arguments
- for pkgpath in "$@"; do
- echo "$pkgpath"
- done
- fi
-}
-
-packages2stdout (){
- packages2stdout__1per_line "$@" |
- awk -v pss_ppers=$PSS_PPERS '
- {
- printf " %s", $0
- }
- ((NR-1) % pss_ppers) == 0 {
- printf "\n"
- }
- END {
- if (((NR-1) % pss_ppers) != 0){
- printf "\n"
- }
- }'
-}
-
-process_one_by_one (){
- if test "$slave"; then
- prepand="awk '"'{print " " $0}'"'"
- else
- prepand=cat
- fi
-
- while read pkgpaths; do
- for pkgpath in $pkgpaths; do
- generate_summary "$pkgpath" | eval $prepand
- done
-
- if test "$slave"; then
- printf 'success\n\n' # for paexec
- fi
- done
-}
-
-############################################################
-# direct packages
-partial_summary_fn=$tmp_dir/partial_summary.txt
-
-if test "$PSS_SLAVES"; then
- qfields="$(echo $PSS_FIELDS | sed 's| |,|g')"
- environ="PSS_SLAVES= BMAKE=$BMAKE CKSUM=$CKSUM PKGSRCDIR=$PKGSRCDIR"
- environ="$environ PSS_PRE_PATH=$PSS_PRE_PATH PSS_POST_PATH=$PSS_POST_PATH"
-
- runpipe0 \
- packages2stdout $pkgpaths '|' \
- paexec -slez $PSS_PAEXEC_EXTRA_OPTS \
- -n "$PSS_SLAVES" \
- -t "$PSS_TRANSPORT" \
- -c "env $environ $0 -s $with_xxx -f '$qfields'" '|' \
- paexec_reorder -S '|' \
- sed -e '/^success$/ d' -e '/^failure$/ d' > "$partial_summary_fn"
-elif test "$slave"; then
- process_one_by_one
- exit 0
-else
- PSS_PPERS=1 # one package per line for local running
-
- runpipe0 \
- packages2stdout $pkgpaths '|' \
- process_one_by_one > "$partial_summary_fn"
-fi
-
-############################################################
-# multi-variant packages
-export PSS_FIELDS
-
-summary2all_variants (){
- awk '
-$1 ~ /PKGPATH=/ {
- pkgpath = substr($0, 9)
- next
-}
-
-$1 ~ /_VARIANTS=/ {
- variants = substr($0, 11)
- next
-}
-
-NF == 0 {
- $0 = variants
- count = 0
- for (k=1; k <= NF; ++k){
- values = varname = $k
- sub(/=.*$/, "", varname)
- sub(/^[^=]*=/, "", values)
-
- cnt = split(values, vals, /,/)
-
- if (count){
- new_count = count
- for (i=1; i <= count; ++i){
- if (!(i in variant)) continue
-
- for (j=1; j <= cnt; ++j){
- ++new_count
- variant [new_count] = (variant [i] "," varname "=" vals [j])
- }
- delete variant [i]
- }
- count = new_count
- }else{
- for (j=1; j <= cnt; ++j){
- variant [j] = (varname "=" vals [j])
- }
- count = cnt
- }
- }
-
- for (i = 1; i <= count; ++i){
- if (i in variant)
- print pkgpath ":" variant [i]
- }
- pkgpath = variants = ""
-
- delete variant
-}
-' "$@"
-}
-
-if test "_$multi_var" = _2; then
- move_ASSIGNMENTS_to_PKGPATH (){
- pkg_assignments2pkgpath "$@"
- }
-else
- move_ASSIGNMENTS_to_PKGPATH (){
- cat "$@"
- }
-fi
-
-if test "$multi_var"; then
- pkg_grep_summary _VARIANTS 'fvalue != ""' \
- < $partial_summary_fn >$multi_pkgs_fn
-
- if test -s $multi_pkgs_fn; then
- pkg_grep_summary -e _VARIANTS \
- < $partial_summary_fn >$normal_pkgs_fn
- mv $normal_pkgs_fn $partial_summary_fn
-
- runpipe0 \
- summary2all_variants < $multi_pkgs_fn '|' \
- env _PSS_RECURS=1 $0 $with_xxx $make_plist '|' \
- move_ASSIGNMENTS_to_PKGPATH >> "$partial_summary_fn"
- fi
-fi
-
-############################################################
-# dependencies
-
-extra_deps_fn=$tmp_dir/extra_deps.txt
-
-processed_pkgs_fn=$tmp_dir/processed_pkgs.txt
-
-$LIBEXECDIR/get_processed_pkgs < "$partial_summary_fn" > "$processed_pkgs_fn"
-
-deps1_all_fn=$tmp_dir/level1_all_deps.txt
-
-while test -n "${with_dep}${with_bdep}"; do
- if test -n "$debug"; then
- echo '===== partial_summary: =========' 1>&2
- cat "$partial_summary_fn" 1>&2
- fi
-
- if test -n "$debug"; then
- echo '===== processed_pkgs: =========' 1>&2
- cat "$processed_pkgs_fn" 1>&2
- fi
-
- ##
- $LIBEXECDIR/direct_deps $with_dep $with_bdep -p "$processed_pkgs_fn" \
- "$partial_summary_fn" > "$extra_deps_fn"
-
- if test -n "$debug"; then
- echo '===== extra_deps: =========' 1>&2
- sort "$extra_deps_fn" 1>&2
- fi
-
- if ! test -s "$extra_deps_fn"; then
- break
- fi
-
- ##
- env _PSS_RECURS=1 $0 $with_xxx $make_plist \
- < "$extra_deps_fn" > "$deps1_all_fn".tmp
- pkg_grep_summary -e _INHER_ASSIGNS_BAD > "$deps1_all_fn" \
- < "$deps1_all_fn".tmp > "$deps1_all_fn"
-
- if test -n "$debug"; then
- echo '===== level-1 deps summaries =========' 1>&2
- cat "$deps1_all_fn" 1>&2
- fi
-
- ##
- cat "$deps1_all_fn" >> "$partial_summary_fn"
-
- pkg_uniq_summary "$partial_summary_fn" > "$partial_summary_fn".tmp
- mv "$partial_summary_fn".tmp "$partial_summary_fn"
-
- $LIBEXECDIR/get_processed_pkgs "$deps1_all_fn" >> "$processed_pkgs_fn"
- cat "$extra_deps_fn" >> "$processed_pkgs_fn"
- sort -u "$processed_pkgs_fn" > "$processed_pkgs_fn".tmp
- mv "$processed_pkgs_fn".tmp "$processed_pkgs_fn"
-done
-
-remove_internal_fields (){
- grep -v '^_.*=' "$@" || true
-}
-
-if test -z "$_PSS_RECURS"; then
- remove_internal_fields "$partial_summary_fn"
-else
- cat "$partial_summary_fn"
-fi
diff --git a/pkgtools/pkg_summary-utils/files/pkg_src_summary.mk b/pkgtools/pkg_summary-utils/files/pkg_src_summary.mk
deleted file mode 100644
index 36ecbc38643..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_src_summary.mk
+++ /dev/null
@@ -1,101 +0,0 @@
-#####################################################################
-.if defined(DIST_SUBDIR) && !empty(DIST_SUBDIR)
-_ALLSRCFILES= ${DISTFILES:@f@${DIST_SUBDIR}/${f}@} \
- ${PATCHFILES:@f@${DIST_SUBDIR}/${f}@}
-.else
-_ALLSRCFILES= ${_DISTFILES} ${_PATCHFILES}
-.endif
-
-ALLSRCFILES= ${_ALLSRCFILES:O:u}
-
-#####################################################################
-# for multi-variant packages and bulk build software
-.for i in ${_PBULK_MULTI} # apache php python ...
-# Ex:
-# _VAR2DEFAULT.PKG_APACHE = apache2
-# _VAR2DEFAULT.PYTHON_VERSION_REQD = 26
-# _VAR2DEFAULT.PHP_VERSION_REQD = 5
-_VAR2DEFAULT.${_PBULK_MULTI_VAR.${i}}=${${_PBULK_MULTI_DEFAULT.${i}}}
-# Ex:
-# _VAR2ACCEPTEDVARNAME.PKG_APACHE = PKG_APACHE_ACCEPTED
-# _VAR2ACCEPTEDVARNAME.PYTHON_VERSION_REQD = _PYTHON_VERSIONS_ACCEPTED
-# _VAR2ACCEPTEDVARNAME.PHP_VERSION_REQD = PHP_VERSIONS_ACCEPTED
-_VAR2ACCEPTEDVARNAME.${_PBULK_MULTI_VAR.${i}}=${_PBULK_MULTI_LIST.${i}}
-# Ex:
-# _VAR2ACCEPTEDVALUE.PKG_APACHE.13 = 1
-# _VAR2ACCEPTEDVALUE.PKG_APACHE.2 = 1
-# _VAR2ACCEPTEDVALUE.PKG_APACHE.22 = 1
-.for j in ${${_PBULK_MULTI_LIST.${i}}}
-_VAR2ACCEPTEDVALUE.${_PBULK_MULTI_VAR.${i}}.${j}=1
-.endfor
-.endfor
-
-.for _SINGLE_ASSIGN in ${_ASSIGNMENTS:S/,/ /g}
-_varname= ${_SINGLE_ASSIGN:C/=.*$//1}
-_value= ${_SINGLE_ASSIGN:C/^[^=]*=//1}
-# Ex:
-# _varname = PYTHON_VERSION_REQD
-# _value = 24
-_VAR_ASSIGNED.${_varname}= 1
-.if !defined(_VAR2DEFAULT.${_varname})
-_ASSIGN2+= ${_SINGLE_ASSIGN}
-.elif !defined(${_VAR2ACCEPTEDVARNAME.${_varname}})
-__INHER_ASSIGNS_REJ+= ${_SINGLE_ASSIGN}
-.elif !defined(_VAR2ACCEPTEDVALUE.${_varname}.${_value})
-__INHER_ASSIGNS_BAD+= ${_SINGLE_ASSIGN}
-.elif "${_VAR2DEFAULT.${_varname}}" != "${_value}"
-_ASSIGN2+= ${_SINGLE_ASSIGN}
-__INHER_ASSIGNS+= ${_SINGLE_ASSIGN}
-.else
-__INHER_ASSIGNS_REJ+= ${_SINGLE_ASSIGN}
-.endif
-.endfor
-
-# ASSIGNMENTS contains everything included in _INHER_ASSIGNS and
-# assignment to other variables, i.e. not PKG_APACHE,
-# PYTHON_VERSION_REQD and PHP_VERSION_REQD.
-ASSIGNMENTS= ${_ASSIGN2:ts,}
-
-# _INHER_ASSIGNS contains variable assignments (PKG_APACHE,
-# PYTHON_VERSION_REQD or PHP_VERSION_REQD) if their values are _not_
-# equal to default values
-_INHER_ASSIGNS= ${__INHER_ASSIGNS:ts,}
-
-# _INHER_ASSIGNS_REJ contains variable assignments (PKG_APACHE,
-# PYTHON_VERSION_REQD or PHP_VERSION_REQD) if their values
-# are _equal_ to default values
-_INHER_ASSIGNS_REJ= ${__INHER_ASSIGNS_REJ:ts,}
-
-# _INHER_ASSIGNS_BAD contains variable assignments (PKG_APACHE,
-# PYTHON_VERSION_REQD or PHP_VERSION_REQD) if they are not allowed, i.e.
-# not listed in appropriate XXX_VERSIONS_ACCEPTED
-_INHER_ASSIGNS_BAD= ${__INHER_ASSIGNS_BAD:ts,}
-
-#####################################################################
-# for multivariant packages
-
-# Ex:
-# PKGNAME=ap22-py26-python-3.3.1
-# PKGPATH=www/ap2-python
-# _VARIANTS=PKG_APACHE=apache2,apache22 PYTHON_VERSION_REQD=26,25,24
-# ...
-.for i in ${_PBULK_MULTI}
-.if defined(${_PBULK_MULTI_LIST.${i}}) && !defined(_VAR_ASSIGNED.${_PBULK_MULTI_VAR.${i}})
-_VARIANTS+= ${_PBULK_MULTI_VAR.${i}}=${${_PBULK_MULTI_LIST.${i}}:ts,}
-.endif
-.endfor
-
-#####################################################################
-# pkg_src_summary -l
-.ifdef with_libdeps
-BUILD_DEPENDS+= ${_BLNK_ADD_TO.DEPENDS}
-.endif
-
-#####################################################################
-.PHONY: my-show-vars
-my-show-vars:
-.for VARNAME in ${VARNAMES}
-.if !empty(${VARNAME})
- @${ECHO} ${VARNAME}=${${VARNAME}:Q}
-.endif
-.endfor
diff --git a/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.1 b/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.1
deleted file mode 100644
index 97bdd5e21e1..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.1
+++ /dev/null
@@ -1,82 +0,0 @@
-.\" $NetBSD: pkg_subgraph_deps.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2010 by Aleksey Cheusov (cheusov@tut.by)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SUBGRAPH_DEPS 1 "Nov 7, 2010" "" ""
-.SH NAME
-.B pkg_subgraph_deps
-takes a dependency graph of packages on input and outputs subgraph
-.SH SYNOPSIS
-.BI pkg_subgraph_deps " [OPTIONS] [files...]"
-.SH DESCRIPTION
-.B pkg_subgraph_deps
-takes a dependency graph of packages on input and outputs a subgraph
-consisting of dependent (by default) packages, that is packages that depend
-on listed ones directly or indirectly. Sample of input is below
-.VB
-
- jpeg emacs
- tiff emacs
- libXaw emacs
- libXpm emacs
- libungif emacs
- png emacs
- perl emacs
- jpeg tiff
- perl libungif
- libjudy
- runawk
-
-.VE
-.SH OPTIONS
-.TP
-.B "-h"
-Display help message.
-.TP
-.B "-f <file>"
-Specify a filename that contains packages, one package per line.
-.TP
-.B "-p <packages>"
-Specify packages separated by space character.
-.TP
-.B "-r"
-By default dependent packages are output.
-With this option dependencies are output.
-.TP
-.B "-x"
-By default packages specified with a help of -p or -f options are output.
-With this option they are skipped.
-.TP
-.B "-n"
-Output only packages without information about dependencies between them.
-.TP
-.B "-v"
-Invert condition.
-.TP
-.B "-t"
-Produce output compatible with
-.B tsort(1)
-command
-.SH EXAMPLES
-.VB
-pkg_info -Xa | pkg_summary2deps -nd |
-pkg_subgraph_deps -xr -p 'graphviz emacs'
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR tsort(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.in b/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.in
deleted file mode 100755
index 46652b747e7..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_subgraph_deps.in
+++ /dev/null
@@ -1,165 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-#use "power_getopt.awk"
-#use "xgetline.awk"
-#use "xclose.awk"
-
-#.begin-str help
-# This program takes a dependency graph of packages and a list of
-# individual packages and outputs subgraph consisting of packages that
-# depend on listed packages directly or indirectly (the default).
-#
-# usage: pkg_subgraph_deps [OPTIONS] [files...]
-# OPTIONS:
-# -h display this screen
-# =f <file> list of packages, one package per line
-# =p <pkgs> list of packages separated by space character
-# -r output dependencies
-# -x exclude packages in the list
-# -v invert condition
-# -n output nodes, not edges
-# -t produce output compatible with tsort(1) command
-# Input graph is represented by list of edges and isolated nodes, e.g.
-# devel/gmake textproc/dict-client
-# devel/gmake textproc/dict-server
-# devel/libjudy
-# devel/libmaa textproc/dict-client
-# devel/libmaa textproc/dict-server
-# devel/libmaa wip/paexec
-# net/netcat
-#
-# Option -f or -p are mandatory.
-#.end-str
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- fn = getarg("f")
- pkgs = getarg("p")
- opt_deps = getarg("r")
- opt_excl = getarg("x")
- opt_invert = getarg("v")
- opt_nodes = getarg("n")
- opt_tsort = getarg("t")
-
- if (!fn && !pkgs){
- print "-f or -p are mandatory!" > "/dev/stderr"
- exitnow(1)
- }
-
- if (pkgs != ""){
- split(pkgs, pkgs_arr)
- for (i in pkgs_arr)
- list [pkgs_arr [i]] = 1
- }else if (fn != ""){
- while (xgetline0(fn))
- list [$1] = 1
-
- xclose(fn)
- }
-}
-
-NF == 1 || (NF == 2 && $1 == $2) {
- nodes [$1] = 1
- next
-}
-
-NF == 2 {
- if (opt_deps)
- edge [$2, ++count [$2]] = $1
- else
- edge [$1, ++count [$1]] = $2
-
- nodes [$1] = nodes [$2] = 1
- next
-}
-
-function rec (pkg, i,to){
- if (pkg in result)
- return
-
- if (! (pkg in count))
- return
-
- result [pkg] = 1
- for (i=1; i <= count [pkg]; ++i){
- to = edge [pkg, i]
- rec(to)
- result [to] = 1
- }
-}
-
-function print_edge (from, to){
- if ((from in result) && (to in result)){
- print from, to
- printed [from] = printed [to] = 1
- }
-}
-
-END {
- for (i in list){
- rec(i)
- result [i] = 1
- }
- if (opt_excl){
- for (i in list)
- delete result [i]
- }
- if (opt_invert){
- for (i in nodes){
- if (i in result)
- delete result [i]
- else
- result [i] = 1
- }
- }
-
- if (!opt_nodes){
- for (i in edge){
- from = substr(i, 1, index(i, SUBSEP)-1)
-
- if (opt_deps)
- print_edge(edge [i], from)
- else
- print_edge(from, edge [i])
- }
- }
-
- for (i in nodes){
- if ((i in result) && !(i in printed)){
- if (opt_tsort)
- print i, i
- else
- print i
- }
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary-utils.7 b/pkgtools/pkg_summary-utils/files/pkg_summary-utils.7
deleted file mode 100644
index 9b9032e3303..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary-utils.7
+++ /dev/null
@@ -1,45 +0,0 @@
-.\" $NetBSD: pkg_summary-utils.7,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008 by Aleksey Cheusov (cheusov@tut.by)
-.\" Absolutely no warranty.
-.\"
-.TH PKG_SUMMARY-UTILS 7 "Jan 29, 2008"
-.SH NAME
-pkg_summary-utils \- collection of utilities for manipulating
-pkgsrc package summaries
-.SH DESCRIPTION
-.B pkg_summary-utils
-is a collection of programs for manipulating binary and source pkgsrc
-package summaries. Binary package summary is described in
-pkg_summary(5). Source package summary (or pkg_src_summary) has the
-same textual format but keeps an information about pkgsrc source
-packages, for example about textproc/dictem, x11/xxkb etc. It also has
-a bit different set of fields (PKGNAME, PKGPATH etc.) generated by
-default. README file contains samples of use of these utilities.
-.SH SEE ALSO
-.BR cvs_checksum(1) ,
-.BR pkg_assignments2pkgpath(1) ,
-.BR pkg_bin_summary(1) ,
-.BR pkg_cleanup_distdir(1) ,
-.BR pkg_cmp_summary(1) ,
-.BR pkg_digger(1) ,
-.BR pkg_digger_backend(1) ,
-.BR pkg_grep_summary(1) ,
-.BR pkg_lint_summary(1) ,
-.BR pkg_list_all_pkgs(1) ,
-.BR pkg_micro_src_summary(1) ,
-.BR pkg_refresh_summary(1) ,
-.BR pkg_src_summary(1) ,
-.BR pkg_subgraph_deps(1) ,
-.BR pkg_summary2bb_pkgs(1) ,
-.BR pkg_summary2build_graph(1) ,
-.BR pkg_summary2deps(1) ,
-.BR pkg_summary2leaves(1) ,
-.BR pkg_summary4view(1) ,
-.BR pkg_uniq_summary(1) ,
-.BR pkg_update_src_summary(1) ,
-.BR pkg_update_summary(1) ,
-.BR pkg_summary(5) ,
-.B pkg_info(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2bb_pkgs.in b/pkgtools/pkg_summary-utils/files/pkg_summary2bb_pkgs.in
deleted file mode 100755
index e3bfedd0213..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2bb_pkgs.in
+++ /dev/null
@@ -1,176 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2008-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "alt_getopt.awk"
-#use "abort.awk"
-#use "xgetline.awk"
-#use "xclose.awk"
-#use "min.awk"
-#use "power_getopt.awk"
-
-############################################################
-#.begin-str help
-# pkg_summary2bb_pkgs - extracts summaries for packages
-# ready for bulk build (bb in the script name).
-# That is, summaries for packages with not empty ASSIGNMENTS
-# are removed if their PKGNAME (binary package basename) do not depend
-# on ASSIGNMENTS.
-# Input summary must be pkg_uniq_summary'ed!
-# Duplications on input are not allowed
-# usage: pkg_summary2bb_pkgs -h
-# pkg_summary2bb_pkgs [OPTIONS] file1 [file2...]
-# OPTIONS:
-# -h display this help
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- # find problematic packages
- for (i=1; i < ARGC; ++i){
- if (ARGV [i] == "") continue
-
- while (xgetline0(ARGV [i])){
- if ($0 ~ /^PKGNAME=/){
- pkgname = substr($0, 9)
- ++conflicts [pkgname]
- }else if ($0 ~ /^ASSIGNMENTS=/){
- assigns = substr($0, 13)
- }else if (match($0, /^PKGPATH=.*:/)) {
- assigns = substr($0, RLENGTH+1)
-# update()
- }else if (NF == 0){
- commas = assigns != "" ? 1+gsub(/,/, "", assigns) : 0
- if (pkgname in cnt)
- cnt [pkgname] = min(cnt [pkgname] + 0, commas + 0)
- else
- cnt [pkgname] = commas
-
- assigns = pkgname = ""
- }
- }
-
- xclose(ARGV [i])
- }
-
- # init
- pkgname = assigns = ""
- good_pkg = 0 # -1|0|1 - bad|unknown|good
- count = 0
-}
-
-function print_lines (){
- for (i=0; i < count; ++i){
- print lines [i]
- }
- count = 0
-}
-
-NF == 0 {
- if (good_pkg == 0){
- assert(assigns == "")
- good_pkg = 1
- }
- if (good_pkg == 1){
- print_lines()
- print ""
- }
-
- pkgname = assigns = ""
- good_pkg = 0
- count = 0
- next
-}
-
-good_pkg == 1 {
- print $0
- next
-}
-
-good_pkg == -1 {
- next
-}
-
-{
- lines [count++] = $0
-}
-
-function update (){
- if (pkgname == ""){
- return
- }
-
- if (conflicts [pkgname] < 2){
- print_lines()
- good_pkg = 1
- return
- }
-
- if (assigns == ""){
- return
- }
-
- if (gsub(/,/, "", assigns)+1 == cnt [pkgname]){
- print_lines()
- good_pkg = 1
- cnt [pkgname] = -1
- return
- }
-
- good_pkg = -1
- count = 0
-}
-
-$0 ~ /^PKGNAME=/ {
- pkgname = substr($0, 9)
- update()
-
- next
-}
-
-$0 ~ /^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- update()
-
- next
-}
-
-match($0, /^PKGPATH=.*:/) {
- assigns = substr($0, RLENGTH+1)
- update()
-
- next
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.1 b/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.1
deleted file mode 100644
index 9bc1b99ff42..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.1
+++ /dev/null
@@ -1,44 +0,0 @@
-.\" $NetBSD: pkg_summary2build_graph.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (cheusov@tut.by)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SUMMARY2BUILD_GRAPH 1 "Jan 29, 2008" "" ""
-.SH NAME
-.B pkg_summary2build_graph
-converts src_summary to build dependency graph
-.SH SYNOPSIS
-.BI pkg_summary2build_graph " [files...]"
-.SH DESCRIPTION
-.B pkg_summary2build_graph
-converts src_summary to build dependency graph analysing
-{alter,native}:../../dep/endencies entries in DEPENDS and
-BUILD_DEPENDS fields. Format of the output:
-.VB
- package2 package3
- package1
- ...
-.VE
-Here package1 has no dependencies and package3 depends on package2.
-.SH EXAMPLES
-.VB
-pkg_list_all_pkgs | pkg_src_summary | pkg_summary2build_graph
-pkg_src_summary -A wip/distbb | pkg_summary2build_graph
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.in b/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.in
deleted file mode 100755
index 4f0408e56af..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2build_graph.in
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-echo 'This tool will be removed in the future,
-please use pkg_summary2deps -Ap' 1>&2
-
-pkg_summary2deps -Ap "$@"
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2deps.1 b/pkgtools/pkg_summary-utils/files/pkg_summary2deps.1
deleted file mode 100644
index 09a3d7a3fa1..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2deps.1
+++ /dev/null
@@ -1,135 +0,0 @@
-\.\" $NetBSD: pkg_summary2deps.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (cheusov@tut.by)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SUMMARY2DEPS 1 "Nov 18, 2010" "" ""
-.SH NAME
-.B pkg_summary2deps
-extract dependencies from a package summary
-.SH SYNOPSIS
-.BI pkg_summary2deps " [OPTIONS] [files...]"
-.SH DESCRIPTION
-.B pkg_summary2deps
-extracts dependencies from a package summary analysing
-{alter,native}pkgbase:../../pkg/pkgpath and
-pkgbase:/../../pkg/path entries in DEPENDS and
-BUILD_DEPENDS fields.
-Format of the output:
-.VB
-
- package2 package3
- package1
- ...
-
-.VE
-Here package1 has no dependencies and package3 depends on package2.
-.P
-If multiple packages satisfy the condition, the package with highest
-version is selected unless
-.I -a
-option was specified.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message.
-.TP
-.B "-p"
-output PKGPATH.
-.TP
-.B "-n"
-output PKGNAME.
-.TP
-.B "-d"
-analyse DEPENDS field. Missed alternative dependencies are
-output as altdep1|altdep2|...|altdepN. The same is applied for
-.IR "-D" .
-.TP
-.B "-D"
-analyse BUILD_DEPENDS.
-.TP
-.B "-c"
-analyse CONFLICTS and output problems to stderr.
-Versions in CONFLICTS are always checked (see "-s").
-.TP
-.B "-A"
-analyse both DEPENDS and BUILD_DEPENDS.
-.TP
-.B "-a"
-output all matched dependencies separated by `|' symbol.
-.TP
-.B "-s"
-enable strict mode. Versions of dependencies are always checked, even
-if there is only one matched (by PKGBASE) package.
-.TP
-.B "-t"
-produce output compatible with
-.B tsort(1)
-command
-.TP
-.B "-r"
-do not strip versions from PKGNAME and imply "-n"
-.TP
-.B "-R"
-do not strip versions from dependencies and imply "-n"
-.TP
-.B "-l"
-output to stderr the error messages
-compatible with pkg_lint_summary, e.g.,
-.VB
-d: not_found foo-[0-9]*:../../devel/foo <- lang/bar bar
-.VE
-.TP
-.BI "-P " "<pkgpaths>"
-find dependencies for specified PKGPATHs.
-If
-.I pkgpaths
-starts with `/' or `.', it is treated as a
-filename that contains PKGPATHs, one per line. Otherwise
-.I pkgpaths
-contains a list of PKGPATHs separated by space or comma.
-.TP
-.BI "-N " "<pkgnames>"
-find dependencies for specified PKGNAMEs.
-If
-.I pkgnames
-starts with `/' or `.', it is treated as a
-filename that contains PKGNAMEs, one per line. Otherwise
-.I pkgnames
-contains a list of PKGNAMEs separated by space or comma.
-.TP
-.B "-X"
-exit with non-zero exit status if missed
-DEPENDS, BUILD_DEPENDS or CONFLICTS were found.
-.SH ""
-If both "-p" and "-n" are applied,
-.B pkg_summary2deps
-will output
-.br
-PKGPATH;PKGNAME. Either "-n" or "-p" must be applied.
-Also either "-d", "-D", "-A" or "-c" must be applied.
-.SH EXAMPLES
-.VB
-pkg_list_all_pkgs | pkg_src_summary | pkg_summary2deps -Ap
-pkg_src_summary -A wip/distbb | pkg_summary2deps -ApRr
-pkg_summary2deps -cl bin_summary.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1) ,
-.BR pkg_lint_summary(1) ,
-.BR tsort(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2deps.in b/pkgtools/pkg_summary-utils/files/pkg_summary2deps.in
deleted file mode 100755
index 2c8778e9670..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2deps.in
+++ /dev/null
@@ -1,538 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2008-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "power_getopt.awk"
-#use "alt_assert.awk"
-#use "braceexpand.awk"
-#use "psu_funcs.awk"
-#use "glob.awk"
-#use "pkgsrc-dewey.awk"
-#use "xgetline.awk"
-
-############################################################
-#.begin-str help
-# pkg_summary2deps - converts pkg_summary to the dependency graph
-# by analysing pkgname:../../pkg/path and
-# {alter,native}:../../pkg/path entries
-# in DEPENDS and BUILD_DEPENDS fields.
-# Format of the output:
-# package1
-# package2 package3
-# ...
-# Here package3 depends on package2, package1 has no dependencies.
-# usage: pkg_summary2deps [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-# -p output PKGPATH
-# -n output PKGNAME
-# -d analyse DEPENDS
-# -D analyse BUILD_DEPENDS
-# -A analyse both DEPENDS and BUILD_DEPENDS
-# -a output all matched dependencies separated by `|' symbol,
-# not only the first one
-# -c analyse CONFLICTS
-# -a output
-# -t produce output compatible with tsort(1) command
-# -r do not strip versions from PKGNAME, imply -n
-# -R do not strip versions from dependencies, imply -n
-# -s strict mode
-# -l output to stderr the error messages
-# compatible with pkg_lint_summary, e.g.,
-# d: not_found foo-[0-9]*:../../devel/foo <- lang/bar bar
-# =P <pkgpaths>
-# find dependencies for specified PKGPATHs.
-# If pkgpaths starts with `/' or `.', it is treated as a
-# filename that contains PKGPATHs, one per line. Otherwise
-# pkgpaths is a list of PKGPATHs separated by space or comma.
-# =N <pkgnames>
-# find dependencies for specified PKGNAMEs.
-# If pkgnames starts with `/' or `.', it is treated as a
-# filename that contains PKGNAMEs, one per line. Otherwise
-# pkgnames is a list of PKGNAMEs separated by space or comma.
-# -X exit with non-zero exit status if missed
-# DEPENDS, BUILD_DEPENDS or CONFLICTS were found
-#.end-str
-############################################################
-
-# comment
-# pkgpath - PKGPATH=<...>
-# assigns - ASSIGNMENTS=<...>
-# pkgbase - PKGNAME=<...> with pkg version stripped
-# g_basecnt2path - array: pkgbase, g_basecnt2path_cnt [base] -> PKGPATH:ASSIGNMENTS
-# g_pair2name - array: PKGPATH:ASSIGNMENTS,PKGNAME -> pkgname
-# g_pair2base - array: PKGPATH:ASSIGNMENTS,PKGNAME -> pkgbase
-# g_paircnt2namedeps - array: PKGPATH:ASSIGNMENTS,PKGNAME , [1..3] , g_paircnt2namedeps_cnt [PKGPATH:ASSIGNMENTS. [1..3]] ->
-# e.g. suse32_base-10.0|suse32_base-10.0nb*
-# allbases - set: PKGBASE
-
-function warn_alt (pkgpath, pkgname, deps, deps_cnt, i,res){
- res = ""
- for (i=1; i <= deps_cnt; ++i){
- if (res != "")
- res = res "|"
- res = res deps [i]
- }
- warn(pkgpath, pkgname, res)
-}
-
-function warn (pkgpath, pkgname, depname){
- if (mode_lint)
- printf "d: not_found %s <- %s %s\n",
- depname, pkgpath, pkgname > "/dev/stderr"
- else
- printf "Cannot find dependency %s for package %s (%s)\n",
- depname, pkgpath, pkgname > "/dev/stderr"
-}
-
-function warn_conflicts (\
- pkgpath, pkgname,
- conflict_path, conflict_name, conflict_spec)
-{
- if (mode_lint)
- printf "c: conflict %s %s %s <- %s %s\n",
- conflict_spec, conflict_path, conflict_name, pkgpath, pkgname > "/dev/stderr"
- else
- printf "%s (%s) conflicts (%s) with %s (%s)\n",
- pkgpath, pkgname, conflict_spec, conflict_path, conflict_name > "/dev/stderr"
-}
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exit 0
- }
-
- keep_ver = getarg("r")
- keep_depver = getarg("R")
-
- out_pkgname = keep_ver || keep_depver || getarg("n")
- out_pkgpath = getarg("p")
-
- mode_tsort = getarg("t")
- mode_strict = getarg("s")
- mode_lint = getarg("l")
-
- dep_depends = getarg("d")
- dep_builddep = getarg("D")
- opt_conflicts = getarg("c")
-
- show_all_deps = getarg("a")
-
- opt_exit_status = getarg("X")
-
- all_packages = 1
-
- pkgs_PKGPATHs = getarg("P", "<fake>")
- if (pkgs_PKGPATHs ~ /^[.\/]/){
- all_packages = 0
- while (xgetline0(pkgs_PKGPATHs)){
- PKGPATHs [$1] = 0
- }
- close(pkgs_PKGPATHs)
- }else{
- gsub(/,/, " ", pkgs_PKGPATHs)
- if (pkgs_PKGPATHs != "<fake>"){
- all_packages = 0
- split(pkgs_PKGPATHs, arr)
- for (i in arr){
- PKGPATHs [arr [i]] = 0
- }
- }
- }
-
- pkgs_PKGNAMEs = getarg("N", "<fake>")
- if (pkgs_PKGNAMEs ~ /^[.\/]/){
- all_packages = 0
- while (xgetline0(pkgs_PKGNAMEs)){
- PKGNAMEs [$1] = 0
- }
- close(pkgs_PKGNAMEs)
- }else{
- gsub(/,/, " ", pkgs_PKGNAMEs)
- if (pkgs_PKGNAMEs != "<fake>"){
- all_packages = 0
- split(pkgs_PKGNAMEs, arr)
- for (i in arr){
- PKGNAMEs [arr [i]] = 0
- }
- }
- }
-
- if (getarg("A")){
- dep_builddep = dep_depends = 1
- }
-
- if (!opt_conflicts){
- if (!out_pkgname && !out_pkgpath){
- print "Either -p or -n must be applied" > "/dev/stderr"
- exit 1
- }
- }
- if (!dep_depends && !dep_builddep && !opt_conflicts){
- print "Either -d, -D, -c or -A must be applied" > "/dev/stderr"
- exit 1
- }
-}
-
-/^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- next
-}
-
-/^PKGPATH=/ {
- pkgpath = substr($0, 9)
- next
-}
-
-/^PKGNAME=/ {
- pkgbase = pkgname = substr($0, 9)
- sub(/-[^-]+$/, "", pkgbase)
- next
-}
-
-dep_depends && /^DEPENDS=/ {
- depends = depends " " substr($0, 9)
- next
-}
-
-dep_builddep && /^BUILD_DEPENDS=/ {
- build_depends = build_depends " " substr($0, 15)
- next
-}
-
-opt_conflicts && /^CONFLICTS=/ {
- conflicts = conflicts " " substr($0, 11)
- next
-}
-
-function process_deps (id, deps,i){
- for (i=1; i <= NF; ++i){
- if ($i ~ /[{]/)
- $i = braceexpand($i)
-
- gsub(/:[^ ]*/, "", $i)
- gsub(/ /, "|", $i)
-
- g_paircnt2namedeps [pair, id, ++g_paircnt2namedeps_cnt [pair, id]] = $i
- }
-}
-
-NF == 0 {
- if (pkgpath == ""){
- pkgpath = "none"
- }
-
- assert(pkgname != "", "Cannot find pkgname")
-
- if (assigns)
- pkgpath = pkgpath ":" assigns
-
- pair = pkgpath ";" pkgname
-
- g_basecnt2path [pkgbase, ++g_basecnt2path_cnt [pkgbase]] = pair
- g_pair2name [pair] = pkgname
- g_pair2base [pair] = pkgbase
- allbases [pkgbase] = 1
-
- if (all_packages || (pkgpath in PKGPATHs) || (pkgname in PKGNAMEs)){
- $0 = depends
- process_deps(1)
-
- $0 = build_depends
- process_deps(2)
-
- $0 = conflicts
- process_deps(3)
- }
-
- conflicts = depends = build_depends = ""
- assigns = pkgpath = pkgbase = pkgname = ""
- next
-}
-
-function print_nodep_node (node){
- if (mode_tsort)
- print node, node
- else
- print node
-}
-
-function find_by_glob (pattern, strict, base_i,i){
- for (base_i in allbases){
- if (glob(base_i, depbase)){
-# found [++foundcnt] = base_i
- for (i=1; i <= g_basecnt2path_cnt [base_i]; ++i)
- found [++foundcnt] = g_basecnt2path [base_i, i]
- }
- }
-}
-
-function pkgmatch (pkg, pattern){
- pkg = pkgname2version(pkg)
- pattern = pkgname2version(pattern)
-
- return pattern_match(pkg, pattern)
-}
-
-function pkgmatch_all (pair, matched_pkg, pattern,
- id,depscnt,deps,j,k,depname,arr,all_matched)
-{
- if (!pkgmatch(matched_pkg, pattern))
- return 0
-
- for (id=1; id <= 2; ++id){
- depscnt = g_paircnt2namedeps_cnt [pair, id]
- for (j=1; j <= depscnt; ++j){
- deps = g_paircnt2namedeps [pair, id, j]
- altdepscnt = split(deps, arr, /[|]/)
- all_matched = 1
- for (k=1; k <= altdepscnt; ++k){
- depname = arr [k]
- if (pkgname2pkgbase(matched_pkg) \
- != pkgname2pkgbase(depname))
- continue
-
- if (pkgmatch(matched_pkg, depname)){
- all_matched = 1
- break
- }else{
- all_matched = 0
- }
- }
- if (!all_matched)
- return 0
- }
- }
-
- return 1
-}
-
-function pair2path (pair){
- sub(/;.*$/, "", pair)
- return pair
-}
-
-END {
- # building dependency graph
- for (pair in g_pair2base){
- path = pair2path(pair)
- name = g_pair2name [pair]
- base = g_pair2base [pair]
- for (id=1; id <= 3; ++id){
- depscnt = g_paircnt2namedeps_cnt [pair, id]
- for (i=1; i <= depscnt; ++i){
- deps = g_paircnt2namedeps [pair, id, i]
-
- altdepscnt = split(deps, arr, /[|]/)
- for (k=1; k <= altdepscnt; ++k){
- depname = arr [k]
- depbase = pkgname2pkgbase(depname)
-
- foundcnt = 0
- if (depbase ~ /[*?\[\]]/){
- # glob pattern
- find_by_glob(depbase, 0)
- }else if (depbase in allbases){
- # plain PKGBASE
- basecnt = g_basecnt2path_cnt [depbase]
- for (j=1; j <= basecnt; ++j){
- found [++foundcnt] = g_basecnt2path [depbase, j]
- }
- }
-
- if (foundcnt == 1 && !mode_strict && id != 3){
- final_deps [pair, found [1]] = depname
- break
- }
-
- matched = ""
- for (j=1; j <= foundcnt; ++j){
- f = found [j]
-
- if (depname ~ /[<>].*(\[|\]|[*])/){
-# print "bad pattern", depname > "/dev/stderr"
- continue
- }
-
- if (pkgmatch_all(pair, g_pair2name [f], depname)){
- if (id != 3){
- if (matched == ""){
- matched = f
- matched_name = g_pair2name [f]
- }else if (show_all_deps){
- matched = matched "|" f
- }else if (pkgname_gt_pkgname(g_pair2name [f],
- matched_name))
- {
- matched = f
- matched_name = g_pair2name [f]
- }
- }else if (f != pair){
- warn_conflicts(path, name, pair2path(f),
- g_pair2name [f], depname)
- ex = 1
- }
- }
- }
-
- delete found
- foundcnt = 0
-
- if (id == 3)
- continue
-
- if (!matched){
- if (k == altdepscnt){
- if (altdepscnt > 1)
- warn_alt(path, name, arr, altdepscnt)
- else
- warn(path, name, depname)
-
- ex = 1
- }
-
- continue
- }
-
- final_deps [pair, matched] = depname
-
- break
- }
- }
- }
- }
-
- # output PKGNAMESs/PKGPATHs
- for (pair in final_deps){
- split(pair, arr, SUBSEP)
-
- pair1 = arr [2]
- pair2 = arr [1]
- path1 = pair2path(pair1)
- path2 = pair2path(pair2)
-
- # right part
- if (out_pkgname){
- if (keep_ver)
- name2 = g_pair2name [pair2]
- else
- name2 = g_pair2base [pair2]
- }
-
- if (!out_pkgname){
- if (out_pkgpath)
- right = path2
- }else if (!out_pkgpath){
- right = name2
- }else{
- right = path2 ";" name2
- }
-
- # left part
- path1_cnt = split(pair1, pair1_arr, /[|]/)
- left = ""
- for (i=1; i <= path1_cnt; ++i){
- p1 = pair1_arr [i]
- l = ""
- if (out_pkgname){
- if (keep_ver)
- name1 = g_pair2name [p1]
- else
- name1 = g_pair2base [p1]
- }
-
- if (!out_pkgname){
- if (out_pkgpath)
- l = pair2path(p1)
- }else if (!out_pkgpath){
- l = name1
- }else{
- l = pair2path(p1) ";" name1
- }
-
- if (l != ""){
- if (left == "")
- left = l
- else
- left = left "|" l
- }
- }
- if (left != ""){
- if (keep_depver)
- print left, right, "(", final_deps [pair], ")"
- else
- print left, right
- }
-
- already_printed [path1] = already_printed [path2] = 1
- }
-
- # printing packages with no dependencies
- for (pair in g_pair2base){
- path = pair2path(pair)
-
- if (path in already_printed)
- continue
-
- name = g_pair2name [pair]
- base = g_pair2base [pair]
- if (!all_packages && !(path in PKGPATHs) && !(name in PKGNAMEs))
- continue
-
- # main action
- if (out_pkgname){
- if (!keep_ver)
- name = base
- }
-
- p = ""
- if (!out_pkgname){
- if (out_pkgpath)
- p = path
- }else if (!out_pkgpath){
- p = name
- }else{
- p = path ";" name
- }
-
- if (p != ""){
- if (mode_tsort)
- print p, p
- else
- print p
- }
- }
-
- # exiting
- if (opt_exit_status)
- exitnow(ex)
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.1 b/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.1
deleted file mode 100644
index 47bc6d7938a..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.1
+++ /dev/null
@@ -1,53 +0,0 @@
-.\" $NetBSD: pkg_summary2leaves.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SUMMARY2LEAVES 1 "Jan 2, 2011" "" ""
-.SH NAME
-.B pkg_summary2leaves
-output leaf packages
-.SH SYNOPSIS
-.BI pkg_summary2leaves " [OPTIONS] file1 [file2...]"
-.SH DESCRIPTION
-.B pkg_summary2leaves
-takes package summaries on input
-and outputs summaries for leaf packages.
-.SH OPTIONS
-.TP
-.B "-h"
-Display help message.
-.TP
-.B "-r"
-Select leaf packages recursively, implies -a.
-.TP
-.B "-a"
-Output automatically installed leaves only,
-a field 'automatic' is expected on input.
-.TP
-.B "-p"
-Output PKGPATHs instead of summaries.
-.TP
-.B "-v"
-Invert the sense of match.
-.SH EXAMPLES
-.VB
- pkg_bin_summary -f PKGPATH,automatic >summaries.txt; \\
- pkg_summary2leaves summaries.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.in b/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.in
deleted file mode 100755
index 87971eee164..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary2leaves.in
+++ /dev/null
@@ -1,166 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "tmpfile.awk"
-#use "power_getopt.awk"
-#use "shquote.awk"
-#use "xclose.awk"
-#use "xgetline.awk"
-
-############################################################
-#.begin-str help
-# pkg_summary2leaves - takes package summaries on input
-# and outputs summaries for leaf packages.
-# usage: pkg_summary2leaves [OPTIONS] file1 <file2...>
-# OPTIONS:
-# -h display this help
-# -r select leaf packages recursively, implies -a
-# -a output only automatically installed leaves,
-# a field 'automatic' is expected on input
-# -p output PKGPATHs instead summaries
-# -v PKGPATHs or summaries of non-leaf packages are output
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exit 0
- }
-
- rec = getarg("r")
- auto_only = getarg("a") || rec
- invert = getarg("v")
- out_pkgs = getarg("p")
-
- if (ARGC == 1){
- print "pkg_summary2leaves requires <files...>" > "/dev/stderr"
- exitnow(1)
- }
-
- for (i=1; i < ARGC; ++i){
- files = files " " shquote(ARGV [i])
- }
-}
-
-# build dependency graph
-BEGIN {
- deps_fn = tmpfile()
- system("pkg_summary2deps -dpa " files " 2>/dev/null > " deps_fn)
-}
-
-# obtaining automatically installed packages
-BEGIN {
- pipe = "cat " files " | pkg_grep_summary -v -e automatic"
- while ((pipe | getline) > 0){
- if (/^PKGPATH=/){
- pkgpath = substr($0, 9)
- }else if (/^ASSIGNMENTS=/){
- assigns = substr($0, 13)
- }else if (NF == 0){
- if (assigns) pkgpath = pkgpath ":" assigns
- auto [pkgpath] = 0
- pkgpath = assigns = ""
- }
- }
- close(pipe)
-}
-
-# read dependency graph
-BEGIN {
- FS = "[ |]*"
- while (xgetline0(deps_fn)){
- assert(NF >= 1)
- if (NF > 1){
- for (i=1; i < NF; ++i){
- deps [$NF, ++deps_cnt [$NF]] = $i
- ++chld_cnt [$i]
- }
- }
- chld_cnt [$NF] += 0
- }
- xclose(deps_fn)
-}
-
-# generate leaf package summaries
-BEGIN {
- head = 1
- for (pkg in chld_cnt){
-# print pkg, chld_cnt [pkg]
- if (!chld_cnt [pkg]){
- if (!auto_only || (pkg in auto))
- queue [head++] = pkg
- }
- }
-
- if (rec){
- for (tail=1; tail < head; ++tail){
- pkg = queue [tail]
- if (chld_cnt [pkg] == 0){
-# print pkg
- deps_count = deps_cnt [pkg]
- for (i=1; i <= deps_count; ++i){
- dep = deps [pkg, i]
-
- if (0 == --chld_cnt [dep] && (dep in auto)){
- queue [head++] = dep
-# print "dep:", dep
- }
- }
- }
- }
- }
-
- if (invert){
- for (i in queue){
- queue_a [queue [i]] = 0
- }
- head = 1
- delete queue
- for (i in chld_cnt){
- if (!(i in queue_a)){
- queue [head++] = i
- }
- }
- }
-
- for (i=1; i < head; ++i){
- if (out_pkgs)
- print queue [i]
- else
- pkgpaths = pkgpaths " " queue [i]
- }
- if (out_pkgs)
- exitnow(0)
- else
- system("cat " files " | pkg_grep_summary -t strlist PKGPATHe '" pkgpaths "'")
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary4view.1 b/pkgtools/pkg_summary-utils/files/pkg_summary4view.1
deleted file mode 100644
index 262bb5c03a8..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary4view.1
+++ /dev/null
@@ -1,38 +0,0 @@
-.\" $NetBSD: pkg_summary4view.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (cheusov@tut.by)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_SUMMARY4VIEW 1 "Jan 29, 2008" "" ""
-.SH NAME
-.B pkg_summary4view
-converts pkg_summary(5) to human readable format
-.SH SYNOPSIS
-.BI pkg_summary4view " [files...]"
-.SH DESCRIPTION
-.B pkg_summary4view
-converts package summary (pkg_summary(5)) to the format
-easily read by human but still easily parsable by standard UNIX utilities.
-An empty line separates packages.
-.SH EXAMPLES
-.VB
-pkg_src_summary textproc/dictem | pkg_summary4view
-zcat pkg_summary.gz | pkg_summary4view
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_summary4view.in b/pkgtools/pkg_summary-utils/files/pkg_summary4view.in
deleted file mode 100755
index d002bcb15ec..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_summary4view.in
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "alt_getopt.awk"
-#use "abort.awk"
-#use "power_getopt.awk"
-#use "heapsort.awk"
-
-############################################################
-#.begin-str help
-# pkg_summary4view - converts pkg_summary(5) to human readable format
-# usage: pkg_summary4view [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-#.end-str
-############################################################
-
-function spaces (n, ret){
- ret = ""
- while (n-- > 0){
- ret = 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 {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- special ["DESCRIPTION"] = 0
- special ["PLIST"] = 0
- special ["PROVIDES"] = 0
- special ["REQUIRES"] = 0
-
- depends_like ["BUILD_DEPENDS"] = 0
- 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 {
- prev_field = ""
- print ""
- next
-}
-
-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 "-----------------------------------------------------------"
-}
-
-{
- #
- field = $0
- sub(/=.*$/, "", field)
-
- #
- sub(/^[^=]*=/, "")
-
- if (NF == 0)
- next
-
- field_alldistfiles = (field == "ALLDISTFILES")
-
- #
- if (field in depends_like){
- resort_D0()
-
- if (field != prev_field) {
- field1 = field ":"
- printf "%s", field1
- }else{
- field1 = ""
- }
-
- printf "%s", spaces(offset - length(field1))
-
- if (field_alldistfiles){
- printf "%s\n", get_alldistfiles($1)
- }else{
- printf "%s\n", $1
- }
-
- for (i=2; i <= NF; ++i){
- printf "%s", spaces(offset)
- if (field_alldistfiles){
- printf "%s\n", get_alldistfiles($i)
- }else{
- printf "%s\n", $i
- }
- }
- }else if (field in special) {
- if (field != prev_field) {
- printf "%s:\n", field
- }
-
- printf " %s\n", $0
- }else{
- printf "%s:%s%s\n", field, spaces(offset - length(field) - 1), $0
- }
-
- #
- prev_field = field
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.1
deleted file mode 100644
index 3db4756a95d..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.1
+++ /dev/null
@@ -1,38 +0,0 @@
-.\" $NetBSD: pkg_uniq_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_UNIQ_SUMMARY 1 "Feb 10, 2008" "" ""
-.SH NAME
-pkg_uniq_summary \- filter out repeated package summaries
-.SH SYNOPSIS
-.BI pkg_uniq_summary " [OPTIONS] [files...]"
-.SH DESCRIPTION
-.B pkg_uniq_summary
-filters out repeated package summaries.
-Summaries are compared by (PKGPATH, PKGBASE, ASSIGNMENTS) triple.
-.SH OPTIONS
-.TP
-.B "-h"
-display help message.
-.TP
-.B "-n"
-only PKGBASE field of packages are compared.
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5) ,
-.BR pkg_src_summary(1) ,
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.in b/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.in
deleted file mode 100755
index 090322f931a..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_uniq_summary.in
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/env runawk
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-############################################################
-
-#env "LC_ALL=C"
-
-#use "abort.awk"
-#use "power_getopt.awk"
-
-############################################################
-#.begin-str help
-# pkg_uniq_summary - filter out repeated summaries.
-# Summaries are compared by (PKGPATH, PKGBASE, ASSIGNMENTS) triple.
-# usage: pkg_uniq_summary -h
-# pkg_uniq_summary [OPTIONS] [files...]
-# OPTIONS:
-# -h display this help
-# -n only PKGBASE is analysed
-#.end-str
-############################################################
-
-BEGIN {
- if (getarg("h")){
- print_help()
- exitnow(0)
- }
-
- skip = 0
- line_count = 0
-
- opt_n = getarg("n")
-}
-
-NF == 0 {
- if (!pkgs [pkgbase, pkgpath, assigns]++){
- for (i=0; i < line_count; ++i){
- print lines [i]
- }
- print ""
- }
- assigns = pkgbase = pkgpath = ""
- line_count = 0
- next
-}
-
-{
- lines [line_count++] = $0
-}
-
-$0 ~ /^PKGNAME=/ {
- pkgbase = substr($0, 9)
- sub(/-[^-]+$/, "", pkgbase)
- next
-}
-
-!opt_n && $0 ~ /^PKGPATH=/ {
- pkgpath = substr($0, 9)
- if (sub(/:.*$/, "", pkgpath)){
- assigns = substr($0, 9)
- sub(/^[^:]*:/, "", assigns)
- }
- next
-}
-
-!opt_n && $0 ~ /^ASSIGNMENTS=/ {
- assigns = substr($0, 13)
- next
-}
diff --git a/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.1
deleted file mode 100644
index 3a90b5c1c4b..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.1
+++ /dev/null
@@ -1,67 +0,0 @@
-.\" $NetBSD: pkg_update_src_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2008-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_UPDATE_SRC_SUMMARY 1 "Jan 29, 2008" "" ""
-.SH NAME
-pkg_update_src_summary \- incrementally updates source pkg_summary
-.SH SYNOPSIS
-.BI pkg_update_src_summary " [OPTIONS] pkg_src_summary_filename"
-.SH DESCRIPTION
-.B pkg_update_src_summary
-incrementally updates source packages summary about all packages in
-pkgsrc source tree.
-Algorithm. 1) pkg_update_src_summary quickly obtains micro summary
-information about all packages
-from pkgsrc source tree, "micro" means PKGNAME and PKGPATH fields only.
-2) compares package versions in summary_filename
-and micro summary collected in step 1
-by PKGNAME field using pkg_cmp_summary(1).
-3) copies summary from summary_filename about unchanged packages.
-4) collects full summary information about all changed and new packages
-using pkg_src_summary(1).
-5) new summary = step3 + step4
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.BI "-f" " filename"
-package names are obtained from a specified file, not from pkgsrc tree
-.TP
-.BI "-i" " fields"
-list of fields (separated by space character or comma) to be
-generated. By default full summary is generated, see
-pkg_src_summary(1)
-.SH ENVIRONMENT
-.TP
-.B PKGSRCDIR
-pkgsrc root directory
-.TP
-.B BMAKE
-path to pkgsrc friendly make utility
-.TP
-.B PSS_OPTIONS
-passed to pkg_src_summary subprocesses
-.SH EXAMPLES
-.VB
-pkg_update_src_summary /usr/pkgsrc/pkg_src_summary.txt
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_cmp_summary(1)
-.B pkg_src_summary(1)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.in b/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.in
deleted file mode 100755
index 6f1569ed237..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_update_src_summary.in
+++ /dev/null
@@ -1,119 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2011, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-. pipestatus
-
-############################################################
-# user settable variables
-PKGSRCDIR=${PKGSRCDIR:=@PKGSRCDIR@}
-BMAKE=${BMAKE:=@BMAKE@}
-
-############################################################
-usage (){
- cat 1>&2 <<EOF
-pkg_update_src_summary - incrementally updates
-package summary from pkgsrc/ tree (pkg_summary(5) format)
-
-usage: pkg_update_src_summary [OPTIONS] summary_file
-OPTIONS:
- -h display this help message
- -f <filename> obtain package names from
- a specified file, - for stdin
- -i <fields> list of fields (separated by space character
- or comma) to be included to the summary,
- full summary is generated by default
-EOF
-}
-
-pkgs_fn=''
-
-while getopts hf:i: f; do
- case "$f" in
- h) usage; exit 0;;
- f) pkgs_fn="$OPTARG";;
- i) fields="-f '$OPTARG'";;
- ?) printf "Run pkg_update_src_summary -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-if test $# -ne 1; then
- usage
- exit 1
-fi
-
-summary=$1
-shift
-
-############################################################
-
-new_summary=$summary.new
-
-tmp_dir=`mktemp -d /tmp/pkg_update_src_summary.XXXXXX`
-trap "rm -rf $tmp_dir $new_summary" 0 1 2 15
-test -n "$tmp_dir" || exit 1
-
-# list of packages
-allpkgs_fn=$tmp_dir/allpkgs
-
-if test "$pkgs_fn"; then
- awk '{sub(/#.*/, "")} NF > 0 {print $1}' $pkgs_fn > $allpkgs_fn
-else
- pkg_list_all_pkgs > $allpkgs_fn
-fi
-
-# src_summary from scratch
-if ! test -f $summary; then
- eval pkg_src_summary $fields < $allpkgs_fn > $new_summary
- mv $new_summary $summary
- exit $?
-fi
-
-# micro-summary for all packages
-micsum_fn=$tmp_dir/micsum
-pkg_micro_src_summary < $allpkgs_fn >$micsum_fn
-
-# cmp summary and micro-summary
-cmp_fn=$tmp_dir/cmp
-pkg_cmp_summary -p $summary $micsum_fn > $cmp_fn
-
-# copying summary of unchanged packages
-eq_pkgs_fn=$tmp_dir/eq_pkgs
-awk '/^[=]/ {print $2}' $cmp_fn > $eq_pkgs_fn # pkgpath:pkgbase
-pkg_grep_summary -S PKGPATH "$eq_pkgs_fn" < "$summary" > "$new_summary"
-
-# add new/updated/changed packages
-changed_pkgs_fn=$tmp_dir/changed_pkgs
-awk '/^[+<>?0-9!]/ {print $2}' $cmp_fn > $changed_pkgs_fn # pkgpath:pkgbase
-
-eval pkg_src_summary $fields < $changed_pkgs_fn >> $new_summary
-
-mv $new_summary $summary
diff --git a/pkgtools/pkg_summary-utils/files/pkg_update_summary.1 b/pkgtools/pkg_summary-utils/files/pkg_update_summary.1
deleted file mode 100644
index a8b3730ecff..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_update_summary.1
+++ /dev/null
@@ -1,73 +0,0 @@
-.\" $NetBSD: pkg_update_summary.1,v 1.1.1.1 2011/05/11 19:24:47 cheusov Exp $
-.\"
-.\" Copyright (c) 2007-2010 by Aleksey Cheusov (vle@gmx.net)
-.\" Absolutely no warranty.
-.\"
-.\" ------------------------------------------------------------------
-.de VB \" Verbatim Begin
-.ft CW
-.nf
-.ne \\$1
-..
-.de VE \" Verbatim End
-.ft R
-.fi
-..
-.\" ------------------------------------------------------------------
-.TH PKG_UPDATE_SUMMARY 1 "Aug 2, 2007" "" ""
-.SH NAME
-pkg_update_summary \- update, or create a summary file (pkg_summary(5))
-.SH SYNOPSIS
-.BI pkg_update_summary " summary_file bin_pkg_dir [decompress compress]"
-.SH DESCRIPTION
-.B pkg_update_summary
-updates (or creates if it does not exist)
-summary information about binary packages
-and stores it in
-.I summary_file
-file. That is
-.B pkg_update_summary
-checks
-whether
-.I bin_pkg_dir
-directory contains binary packages (files) newer than
-.I summary_file
-file.
-If they exist, it updates the summary. NOTE: modification time of
-the binary package file is checked, not the content of the package.
-Also
-.B pkg_update_summary
-removes from
-.I summary_file
-the information about packages removed from
-.I bin_pkg_dir
-directory.
-.PP
-The options are as follows:
-.SH OPTIONS
-.TP
-.B "-h"
-display help message
-.TP
-.B "-r"
-only newest versions for each PKGPATH:PKGBASE pair is kept in summary
-.SH ENVIRONMENT
-.TP
-.B PKG_SUFX
-Binary package extension (either .tgz or .tbz).
-.TP
-.B TEST_CMD
-Solaris's test command does not like option -nt, defaults to 'test'
-.TP
-.B PKG_INFO_CMD
-Path to pkg_info command
-.SH EXAMPLES
-.VB
-pkg_update_summary /srv/packages/All/pkg_summary.txt /srv/packages/All
-pkg_update_summary /dir/pkg_summary.gz /dir 'gzip -dc' 'gzip -c'
-.VE
-.SH SEE ALSO
-.BR pkg_summary-utils(7) ,
-.BR pkg_summary(5)
-.SH AUTHOR
-Aleksey Cheusov <vle@gmx.net>
diff --git a/pkgtools/pkg_summary-utils/files/pkg_update_summary.in b/pkgtools/pkg_summary-utils/files/pkg_update_summary.in
deleted file mode 100755
index fae26c3d382..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkg_update_summary.in
+++ /dev/null
@@ -1,223 +0,0 @@
-#!@SH@
-#-*-mode: sh -*-
-
-# Copyright (c) 2007-2010, Aleksey Cheusov <vle@gmx.net>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-set -e
-
-. pipestatus
-
-export LC_ALL=C
-
-usage (){
- cat 1>&2 <<EOF
-pkg_update_summary - updates pkg_summary(5) efficiently
-
-usage: pkg_update_summary [OPTIONS] summary_file bin_pkg_dir [decomp comp]
-OPTIONS:
- -h display this help message
- -r keeps only latest version for each pkgpath:pkgbase pair
-EOF
-}
-
-refresh=cat
-while getopts hr f; do
- case "$f" in
- h) usage; exit 0;;
- r) refresh=pkg_refresh_summary;;
- ?) printf "Run pkg_update_summary -h for details\n"; exit 2;;
- esac
-done
-shift `expr $OPTIND - 1`
-
-PKG_SUFX=${PKG_SUFX:=@PKG_SUFX@}
-PKG_SUFX_RE="`echo $PKG_SUFX | sed 's,[.],[.],g'`"
-
-PKG_INFO_CMD="${PKG_INFO_CMD:=@PKG_INFO_CMD@}"
-
-if test -z "$TEST_CMD"; then
- TEST_CMD=test
-fi
-
-if test $# -eq 2; then
- summary_file="$1"
- bin_pkg_dir="$2"
- uncompress='cat'
- compress='cat'
-elif test $# -eq 4; then
- summary_file="$1"
- bin_pkg_dir="$2"
- uncompress="$3"
- compress="$4"
-else
- usage
- exit 1
-fi
-
-cd "$bin_pkg_dir"
-
-# do not run the command when there is NO input on stdin
-xargs_bsdstyle (){
- awk -v cmd="xargs $*" '{print $0 | cmd}'
-}
-
-pkgs2summary (){
- xargs_bsdstyle $PKG_INFO_CMD -X
-}
-
-get_all_pkgs (){
- # in order to ignore grep's exit status in case
- # binary packages directory is empty
- runpipe_re '0 [01]' ls -1t "$bin_pkg_dir" '|' grep "$PKG_SUFX_RE"'$'
-}
-
-get_updated_pkgs (){
- get_all_pkgs |
- while read f; do
- if $TEST_CMD "$f" -nt "$summary_file"; then
- echo "$f"
- else
- break
- fi
- done
-}
-
-print_uniq (){
- awk '$1 == 1 {print $2}'
-}
-
-subtract (){
- runpipe0 \
- env LC_ALL=C sort "$@" '|' \
- env LC_ALL=C uniq -c '|' \
- print_uniq
-}
-
-get_unchanged_pkgs (){
-# echo "updated=$updated"
-# echo "all=$all"
- { echo "$all"; echo "$updated"; } | subtract
-}
-
-tmpbase="`dirname $summary_file`/`basename $summary_file`.tmp"
-tmpfinal="$tmpbase.final"
-tmp2="$tmpbase.tmp2"
-
-if test -z "$TRACE"; then
- trap "rm -f $tmpfinal $tmp2" 0 1 2 15
-fi
-
-filter_unchanged (){
- pkgs_fn=$1
- shift
-
- awk -v pkgs_fn="$pkgs_fn" -v PKG_SUFX_RE="$PKG_SUFX_RE" '
- BEGIN {
- while (0 < (ret = getline < pkgs_fn)){
- sub(PKG_SUFX_RE "$", "")
- keep_array [$1] = ""
- }
- if (ret < 0){
- printf "reading from %s failed\n", pkgs_fn > "/dev/stderr"
- exit 2
- }
-
- FS = "="
- }
- NF > 0, NF == 0 {
- if (accu == "")
- accu = $0
- else
- accu = accu "\n" $0
-
- if ($1 == "PKGNAME"){
- pkgname = $2
- next
- }
-
- if (NF > 0){
- next
- }
-
- keep = (pkgname in keep_array)
-
- if (keep){
- print accu
- }
-
- accu = ""
- }
- ' "$@"
-}
-
-show_debugging_info (){
- if test -n "$TRACE"; then
- printf "$all" > "$tmpbase.all"
-
- printf "$updated" > "$tmpbase.updated"
-
- if test -f "$summary_file"; then
- { echo "$all" | sed 's/[.][^.]*$//'
- sed -n 's/^PKGNAME=//p' "$summary_file"
- } | subtract > "$tmpbase.removed"
- else
- printf '' > "$tmpbase.removed"
- fi
-
- echo "See $tmpbase.{all,updated,removed,final,tmp2} files" 1>&2
- fi
-}
-
-update_summary (){
- updated="`get_updated_pkgs`"
- all="`get_all_pkgs`"
- get_unchanged_pkgs > "$tmp2"
-
- runpipe0 $uncompress "$summary_file" '|' filter_unchanged "$tmp2"
- if test -n "$updated"; then
- runpipe0 echo "$updated" '|' pkgs2summary
- fi
-}
-
-if test -f "$summary_file"; then
- runpipe0 \
- update_summary '|' \
- $refresh '|' \
- $compress > "$tmpfinal"
-else
- runpipe0 \
- get_all_pkgs '|' \
- pkgs2summary '|' \
- $refresh '|' \
- $compress > "$tmpfinal"
-fi
-
-show_debugging_info
-
-if test -z "$TRACE"; then
- mv "$tmpfinal" "$summary_file"
-fi
diff --git a/pkgtools/pkg_summary-utils/files/pkgsrc-dewey.awk b/pkgtools/pkg_summary-utils/files/pkgsrc-dewey.awk
deleted file mode 100644
index 45846eeab6f..00000000000
--- a/pkgtools/pkg_summary-utils/files/pkgsrc-dewey.awk
+++ /dev/null
@@ -1,121 +0,0 @@
-############################################################
-# Written by Aleksey Cheusov <vle@gmx.net>
-# Public Domain
-
-############################################################
-# dewey functions
-
-BEGIN {
- __dewey_maxf = 9 # 8(YYYYMMDD) + 1
- for (i=0; i < 26; ++i){
- # I don't know anything about EBCDIC :-P :-)
- __dewey_char2dotver [sprintf("%c", 65 + i)] = "." i+1 "."
- }
-}
-
-function __dewey_chars (n, c, s){
- s = ""
-
- while (n-- > 0){
- s = s c
- }
-
- return s
-}
-
-function __remove_leading0 (ver, tmp){
- if (match(ver, /[0-9]+/)){
- tmp = substr(ver, RSTART, RLENGTH)
- sub(/^0+/, "", tmp)
- if (tmp == ""){
- tmp = 0
- }
- return \
- substr(ver, 1, RSTART-1) \
- tmp \
- __remove_leading0(substr(ver, RSTART+RLENGTH))
- }else{
- return ver
- }
-}
-
-function __dewey2str (ver, left,right,sym,num,last){
- ver = __remove_leading0(toupper(ver))
-
- gsub(/ALPHA/, "\072", ver) # A
- gsub(/BETA/, "\073", ver) # B
- gsub(/RC/, "\074", ver) # C
- gsub(/PRE/, "\074", ver) # C
- gsub(/NB/, "\076", ver) # Y
- gsub(/PL/, ".", ver) # .
- gsub(/_/, ".", ver) # .
-
- if (match(ver, /([.]0+)+$/)){
- # 1.2.0.0 -> 1.2
- ver = substr(ver, 1, RSTART-1)
- }else if (match(ver, /([.]0+)+(\072|\073|\074|\076)/)){
- # 1.2.0.0nb1 -> 1.2nb1
- ver = substr(ver, 1, RSTART-1) substr(ver, RSTART+RLENGTH-1)
- }
-
- ver = "." ver
-
- while (match(ver, /[QWERTYUIOPASDFGHJKLZXCVBNM]/)){
- last = substr(ver, RSTART, 1)
- ver = substr(ver, 1, RSTART-1) \
- __dewey_char2dotver [last] \
- substr(ver, RSTART+1)
- }
-
- gsub(/[.][.]+/, ".", ver)
- sub(/[.]$/, "", ver)
- sub(/[.]\076/, "\076", ver)
-
- gsub(/[.]/, "\100" __dewey_chars(__dewey_maxf, " ") ".", ver) # Z
-
- while (match(ver, /[\072\073\074\076.][0-9]+/)){
- left = substr(ver, 1, RSTART-1)
- sym = substr(ver, RSTART, 1)
- num = substr(ver, RSTART+1, RLENGTH-1)
- right = substr(ver, RSTART+RLENGTH)
-
- num = sprintf("%" __dewey_maxf "s", num)
-
- if (sym == ".")
- ver = left "\100" num right # Z
- else
- ver = left sym num right
- }
-
- return substr(ver, __dewey_maxf + 2) "\075" # X
-}
-
-function dewey_cmp (ver1, ver2, s1,s2){
- if (ver1 == ver2){
- return "="
- }
-
- s1 = __dewey2str(ver1)
- s2 = __dewey2str(ver2)
-
- if (s1 < s2)
- return "<"
- else if (s1 > s2)
- return ">"
- else
- return "="
-}
-
-function dewey_test (ver1, ver2, op, tmp){
- tmp = dewey_cmp(ver1, ver2)
-
- if (tmp ~ /^==?$/ && op ~ /^(==|=|<=|>=)$/){
- return 1
- }else if (tmp == "<" && op ~ /^(<=?|!=)$/){
- return 1
- }else if (tmp == ">" && op ~ /^(>=?|!=)$/){
- return 1
- }
-
- return 0
-}
diff --git a/pkgtools/pkg_summary-utils/files/psu_funcs.awk b/pkgtools/pkg_summary-utils/files/psu_funcs.awk
deleted file mode 100644
index 6ffdbef6f3e..00000000000
--- a/pkgtools/pkg_summary-utils/files/psu_funcs.awk
+++ /dev/null
@@ -1,71 +0,0 @@
-# AWK functions for working on pkgsrc
-
-#use "pkgsrc-dewey.awk"
-#use "glob.awk"
-
-# return a position where version begins
-function pkgver_position (pkgname, idx){
- if (match(pkgname, /<|>|=/))
- return RSTART
- else
- return match(pkgname, /-(\[[^\[\]]*\]|[^-])*$/)
-}
-
-# strip version from PKGNAME
-function pkgname2pkgbase (pkgname){
- return substr(pkgname, 1, pkgver_position(pkgname)-1)
-}
-
-# extract version from PKGNAME, e.g. -1.2.3, -[0-9]*, >=1.0 etc.
-function pkgname2version (pkgname, pos){
- pos = pkgver_position(pkgname)
-
- if (substr(pkgname, pos, 1) == "-")
- return substr(pkgname, pos+1)
- else
- return substr(pkgname, pos)
-}
-
-# remove ../../ prefix, extra spaces and ending /
-function normalize_pkgpath (pkgpath){
- sub(/^[.][.]\/[.][.]\//, "", pkgpath)
- sub(/^ +/, "", pkgpath)
- sub(/ +$/, "", pkgpath)
- sub(/\/+$/, "", pkgpath)
- return pkgpath
-}
-
-# Source dependency to PKGPATH
-# checkperms>=1.1:../../sysutils/checkperms/ to sysutils/checkperms
-function src_depend2pkgpath (dep){
- sub(/^[^:]*:/, "", dep)
- return normalize_pkgpath(dep)
-}
-
-# returns 1 if pkgname1 is greater than pkgname2
-function pkgname_gt_pkgname (pkgname1, pkgname2, ver1,ver2){
- ver1 = pkgname2version(pkgname1)
- ver2 = pkgname2version(pkgname2)
-
- return dewey_cmp(ver1, ver2) == ">"
-}
-
-# ex: dewey_match(1.2.3, ">=1.0")
-function pattern_match (ver, pattern, i,j,k){
- while (match(pattern, /(>|<|=|>=|<=)[^<=>]*/)){
- assert(RSTART == 1, "failed in dewey_match() function")
- i = substr(pattern, RSTART, RLENGTH)
- j = substr(pattern, RSTART + RLENGTH)
- k = match(i, /[0-9]/)
-
- if (!dewey_test(ver, substr(i,k), substr(i,1,k-1)))
- return 0
-
- pattern = j
- }
-
- if (pattern == "" || pattern == "[0-9]*")
- return 1
-
- return glob(ver, pattern)
-}
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary1.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary1.txt
deleted file mode 100644
index 72b822b7a73..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary1.txt
+++ /dev/null
@@ -1,255 +0,0 @@
-PKGNAME=distbb-0.33.0
-DEPENDS=pkg_summary-utils>=0.31.0
-DEPENDS=paexec>=0.13.0nb1
-DEPENDS=runawk>=0.14.3
-DEPENDS=pipestatus>=0.5.0
-COMMENT=DISTributed Bulk Build tool for pkgsrc
-SIZE_PKG=137238
-BUILD_DATE=2009-11-08 20:24:22 +0200
-CATEGORIES=pkgtools
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/distbb
-PKGTOOLS_VERSION=20091009
-
-PKGNAME=pkg_online-0.9.1
-DEPENDS=pkg_online-client-0.9.1
-DEPENDS=pkg_online-server-0.9.1
-COMMENT=Client/Server search in pkgsrc packages
-SIZE_PKG=0
-BUILD_DATE=2009-11-08 20:25:56 +0200
-CATEGORIES=pkgtools meta-pkgs
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/pkg_online
-PKGTOOLS_VERSION=20091009
-
-PKGNAME=pkg_conflicts-0.4.0
-DEPENDS=runawk>=0.14.3
-DEPENDS=pkg_online-client>=0.6.0
-DEPENDS=pkg_summary-utils-[0-9]*
-COMMENT=Tools for automatic CONFLICTS detection
-SIZE_PKG=11626
-BUILD_DATE=2009-11-08 20:25:10 +0200
-CATEGORIES=pkgtools
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/pkg_conflicts
-PKGTOOLS_VERSION=20091009
-
-PKGNAME=checkperms-1.10
-COMMENT=Check and correct file permissions
-SIZE_PKG=13028
-BUILD_DATE=2009-04-28 21:02:38 +0300
-CATEGORIES=sysutils
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_RC4
-PKGPATH=sysutils/checkperms
-PKGTOOLS_VERSION=20090406
-REQUIRES=/usr/lib/libc.so.12
-
-CONFLICTS=glibtool-[0-9]*
-CONFLICTS=libtool<=1.3.5nb11
-PKGNAME=libtool-base-1.5.26nb2
-COMMENT=Generic shared library support script (the script itself)
-SIZE_PKG=2320088
-BUILD_DATE=2009-10-11 15:57:59 +0300
-CATEGORIES=devel pkgtools
-LICENSE=gnu-gpl-v2
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=devel/libtool-base
-PKGTOOLS_VERSION=20090724
-
-PKGNAME=gmake-3.81
-COMMENT=GNU version of 'make' utility
-SIZE_PKG=1372418
-BUILD_DATE=2008-09-06 15:39:22 +0300
-CATEGORIES=devel
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=4.0_STABLE
-PKGPATH=devel/gmake
-PKGTOOLS_VERSION=20070927
-REQUIRES=/usr/lib/libc.so.12
-REQUIRES=/usr/lib/libintl.so.0
-
-PKGNAME=netcat-1.10nb2
-COMMENT=Read and write data across network connections
-SIZE_PKG=388598
-BUILD_DATE=2008-09-07 05:16:13 +0300
-CATEGORIES=net
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=4.0_STABLE
-PKGPATH=net/netcat
-PKGTOOLS_VERSION=20070927
-REQUIRES=/usr/lib/libc.so.12
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-DEPENDS=runawk-[0-9]*
-COMMENT=Pkgsrc dewey module for AWK programming language
-SIZE_PKG=2865
-BUILD_DATE=2009-04-05 17:37:12 +0300
-CATEGORIES=pkgtools
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_RC3
-PKGPATH=wip/awk-pkgsrc-dewey
-PKGTOOLS_VERSION=20081013
-
-PKGNAME=libmaa-1.1.0
-COMMENT=General purpose data structures and functions
-SIZE_PKG=480540
-BUILD_DATE=2009-04-28 21:03:59 +0300
-CATEGORIES=devel
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_RC4
-PKGPATH=devel/libmaa
-PKGTOOLS_VERSION=20090406
-PROVIDES=/usr/pkg/lib/libmaa.so.1
-REQUIRES=/usr/lib/libc.so.12
-
-PKGNAME=pkgnih-0.3.1
-BUILD_DATE=2011-01-17 12:27:32 +0200
-PKGPATH=wip/pkgnih
-
-PKGNAME=dict-client-1.11.2
-DEPENDS=libmaa>=0.990
-COMMENT=Dictionary Service Protocol client
-SIZE_PKG=70368
-BUILD_DATE=2009-10-04 11:33:42 +0300
-CATEGORIES=textproc
-LICENSE=gnu-gpl-v2
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/dict-client
-PKGTOOLS_VERSION=20090724
-REQUIRES=/usr/lib/libc.so.12
-REQUIRES=/usr/pkg/lib/libmaa.so.2
-REQUIRES=/usr/pkg/lib/libz.so.1
-
-PKGNAME=dict-server-1.11.2
-DEPENDS=libmaa>=0.990
-COMMENT=Dictionary Service Protocol server
-SIZE_PKG=355213
-BUILD_DATE=2009-10-04 11:28:59 +0300
-CATEGORIES=textproc
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/dict-server
-PKGTOOLS_VERSION=20090724
-REQUIRES=/usr/lib/libc.so.12
-REQUIRES=/usr/pkg/lib/libmaa.so.1
-REQUIRES=/usr/pkg/lib/libz.so.1
-
-CONFLICTS=paexec<0.13.0nb1
-CONFLICTS=pkg_src_summary-[0-9]*
-CONFLICTS=pkg_cmp_summary-[0-9]*
-CONFLICTS=pkg_src_update_summary-[0-9]*
-CONFLICTS=pkg_update_summary-[0-9]*
-CONFLICTS=pkg_summary4view-[0-9]*
-PKGNAME=pkg_summary-utils-0.35rc1
-DEPENDS=runawk>=0.16.0
-DEPENDS=awk-pkgsrc-dewey>=0.5.6
-DEPENDS=pipestatus-[0-9]*
-COMMENT=Utilities for manipulating pkg_summary(5) files
-SIZE_PKG=134031
-BUILD_DATE=2009-11-08 20:23:56 +0200
-CATEGORIES=pkgtools
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/pkg_summary-utils
-PKGTOOLS_VERSION=20091009
-
-PKGNAME=pipestatus-0.6.0
-COMMENT=UNIX/POSIX shell helper for running pipes safely
-SIZE_PKG=10346
-BUILD_DATE=2009-09-13 10:10:45 +0300
-CATEGORIES=devel
-LICENSE=public-domain
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=devel/pipestatus
-PKGTOOLS_VERSION=20090724
-
-PKGNAME=runawk-0.18.0
-COMMENT=Wrapper that impelements modules for AWK
-SIZE_PKG=127629
-BUILD_DATE=2009-11-11 20:23:22 +0200
-CATEGORIES=lang devel
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/runawk
-PKGTOOLS_VERSION=20091009
-REQUIRES=/usr/lib/libc.so.12
-
-PKGNAME=paexec-0.13.0nb1
-DEPENDS=runawk>=0.16.0
-DEPENDS=libmaa>=0.990
-COMMENT=Parallel executor, distributes tasks over network
-SIZE_PKG=68486
-BUILD_DATE=2009-05-10 14:33:42 +0300
-CATEGORIES=parallel sysutils
-LICENSE=
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/paexec
-PKGTOOLS_VERSION=20081013
-REQUIRES=/usr/lib/libc.so.12
-REQUIRES=/usr/pkg/lib/libmaa.so.1
-
-PKGNAME=pkg_online-client-0.9.1
-DEPENDS=dict-client>=1.10.9
-DEPENDS=pkg_summary-utils-[0-9]*
-DEPENDS=pipestatus-[0-9]*
-DEPENDS=netcat-[0-9]*
-COMMENT=Client/Server search in pkgsrc packages (client tools)
-SIZE_PKG=28586
-BUILD_DATE=2009-11-08 20:24:47 +0200
-CATEGORIES=pkgtools
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/pkg_online-client
-PKGTOOLS_VERSION=20091009
-
-PKGNAME=pkg_online-server-0.9.1
-DEPENDS=dict-server>=1.10.10nb2
-DEPENDS=pkg_summary-utils>=0.18.1
-DEPENDS=pipestatus-[0-9]*
-COMMENT=Client/Server search in pkgsrc packages (server tools)
-SIZE_PKG=27142
-BUILD_DATE=2009-11-08 20:25:34 +0200
-CATEGORIES=pkgtools
-LICENSE=mit
-MACHINE_ARCH=i386
-OPSYS=NetBSD
-OS_VERSION=5.0_STABLE
-PKGPATH=wip/pkg_online-server
-PKGTOOLS_VERSION=20091009
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary2.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary2.txt
deleted file mode 100644
index 2be7a66a696..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary2.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-PKGPATH=devel/libmaa
-PKGNAME=libmaa-1.2.0
-
-PKGPATH=textproc/dict-client
-PKGNAME=dict-client-1.11.2
-DEPENDS=libmaa>=1.2.0
-
-PKGPATH=devel/pipestatus
-PKGNAME=pipestatus-0.6.0
-BUILD_DATE=2009-09-13 10:10:45 +0300
-
-PKGPATH=pkgtools/digest
-PKGNAME=digest-20080510
-automatic=yes
-
-PKGPATH=textproc/dict-server
-PKGNAME=dict-server-1.11.2
-DEPENDS=libmaa>=1.2.0
-
-PKGPATH=wip/paexec
-PKGNAME=paexec-0.15.0
-automatic=yes
-DEPENDS=runawk>=0.20.0
-DEPENDS=libmaa>=1.2.0
-
-PKGPATH=wip/distbb
-PKGNAME=distbb-0.38.1
-DEPENDS=pkg_summary-utils>=0.43.1
-DEPENDS=paexec>=0.15.0
-DEPENDS=runawk>=1.1.0
-DEPENDS=pipestatus>=0.6.0
-DEPENDS=digest-[0-9]*
-automatic=yes
-
-automatic=yes
-PKGPATH=wip/pkg_summary-utils
-PKGNAME=pkg_summary-utils-0.49.1nb1
-DEPENDS=runawk>=1.1.0
-DEPENDS=pipestatus-[0-9]*
-
-PKGPATH=wip/pkg_status
-PKGNAME=pkg_status-0.11
-DEPENDS=pipestatus-[0-9]*
-DEPENDS=pkg_summary-utils>=0.46
-automatic=yes
-
-PKGPATH=wip/runawk
-PKGNAME=runawk-1.2.0
-automatic=yes
-
-PKGPATH=wip/mk-configure
-PKGNAME=mk-configure-0.21.0
-automatic=yes
-
-PKGNAME=pkgnih-0.3.1
-BUILD_DATE=2011-01-18 13:27:32 +0200
-PKGPATH=wip/pkgnih
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary3.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary3.txt
deleted file mode 100644
index cf676b4c543..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary3.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-PKGNAME=ruby-1.8.7.302
-PKGPATH=lang/ruby
-
-PKGNAME=ruby-1.9.2
-PKGPATH=lang/ruby
-
-PKGNAME=php5-zip-5.2.15.1.8.11
-PKGPATH=archivers/php-zip
-
-PKGNAME=php53-zip-5.3.4
-PKGPATH=archivers/php-zip
-
-PKGNAME=php5-zip-5.2.15
-PKGPATH=archivers/php-zip
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary4.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary4.txt
deleted file mode 100644
index fe2f655f93e..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary4.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-PKGNAME=p5-Catalyst-Plugin-Session-0.30nb1
-DEPENDS=p5-Catalyst-Runtime>=5.71001
-DEPENDS={perl>=5.10,p5-Digest-[0-9]*}
-DEPENDS={perl>=5.10,p5-File-Temp-[0-9]*}
-PKGPATH=www/p5-Catalyst-Plugin-Session
-
-PKGNAME=p5-DBIx-Class-EncodedColumn-0.00010
-DEPENDS={perl>=5.7.3,p5-Digest-[0-9]*}
-DEPENDS={perl>=5.7.3,p5-Digest-MD5-[0-9]*}
-DEPENDS={perl>=5.10.0,p5-Digest-SHA-[0-9]*}
-PKGPATH=databases/p5-DBIx-Class-EncodedColumn
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary5.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary5.txt
deleted file mode 100644
index 4038240fa00..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary5.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-PKGNAME=php-extensions-5.2.17
-DEPENDS=php>=5.2.17<5.3
-DEPENDS=php5-exif>=5.2.17<5.3
-PKGPATH=meta-pkgs/php5-extensions
-
-PKGNAME=php-extensions-5.3.5
-DEPENDS=php>=5.3.5<6
-DEPENDS=php53-exif>=5.3.5<6
-PKGPATH=meta-pkgs/php53-extensions
-
-PKGNAME=php5-exif-5.2.17
-DEPENDS=php>=5.1.2<5.3
-DEPENDS=php>=5.1.2<5.3
-PKGPATH=graphics/php-exif
-
-PKGNAME=php-5.2.17
-PKGPATH=lang/php5
-
-PKGNAME=php-5.2.17nb2
-PKGPATH=lang/php5
-
-PKGNAME=php-5.3.5
-PKGPATH=lang/php53
-
-PKGNAME=php-5.3.5nb1
-PKGPATH=lang/php53
-
-PKGNAME=php5-exif-5.2.17nb2
-DEPENDS=php>=5.1.2<5.3
-DEPENDS=php>=5.1.2<5.3
-PKGPATH=graphics/php-exif
-
-PKGNAME=php53-exif-5.3.5
-DEPENDS=php>=5.3.2
-PKGPATH=graphics/php-exif
-
-PKGNAME=php53-exif-5.3.5nb2
-DEPENDS=php>=5.3.2
-PKGPATH=graphics/php-exif
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/bin_summary6.txt b/pkgtools/pkg_summary-utils/files/tests/bin_summary6.txt
deleted file mode 100644
index 6e54739e95b..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/bin_summary6.txt
+++ /dev/null
@@ -1,127 +0,0 @@
-PKGPATH=security/openssl
-PKGNAME=openssl-0.9.8qnb1
-
-PKGPATH=www/apache
-PKGNAME=apache-1.3.42
-DEPENDS= db4>=4.8.30:../../databases/db4 libmm>=1.4.0:../../devel/libmm expat>=1.95.7:../../textproc/expat expat>=1.95.4:../../textproc/expat db4>=4.8.30:../../databases/db4 expat>=2.0.0nb1:../../textproc/expat
-
-PKGPATH=www/apache2
-PKGNAME=apache-2.0.64
-DEPENDS= perl>=5.0:../../lang/perl5 apr-0.9.*:../../devel/apr0 apr>=0.9.5.2.0.51nb1:../../devel/apr0 apr>=0.9.12.2.0.58:../../devel/apr0 expat>=1.95.7:../../textproc/expat expat>=1.95.4:../../textproc/expat openssl>=0.9.6m:../../security/openssl apr>=0.9.17.2.0.63nb2:../../devel/apr0 expat>=2.0.0nb1:../../textproc/expat openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=www/apache22
-PKGNAME=apache-2.2.17
-DEPENDS= perl>=5.0:../../lang/perl5 apr>=1.2.8:../../devel/apr apr-util>=1.2.8:../../devel/apr-util expat>=1.95.7:../../textproc/expat expat>=1.95.4:../../textproc/expat openssl>=0.9.6m:../../security/openssl apr-util>=1.3.9:../../devel/apr-util expat>=2.0.0nb1:../../textproc/expat openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=x11/qt3
-PKGNAME=qt3-3.3.8nb1
-DEPENDS=qt3-libs-3.3.8{,nb[0-9]*}:../../x11/qt3-libs qt3-tools-3.3.8{,nb[0-9]*}:../../x11/qt3-tools qt3-docs-3.3.8{,nb[0-9]*}:../../x11/qt3-docs
-
-PKGPATH=x11/qt3-docs
-PKGNAME=qt3-docs-3.3.8nb4
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt3-libs>=3.2.3:../../x11/qt3-libs qt3-libs>=3.3.8nb15:../../x11/qt3-libs
-
-PKGPATH=x11/qt3-libs
-PKGNAME=qt3-libs-3.3.8nb15
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama jpeg>=8nb1:../../graphics/jpeg MesaLib>=3.4.2:../../graphics/MesaLib glu>=3.4.2:../../graphics/glu glu>=6.0:../../graphics/glu mng>=1.0.0:../../graphics/mng png>=1.5.1:../../graphics/png png>=1.2.4:../../graphics/png freetype2>=2.1.8:../../graphics/freetype2 freetype2>=2.1.3:../../graphics/freetype2 libSM>=0.99.2:../../x11/libSM libXcursor>=1.1.1:../../x11/libXcursor libXft>=2.1.10:../../x11/libXft libXmu>=1.0.0:../../x11/libXmu libXrandr>=1.1.2:../../x11/libXrandr jpeg>=8nb1:../../graphics/jpeg MesaLib>=7.0.3:../../graphics/MesaLib glu>=7.0.3:../../graphics/glu mng>=1.0.10nb2:../../graphics/mng png>=1.5.0:../../graphics/png freetype2>=2.1.10nb1:../../graphics/freetype2
-
-PKGPATH=x11/qt3-mysql
-PKGNAME=qt3-mysql-3.3.8nb6
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt3-libs>=3.2.3:../../x11/qt3-libs mysql-client>=5.1.44:../../databases/mysql51-client qt3-libs>=3.3.8nb15:../../x11/qt3-libs mysql-client>=5.1.44:../../databases/mysql51-client
-
-PKGPATH=x11/qt3-qscintilla
-PKGNAME=qt3-qscintilla-1.6nb7
-DEPENDS= qt3-libs>=3.2.3:../../x11/qt3-libs qt3-libs>=3.3.8nb15:../../x11/qt3-libs
-
-PKGPATH=x11/qt4
-PKGNAME=qt4-4.7.2
-DEPENDS=qt4-libs-4.7.2{,nb[0-9]*}:../../x11/qt4-libs qt4-tools-4.7.2{,nb[0-9]*}:../../x11/qt4-tools qt4-docs-4.7.2{,nb[0-9]*}:../../x11/qt4-docs
-
-PKGPATH=x11/qt3-pgsql
-PKGNAME=qt3-psql-3.3.8nb8
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt3-libs>=3.2.3:../../x11/qt3-libs postgresql84-client>=8.4.0:../../databases/postgresql84-client qt3-libs>=3.3.8nb15:../../x11/qt3-libs postgresql84-client>=8.4.2nb1:../../databases/postgresql84-client
-
-PKGPATH=x11/qt3-tools
-PKGNAME=qt3-tools-3.3.8nb7
-DEPENDS=libtool-base-[0-9]*:../../devel/libtool-base libXinerama>=1.0.1:../../x11/libXinerama qt3-libs>=3.2.3:../../x11/qt3-libs qt3-libs>=3.3.8nb15:../../x11/qt3-libs
-
-PKGPATH=x11/qt4-libs
-PKGNAME=qt4-libs-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama glu>=3.4.2:../../graphics/glu glu>=6.0:../../graphics/glu libSM>=0.99.2:../../x11/libSM libXcursor>=1.1.1:../../x11/libXcursor libXft>=2.1.10:../../x11/libXft fontconfig>=2.4.2:../../fonts/fontconfig fontconfig>=2.1nb2:../../fonts/fontconfig freetype2>=2.1.8:../../graphics/freetype2 freetype2>=2.1.3:../../graphics/freetype2 libXmu>=1.0.0:../../x11/libXmu libXrandr>=1.1.2:../../x11/libXrandr jpeg>=8nb1:../../graphics/jpeg png>=1.2.4:../../graphics/png glu>=7.0.3:../../graphics/glu freetype2>=2.1.10nb1:../../graphics/freetype2 jpeg>=8nb1:../../graphics/jpeg png>=1.5.0:../../graphics/png
-
-PKGPATH=x11/qt4-docs
-PKGNAME=qt4-docs-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs qt4-libs>=4.7.1nb4:../../x11/qt4-libs
-
-PKGPATH=x11/qt4-mng
-PKGNAME=qt4-mng-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs mng>=1.0.0:../../graphics/mng qt4-libs>=4.7.1nb4:../../x11/qt4-libs mng>=1.0.10nb2:../../graphics/mng
-
-PKGPATH=x11/qt4-mysql
-PKGNAME=qt4-mysql-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs mysql-client>=5.1.44:../../databases/mysql51-client qt4-libs>=4.7.1nb4:../../x11/qt4-libs mysql-client>=5.1.44:../../databases/mysql51-client
-
-PKGPATH=x11/qt4-pgsql
-PKGNAME=qt4-pgsql-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs postgresql84-client>=8.4.0:../../databases/postgresql84-client qt4-libs>=4.7.1nb4:../../x11/qt4-libs postgresql84-client>=8.4.2nb1:../../databases/postgresql84-client
-
-PKGPATH=x11/qt4-qscintilla
-PKGNAME=qt4-qscintilla-2.4.6nb1
-DEPENDS= qt4-libs>=4.6.1nb2:../../x11/qt4-libs qt4-libs>=4.7.1nb4:../../x11/qt4-libs
-
-PKGPATH=x11/qt4-sqlite3
-PKGNAME=qt4-sqlite3-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs sqlite3>=3.0.8:../../databases/sqlite3 qt4-libs>=4.7.1nb4:../../x11/qt4-libs sqlite3>=3.2.7nb1:../../databases/sqlite3
-
-PKGPATH=x11/qt4-qdbus
-PKGNAME=qt4-qdbus-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama dbus>=0.91:../../sysutils/dbus qt4-libs>=4.6.1nb2:../../x11/qt4-libs qt4-libs>=4.7.1nb4:../../x11/qt4-libs
-
-PKGPATH=x11/qt4-tiff
-PKGNAME=qt4-tiff-4.7.2
-DEPENDS= libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.3.2nb1:../../x11/qt4-libs qt4-libs>=4.6.1nb2:../../x11/qt4-libs tiff>=3.6.1:../../graphics/tiff qt4-libs>=4.7.1nb4:../../x11/qt4-libs tiff>=3.9.2nb1:../../graphics/tiff
-
-PKGPATH=x11/qt4-tools
-PKGNAME=qt4-tools-4.7.2
-DEPENDS=libtool-base-[0-9]*:../../devel/libtool-base libXinerama>=1.0.1:../../x11/libXinerama qt4-libs>=4.6.1nb2:../../x11/qt4-libs qt4-libs>=4.7.1nb4:../../x11/qt4-libs
-
-PKGPATH=lang/ruby
-PKGNAME=ruby-1.8.7.334
-DEPENDS=ruby18-base>=1.8.7:../../lang/ruby18-base db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=lang/ruby:RUBY_VERSION_REQD=19
-PKGNAME=ruby-1.9.2pl180
-DEPENDS=ruby19-base>=1.9.2:../../lang/ruby19-base db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=lang/ruby18
-PKGNAME=ruby18-1.8.7.334
-DEPENDS=ruby18-base>=1.8.7.334:../../lang/ruby18-base ruby18-gdbm>=1.8.7.334:../../databases/ruby-gdbm ruby18-curses>=1.8.7.334:../../devel/ruby-curses ruby18-readline>=1.8.7.334:../../devel/ruby-readline ruby18-tk>=1.8.7.334:../../x11/ruby-tk db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=lang/ruby18-base
-PKGNAME=ruby18-base-1.8.7.334
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=lang/ruby19-base
-PKGNAME=ruby19-base-1.9.2pl180
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=lang/ruby19
-PKGNAME=ruby19-1.9.2pl180
-DEPENDS=ruby19-base>=1.9.2pl180:../../lang/ruby19-base ruby19-gdbm>=1.9.2pl180:../../databases/ruby-gdbm ruby19-curses>=1.9.2pl180:../../devel/ruby-curses ruby19-readline>=1.9.2pl180:../../devel/ruby-readline ruby19-tk>=1.9.2pl180:../../x11/ruby-tk db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl
-
-PKGPATH=textproc/ruby-eruby
-PKGNAME=ruby18-eruby-1.0.5nb8
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl ruby18-base>=1.8.7:../../lang/ruby18-base db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl ruby18-base>=1.8.7.334:../../lang/ruby18-base
-
-PKGPATH=www/ap-ruby:PKG_APACHE=apache13
-PKGNAME=ap13-ruby18-1.3.0
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl ruby18-base>=1.8.7:../../lang/ruby18-base ruby18-eruby>=0.9.7:../../textproc/ruby-eruby apache-1.3.*:../../www/apache db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl ruby18-base>=1.8.7.334:../../lang/ruby18-base apache>=1.3.34nb5:../../www/apache
-
-PKGPATH=www/ap-ruby:PKG_APACHE=apache2
-PKGNAME=ap2-ruby18-1.3.0
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl ruby18-base>=1.8.7:../../lang/ruby18-base ruby18-eruby>=0.9.7:../../textproc/ruby-eruby apache>=2.0.51<2.2:../../www/apache2 apr-0.9.*:../../devel/apr0 apr>=0.9.5.2.0.51nb1:../../devel/apr0 db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl ruby18-base>=1.8.7.334:../../lang/ruby18-base apache>=2.0.63nb6:../../www/apache2 apr>=0.9.17.2.0.63nb2:../../devel/apr0
-
-PKGPATH=www/ap-ruby
-PKGNAME=ap22-ruby18-1.3.0
-DEPENDS= db4>=4.8.30:../../databases/db4 openssl>=0.9.6m:../../security/openssl ruby18-base>=1.8.7:../../lang/ruby18-base ruby18-eruby>=0.9.7:../../textproc/ruby-eruby apache>=2.2.3:../../www/apache22 apr>=1.2.8:../../devel/apr apr-util>=1.2.8:../../devel/apr-util db4>=4.8.30:../../databases/db4 openssl>=0.9.8knb1:../../security/openssl ruby18-base>=1.8.7.334:../../lang/ruby18-base apache>=2.2.14nb1:../../www/apache22 apr-util>=1.3.9:../../devel/apr-util
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/pkgs.txt b/pkgtools/pkg_summary-utils/files/tests/pkgs.txt
deleted file mode 100644
index 9c98cc40079..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/pkgs.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-www/ap2-vhost-ldap
-graphics/png
-wip/distbb
-wip/dict-server
diff --git a/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test b/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test
deleted file mode 100755
index 00962ec1663..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env runawk
-
-#use "./pkgsrc-dewey.awk"
-#use "alt_assert.awk"
-
-function check (condition, msg){
- if (!condition){
- print msg
- print "dewey($1)=" __dewey2str($1)
- print "dewey($2)=" __dewey2str($2)
- abort()
- }
-}
-
-{
- cmpres = dewey_cmp($1, $2)
- check($3 == cmpres, ($1 cmpres $2))
- if ($3 == "<"){
- cmpres = dewey_cmp($2, $1)
- check(">" == cmpres, ($2 cmpres $1))
- }
-}
diff --git a/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test.txt b/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test.txt
deleted file mode 100644
index 7116ba28161..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/pkgsrc-dewey-test.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-1 1 =
-1 2 <
-1.1 2.1 <
-1.1 1.2 <
-1.1 1.1.1 <
-1.1alpha1 1.1alpha2 <
-1.1beta3 1.1beta10 <
-1.1alpha3 1.1beta1 <
-1.1beta3 1.1rc1 <
-1.1rc3 1.1pre3 =
-1.1pre3 1.1 <
-1.1 1pl1 =
-1.1 1.1nb1 <
-1.1nb1 1.1nb1 =
-1.1nb1 1.1nb10 <
-1.1nb2 1.1nb10 <
-1.1alpha1 1.1.2 <
-1.1beta3 1.1.2 <
-1.1alpha3 1.1.2 <
-1.1beta3 1.1.2 <
-1.1rc3 1.1.2 <
-1.1pre3 1.1.2 <
-1.1nb3 1.1.2 <
-1.1beta1 1.1BETA1 =
-1.1b 1.1B =
-1.1stable 1.1StAbLe =
-1.1A 1.1.a =
-1.1 1_1 =
-1.stable2.3 1_stable2_3 =
-1a2 1_1_2 =
-1zzz 1.26.26.26 =
-1znb5 1.26nb5 =
-1z 1.26nb5 <
-1.26nb5 1z5 <
-0001.00023.000456 1.23.456 =
-0001beta00023rc000456 1beta23rc456 =
-1.0.4nb1 1.2nb1 <
-1.0.4nb1 1.1nb1 <
-1.1nb1 1.2nb1 <
-22 101 <
-101 202 <
-22 10001 <
-22 1001 <
-1.0alpha1 1.0.0.0alpha1 =
-1.0beta1 1.0.0.0beta1 =
-1.0rc1 1.0.0.0rc1 =
-1.0pre1 1.0.0.0pre1 =
-1.0nb1 1.0.0.0nb1 =
-1.0pl1 1.0.0.0pl1 >
-0.0alpha1 0.0.0.0alpha1 =
-0.0beta1 0.0.0.0beta1 =
-0.0rc1 0.0.0.0rc1 =
-0.0pre1 0.0.0.0pre1 =
-0.0nb1 0.0.0.0nb1 =
-0.0pl1 0.0.0.0pl1 >
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_deps.txt b/pkgtools/pkg_summary-utils/files/tests/src_deps.txt
deleted file mode 100644
index a6ff9c6f174..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_deps.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-devel/gmake textproc/dict-client
-devel/gmake textproc/dict-server
-devel/libjudy devel/libjudy
-devel/libmaa textproc/dict-client
-devel/libmaa textproc/dict-server
-devel/libmaa wip/paexec
-devel/libtool-base devel/libmaa
-devel/libtool-base textproc/dict-client
-devel/libtool-base textproc/dict-server
-devel/libtool-base wip/libuxre
-devel/pipestatus wip/distbb
-devel/pipestatus wip/pkg_online-client
-devel/pipestatus wip/pkg_online-server
-devel/pipestatus wip/pkg_summary-utils
-lang/f2c devel/libtool-base
-net/netcat wip/pkg_online-client
-textproc/dict-client wip/pkg_online-client
-textproc/dict-server wip/pkg_online-server
-textproc/dictem
-wip/awk-pkgsrc-dewey wip/pkg_summary-utils
-wip/heirloom-common wip/heirloom-doc
-wip/heirloom-doc wip/heirloom-awk
-wip/heirloom-doc wip/heirloom-libcommon
-wip/heirloom-libcommon wip/heirloom-awk
-wip/heirloom-libcommon wip/libuxre
-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
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_pkgs.txt b/pkgtools/pkg_summary-utils/files/tests/src_pkgs.txt
deleted file mode 100644
index e9b58b1f9e6..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_pkgs.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-wip/runawk
-textproc/dictem
-wip/libuxre
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary.txt
deleted file mode 100644
index 635ed34430c..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary.txt
+++ /dev/null
@@ -1,254 +0,0 @@
-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= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://mova.org/~cheusov/pub/pkg_online/
-COMMENT=Client/Server search in pkgsrc packages
-MAINTAINER=cheusov@tut.by
-CATEGORIES=pkgtools meta-pkgs
-PKGNAME=pkg_online-0.5.0nb2
-PKGPATH=wip/pkg_online
-DEPENDS=pkg_online-client-[0-9]*:../../wip/pkg_online-client pkg_online-server-[0-9]*:../../wip/pkg_online-server
-
-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
-
-HOMEPAGE=http://www.schlechte-software.de/checkperms/
-COMMENT=Check and correct file permissions
-MAINTAINER=rillig@NetBSD.org
-CATEGORIES=sysutils
-PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-EXFIELD=XVALUE2
-
-PKGNAME=pkg_online-server-0.5.0
-PKGPATH=wip/pkg_online-server
-DEPENDS=dict-server>=1.10.10nb2:../../wip/dict-server pkg_summary-utils>=0.19.0:../../wip/pkg_summary-utils pipestatus-[0-9]*:../../devel/pipestatus
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://mova.org/~cheusov/pub/pkg_online/
-COMMENT=Client/Server search in pkgsrc packages (server tools)
-MAINTAINER=cheusov@tut.by
-CATEGORIES=pkgtools
-
-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=pkg_online-client-0.5.0
-PKGPATH=wip/pkg_online-client
-DEPENDS=dict-client>=1.10.9:../../wip/dict-client pkg_summary-utils-[0-9]*:../../wip/pkg_summary-utils pipestatus-[0-9]*:../../devel/pipestatus netcat-[0-9]*:../../net/netcat
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://mova.org/~cheusov/pub/pkg_online/
-COMMENT=Client/Server search in pkgsrc packages (client tools)
-MAINTAINER=cheusov@tut.by
-CATEGORIES=pkgtools
-
-PKGNAME=libmaa-1.0.1nb1
-PKGPATH=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=Provides a few data structures and helpful functions
-MAINTAINER=cheusov@tut.by
-CATEGORIES=devel
-
-PKGNAME=gmake-3.81
-PKGPATH=devel/gmake
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://www.gnu.org/software/make/make.html
-COMMENT=GNU version of 'make' utility
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=devel
-
-PKGNAME=paexec-0.10.0nb1
-PKGPATH=wip/paexec
-DEPENDS= libmaa>=0.990:../../devel/libmaa
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://sourceforge.net/projects/paexec
-COMMENT=Parallel executor, distributes tasks over network
-MAINTAINER=cheusov@tut.by
-CATEGORIES=parallel
-
-PKGNAME=libtool-base-1.5.24nb6
-PKGPATH=devel/libtool-base
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=glibtool-[0-9]* libtool<=1.3.5nb11
-HOMEPAGE=http://www.gnu.org/software/libtool/libtool.html
-COMMENT=Generic shared library support script (the script itself)
-MAINTAINER=joerg@NetBSD.org
-CATEGORIES=devel pkgtools
-
-PKGNAME=runawk-0.14.3
-PKGPATH=wip/runawk
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://sourceforge.net/projects/runawk
-COMMENT=Wrapper that impelements modules for AWK
-MAINTAINER=cheusov@tut.by
-CATEGORIES=lang devel
-
-PKGNAME=emacs-22.1nb6
-PKGPATH=editors/emacs
-DEPENDS= perl>=5.0:../../lang/perl5 tiff>=3.6.1:../../graphics/tiff jpeg>=6b:../../graphics/jpeg png>=1.2.4:../../graphics/png libungif>=4.1.0.1:../../graphics/libungif libungif>=4.1.0:../../graphics/libungif tiff>=3.7.2nb1:../../graphics/tiff jpeg>=6bnb2:../../graphics/jpeg png>=1.2.9nb2:../../graphics/png libungif>=4.1.3nb1:../../graphics/libungif
-BUILD_DEPENDS= gmake>=3.81:../../devel/gmake pkg-config>=0.19:../../devel/pkg-config x11-links>=0.38:../../pkgtools/x11-links checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=elisp-manual-[0-9]* emacs-[0-9]* emacs-nox11-[0-9]* mule-[0-9]*
-HOMEPAGE=http://www.gnu.org/software/emacs/emacs.html
-COMMENT=GNU editing macros (editor)
-MAINTAINER=markd@NetBSD.org
-CATEGORIES=editors
-
-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
-
-PKGNAME=libungif-4.1.4nb1
-PKGPATH=graphics/libungif
-DEPENDS= perl>=5.0:../../lang/perl5
-BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=giflib-[0-9]*
-HOMEPAGE=http://libungif.sourceforge.net/
-COMMENT=Tools and library routines for working with GIF images
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=graphics
-
-PKGNAME=tiff-3.8.2nb4
-PKGPATH=graphics/tiff
-DEPENDS= jpeg>=6b:../../graphics/jpeg jpeg>=6bnb2:../../graphics/jpeg
-BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://www.remotesensing.org/libtiff/
-COMMENT=Library and tools for reading and writing TIFF data files
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=graphics
-
-PKGNAME=x11-links-0.38
-PKGPATH=pkgtools/x11-links
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
-COMMENT=Shadow tree of links to native X11 headers and libraries
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=pkgtools x11
-
-PKGNAME=perl-5.8.8nb8
-PKGPATH=lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=perl-base-[0-9]* perl-thread-[0-9]* p5-CGI-2.66 p5-CGI-2.75 p5-CGI-2.75.[0-2]
-HOMEPAGE=http://www.perl.org/
-COMMENT=Practical Extraction and Report Language
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=lang devel perl5
-
-PKGNAME=libltdl-1.5.24
-PKGPATH=devel/libltdl
-BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=glibtool-[0-9]* libtool<=1.3.5nb11 libtool-base<=1.5.10nb4
-HOMEPAGE=http://www.gnu.org/software/libtool/libtool.html
-COMMENT=Generic shared library support (libltdl abstraction library)
-MAINTAINER=joerg@NetBSD.org
-CATEGORIES=devel pkgtools
-
-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
-
-PKGNAME=pipestatus-0.4.0
-PKGPATH=devel/pipestatus
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://sourceforge.net/projects/pipestatus/
-COMMENT=UNIX/POSIX shell helper for running pipes safely
-MAINTAINER=cheusov@tut.by
-CATEGORIES=devel
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-PKGPATH=wip/awk-pkgsrc-dewey
-DEPENDS=runawk-[0-9]*:../../wip/runawk
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://www.mova.org/~cheusov/
-COMMENT=Pkgsrc dewey module for AWK programming language
-MAINTAINER=cheusov@tut.by
-CATEGORIES=pkgtools
-
-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=netcat-1.10nb2
-PKGPATH=net/netcat
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://www.securityfocus.com/tools/137
-COMMENT=Read and write data across network connections
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=net
-
-PKGNAME=pkg-config-0.23
-PKGPATH=devel/pkg-config
-BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-CONFLICTS=pkgconfig-[0-9]*
-HOMEPAGE=http://pkgconfig.freedesktop.org/
-COMMENT=System for managing library compile/link flags
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=devel
-
-BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-HOMEPAGE=http://www.ijg.org/
-COMMENT=IJG's jpeg compression utilities
-PKGNAME=jpeg-6bnb4
-PKGPATH=graphics/jpeg
-MAINTAINER=pkgsrc-users@NetBSD.org
-CATEGORIES=graphics
-
-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
-
-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
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary10.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary10.txt
deleted file mode 100644
index 03fdce5c104..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary10.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-PKGNAME=foo
-PKGPATH=pkgtools/foo
-PLIST=file1
-PLIST=file2
-
-PKGNAME=bar
-PKGPATH=pkgtools/bar
-DESCRIPTION=descr1
-DESCRIPTION=descr2
-
-PKGNAME=baz
-PKGPATH=pkgtools/baz
-REQUIRES=requires1
-REQUIRES=requires2
-
-PKGNAME=foobar
-PKGPATH=pkgtools/foobar
-CONFLICTS=package1
-CONFLICTS=package2
-
-PKGNAME=barbaz
-PKGPATH=pkgtools/barbaz
-DEPENDS=depends1
-DEPENDS=depends2
-
-PKGNAME=bazzzz
-PKGPATH=pkgtools/bazzzz
-PROVIDES=provides1
-PROVIDES=provides2
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary11.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary11.txt
deleted file mode 100644
index 84280433f60..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary11.txt
+++ /dev/null
@@ -1,84 +0,0 @@
-PKGNAME=p5-ExtUtils-CBuilder-0.26.03.01
-PKGPATH=devel/p5-ExtUtils-CBuilder
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS={fakepackage-[0-9]*,perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=vorbis-tools-1.2.0nb4
-PKGPATH=audio/vorbis-tools
-DEPENDS=libao-[a-z]*-[0-9]*:../../audio/libao-oss libao>=0.8.4:../../audio/libao
-
-PKGNAME=emacs-23.2nb2
-PKGPATH=editors/emacs
-
-PKGNAME=emacs-22.3nb10
-PKGPATH=editors/emacs22
-
-PKGNAME=perl-5.10.0nb7
-PKGPATH=lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=emacs-21.4anb19
-PKGPATH=editors/emacs21
-
-ASSIGNMENTS=EMACS_TYPE=emacs21
-PKGNAME=dictem-1.0.2nb1
-PKGPATH=textproc/dictem
-DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=21<22:../../editors/emacs21
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=dict-client-1.11.2
-PKGPATH=textproc/dict-client
-DEPENDS= libmaa>=1.2.0:../../devel/libmaa
-BUILD_DEPENDS= libtool-base>=2.2.6bnb3:../../devel/libtool-base gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=libtool-base-2.2.6bnb4
-PKGPATH=devel/libtool-base
-BUILD_DEPENDS= f2c>=20090411nb2:../../lang/f2c checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=checkperms-1.11
-PKGPATH=sysutils/checkperms
-
-PKGNAME=gmake-3.82nb1
-PKGPATH=devel/gmake
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=f2c-20090411nb5
-PKGPATH=lang/f2c
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-ASSIGNMENTS=EMACS_TYPE=emacs20
-PKGNAME=dictem-1.0.2nb1
-PKGPATH=textproc/dictem
-DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=20.7<21:../../editors/emacs20
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGPATH=audio/libao
-PKGNAME=libao-1.0.0
-
-PKGNAME=dictem-1.0.2nb1
-PKGPATH=textproc/dictem
-DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22<23:../../editors/emacs22
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGPATH=devel/libmaa
-PKGNAME=libmaa-1.2.0
-BUILD_DEPENDS= libtool-base>=2.2.6bnb3:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-
-PKGPATH=editors/emacs20
-PKGNAME=emacs-20.7nb14
-BUILD_DEPENDS= gmake>=3.81:../../devel/gmake checkperms>=1.1:../../sysutils/checkperms
-
-ASSIGNMENTS=EMACS_TYPE=emacs23
-PKGNAME=dictem-1.0.2nb1
-PKGPATH=textproc/dictem
-DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=23<24:../../editors/emacs
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=libao-oss-1.0.0
-PKGPATH=audio/libao-oss
-DEPENDS= libao>=0.8.6nb1:../../audio/libao libao>=0.8.4:../../audio/libao libao>=1.0.0:../../audio/libao
-
-PKGNAME=emterm-0.0.0
-PKGPATH=wip/emterm
-DEPENDS= emacs-[0-9]*:../../editors/emacs
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary12.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary12.txt
deleted file mode 100644
index 08d2ef1c7fc..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary12.txt
+++ /dev/null
@@ -1,83 +0,0 @@
-PKGNAME=libtool-1.3.3
-PKGPATH=somewhere/libtool133
-
-PKGNAME=distbb-0.38.2
-PKGPATH=wip/distbb
-DEPENDS=pkg_summary-utils>=0.47.0:../../wip/pkg_summary-utils paexec>=0.15.0:../../wip/paexec runawk>=1.1.0:../../wip/runawk pipestatus>=0.6.0:../../devel/pipestatus digest-[0-9]*:../../pkgtools/digest
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=pkg_status-0.11
-PKGPATH=wip/pkg_status
-DEPENDS=pipestatus-[0-9]*:../../devel/pipestatus pkg_summary-utils>=0.46:../../wip/pkg_summary-utils
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=checkperms-1.11
-PKGPATH=sysutils/checkperms
-
-PKGNAME=pipestatus-0.6.0
-PKGPATH=devel/pipestatus
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=paexec-0.13.0
-PKGPATH=wip/paexec
-DEPENDS=runawk>=0.20.0:../../wip/runawk libmaa>=1.2.0:../../devel/libmaa
-BUILD_DEPENDS=mk-configure>=0.20.0:../../wip/mk-configure checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-PKGPATH=wip/awk-pkgsrc-dewey
-
-PKGNAME=runawk-1.2.0
-PKGPATH=wip/runawk
-BUILD_DEPENDS=mk-configure>=0.20.0:../../wip/mk-configure checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=digest-20080510
-PKGPATH=pkgtools/digest
-
-PKGNAME=pkg_summary-utils-0.49beta2
-PKGPATH=wip/pkg_summary-utils
-CONFLICTS=paexec<0.15.0 awk-pkgsrc-dewey-[0-9]* 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]*
-DEPENDS=runawk>=1.1.0:../../wip/runawk pipestatus-[0-9]*:../../devel/pipestatus
-BUILD_DEPENDS=mk-configure>=0.20.0:../../wip/mk-configure checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=mk-configure-0.19.0
-PKGPATH=wip/mk-configure
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=libmaa-1.2.0
-PKGPATH=devel/libmaa
-BUILD_DEPENDS= libtool-base>=2.2.6bnb3:../../devel/libtool-base checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=pkg_cmp_summary-0.0.1
-PKGPATH=somewhere/pkg_cmp_summary
-
-PKGNAME=pkg_src_update_summary-0.0.2
-PKGPATH=somewhere/pkg_src_update_summary
-
-PKGNAME=pkg_update_summary-0.0.3
-PKGPATH=somewhere/pkg_update_summary
-
-PKGNAME=pkg_summary4view-0.0.4
-PKGPATH=somewhere/pkg_summary4view
-
-PKGNAME=libtool-1.3.4
-PKGPATH=somewhere/libtool
-
-PKGNAME=libtool-1.3.6
-PKGPATH=somewhere/libtool136
-
-PKGNAME=libtool-base-2.2.6bnb4
-PKGPATH=devel/libtool-base
-CONFLICTS=glibtool-[0-9]* libtool<=1.3.5nb11
-BUILD_DEPENDS= f2c>=20090411nb2:../../lang/f2c checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=f2c-20090411nb5
-PKGPATH=lang/f2c
-CONFLICTS=egcs-current-19980608
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=egcs-current-19980608
-PKGPATH=somewhere/egcs-current
-
-PKGNAME=glibtool-1.2.3
-PKGPATH=somewhere/glibtool
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary13.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary13.txt
deleted file mode 100644
index ae0eeabd661..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary13.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-PKGNAME=vorbis-tools-1.2.0nb4
-DEPENDS=libao-[a-z]*-[0-9]*
-DEPENDS=flac>=1.1.3nb1
-DEPENDS=libogg>=1.1.2nb1
-DEPENDS=libao>=1.0.0
-DEPENDS=libvorbis>=1.1.0nb1
-DEPENDS=speex>=1.2rc1
-DEPENDS=curl>=7.19.7nb1
-PKGPATH=audio/vorbis-tools
-
-PKGNAME=libao-oss-1.0.0
-DEPENDS=libao>=1.0.0
-PKGPATH=audio/libao-oss
-
-PKGNAME=libao-alsa-1.0.0
-PKGPATH=audio/libao-alsa
-DEPENDS= alsa-lib>=1.0.18:../../audio/alsa-lib libao>=0.8.6nb1:../../audio/libao libao>=0.8.4:../../audio/libao libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-arts-1.0.0
-PKGPATH=audio/libao-arts
-DEPENDS= arts>=1.1.4nb1:../../audio/arts libao>=0.8.4:../../audio/libao arts>=1.5.8nb1:../../audio/arts libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-esound-1.0.0
-PKGPATH=audio/libao-esound
-DEPENDS= esound>=0.2.18:../../audio/esound libao>=0.8.4:../../audio/libao esound>=0.2.35nb1:../../audio/esound libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-nas-1.0.0
-PKGPATH=audio/libao-nas
-DEPENDS= libXau>=1.0:../../x11/libXau nas>=1.4.2:../../audio/nas libao>=0.8.4:../../audio/libao nas>=1.7bnb2:../../audio/nas libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-oss-1.0.0
-PKGPATH=audio/libao-oss
-DEPENDS= libao>=0.8.6nb1:../../audio/libao libao>=0.8.4:../../audio/libao libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-pulse-1.0.0
-PKGPATH=audio/libao-pulse
-DEPENDS= pulseaudio>=0.9.13:../../audio/pulseaudio libao>=0.8.4:../../audio/libao libao>=1.0.0:../../audio/libao
-
-PKGNAME=libao-1.0.0
-PKGPATH=audio/libao
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary14.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary14.txt
deleted file mode 100644
index 6b196890475..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary14.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-PKGNAME=ruby-1.8.7.302
-PKGPATH=lang/ruby
-
-ASSIGNMENTS=RUBY_VERSION_REQD=19
-PKGNAME=ruby-1.9.2pl0
-PKGPATH=lang/ruby
-
-PKGNAME=php5-zip-5.2.15.1.8.11
-PKGPATH=archivers/php-zip
-
-ASSIGNMENTS=PHP_VERSION_REQD=53
-PKGNAME=php53-zip-5.3.4
-PKGPATH=archivers/php-zip
-
-ASSIGNMENTS=PHP_VERSION_REQD=52
-PKGNAME=php5-zip-5.2.15
-PKGPATH=archivers/php-zip
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary2.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary2.txt
deleted file mode 100644
index 9e94f7c2c47..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary2.txt
+++ /dev/null
@@ -1,81 +0,0 @@
-PKGNAME=perl-5.8.8nb8
-PKGPATH=lang/perl5
-
-PKGNAME=libltdl-1.5.24
-PKGPATH=devel/libltdl
-
-PKGPATH=pkgtools/digest
-PKGNAME=digest-99.99.99
-
-PKGNAME=dict-client-1.10.11nb2
-PKGPATH=wip/dict-client
-BUILD_DEPENDS=libmaa-1.0.1{,nb*}:../../devel/libmaa
-
-PKGNAME=pipestatus-0.5.0
-PKGPATH=devel/pipestatus
-
-PKGNAME=dict-server-1.11.0
-PKGPATH=wip/dict-server
-
-PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-PKGNAME=libungif-4.1.4nb1
-PKGPATH=graphics/libungif
-
-PKGNAME=tiff-3.8.2nb4
-PKGPATH=graphics/tiff
-
-PKGNAME=pkg_online-server-0.5.0
-PKGPATH=wip/pkg_online-server
-
-PKGNAME=dict-client-1.9.15nb2
-PKGPATH=textproc/dict-client
-
-PKGNAME=pkg_online-client-0.5.0
-PKGPATH=wip/pkg_online-client
-DEPENDS=dict-client>=1.10:../../wip/dict-client
-
-PKGNAME=libmaa-1.0.1nb1
-PKGPATH=devel/libmaa
-
-PKGNAME=gmake-3.81
-PKGPATH=devel/gmake
-
-PKGNAME=paexec-0.10.0nb1
-PKGPATH=wip/paexec
-
-PKGNAME=libtool-base-1.5.24nb6
-PKGPATH=devel/libtool-base
-
-PKGNAME=runawk-0.13.0
-PKGPATH=wip/runawk
-
-PKGNAME=emacs-22.1nb6
-PKGPATH=editors/emacs
-
-PKGNAME=pkg_summary-utils-0.18.1
-PKGPATH=wip/pkg_summary-utils
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-PKGPATH=wip/awk-pkgsrc-dewey
-
-PKGNAME=png-1.2.32beta01
-PKGPATH=graphics/png
-
-PKGNAME=pkg-config-0.23
-PKGPATH=devel/pkg-config
-
-PKGNAME=jpeg-6bnb4
-PKGPATH=graphics/jpeg
-
-PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb
-
-PKGPATH=textproc/dictem
-PKGNAME=dictem-0.82
-
-PKGNAME=pkg_online-0.5.0nb2
-PKGPATH=wip/pkg_online
-DEPENDS=pkg_online-client-0.5.0nb2:../../wip/pkg_online-client pkg_online-server-0.5.0nb2:../../wip/pkg_online-server
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary3.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary3.txt
deleted file mode 100644
index 373effca452..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary3.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-ASSIGNMENTS=OPT1=1,OPT2=2
-PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb
-
-PKGPATH=wip/distbb
-PKGNAME=distbb-0.22.0
-ASSIGNMENTS=OPT1=1,OPT2=2
-
-PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb:OPT=1,OPT2=3
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary4.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary4.txt
deleted file mode 100644
index 76f9490d93e..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary4.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-PKGNAME=dictem-1.0.0
-PKGPATH=textproc/dictem
-CVS_CHECKSUM=123
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary5.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary5.txt
deleted file mode 100644
index 08a65dabdd9..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary5.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-PKGNAME=dictem-1.0.0
-PKGPATH=wip/dictem
-CVS_CHECKSUM=345
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary6.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary6.txt
deleted file mode 100644
index 862558da434..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary6.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CVS_CHECKSUM=345
-PKGPATH=textproc/dictem
-PKGNAME=dictem-1.0.0
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary7.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary7.txt
deleted file mode 100644
index fa0a618a8bf..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary7.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-PKGPATH=audio/py-karaoke:PYTHON_VERSION_REQD=26
-PKGNAME=py26-karaoke-0.7.1
-MAINTAINER=pkgsrc-users@NetBSD.org
-DEPENDS=py26-mutagen>=1.9:../../audio/py-mutagen
-
-PKGPATH=audio/py-mutagen:PYTHON_VERSION_REQD=26
-PKGNAME=py26-mutagen-1.15
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGPATH=audio/py-karaoke
-PKGNAME=py24-karaoke-0.7.1
-MAINTAINER=pkgsrc-users@NetBSD.org
-DEPENDS=py24-mutagen>=1.9:../../audio/py-mutagen
-ASSIGNMENTS=PYTHON_VERSION_REQD=24
-
-ASSIGNMENTS=PYTHON_VERSION_REQD=24
-PKGPATH=audio/py-mutagen
-PKGNAME=py24-mutagen-1.15
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGPATH=audio/py-karaoke
-PKGNAME=py25-karaoke-0.7.1
-MAINTAINER=pkgsrc-users@NetBSD.org
-DEPENDS=py25-mutagen>=1.9:../../audio/py-mutagen
-
-PKGPATH=audio/py-mutagen
-PKGNAME=py25-mutagen-1.15
-MAINTAINER=pkgsrc-users@NetBSD.org
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary8.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary8.txt
deleted file mode 100644
index d606e738550..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary8.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-PKGNAME=p5-ExtUtils-CBuilder-0.26.03.01
-PKGPATH=devel/p5-ExtUtils-CBuilder
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS={perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Module-Build-0.35000
-PKGPATH=devel/p5-Module-Build
-DEPENDS=p5-Archive-Tar>=1.08:../../archivers/p5-Archive-Tar p5-ExtUtils-ParseXS>=1.02:../../devel/p5-ExtUtils-ParseXS p5-ExtUtils-CBuilder>=0.15:../../devel/p5-ExtUtils-CBuilder p5-Pod-Readme>=0.04:../../textproc/p5-Pod-Readme p5-version>=0.74:../../devel/p5-version perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS=p5-YAML>=0.50:../../textproc/p5-YAML perl>=5.10.0:../../lang/perl5 checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-PKGNAME=perl-5.10.0nb7
-PKGPATH=lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Archive-Tar-1.54
-PKGPATH=archivers/p5-Archive-Tar
-DEPENDS=p5-IO-Zlib>=1.01:../../devel/p5-IO-Zlib p5-IO-Compress>=2.017:../../devel/p5-IO-Compress p5-IO-String-[0-9]*:../../devel/p5-IO-String p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms checkperms-[0-9]*:../../sysutils/checkperms checkperms>=1.0:../../sysutils/checkperms
-
-PKGNAME=p5-ExtUtils-ParseXS-2.20.04.01
-PKGPATH=devel/p5-ExtUtils-ParseXS
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS={perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-YAML-0.70
-PKGPATH=textproc/p5-YAML
-DEPENDS=p5-Filter-[0-9]*:../../textproc/p5-Filter perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Pod-Readme-0.09
-PKGPATH=textproc/p5-Pod-Readme
-DEPENDS=p5-Regexp-Common>=0:../../textproc/p5-Regexp-Common perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-version-0.7702
-PKGPATH=devel/p5-version
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS={perl>=5.10,p5-Module-Build>=0.2608nb1}:../../devel/p5-Module-Build checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-IO-String-1.08nb1
-PKGPATH=devel/p5-IO-String
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Text-Diff-1.37
-PKGPATH=textproc/p5-Text-Diff
-DEPENDS=p5-Algorithm-Diff>=1.19:../../devel/p5-Algorithm-Diff perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Regexp-Common-2.122nb1
-PKGPATH=textproc/p5-Regexp-Common
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Filter-1.37
-PKGPATH=textproc/p5-Filter
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-IO-Compress-2.021
-PKGPATH=devel/p5-IO-Compress
-DEPENDS=p5-Compress-Raw-Zlib>=2.021:../../devel/p5-Compress-Raw-Zlib p5-Compress-Raw-Bzip2>=2.021:../../devel/p5-Compress-Raw-Bzip2 perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-IO-Zlib-1.10
-PKGPATH=devel/p5-IO-Zlib
-DEPENDS=p5-IO-Compress>=2.017:../../devel/p5-IO-Compress perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Compress-Raw-Bzip2-2.021
-PKGPATH=devel/p5-Compress-Raw-Bzip2
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Algorithm-Diff-1.1902nb1
-PKGPATH=devel/p5-Algorithm-Diff
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
-PKGNAME=p5-Compress-Raw-Zlib-2.021
-PKGPATH=devel/p5-Compress-Raw-Zlib
-DEPENDS= perl>=5.10.0:../../lang/perl5 perl<5.12.0:../../lang/perl5
-BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/src_summary9.txt b/pkgtools/pkg_summary-utils/files/tests/src_summary9.txt
deleted file mode 100644
index 2e7a7160d1a..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/src_summary9.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-PKGNAME=distbb-0.38.2
-PKGPATH=wip/distbb
-COMMENT=DISTributed Bulk Build tool for pkgsrc
-DEPENDS=pkg_summary-utils>=0.47.0:../../wip/pkg_summary-utils paexec>=0.15.0:../../wip/paexec runawk>=1.1.0:../../wip/runawk pipestatus>=0.6.0:../../devel/pipestatus digest-[0-9]*:../../pkgtools/digest
-
-PKGNAME=pkg_status-0.11
-PKGPATH=wip/pkg_status
-COMMENT=Shows status of installed packages
-DEPENDS=pipestatus-[0-9]*:../../devel/pipestatus pkg_summary-utils>=0.46:../../wip/pkg_summary-utils
-
-PKGNAME=pkgnih-0.0.1
-PKGPATH=wip/pkgnih
-COMMENT=Package manager for PkgSrc
-DEPENDS=pipestatus-[0-9]*:../../devel/pipestatus pkg_summary-utils>=0.49beta2:../../wip/pkg_summary-utils pkg_status>=0.11:../../wip/pkg_status
-
-PKGNAME=paexec-0.14.0
-PKGPATH=wip/paexec
-COMMENT=Distributes tasks over network or CPUs
-DEPENDS=runawk>=0.20.0:../../wip/runawk libmaa>=1.2.0:../../devel/libmaa
-
-PKGNAME=runawk-0.21beta1
-PKGPATH=wip/runawk
-COMMENT=AWK wrapper that provides support for modules
-
-PKGNAME=digest-20080510
-PKGPATH=pkgtools/digest
-COMMENT=Message digest wrapper utility
-
-PKGNAME=pipestatus-0.5.0
-PKGPATH=devel/pipestatus
-COMMENT=UNIX/POSIX shell helper for running pipes safely
-
-PKGNAME=pkg_summary-utils-0.45
-PKGPATH=wip/pkg_summary-utils
-COMMENT=Utilities for manipulating pkg_summary(5) files
-DEPENDS=runawk>=1.1.0:../../wip/runawk pipestatus-[0-9]*:../../devel/pipestatus
-
-PKGNAME=libmaa-1.0.0
-PKGPATH=devel/libmaa
-COMMENT=General purpose data structures and functions
-
-PKGNAME=dictem-1.0.2nb1
-DEPENDS=dict-client>=1.9.14:../../textproc/dict-client emacs>=22<23:../../editors/emacs22
-PKGPATH=textproc/dictem
-CONFLICTS=xemacs-dictem-[0-9]*
-
-PKGNAME=emacs-23.2nb2
-DEPENDS= dbus>=0.91:../../sysutils/dbus librsvg>=2.12.6nb1:../../graphics/librsvg gtk2+>=2.4.0:../../x11/gtk2 libXft>=2.1.10:../../x11/libXft fontconfig>=2.4.2:../../fonts/fontconfig fontconfig>=2.1nb2:../../fonts/fontconfig freetype2>=2.1.8:../../graphics/freetype2 freetype2>=2.1.3:../../graphics/freetype2 png>=1.2.4:../../graphics/png jpeg>=8nb1:../../graphics/jpeg tiff>=3.6.1:../../graphics/tiff libungif>=4.1.0:../../graphics/libungif libSM>=0.99.2:../../x11/libSM libXpm>=3.5.4.2:../../x11/libXpm libotf>=0.9.7:../../graphics/libotf m17n-lib>=1.5.1:../../devel/m17n-lib hicolor-icon-theme>=0.4:../../graphics/hicolor-icon-theme desktop-file-utils>=0.8:../../sysutils/desktop-file-utils librsvg>=2.26.3nb2:../../graphics/librsvg gtk2+>=2.20.1nb2:../../x11/gtk2 freetype2>=2.1.10nb1:../../graphics/freetype2 png>=1.4.2:../../graphics/png jpeg>=8nb1:../../graphics/jpeg tiff>=3.9.2nb1:../../graphics/tiff libungif>=4.1.3nb1:../../graphics/libungif m17n-lib>=1.6.1:../../devel/m17n-lib hicolor-icon-theme>=0.9nb1:../../graphics/hicolor-icon-theme desktop-file-utils>=0.10nb1:../../sysutils/desktop-file-utils
-PKGPATH=editors/emacs
-CONFLICTS=emacs-nox11-[0-9]* emacs-nox11-[0-9]*
-
-PKGNAME=emacs-21.4anb19
-DEPENDS= perl>=5.0:../../lang/perl5 jpeg>=8nb1:../../graphics/jpeg tiff>=3.6.1:../../graphics/tiff png>=1.2.4:../../graphics/png libXpm>=3.5.4.2:../../x11/libXpm libungif>=4.1.0.1:../../graphics/libungif libungif>=4.1.0:../../graphics/libungif libXaw>=1.0.5:../../x11/libXaw jpeg>=8nb1:../../graphics/jpeg tiff>=3.9.2nb1:../../graphics/tiff png>=1.4.2:../../graphics/png libungif>=4.1.3nb1:../../graphics/libungif
-PKGPATH=editors/emacs21
-CONFLICTS=mule-[0-9]*
-
-PKGNAME=emacs-22.3nb10
-DEPENDS= perl>=5.0:../../lang/perl5 jpeg>=8nb1:../../graphics/jpeg tiff>=3.6.1:../../graphics/tiff png>=1.2.4:../../graphics/png libXpm>=3.5.4.2:../../x11/libXpm libungif>=4.1.0.1:../../graphics/libungif libungif>=4.1.0:../../graphics/libungif libXaw>=1.0.5:../../x11/libXaw jpeg>=8nb1:../../graphics/jpeg tiff>=3.9.2nb1:../../graphics/tiff png>=1.4.2:../../graphics/png libungif>=4.1.3nb1:../../graphics/libungif
-PKGPATH=editors/emacs22
-CONFLICTS=elisp-manual-[0-9]* emacs-[0-9]* emacs-nox11-[0-9]* mule-[0-9]*
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/summary1.txt b/pkgtools/pkg_summary-utils/files/tests/summary1.txt
deleted file mode 100644
index 1be72aa64f7..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/summary1.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-DEPENDS= foo>10.0 bar-[0-9]*
-BUILD_DEPENDS= foo>10.0
-PKGNAME=baz-1.2.3
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/summary2.txt b/pkgtools/pkg_summary-utils/files/tests/summary2.txt
deleted file mode 100644
index 980c8f75d8e..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/summary2.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-DEPENDS= foo>10.0
-BUILD_DEPENDS= bar-[0-9]*
-PKGNAME=baz-1.2.3
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/summary3.txt b/pkgtools/pkg_summary-utils/files/tests/summary3.txt
deleted file mode 100644
index 8c3fbe27613..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/summary3.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-DEPENDS= bar-[0-9]* foo>10.0 foo>10.0 bar-[0-9]* foo>10.0
-BUILD_DEPENDS= foo>10.0 bar-[0-9]*
-PKGNAME=baz-1.2.3
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/summary4.txt b/pkgtools/pkg_summary-utils/files/tests/summary4.txt
deleted file mode 100644
index be807a4440f..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/summary4.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-BUILD_DEPENDS= bar-[0-9]* foo>10.0
-PKGNAME=baz-1.2.3
-
diff --git a/pkgtools/pkg_summary-utils/files/tests/test.sh b/pkgtools/pkg_summary-utils/files/tests/test.sh
deleted file mode 100755
index afe02949163..00000000000
--- a/pkgtools/pkg_summary-utils/files/tests/test.sh
+++ /dev/null
@@ -1,3655 +0,0 @@
-#!/bin/sh
-
-LC_ALL=C
-export LC_ALL
-
-DIFF_PROG=${DIFF_PROG-diff -U20}
-
-#
-srcdir="`pwd`/.."
-if test "$OBJDIR"; then
- objdir=${OBJDIR}
-else
- objdir='.'
-fi
-
-#
-if test -z "$BMAKE"; then
- BMAKE=/usr/bin/make
-fi
-
-AWKPATH="$srcdir:$OBJDIR"
-PATH=$OBJDIR:$PATH
-
-PSS_MKSCRIPTSDIR="${srcdir}"
-LIBEXECDIR="${OBJDIR}"
-
-export BMAKE AWKPATH PATH PSS_MKSCRIPTSDIR AWKPATH LIBEXECDIR
-
-#
-print_args (){
- for i in "$@"; do
- printf " '%s'" "$i"
- done
-}
-
-runtest (){
- prog="$objdir/$1"
- shift
-
- "$prog" "$@" 2>&1
-}
-
-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
-}
-
-# pkgsrc-dewey.awk
-AWKPATH=`pwd`/.. ./pkgsrc-dewey-test < ./pkgsrc-dewey-test.txt 2>&1 |
-cmp 'pkgsrc-dewey.awk' ''
-
-# pkg_summary2leaves
-pkg_summary2leaves -p bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #1' \
-'textproc/dict-client
-textproc/dict-server
-wip/distbb
-wip/mk-configure
-wip/pkg_status
-wip/pkgnih
-'
-
-pkg_summary2leaves -pv bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #2' \
-'devel/libmaa
-devel/pipestatus
-pkgtools/digest
-wip/paexec
-wip/pkg_summary-utils
-wip/runawk
-'
-
-pkg_summary2leaves -pa bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #3' \
-'wip/distbb
-wip/mk-configure
-wip/pkg_status
-'
-
-pkg_summary2leaves -pva bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #4' \
-'devel/libmaa
-devel/pipestatus
-pkgtools/digest
-textproc/dict-client
-textproc/dict-server
-wip/paexec
-wip/pkg_summary-utils
-wip/pkgnih
-wip/runawk
-'
-
-pkg_summary2leaves -pr bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #5' \
-'pkgtools/digest
-wip/distbb
-wip/mk-configure
-wip/paexec
-wip/pkg_status
-wip/pkg_summary-utils
-wip/runawk
-'
-
-pkg_summary2leaves -prv bin_summary2.txt | sort |
-cmp 'pkg_summary2leaves #6' \
-'devel/libmaa
-devel/pipestatus
-textproc/dict-client
-textproc/dict-server
-wip/pkgnih
-'
-
-pkg_summary2leaves -a bin_summary2.txt |
-cmp 'pkg_summary2leaves #7' \
-'PKGPATH=wip/distbb
-PKGNAME=distbb-0.38.1
-DEPENDS=pkg_summary-utils>=0.43.1
-DEPENDS=paexec>=0.15.0
-DEPENDS=runawk>=1.1.0
-DEPENDS=pipestatus>=0.6.0
-DEPENDS=digest-[0-9]*
-automatic=yes
-
-PKGPATH=wip/pkg_status
-PKGNAME=pkg_status-0.11
-DEPENDS=pipestatus-[0-9]*
-DEPENDS=pkg_summary-utils>=0.46
-automatic=yes
-
-PKGPATH=wip/mk-configure
-PKGNAME=mk-configure-0.21.0
-automatic=yes
-
-'
-
-# pkg_grep_summary
-runtest pkg_grep_summary -f 'COMMENT PKGNAME PKGPATH DEPENDS' -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
-COMMENT=DISTributed Bulk Build tool for pkgsrc
-
-'
-
-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 |
-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|---' |
-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 -fPKGNAME -e EXFIELD < src_summary.txt | \
-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 -f PKGNAME -t empty EXFIELD '' < src_summary.txt | \
-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 \
- -fPKGNAME,PKGPATH,COMMENT,MAINTAINER < src_summary.txt |
-cmp 'pkg_grep_summary #9' \
-'PKGNAME=png-1.2.32beta01
-PKGPATH=graphics/png
-COMMENT=Library for manipulating PNG images
-MAINTAINER=wiz@NetBSD.org
-
-'
-
-runtest pkg_grep_summary -s PKGPATHe www/ap22-vhost-ldap:PKG_APACHE=apache22 \
- -f PKGNAME,PKGPATH,COMMENT,MAINTAINER,ASSIGNMENTS < src_summary.txt |
-cmp 'pkg_grep_summary #10' \
-'PKGNAME=ap22-vhost-ldap-1.2.0nb1
-ASSIGNMENTS=PKG_APACHE=apache22
-COMMENT=Apache 2.2 module LDAP Virtual Hosts support
-MAINTAINER=imil@gcu.info
-PKGPATH=www/ap22-vhost-ldap
-
-'
-
-runtest pkg_grep_summary -s PKGPATHe www/ap2-vhost-ldap:PKG_APACHE=apache2 \
- -f'PKGNAME PKGPATH COMMENT MAINTAINER ASSIGNMENTS' < src_summary.txt |
-cmp 'pkg_grep_summary #11' \
-'PKGNAME=ap2-vhost-ldap-1.2.0nb1
-PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2
-COMMENT=Apache 2 module LDAP Virtual Hosts support
-MAINTAINER=imil@gcu.info
-
-'
-
-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 -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 |
-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 |
-cmp 'pkg_grep_summary #20' \
-''
-
-runtest pkg_grep_summary -t substring DEPENDS pkg_online-server < src_summary.txt |
- 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 |
-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 |
-cmp 'pkg_grep_summary #23' \
-''
-
-runtest pkg_grep_summary -t last PKGBASE client < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #25' \
-''
-
-runtest pkg_grep_summary -t exact PKGBASE dictem < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #27' \
-''
-
-runtest pkg_grep_summary -t prefix PKGBASE awk < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #29' \
-''
-
-runtest pkg_grep_summary -t suffix PKGBASE ldap < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #31' \
-''
-
-runtest pkg_grep_summary -t word PKGBASE dict < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #33' \
-''
-
-runtest pkg_grep_summary -t word PKGBASE ldap < src_summary.txt |
- 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 |
-cmp 'pkg_grep_summary #35' \
-''
-
-runtest pkg_grep_summary -t word PKGBASE nis < src_summary.txt |
- 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 |
-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 |
-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 |
-cmp 'pkg_grep_summary #39' \
-'PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-'
-
-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)=|^$|^--' |
-cmp 'pkg_grep_summary #46' \
-'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
-
-'
-
-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 -fPKGNAME,PKGPATH,MAINTAINER,COMMENT \
- -v -t re MAINTAINER 'cheusov|vle@gmx[.]net' \
- < src_summary.txt |
-cmp 'pkg_grep_summary #49' \
-'COMMENT=Check and correct file permissions
-MAINTAINER=rillig@NetBSD.org
-PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-PKGNAME=dict-client-1.9.15nb2
-PKGPATH=textproc/dict-client
-COMMENT=Dictionary Service Protocol client
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=gmake-3.81
-PKGPATH=devel/gmake
-COMMENT=GNU version of '"'"'make'"'"' utility
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=libtool-base-1.5.24nb6
-PKGPATH=devel/libtool-base
-COMMENT=Generic shared library support script (the script itself)
-MAINTAINER=joerg@NetBSD.org
-
-PKGNAME=emacs-22.1nb6
-PKGPATH=editors/emacs
-COMMENT=GNU editing macros (editor)
-MAINTAINER=markd@NetBSD.org
-
-PKGNAME=libungif-4.1.4nb1
-PKGPATH=graphics/libungif
-COMMENT=Tools and library routines for working with GIF images
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=tiff-3.8.2nb4
-PKGPATH=graphics/tiff
-COMMENT=Library and tools for reading and writing TIFF data files
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=x11-links-0.38
-PKGPATH=pkgtools/x11-links
-COMMENT=Shadow tree of links to native X11 headers and libraries
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=perl-5.8.8nb8
-PKGPATH=lang/perl5
-COMMENT=Practical Extraction and Report Language
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=libltdl-1.5.24
-PKGPATH=devel/libltdl
-COMMENT=Generic shared library support (libltdl abstraction library)
-MAINTAINER=joerg@NetBSD.org
-
-PKGNAME=png-1.2.32beta01
-PKGPATH=graphics/png
-COMMENT=Library for manipulating PNG images
-MAINTAINER=wiz@NetBSD.org
-
-PKGNAME=netcat-1.10nb2
-PKGPATH=net/netcat
-COMMENT=Read and write data across network connections
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=pkg-config-0.23
-PKGPATH=devel/pkg-config
-COMMENT=System for managing library compile/link flags
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-COMMENT=IJG'"'"'s jpeg compression utilities
-PKGNAME=jpeg-6bnb4
-PKGPATH=graphics/jpeg
-MAINTAINER=pkgsrc-users@NetBSD.org
-
-PKGNAME=ap22-vhost-ldap-1.2.0nb1
-COMMENT=Apache 2.2 module LDAP Virtual Hosts support
-MAINTAINER=imil@gcu.info
-PKGPATH=www/ap22-vhost-ldap
-
-PKGNAME=ap2-vhost-ldap-1.2.0nb1
-PKGPATH=www/ap2-vhost-ldap:PKG_APACHE=apache2
-COMMENT=Apache 2 module LDAP Virtual Hosts support
-MAINTAINER=imil@gcu.info
-
-'
-
-runtest pkg_grep_summary -fPKGNAME,PKGPATH \
- -s PKGPAIR 'wip/dict-server,dict-server' < src_summary.txt |
-cmp 'pkg_grep_summary #50' \
-'PKGNAME=dict-server-1.10.11nb2
-PKGPATH=wip/dict-server
-
-'
-
-runtest pkg_grep_summary -fPKGNAME,PKGPATH \
- -s PKGPABA 'sysutils/checkperms,checkperms' < src_summary.txt |
-cmp 'pkg_grep_summary #50.1' \
-'PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-'
-
-runtest pkg_grep_summary -fPKGNAME,PKGPATH \
- -s PKGPANA 'wip/dict-server,dict-server-1.10.11nb2' < src_summary.txt |
-cmp 'pkg_grep_summary #50.2' \
-'PKGNAME=dict-server-1.10.11nb2
-PKGPATH=wip/dict-server
-
-'
-
-{
-if runtest pkg_grep_summary -r -fPKGNAME,PKGPATH \
- -s PKGPAIR 'foo-bar-baz' < src_summary.txt
-then
- echo found
-else
- echo not found
-fi
-} |
-cmp 'pkg_grep_summary #51' \
-'not found
-'
-
-{
-if runtest pkg_grep_summary -R -fPKGNAME,PKGPATH \
- -s PKGPAIR 'foo-bar-baz' < src_summary.txt 2>&1
-then
- echo found
-else
- echo not found
-fi
-} |
-cmp 'pkg_grep_summary #52' \
-'No matches found
-not found
-'
-
-runtest pkg_grep_summary -T |
-cmp 'pkg_grep_summary #53' \
-'exact prefix suffix substring word first last re strfile strlist awk empty kw
-'
-
-runtest pkg_grep_summary -T -T |
-cmp 'pkg_grep_summary #54' \
-'exact Match exactly
-prefix Match prefixes
-suffix Match suffixes
-substring Match substring
-word Match separate words
-first Match the first word
-last Match the last word
-re POSIX 1003.2 (modern) regular expressions
-strfile Match the words from file
-strlist Match the specified words
-awk Match using AWK expression
-empty Match an empty string
-kw "keyword" match
-'
-
-runtest pkg_grep_summary -i -fPKGNAME,PKGPATH \
- -s PKGPAIR 'WIP/DICT-SERVER,DICT-SERVER' < src_summary.txt |
-cmp 'pkg_grep_summary #55' \
-'PKGNAME=dict-server-1.10.11nb2
-PKGPATH=wip/dict-server
-
-'
-
-runtest pkg_grep_summary -fPKGNAME,PKGPATH \
- -i -t re DEPENDS 'perl.*p5-Digest' < bin_summary4.txt |
-cmp 'pkg_grep_summary #56' \
-'PKGNAME=p5-Catalyst-Plugin-Session-0.30nb1
-PKGPATH=www/p5-Catalyst-Plugin-Session
-
-PKGNAME=p5-DBIx-Class-EncodedColumn-0.00010
-PKGPATH=databases/p5-DBIx-Class-EncodedColumn
-
-'
-
-runtest pkg_grep_summary -fPKGNAME,PKGPATH \
- -i -t re PKGPATH '^WIP/' < src_summary.txt |
-cmp 'pkg_grep_summary #57' \
-'PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb
-
-PKGNAME=pkg_online-0.5.0nb2
-PKGPATH=wip/pkg_online
-
-PKGNAME=dict-server-1.10.11nb2
-PKGPATH=wip/dict-server
-
-PKGNAME=pkg_online-server-0.5.0
-PKGPATH=wip/pkg_online-server
-
-PKGNAME=pkg_online-client-0.5.0
-PKGPATH=wip/pkg_online-client
-
-PKGNAME=paexec-0.10.0nb1
-PKGPATH=wip/paexec
-
-PKGNAME=runawk-0.14.3
-PKGPATH=wip/runawk
-
-PKGNAME=pkg_summary-utils-0.18.1
-PKGPATH=wip/pkg_summary-utils
-
-PKGNAME=dict-client-1.10.11nb2
-PKGPATH=wip/dict-client
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-PKGPATH=wip/awk-pkgsrc-dewey
-
-'
-
-# pkg_list_all_pkgs
-env pkg_list_all_pkgs |
-awk '
-END {
- if (NR > 7000) {
- print "XXXX"
- }else{
- print "failure"
- }
-}' |
-cmp 'pkg_list_all_pkgs #1' \
-'XXXX
-'
-
-normalize_version (){
- awk '
- /^PKGNAME=/ {
- gsub(/(nb|alpha|beta|pre|rc|pl)[0-9]+$/, "")
- gsub(/[a-zA-Z]$/, "")
- gsub(/-[^-]*$/, "-X")
- }
- { print $0 }' "$@"
-}
-
-
-
-# pkg_refresh_summary
-pkg_refresh_summary src_summary.txt src_summary2.txt |
-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
-'
-
-pkg_refresh_summary -o src_summary.txt src_summary2.txt |
-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
-pkg_grep_summary -s PKGPATH 'wip/pkg_summary-utils' \
- < 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
-
-'
-
-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_uniq_summary
-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 -n src_summary.txt | grep -E '^(PKGNAME=|PKGPATH=)|^$' |
-cmp 'pkg_uniq_summary #4' \
-'PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb
-
-PKGPATH=textproc/dictem
-PKGNAME=dictem-0.82
-
-PKGNAME=pkg_online-0.5.0nb2
-PKGPATH=wip/pkg_online
-
-PKGNAME=dict-server-1.10.11nb2
-PKGPATH=wip/dict-server
-
-PKGNAME=checkperms-1.10
-PKGPATH=sysutils/checkperms
-
-PKGNAME=pkg_online-server-0.5.0
-PKGPATH=wip/pkg_online-server
-
-PKGNAME=dict-client-1.9.15nb2
-PKGPATH=textproc/dict-client
-
-PKGNAME=pkg_online-client-0.5.0
-PKGPATH=wip/pkg_online-client
-
-PKGNAME=libmaa-1.0.1nb1
-PKGPATH=devel/libmaa
-
-PKGNAME=gmake-3.81
-PKGPATH=devel/gmake
-
-PKGNAME=paexec-0.10.0nb1
-PKGPATH=wip/paexec
-
-PKGNAME=libtool-base-1.5.24nb6
-PKGPATH=devel/libtool-base
-
-PKGNAME=runawk-0.14.3
-PKGPATH=wip/runawk
-
-PKGNAME=emacs-22.1nb6
-PKGPATH=editors/emacs
-
-PKGNAME=pkg_summary-utils-0.18.1
-PKGPATH=wip/pkg_summary-utils
-
-PKGNAME=libungif-4.1.4nb1
-PKGPATH=graphics/libungif
-
-PKGNAME=tiff-3.8.2nb4
-PKGPATH=graphics/tiff
-
-PKGNAME=x11-links-0.38
-PKGPATH=pkgtools/x11-links
-
-PKGNAME=perl-5.8.8nb8
-PKGPATH=lang/perl5
-
-PKGNAME=libltdl-1.5.24
-PKGPATH=devel/libltdl
-
-PKGNAME=pipestatus-0.4.0
-PKGPATH=devel/pipestatus
-
-PKGNAME=awk-pkgsrc-dewey-0.5.6
-PKGPATH=wip/awk-pkgsrc-dewey
-
-PKGNAME=png-1.2.32beta01
-PKGPATH=graphics/png
-
-PKGNAME=netcat-1.10nb2
-PKGPATH=net/netcat
-
-PKGNAME=pkg-config-0.23
-PKGPATH=devel/pkg-config
-
-PKGNAME=jpeg-6bnb4
-PKGPATH=graphics/jpeg
-
-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
-
-'
-
-pkg_uniq_summary -n src_summary3.txt |
-cmp 'pkg_uniq_summary #5' \
-'ASSIGNMENTS=OPT1=1,OPT2=2
-PKGNAME=distbb-0.22.0
-PKGPATH=wip/distbb
-
-'
-
-
-
-
-# pkg_src_summary
-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=libtool-base-X
-PKGPATH=devel/libtool-base
-
-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=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
-
-'
-
-grep_pss_stderr (){
- grep -E 'Bad package| ----------' "$@"
-}
-
-grep_pss_stderr "$tmpfn4" |
-cmp 'pkg_src_summary #1 stderr' \
-" ------------------
-Bad package wip/pkg_online, skipped
- ------------------
-Bad package wip/dict-server, skipped
- ------------------
-Bad package wip/paexec, skipped
- ------------------
-Bad package wip/runawk, skipped
- ------------------
-Bad package wip/dict-client, skipped
- ------------------
-Bad package wip/awk-pkgsrc-dewey, skipped
- ------------------
-Bad package www/ap2-vhost-ldap:PKG_APACHE=apache2, skipped
-"
-
-pkg_src_summary -m -fPKGNAME,PKGPATH www/ap2-python |
-grep -v DEPENDS |
-cmp 'pkg_src_summary #2' \
-'ASSIGNMENTS=PKG_APACHE=apache2,PYTHON_VERSION_REQD=27
-PKGNAME=ap2-py27-python-3.3.1
-PKGPATH=www/ap2-python
-
-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
-
-ASSIGNMENTS=PYTHON_VERSION_REQD=27
-PKGNAME=ap22-py27-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 -m --fields PKGNAME,PKGPATH www/ap2-python:PKG_APACHE=apache2 |
-grep -v DEPENDS |
-cmp 'pkg_src_summary #3' \
-'ASSIGNMENTS=PYTHON_VERSION_REQD=27
-PKGNAME=ap22-py27-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 -m --fields='PKGNAME PKGPATH' www/ap2-python:PYTHON_VERSION_REQD=25 |
-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
-
-'
-
-pkg_src_summary -m -f'PKGNAME PKGPATH' \
- www/ap2-python:PYTHON_VERSION_REQD=25,PKG_APACHE=apache22 |
-grep -v DEPENDS |
-cmp 'pkg_src_summary #5' \
-'ASSIGNMENTS=PYTHON_VERSION_REQD=25
-PKGNAME=ap22-py25-python-3.3.1
-PKGPATH=www/ap2-python
-
-'
-
-
-normalize_python_deps (){
- awk '
-sub(/^DEPENDS=/, "FAKED_PKGPATH= ") {
- for (i=2; i <= NF; ++i){
- if ($i ~ /py/){
- sub(/^[^:]*:([.][.]\/[.][.]\/)?/, "", $i)
- if (i && $i == $(i-1))
- $i = ""
- }else{
- $i = ""
- }
- }
- gsub(/ +/, " ")
-}
-/^BUILD_DEPENDS=/ {
- next
-}
-{
- print
-}
-' "$@"
-}
-
-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 |
-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
-
-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 |
-cmp 'pkg_src_summary #7' \
-'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=
-
-'
-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 |
-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
-pkg_assignments2pkgpath -h 2>&1 |
-grep pkg_assignments2pkgpath |
-cmp 'pkg_assignments2pkgpath #1' \
-'pkg_assignments2pkgpath - makes an ASSIGNMENTS section a part of PKGPATH
-usage: pkg_assignments2pkgpath -h\n\
- pkg_assignments2pkgpath [OPTIONS] [files...]
-'
-
-# pkg_src_fetch_var
-echo x11/xxkb | pkg_src_fetch_var -f 'PKGNAME PKGPATH MAINTAINER' |
-normalize_version |
-cmp 'pkg_src_fetch_var #1' \
-'+ xxkb-1.11 x11/xxkb vle@gmx.net
-'
-
-echo x11/xxkb | pkg_src_fetch_var -v'PKGNAME PKGPATH MAINTAINER' |
-normalize_version |
-cmp 'pkg_src_fetch_var #2' \
-'+ xxkb-1.11 x11/xxkb vle@gmx.net
-'
-
-# pkg_micro_src_summary
-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=libtool-base-X
-PKGPATH=devel/libtool-base
-
-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=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
-
-'
-
-grep_pss_stderr "$tmpfn4" |
-cmp 'pkg_micro_src_summary #1 stderr' \
-" ------------------
-Bad package wip/pkg_online, skipped
- ------------------
-Bad package wip/dict-server, skipped
- ------------------
-Bad package wip/paexec, skipped
- ------------------
-Bad package wip/runawk, skipped
- ------------------
-Bad package wip/dict-client, skipped
- ------------------
-Bad package wip/awk-pkgsrc-dewey, skipped
- ------------------
-Bad package www/ap2-vhost-ldap:PKG_APACHE=apache2, skipped
-"
-
-pkg_micro_src_summary -f PKGNAME,PKGPATH,MAINTAINER x11/xxkb |
-normalize_version |
-cmp 'pkg_micro_src_summary #2' \
-'PKGNAME=xxkb-X
-PKGPATH=x11/xxkb
-MAINTAINER=vle@gmx.net
-
-'
-
-pkg_micro_src_summary -fPKGNAME,PKGPATH,MAINTAINER x11/xxkb |
-normalize_version |
-cmp 'pkg_micro_src_summary #3' \
-'PKGNAME=xxkb-X
-PKGPATH=x11/xxkb
-MAINTAINER=vle@gmx.net
-
-'
-
-# pkg_cmp_summary
-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 -e src_summary.txt src_summary2.txt | sort -k2,2 |
-cmp '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
-= dict-client 1.10.11nb2
-= dict-client 1.9.15nb2
-< 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:PKG_APACHE=apache22 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 -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_APACHE=apache22
-'
-
-pkg_cmp_summary -p "$objdir"/summary_micro.txt "$objdir"/summary_full.txt |
-grep -v '^=' |
-cmp 'pkg_cmp_summary #10' \
-''
-
-pkg_cmp_summary -d summary1.txt summary2.txt |
-cmp 'pkg_cmp_summary #11' \
-'! baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -d summary2.txt summary1.txt |
-cmp 'pkg_cmp_summary #12' \
-'! baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -d summary1.txt summary4.txt |
-cmp 'pkg_cmp_summary #13' \
-'! baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -d summary4.txt summary1.txt |
-cmp 'pkg_cmp_summary #14' \
-'! baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -d summary1.txt summary3.txt |
-cmp 'pkg_cmp_summary #15' \
-'= baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -d summary3.txt summary1.txt |
-cmp 'pkg_cmp_summary #16' \
-'= baz 1.2.3 1.2.3
-'
-
-pkg_cmp_summary -pe2 src_summary14.txt bin_summary3.txt | sort |
-cmp 'pkg_cmp_summary #17.1' \
-'! lang/ruby ruby 1.9.2
-= archivers/php-zip archivers/php-zip php5-zip 5.2.15.1.8.11
-= archivers/php-zip:PHP_VERSION_REQD=52 archivers/php-zip php5-zip 5.2.15
-= archivers/php-zip:PHP_VERSION_REQD=53 archivers/php-zip php53-zip 5.3.4 5.3.4
-= lang/ruby lang/ruby ruby 1.8.7.302
-'
-
-pkg_cmp_summary -pe src_summary14.txt bin_summary3.txt | sort |
-cmp 'pkg_cmp_summary #17.2' \
-'! lang/ruby ruby 1.9.2
-= archivers/php-zip php5-zip 5.2.15
-= archivers/php-zip php5-zip 5.2.15.1.8.11
-= archivers/php-zip php53-zip 5.3.4 5.3.4
-= lang/ruby ruby 1.8.7.302
-'
-
-pkg_cmp_summary -p src_summary14.txt bin_summary3.txt | sort |
-cmp 'pkg_cmp_summary #17.3' \
-'2 archivers/php-zip php5-zip
-2 lang/ruby ruby
-= archivers/php-zip php53-zip 5.3.4 5.3.4
-'
-
-pkg_cmp_summary -pe2 src_summary14.txt - < src_summary14.txt | sort |
-cmp 'pkg_cmp_summary #17.4' \
-'= archivers/php-zip archivers/php-zip php5-zip 5.2.15.1.8.11
-= archivers/php-zip:PHP_VERSION_REQD=52 archivers/php-zip:PHP_VERSION_REQD=52 php5-zip 5.2.15
-= archivers/php-zip:PHP_VERSION_REQD=53 archivers/php-zip:PHP_VERSION_REQD=53 php53-zip 5.3.4 5.3.4
-= lang/ruby lang/ruby ruby 1.8.7.302
-= lang/ruby:RUBY_VERSION_REQD=19 lang/ruby:RUBY_VERSION_REQD=19 ruby 1.9.2pl0
-'
-
-pkg_cmp_summary -pe2 bin_summary3.txt - < bin_summary3.txt | sort |
-cmp 'pkg_cmp_summary #17.5' \
-'= archivers/php-zip archivers/php-zip php5-zip 5.2.15
-= archivers/php-zip archivers/php-zip php5-zip 5.2.15.1.8.11
-= archivers/php-zip archivers/php-zip php53-zip 5.3.4 5.3.4
-= lang/ruby lang/ruby ruby 1.8.7.302
-= lang/ruby lang/ruby ruby 1.9.2
-'
-
-pkg_cmp_summary -pu bin_summary2.txt - < bin_summary3.txt | sort |
-cmp 'pkg_cmp_summary #18.1' \
-'+ archivers/php-zip php5-zip 5.2.15
-+ archivers/php-zip php5-zip 5.2.15.1.8.11
-+ archivers/php-zip php53-zip 5.3.4
-+ lang/ruby ruby 1.8.7.302
-+ lang/ruby ruby 1.9.2
-- devel/libmaa libmaa 1.2.0 U
-- devel/pipestatus pipestatus 0.6.0 U
-- pkgtools/digest digest 20080510 A
-- textproc/dict-client dict-client 1.11.2 U
-- textproc/dict-server dict-server 1.11.2 U
-- wip/distbb distbb 0.38.1 A
-- wip/mk-configure mk-configure 0.21.0 A
-- wip/paexec paexec 0.15.0 A
-- wip/pkg_status pkg_status 0.11 A
-- wip/pkg_summary-utils pkg_summary-utils 0.49.1nb1 A
-- wip/pkgnih pkgnih 0.3.1 U
-- wip/runawk runawk 1.2.0 A
-'
-
-pkg_cmp_summary -pb bin_summary1.txt bin_summary2.txt | sort |
-cmp 'pkg_cmp_summary #18.2' \
-'! wip/pkgnih pkgnih 0.3.1 0.3.1
-+ pkgtools/digest digest 20080510
-+ textproc/dict-client dict-client 1.11.2
-+ textproc/dict-server dict-server 1.11.2
-+ wip/mk-configure mk-configure 0.21.0
-+ wip/pkg_status pkg_status 0.11
-- devel/gmake gmake 3.81
-- devel/libtool-base libtool-base 1.5.26nb2
-- net/netcat netcat 1.10nb2
-- sysutils/checkperms checkperms 1.10
-- wip/awk-pkgsrc-dewey awk-pkgsrc-dewey 0.5.6
-- wip/dict-client dict-client 1.11.2
-- wip/dict-server dict-server 1.11.2
-- wip/pkg_conflicts pkg_conflicts 0.4.0
-- wip/pkg_online pkg_online 0.9.1
-- wip/pkg_online-client pkg_online-client 0.9.1
-- wip/pkg_online-server pkg_online-server 0.9.1
-< devel/libmaa libmaa 1.1.0 1.2.0
-< wip/distbb distbb 0.33.0 0.38.1
-< wip/paexec paexec 0.13.0nb1 0.15.0
-< wip/pkg_summary-utils pkg_summary-utils 0.35rc1 0.49.1nb1
-< wip/runawk runawk 0.18.0 1.2.0
-= devel/pipestatus pipestatus 0.6.0 0.6.0
-'
-
-# pkg_summary2deps -Ap
-pkg_summary2deps -Apa src_summary.txt | sort |
-cmp 'pkg_summary2deps #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|wip/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_summary2deps -Ap -s src_summary.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #2' \
-'Cannot find dependency libmaa>=1.2 for package wip/dict-server (dict-server-1.10.11nb2)
-Cannot find dependency pkg_summary-utils>=0.19.0 for package wip/pkg_online-server (pkg_online-server-0.5.0)
-'
-
-pkg_summary2deps -Ap src_summary2.txt | sort |
-cmp 'pkg_summary2deps #3' \
-'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_summary2deps -Ap -s src_summary2.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #4' \
-'Cannot find dependency pkg_online-client-0.5.0nb2 for package wip/pkg_online (pkg_online-0.5.0nb2)
-Cannot find dependency pkg_online-server-0.5.0nb2 for package wip/pkg_online (pkg_online-0.5.0nb2)
-'
-
-pkg_summary2deps -Ap src_summary7.txt | sort |
-cmp 'pkg_summary2deps #5' \
-'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_summary2deps -Ap src_summary8.txt | sort | uniq |
-cmp 'pkg_summary2deps #6' \
-'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
-pkg_summary2deps -Apna src_summary.txt | sort |
-cmp 'pkg_summary2deps #7' \
-'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|wip/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 -dnta src_summary.txt | sort |
-cmp 'pkg_summary2deps #8' \
-'ap2-vhost-ldap ap2-vhost-ldap
-ap22-vhost-ldap ap22-vhost-ldap
-awk-pkgsrc-dewey pkg_summary-utils
-checkperms checkperms
-dict-client pkg_online-client
-dict-client|dict-client dictem
-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 -Apntr src_summary7.txt | sort |
-cmp 'pkg_summary2deps #9' \
-'audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 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-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1
-audio/py-mutagen;py25-mutagen-1.15 audio/py-karaoke;py25-karaoke-0.7.1
-'
-
-pkg_summary2deps -Dp src_summary8.txt | sort | uniq |
-cmp 'pkg_summary2deps #10' \
-'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 -Dpr src_summary8.txt | sort | uniq |
-cmp 'pkg_summary2deps #11' \
-'lang/perl5;perl-5.10.0nb7 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01
-lang/perl5;perl-5.10.0nb7 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01
-lang/perl5;perl-5.10.0nb7 devel/p5-Module-Build;p5-Module-Build-0.35000
-lang/perl5;perl-5.10.0nb7 devel/p5-version;p5-version-0.7702
-sysutils/checkperms;checkperms-1.10 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54
-sysutils/checkperms;checkperms-1.10 devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1
-sysutils/checkperms;checkperms-1.10 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021
-sysutils/checkperms;checkperms-1.10 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021
-sysutils/checkperms;checkperms-1.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01
-sysutils/checkperms;checkperms-1.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-Compress;p5-IO-Compress-2.021
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-String;p5-IO-String-1.08nb1
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-Zlib;p5-IO-Zlib-1.10
-sysutils/checkperms;checkperms-1.10 devel/p5-Module-Build;p5-Module-Build-0.35000
-sysutils/checkperms;checkperms-1.10 devel/p5-version;p5-version-0.7702
-sysutils/checkperms;checkperms-1.10 lang/perl5;perl-5.10.0nb7
-sysutils/checkperms;checkperms-1.10 textproc/p5-Filter;p5-Filter-1.37
-sysutils/checkperms;checkperms-1.10 textproc/p5-Pod-Readme;p5-Pod-Readme-0.09
-sysutils/checkperms;checkperms-1.10 textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1
-sysutils/checkperms;checkperms-1.10 textproc/p5-Text-Diff;p5-Text-Diff-1.37
-sysutils/checkperms;checkperms-1.10 textproc/p5-YAML;p5-YAML-0.70
-textproc/p5-YAML;p5-YAML-0.70 devel/p5-Module-Build;p5-Module-Build-0.35000
-'
-
-pkg_summary2deps -ApnRa src_summary.txt | sort |
-cmp 'pkg_summary2deps #12' \
-'devel/gmake;gmake devel/libmaa;libmaa ( gmake>=3.81 )
-devel/gmake;gmake editors/emacs;emacs ( gmake>=3.81 )
-devel/gmake;gmake textproc/dict-client;dict-client ( gmake>=3.81 )
-devel/gmake;gmake wip/dict-client;dict-client ( gmake>=3.81 )
-devel/gmake;gmake wip/dict-server;dict-server ( gmake>=3.81 )
-devel/libltdl;libltdl textproc/dict-client;dict-client ( libltdl>=1.5.10 )
-devel/libmaa;libmaa wip/dict-client;dict-client ( libmaa>=1.0 )
-devel/libmaa;libmaa wip/dict-server;dict-server ( libmaa>=1.2 )
-devel/libmaa;libmaa wip/paexec;paexec ( libmaa>=0.990 )
-devel/libtool-base;libtool-base devel/libltdl;libltdl ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base devel/libmaa;libmaa ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base devel/pkg-config;pkg-config ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base graphics/jpeg;jpeg ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base graphics/libungif;libungif ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base graphics/png;png ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base graphics/tiff;tiff ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base wip/dict-client;dict-client ( libtool-base>=1.5.18nb5 )
-devel/libtool-base;libtool-base wip/dict-server;dict-server ( libtool-base>=1.5.18nb5 )
-devel/pipestatus;pipestatus wip/pkg_online-client;pkg_online-client ( pipestatus-[0-9]* )
-devel/pipestatus;pipestatus wip/pkg_online-server;pkg_online-server ( pipestatus-[0-9]* )
-devel/pipestatus;pipestatus wip/pkg_summary-utils;pkg_summary-utils ( pipestatus-[0-9]* )
-devel/pkg-config;pkg-config editors/emacs;emacs ( pkg-config>=0.19 )
-editors/emacs;emacs textproc/dictem;dictem ( emacs>=22 )
-graphics/jpeg;jpeg editors/emacs;emacs ( jpeg>=6bnb2 )
-graphics/jpeg;jpeg graphics/tiff;tiff ( jpeg>=6bnb2 )
-graphics/libungif;libungif editors/emacs;emacs ( libungif>=4.1.3nb1 )
-graphics/png;png editors/emacs;emacs ( png>=1.2.9nb2 )
-graphics/tiff;tiff editors/emacs;emacs ( tiff>=3.7.2nb1 )
-lang/perl5;perl editors/emacs;emacs ( perl>=5.0 )
-lang/perl5;perl graphics/libungif;libungif ( perl>=5.0 )
-net/netcat;netcat wip/pkg_online-client;pkg_online-client ( netcat-[0-9]* )
-pkgtools/x11-links;x11-links editors/emacs;emacs ( x11-links>=0.38 )
-sysutils/checkperms;checkperms devel/gmake;gmake ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/libltdl;libltdl ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/libmaa;libmaa ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/libtool-base;libtool-base ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/pipestatus;pipestatus ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/pkg-config;pkg-config ( checkperms>=1.1 )
-sysutils/checkperms;checkperms editors/emacs;emacs ( checkperms>=1.1 )
-sysutils/checkperms;checkperms graphics/jpeg;jpeg ( checkperms>=1.1 )
-sysutils/checkperms;checkperms graphics/libungif;libungif ( checkperms>=1.1 )
-sysutils/checkperms;checkperms graphics/png;png ( checkperms>=1.1 )
-sysutils/checkperms;checkperms graphics/tiff;tiff ( checkperms>=1.1 )
-sysutils/checkperms;checkperms lang/perl5;perl ( checkperms>=1.1 )
-sysutils/checkperms;checkperms net/netcat;netcat ( checkperms>=1.1 )
-sysutils/checkperms;checkperms pkgtools/x11-links;x11-links ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/dict-client;dict-client ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/dictem;dictem ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/dict-client;dict-client ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/dict-server;dict-server ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/distbb;distbb ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/paexec;paexec ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/pkg_online-client;pkg_online-client ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/pkg_online-server;pkg_online-server ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/pkg_online;pkg_online ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/pkg_summary-utils;pkg_summary-utils ( checkperms>=1.1 )
-sysutils/checkperms;checkperms wip/runawk;runawk ( checkperms>=1.1 )
-textproc/dict-client;dict-client|wip/dict-client;dict-client textproc/dictem;dictem ( dict-client>=1.9.14 )
-wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey wip/pkg_summary-utils;pkg_summary-utils ( awk-pkgsrc-dewey>=0.5.6 )
-wip/dict-client;dict-client wip/pkg_online-client;pkg_online-client ( dict-client>=1.10.9 )
-wip/dict-server;dict-server wip/pkg_online-server;pkg_online-server ( dict-server>=1.10.10nb2 )
-wip/paexec;paexec wip/distbb;distbb ( paexec>=0.10.0 )
-wip/pkg_online-client;pkg_online-client wip/pkg_online;pkg_online ( pkg_online-client-[0-9]* )
-wip/pkg_online-server;pkg_online-server wip/pkg_online;pkg_online ( pkg_online-server-[0-9]* )
-wip/pkg_summary-utils;pkg_summary-utils wip/distbb;distbb ( pkg_summary-utils>=0.18.1 )
-wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-client;pkg_online-client ( pkg_summary-utils-[0-9]* )
-wip/pkg_summary-utils;pkg_summary-utils wip/pkg_online-server;pkg_online-server ( pkg_summary-utils>=0.19.0 )
-wip/runawk;runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey ( runawk-[0-9]* )
-wip/runawk;runawk wip/distbb;distbb ( runawk>=0.13.0 )
-wip/runawk;runawk wip/pkg_summary-utils;pkg_summary-utils ( runawk>=0.12.1 )
-www/ap2-vhost-ldap:PKG_APACHE=apache2;ap2-vhost-ldap
-www/ap22-vhost-ldap:PKG_APACHE=apache22;ap22-vhost-ldap
-'
-
-pkg_summary2deps -dntRa src_summary.txt | sort |
-cmp 'pkg_summary2deps #13' \
-'ap2-vhost-ldap ap2-vhost-ldap
-ap22-vhost-ldap ap22-vhost-ldap
-awk-pkgsrc-dewey pkg_summary-utils ( awk-pkgsrc-dewey>=0.5.6 )
-checkperms checkperms
-dict-client pkg_online-client ( dict-client>=1.10.9 )
-dict-client|dict-client dictem ( dict-client>=1.9.14 )
-dict-server pkg_online-server ( dict-server>=1.10.10nb2 )
-emacs dictem ( emacs>=22 )
-gmake gmake
-jpeg emacs ( jpeg>=6bnb2 )
-jpeg tiff ( jpeg>=6bnb2 )
-libltdl dict-client ( libltdl>=1.5.10 )
-libmaa dict-client ( libmaa>=1.0 )
-libmaa dict-server ( libmaa>=1.2 )
-libmaa paexec ( libmaa>=0.990 )
-libtool-base libtool-base
-libungif emacs ( libungif>=4.1.3nb1 )
-netcat pkg_online-client ( netcat-[0-9]* )
-paexec distbb ( paexec>=0.10.0 )
-perl emacs ( perl>=5.0 )
-perl libungif ( perl>=5.0 )
-pipestatus pkg_online-client ( pipestatus-[0-9]* )
-pipestatus pkg_online-server ( pipestatus-[0-9]* )
-pipestatus pkg_summary-utils ( pipestatus-[0-9]* )
-pkg-config pkg-config
-pkg_online-client pkg_online ( pkg_online-client-[0-9]* )
-pkg_online-server pkg_online ( pkg_online-server-[0-9]* )
-pkg_summary-utils distbb ( pkg_summary-utils>=0.18.1 )
-pkg_summary-utils pkg_online-client ( pkg_summary-utils-[0-9]* )
-pkg_summary-utils pkg_online-server ( pkg_summary-utils>=0.19.0 )
-png emacs ( png>=1.2.9nb2 )
-runawk awk-pkgsrc-dewey ( runawk-[0-9]* )
-runawk distbb ( runawk>=0.13.0 )
-runawk pkg_summary-utils ( runawk>=0.12.1 )
-tiff emacs ( tiff>=3.7.2nb1 )
-x11-links x11-links
-'
-
-pkg_summary2deps -ApntrR src_summary7.txt | sort |
-cmp 'pkg_summary2deps #14' \
-'audio/py-mutagen:PYTHON_VERSION_REQD=24;py24-mutagen-1.15 audio/py-karaoke:PYTHON_VERSION_REQD=24;py24-karaoke-0.7.1 ( py24-mutagen>=1.9 )
-audio/py-mutagen:PYTHON_VERSION_REQD=26;py26-mutagen-1.15 audio/py-karaoke:PYTHON_VERSION_REQD=26;py26-karaoke-0.7.1 ( py26-mutagen>=1.9 )
-audio/py-mutagen;py25-mutagen-1.15 audio/py-karaoke;py25-karaoke-0.7.1 ( py25-mutagen>=1.9 )
-'
-
-pkg_summary2deps -DpR src_summary8.txt | sort | uniq |
-cmp 'pkg_summary2deps #15' \
-'lang/perl5;perl devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder ( perl>=5.10 )
-lang/perl5;perl devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS ( perl>=5.10 )
-lang/perl5;perl devel/p5-Module-Build;p5-Module-Build ( perl>=5.10.0 )
-lang/perl5;perl devel/p5-version;p5-version ( perl>=5.10 )
-sysutils/checkperms;checkperms archivers/p5-Archive-Tar;p5-Archive-Tar ( checkperms>=1.0 )
-sysutils/checkperms;checkperms devel/p5-Algorithm-Diff;p5-Algorithm-Diff ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-IO-Compress;p5-IO-Compress ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-IO-String;p5-IO-String ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-IO-Zlib;p5-IO-Zlib ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-Module-Build;p5-Module-Build ( checkperms>=1.1 )
-sysutils/checkperms;checkperms devel/p5-version;p5-version ( checkperms>=1.1 )
-sysutils/checkperms;checkperms lang/perl5;perl ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/p5-Filter;p5-Filter ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/p5-Pod-Readme;p5-Pod-Readme ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/p5-Regexp-Common;p5-Regexp-Common ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/p5-Text-Diff;p5-Text-Diff ( checkperms>=1.1 )
-sysutils/checkperms;checkperms textproc/p5-YAML;p5-YAML ( checkperms>=1.1 )
-textproc/p5-YAML;p5-YAML devel/p5-Module-Build;p5-Module-Build ( p5-YAML>=0.50 )
-'
-
-pkg_summary2deps -DpRr src_summary8.txt | sort | uniq |
-cmp 'pkg_summary2deps #16' \
-'lang/perl5;perl-5.10.0nb7 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 ( perl>=5.10 )
-lang/perl5;perl-5.10.0nb7 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 ( perl>=5.10 )
-lang/perl5;perl-5.10.0nb7 devel/p5-Module-Build;p5-Module-Build-0.35000 ( perl>=5.10.0 )
-lang/perl5;perl-5.10.0nb7 devel/p5-version;p5-version-0.7702 ( perl>=5.10 )
-sysutils/checkperms;checkperms-1.10 archivers/p5-Archive-Tar;p5-Archive-Tar-1.54 ( checkperms>=1.0 )
-sysutils/checkperms;checkperms-1.10 devel/p5-Algorithm-Diff;p5-Algorithm-Diff-1.1902nb1 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-Compress-Raw-Bzip2;p5-Compress-Raw-Bzip2-2.021 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-Compress-Raw-Zlib;p5-Compress-Raw-Zlib-2.021 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-ExtUtils-CBuilder;p5-ExtUtils-CBuilder-0.26.03.01 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-ExtUtils-ParseXS;p5-ExtUtils-ParseXS-2.20.04.01 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-Compress;p5-IO-Compress-2.021 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-String;p5-IO-String-1.08nb1 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-IO-Zlib;p5-IO-Zlib-1.10 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-Module-Build;p5-Module-Build-0.35000 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 devel/p5-version;p5-version-0.7702 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 lang/perl5;perl-5.10.0nb7 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 textproc/p5-Filter;p5-Filter-1.37 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 textproc/p5-Pod-Readme;p5-Pod-Readme-0.09 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 textproc/p5-Regexp-Common;p5-Regexp-Common-2.122nb1 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 textproc/p5-Text-Diff;p5-Text-Diff-1.37 ( checkperms>=1.1 )
-sysutils/checkperms;checkperms-1.10 textproc/p5-YAML;p5-YAML-0.70 ( checkperms>=1.1 )
-textproc/p5-YAML;p5-YAML-0.70 devel/p5-Module-Build;p5-Module-Build-0.35000 ( p5-YAML>=0.50 )
-'
-
-pkg_summary2deps -dn bin_summary1.txt | sort |
-cmp 'pkg_summary2deps #17' \
-'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
-pkgnih
-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 #18' \
-'devel/gmake;gmake
-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/pipestatus;pipestatus wip/distbb;distbb
-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
-net/netcat;netcat wip/pkg_online-client;pkg_online-client
-sysutils/checkperms;checkperms
-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_conflicts;pkg_conflicts
-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_conflicts;pkg_conflicts
-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/pkgnih;pkgnih
-wip/runawk;runawk wip/awk-pkgsrc-dewey;awk-pkgsrc-dewey
-wip/runawk;runawk wip/distbb;distbb
-wip/runawk;runawk wip/paexec;paexec
-wip/runawk;runawk wip/pkg_conflicts;pkg_conflicts
-wip/runawk;runawk wip/pkg_summary-utils;pkg_summary-utils
-'
-
-pkg_summary2deps -ArR bin_summary1.txt | sort |
-cmp 'pkg_summary2deps #19' \
-'awk-pkgsrc-dewey-0.5.6 pkg_summary-utils-0.35rc1 ( awk-pkgsrc-dewey>=0.5.6 )
-checkperms-1.10
-dict-client-1.11.2 pkg_online-client-0.9.1 ( dict-client>=1.10.9 )
-dict-server-1.11.2 pkg_online-server-0.9.1 ( dict-server>=1.10.10nb2 )
-gmake-3.81
-libmaa-1.1.0 dict-client-1.11.2 ( libmaa>=0.990 )
-libmaa-1.1.0 dict-server-1.11.2 ( libmaa>=0.990 )
-libmaa-1.1.0 paexec-0.13.0nb1 ( libmaa>=0.990 )
-libtool-base-1.5.26nb2
-netcat-1.10nb2 pkg_online-client-0.9.1 ( netcat-[0-9]* )
-paexec-0.13.0nb1 distbb-0.33.0 ( paexec>=0.13.0nb1 )
-pipestatus-0.6.0 distbb-0.33.0 ( pipestatus>=0.5.0 )
-pipestatus-0.6.0 pkg_online-client-0.9.1 ( pipestatus-[0-9]* )
-pipestatus-0.6.0 pkg_online-server-0.9.1 ( pipestatus-[0-9]* )
-pipestatus-0.6.0 pkg_summary-utils-0.35rc1 ( pipestatus-[0-9]* )
-pkg_online-client-0.9.1 pkg_conflicts-0.4.0 ( pkg_online-client>=0.6.0 )
-pkg_online-client-0.9.1 pkg_online-0.9.1 ( pkg_online-client-0.9.1 )
-pkg_online-server-0.9.1 pkg_online-0.9.1 ( pkg_online-server-0.9.1 )
-pkg_summary-utils-0.35rc1 distbb-0.33.0 ( pkg_summary-utils>=0.31.0 )
-pkg_summary-utils-0.35rc1 pkg_conflicts-0.4.0 ( pkg_summary-utils-[0-9]* )
-pkg_summary-utils-0.35rc1 pkg_online-client-0.9.1 ( pkg_summary-utils-[0-9]* )
-pkg_summary-utils-0.35rc1 pkg_online-server-0.9.1 ( pkg_summary-utils>=0.18.1 )
-pkgnih-0.3.1
-runawk-0.18.0 awk-pkgsrc-dewey-0.5.6 ( runawk-[0-9]* )
-runawk-0.18.0 distbb-0.33.0 ( runawk>=0.14.3 )
-runawk-0.18.0 paexec-0.13.0nb1 ( runawk>=0.16.0 )
-runawk-0.18.0 pkg_conflicts-0.4.0 ( runawk>=0.14.3 )
-runawk-0.18.0 pkg_summary-utils-0.35rc1 ( runawk>=0.16.0 )
-'
-
-pkg_summary2deps -Apa src_summary11.txt | sort |
-cmp 'pkg_summary2deps #20' \
-'audio/libao audio/libao-oss
-audio/libao audio/vorbis-tools
-audio/libao-oss audio/vorbis-tools
-devel/gmake editors/emacs20
-devel/gmake textproc/dict-client
-devel/libmaa textproc/dict-client
-devel/libtool-base devel/libmaa
-devel/libtool-base textproc/dict-client
-editors/emacs textproc/dictem:EMACS_TYPE=emacs23
-editors/emacs20 textproc/dictem:EMACS_TYPE=emacs20
-editors/emacs21 textproc/dictem:EMACS_TYPE=emacs21
-editors/emacs22 textproc/dictem
-editors/emacs|editors/emacs22|editors/emacs21|editors/emacs20 wip/emterm
-lang/f2c devel/libtool-base
-lang/perl5 devel/p5-ExtUtils-CBuilder
-sysutils/checkperms devel/gmake
-sysutils/checkperms devel/libmaa
-sysutils/checkperms devel/libtool-base
-sysutils/checkperms devel/p5-ExtUtils-CBuilder
-sysutils/checkperms editors/emacs20
-sysutils/checkperms lang/f2c
-sysutils/checkperms lang/perl5
-sysutils/checkperms textproc/dict-client
-sysutils/checkperms textproc/dictem
-sysutils/checkperms textproc/dictem:EMACS_TYPE=emacs20
-sysutils/checkperms textproc/dictem:EMACS_TYPE=emacs21
-sysutils/checkperms textproc/dictem:EMACS_TYPE=emacs23
-textproc/dict-client textproc/dictem
-textproc/dict-client textproc/dictem:EMACS_TYPE=emacs20
-textproc/dict-client textproc/dictem:EMACS_TYPE=emacs21
-textproc/dict-client textproc/dictem:EMACS_TYPE=emacs23
-'
-
-pkg_summary2deps -dn src_summary10.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #21' \
-'Cannot find dependency depends1 for package pkgtools/barbaz (barbaz)
-Cannot find dependency depends2 for package pkgtools/barbaz (barbaz)
-'
-
-pkg_summary2deps -dln src_summary10.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #22' \
-'d: not_found depends1 <- pkgtools/barbaz barbaz
-d: not_found depends2 <- pkgtools/barbaz barbaz
-'
-
-pkg_summary2deps -dns src_summary.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #23' \
-'Cannot find dependency libmaa>=1.2 for package wip/dict-server (dict-server-1.10.11nb2)
-Cannot find dependency pkg_summary-utils>=0.19.0 for package wip/pkg_online-server (pkg_online-server-0.5.0)
-'
-
-pkg_summary2deps -dlns src_summary.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #24' \
-'d: not_found libmaa>=1.2 <- wip/dict-server dict-server-1.10.11nb2
-d: not_found pkg_summary-utils>=0.19.0 <- wip/pkg_online-server pkg_online-server-0.5.0
-'
-
-pkg_summary2deps -dns src_summary2.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #25' \
-'Cannot find dependency pkg_online-client-0.5.0nb2 for package wip/pkg_online (pkg_online-0.5.0nb2)
-Cannot find dependency pkg_online-server-0.5.0nb2 for package wip/pkg_online (pkg_online-0.5.0nb2)
-'
-
-pkg_summary2deps -dlns src_summary2.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #26' \
-'d: not_found pkg_online-client-0.5.0nb2 <- wip/pkg_online pkg_online-0.5.0nb2
-d: not_found pkg_online-server-0.5.0nb2 <- wip/pkg_online pkg_online-0.5.0nb2
-'
-
-pkg_summary2deps -dlns src_summary9.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #27' \
-'d: not_found dbus>=0.91 <- editors/emacs emacs-23.2nb2
-d: not_found desktop-file-utils>=0.10nb1 <- editors/emacs emacs-23.2nb2
-d: not_found desktop-file-utils>=0.8 <- editors/emacs emacs-23.2nb2
-d: not_found dict-client>=1.9.14 <- textproc/dictem dictem-1.0.2nb1
-d: not_found fontconfig>=2.1nb2 <- editors/emacs emacs-23.2nb2
-d: not_found fontconfig>=2.4.2 <- editors/emacs emacs-23.2nb2
-d: not_found freetype2>=2.1.10nb1 <- editors/emacs emacs-23.2nb2
-d: not_found freetype2>=2.1.3 <- editors/emacs emacs-23.2nb2
-d: not_found freetype2>=2.1.8 <- editors/emacs emacs-23.2nb2
-d: not_found gtk2+>=2.20.1nb2 <- editors/emacs emacs-23.2nb2
-d: not_found gtk2+>=2.4.0 <- editors/emacs emacs-23.2nb2
-d: not_found hicolor-icon-theme>=0.4 <- editors/emacs emacs-23.2nb2
-d: not_found hicolor-icon-theme>=0.9nb1 <- editors/emacs emacs-23.2nb2
-d: not_found jpeg>=8nb1 <- editors/emacs emacs-23.2nb2
-d: not_found jpeg>=8nb1 <- editors/emacs emacs-23.2nb2
-d: not_found jpeg>=8nb1 <- editors/emacs21 emacs-21.4anb19
-d: not_found jpeg>=8nb1 <- editors/emacs21 emacs-21.4anb19
-d: not_found jpeg>=8nb1 <- editors/emacs22 emacs-22.3nb10
-d: not_found jpeg>=8nb1 <- editors/emacs22 emacs-22.3nb10
-d: not_found libSM>=0.99.2 <- editors/emacs emacs-23.2nb2
-d: not_found libXaw>=1.0.5 <- editors/emacs21 emacs-21.4anb19
-d: not_found libXaw>=1.0.5 <- editors/emacs22 emacs-22.3nb10
-d: not_found libXft>=2.1.10 <- editors/emacs emacs-23.2nb2
-d: not_found libXpm>=3.5.4.2 <- editors/emacs emacs-23.2nb2
-d: not_found libXpm>=3.5.4.2 <- editors/emacs21 emacs-21.4anb19
-d: not_found libXpm>=3.5.4.2 <- editors/emacs22 emacs-22.3nb10
-d: not_found libmaa>=1.2.0 <- wip/paexec paexec-0.14.0
-d: not_found libotf>=0.9.7 <- editors/emacs emacs-23.2nb2
-d: not_found librsvg>=2.12.6nb1 <- editors/emacs emacs-23.2nb2
-d: not_found librsvg>=2.26.3nb2 <- editors/emacs emacs-23.2nb2
-d: not_found libungif>=4.1.0 <- editors/emacs emacs-23.2nb2
-d: not_found libungif>=4.1.0 <- editors/emacs21 emacs-21.4anb19
-d: not_found libungif>=4.1.0 <- editors/emacs22 emacs-22.3nb10
-d: not_found libungif>=4.1.0.1 <- editors/emacs21 emacs-21.4anb19
-d: not_found libungif>=4.1.0.1 <- editors/emacs22 emacs-22.3nb10
-d: not_found libungif>=4.1.3nb1 <- editors/emacs emacs-23.2nb2
-d: not_found libungif>=4.1.3nb1 <- editors/emacs21 emacs-21.4anb19
-d: not_found libungif>=4.1.3nb1 <- editors/emacs22 emacs-22.3nb10
-d: not_found m17n-lib>=1.5.1 <- editors/emacs emacs-23.2nb2
-d: not_found m17n-lib>=1.6.1 <- editors/emacs emacs-23.2nb2
-d: not_found paexec>=0.15.0 <- wip/distbb distbb-0.38.2
-d: not_found perl>=5.0 <- editors/emacs21 emacs-21.4anb19
-d: not_found perl>=5.0 <- editors/emacs22 emacs-22.3nb10
-d: not_found pipestatus>=0.6.0 <- wip/distbb distbb-0.38.2
-d: not_found pkg_summary-utils>=0.46 <- wip/pkg_status pkg_status-0.11
-d: not_found pkg_summary-utils>=0.47.0 <- wip/distbb distbb-0.38.2
-d: not_found pkg_summary-utils>=0.49beta2 <- wip/pkgnih pkgnih-0.0.1
-d: not_found png>=1.2.4 <- editors/emacs emacs-23.2nb2
-d: not_found png>=1.2.4 <- editors/emacs21 emacs-21.4anb19
-d: not_found png>=1.2.4 <- editors/emacs22 emacs-22.3nb10
-d: not_found png>=1.4.2 <- editors/emacs emacs-23.2nb2
-d: not_found png>=1.4.2 <- editors/emacs21 emacs-21.4anb19
-d: not_found png>=1.4.2 <- editors/emacs22 emacs-22.3nb10
-d: not_found runawk>=1.1.0 <- wip/distbb distbb-0.38.2
-d: not_found runawk>=1.1.0 <- wip/pkg_summary-utils pkg_summary-utils-0.45
-d: not_found tiff>=3.6.1 <- editors/emacs emacs-23.2nb2
-d: not_found tiff>=3.6.1 <- editors/emacs21 emacs-21.4anb19
-d: not_found tiff>=3.6.1 <- editors/emacs22 emacs-22.3nb10
-d: not_found tiff>=3.9.2nb1 <- editors/emacs emacs-23.2nb2
-d: not_found tiff>=3.9.2nb1 <- editors/emacs21 emacs-21.4anb19
-d: not_found tiff>=3.9.2nb1 <- editors/emacs22 emacs-22.3nb10
-digest distbb
-emacs
-emacs
-emacs dictem
-libmaa
-pipestatus pkg_status
-pipestatus pkg_summary-utils
-pipestatus pkgnih
-pkg_status pkgnih
-runawk paexec
-'
-
-pkg_summary2deps -c src_summary9.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #28' \
-'editors/emacs22 (emacs-22.3nb10) conflicts (emacs-[0-9]*) with editors/emacs (emacs-23.2nb2)
-editors/emacs22 (emacs-22.3nb10) conflicts (emacs-[0-9]*) with editors/emacs21 (emacs-21.4anb19)
-'
-
-pkg_summary2deps -cl src_summary9.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #29' \
-'c: conflict emacs-[0-9]* editors/emacs emacs-23.2nb2 <- editors/emacs22 emacs-22.3nb10
-c: conflict emacs-[0-9]* editors/emacs21 emacs-21.4anb19 <- editors/emacs22 emacs-22.3nb10
-'
-
-pkg_summary2deps -cl src_summary12.txt 2>&1 >/dev/null | sort |
-cmp 'pkg_summary2deps #30' \
-'c: conflict awk-pkgsrc-dewey-[0-9]* wip/awk-pkgsrc-dewey awk-pkgsrc-dewey-0.5.6 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict egcs-current-19980608 somewhere/egcs-current egcs-current-19980608 <- lang/f2c f2c-20090411nb5
-c: conflict glibtool-[0-9]* somewhere/glibtool glibtool-1.2.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool libtool-1.3.4 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool133 libtool-1.3.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict paexec<0.15.0 wip/paexec paexec-0.13.0 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_cmp_summary-[0-9]* somewhere/pkg_cmp_summary pkg_cmp_summary-0.0.1 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_src_update_summary-[0-9]* somewhere/pkg_src_update_summary pkg_src_update_summary-0.0.2 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_summary4view-[0-9]* somewhere/pkg_summary4view pkg_summary4view-0.0.4 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_update_summary-[0-9]* somewhere/pkg_update_summary pkg_update_summary-0.0.3 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-'
-
-pkg_summary2deps -Acldns src_summary12.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #31' \
-'awk-pkgsrc-dewey
-c: conflict awk-pkgsrc-dewey-[0-9]* wip/awk-pkgsrc-dewey awk-pkgsrc-dewey-0.5.6 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict egcs-current-19980608 somewhere/egcs-current egcs-current-19980608 <- lang/f2c f2c-20090411nb5
-c: conflict glibtool-[0-9]* somewhere/glibtool glibtool-1.2.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool libtool-1.3.4 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool133 libtool-1.3.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict paexec<0.15.0 wip/paexec paexec-0.13.0 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_cmp_summary-[0-9]* somewhere/pkg_cmp_summary pkg_cmp_summary-0.0.1 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_src_update_summary-[0-9]* somewhere/pkg_src_update_summary pkg_src_update_summary-0.0.2 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_summary4view-[0-9]* somewhere/pkg_summary4view pkg_summary4view-0.0.4 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_update_summary-[0-9]* somewhere/pkg_update_summary pkg_update_summary-0.0.3 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-checkperms distbb
-checkperms f2c
-checkperms libmaa
-checkperms libtool-base
-checkperms mk-configure
-checkperms paexec
-checkperms pipestatus
-checkperms pkg_status
-checkperms pkg_summary-utils
-checkperms runawk
-d: not_found mk-configure>=0.20.0 <- wip/paexec paexec-0.13.0
-d: not_found mk-configure>=0.20.0 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-d: not_found mk-configure>=0.20.0 <- wip/runawk runawk-1.2.0
-d: not_found paexec>=0.15.0 <- wip/distbb distbb-0.38.2
-digest distbb
-egcs-current
-f2c libtool-base
-glibtool
-libmaa paexec
-libtool
-libtool
-libtool
-libtool-base libmaa
-pipestatus distbb
-pipestatus pkg_status
-pipestatus pkg_summary-utils
-pkg_cmp_summary
-pkg_src_update_summary
-pkg_summary-utils distbb
-pkg_summary-utils pkg_status
-pkg_summary4view
-pkg_update_summary
-runawk distbb
-runawk paexec
-runawk pkg_summary-utils
-'
-
-pkg_summary2deps -AplnrRa src_summary13.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #32' \
-'audio/libao-oss;libao-oss-1.0.0|audio/libao-oss;libao-oss-1.0.0|audio/libao-alsa;libao-alsa-1.0.0|audio/libao-arts;libao-arts-1.0.0|audio/libao-esound;libao-esound-1.0.0|audio/libao-nas;libao-nas-1.0.0|audio/libao-pulse;libao-pulse-1.0.0 audio/vorbis-tools;vorbis-tools-1.2.0nb4 ( libao-[a-z]*-[0-9]* )
-audio/libao;libao-1.0.0 audio/libao-alsa;libao-alsa-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-arts;libao-arts-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-esound;libao-esound-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-nas;libao-nas-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-oss;libao-oss-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-pulse;libao-pulse-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/vorbis-tools;vorbis-tools-1.2.0nb4 ( libao>=1.0.0 )
-d: not_found alsa-lib>=1.0.18 <- audio/libao-alsa libao-alsa-1.0.0
-d: not_found arts>=1.1.4nb1 <- audio/libao-arts libao-arts-1.0.0
-d: not_found arts>=1.5.8nb1 <- audio/libao-arts libao-arts-1.0.0
-d: not_found curl>=7.19.7nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found esound>=0.2.18 <- audio/libao-esound libao-esound-1.0.0
-d: not_found esound>=0.2.35nb1 <- audio/libao-esound libao-esound-1.0.0
-d: not_found flac>=1.1.3nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found libXau>=1.0 <- audio/libao-nas libao-nas-1.0.0
-d: not_found libogg>=1.1.2nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found libvorbis>=1.1.0nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found nas>=1.4.2 <- audio/libao-nas libao-nas-1.0.0
-d: not_found nas>=1.7bnb2 <- audio/libao-nas libao-nas-1.0.0
-d: not_found pulseaudio>=0.9.13 <- audio/libao-pulse libao-pulse-1.0.0
-d: not_found speex>=1.2rc1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-'
-
-pkg_summary2deps -AplnrR src_summary13.txt 2>&1 | sort |
-cmp 'pkg_summary2deps #32.1' \
-'audio/libao-oss;libao-oss-1.0.0 audio/vorbis-tools;vorbis-tools-1.2.0nb4 ( libao-[a-z]*-[0-9]* )
-audio/libao;libao-1.0.0 audio/libao-alsa;libao-alsa-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-arts;libao-arts-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-esound;libao-esound-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-nas;libao-nas-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-oss;libao-oss-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/libao-pulse;libao-pulse-1.0.0 ( libao>=1.0.0 )
-audio/libao;libao-1.0.0 audio/vorbis-tools;vorbis-tools-1.2.0nb4 ( libao>=1.0.0 )
-d: not_found alsa-lib>=1.0.18 <- audio/libao-alsa libao-alsa-1.0.0
-d: not_found arts>=1.1.4nb1 <- audio/libao-arts libao-arts-1.0.0
-d: not_found arts>=1.5.8nb1 <- audio/libao-arts libao-arts-1.0.0
-d: not_found curl>=7.19.7nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found esound>=0.2.18 <- audio/libao-esound libao-esound-1.0.0
-d: not_found esound>=0.2.35nb1 <- audio/libao-esound libao-esound-1.0.0
-d: not_found flac>=1.1.3nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found libXau>=1.0 <- audio/libao-nas libao-nas-1.0.0
-d: not_found libogg>=1.1.2nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found libvorbis>=1.1.0nb1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-d: not_found nas>=1.4.2 <- audio/libao-nas libao-nas-1.0.0
-d: not_found nas>=1.7bnb2 <- audio/libao-nas libao-nas-1.0.0
-d: not_found pulseaudio>=0.9.13 <- audio/libao-pulse libao-pulse-1.0.0
-d: not_found speex>=1.2rc1 <- audio/vorbis-tools vorbis-tools-1.2.0nb4
-'
-
-pkg_summary2deps -Apna src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #33' \
-'audio/libao-oss;libao-oss|audio/libao-oss;libao-oss|audio/libao-alsa;libao-alsa|audio/libao-arts;libao-arts|audio/libao-esound;libao-esound|audio/libao-nas;libao-nas|audio/libao-pulse;libao-pulse audio/vorbis-tools;vorbis-tools
-audio/libao;libao audio/libao-alsa;libao-alsa
-audio/libao;libao audio/libao-arts;libao-arts
-audio/libao;libao audio/libao-esound;libao-esound
-audio/libao;libao audio/libao-nas;libao-nas
-audio/libao;libao audio/libao-oss;libao-oss
-audio/libao;libao audio/libao-pulse;libao-pulse
-audio/libao;libao audio/vorbis-tools;vorbis-tools
-'
-
-pkg_summary2deps -Apn src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #33.1' \
-'audio/libao-oss;libao-oss audio/vorbis-tools;vorbis-tools
-audio/libao;libao audio/libao-alsa;libao-alsa
-audio/libao;libao audio/libao-arts;libao-arts
-audio/libao;libao audio/libao-esound;libao-esound
-audio/libao;libao audio/libao-nas;libao-nas
-audio/libao;libao audio/libao-oss;libao-oss
-audio/libao;libao audio/libao-pulse;libao-pulse
-audio/libao;libao audio/vorbis-tools;vorbis-tools
-'
-
-pkg_summary2deps -Apa src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #34' \
-'audio/libao audio/libao-alsa
-audio/libao audio/libao-arts
-audio/libao audio/libao-esound
-audio/libao audio/libao-nas
-audio/libao audio/libao-oss
-audio/libao audio/libao-pulse
-audio/libao audio/vorbis-tools
-audio/libao-oss|audio/libao-oss|audio/libao-alsa|audio/libao-arts|audio/libao-esound|audio/libao-nas|audio/libao-pulse audio/vorbis-tools
-'
-
-pkg_summary2deps -Ap src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #34.1' \
-'audio/libao audio/libao-alsa
-audio/libao audio/libao-arts
-audio/libao audio/libao-esound
-audio/libao audio/libao-nas
-audio/libao audio/libao-oss
-audio/libao audio/libao-pulse
-audio/libao audio/vorbis-tools
-audio/libao-oss audio/vorbis-tools
-'
-
-pkg_summary2deps -Ana src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #35' \
-'libao libao-alsa
-libao libao-arts
-libao libao-esound
-libao libao-nas
-libao libao-oss
-libao libao-pulse
-libao vorbis-tools
-libao-oss|libao-oss|libao-alsa|libao-arts|libao-esound|libao-nas|libao-pulse vorbis-tools
-'
-
-pkg_summary2deps -An src_summary13.txt 2>/dev/null | sort |
-cmp 'pkg_summary2deps #35.1' \
-'libao libao-alsa
-libao libao-arts
-libao libao-esound
-libao libao-nas
-libao libao-oss
-libao libao-pulse
-libao vorbis-tools
-libao-oss vorbis-tools
-'
-
-pkg_summary2deps -Apa -Pwip/distbb,editors/emacs src_summary.txt | sort |
-cmp 'pkg_summary2deps #36' \
-'devel/gmake editors/emacs
-devel/pkg-config editors/emacs
-graphics/jpeg editors/emacs
-graphics/libungif editors/emacs
-graphics/png editors/emacs
-graphics/tiff editors/emacs
-lang/perl5 editors/emacs
-pkgtools/x11-links editors/emacs
-sysutils/checkperms editors/emacs
-sysutils/checkperms wip/distbb
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-echo 'wip/distbb' > $tmpfn4
-echo 'editors/emacs' >> $tmpfn4
-pkg_summary2deps -Apa -P"$tmpfn4" src_summary.txt | sort |
-cmp 'pkg_summary2deps #36.1' \
-'devel/gmake editors/emacs
-devel/pkg-config editors/emacs
-graphics/jpeg editors/emacs
-graphics/libungif editors/emacs
-graphics/png editors/emacs
-graphics/tiff editors/emacs
-lang/perl5 editors/emacs
-pkgtools/x11-links editors/emacs
-sysutils/checkperms editors/emacs
-sysutils/checkperms wip/distbb
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-pkg_summary2deps -dn -P'wip/distbb sysutils/checkperms' src_summary.txt | sort |
-cmp 'pkg_summary2deps #37' \
-'checkperms
-paexec distbb
-pkg_summary-utils distbb
-runawk distbb
-'
-
-pkg_summary2deps -dp -P'wip/distbb sysutils/checkperms' src_summary.txt | sort |
-cmp 'pkg_summary2deps #38' \
-'sysutils/checkperms
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-pkg_summary2deps -Apa -N distbb-0.22.0,emacs-22.1nb6 src_summary.txt | sort |
-cmp 'pkg_summary2deps #39' \
-'devel/gmake editors/emacs
-devel/pkg-config editors/emacs
-graphics/jpeg editors/emacs
-graphics/libungif editors/emacs
-graphics/png editors/emacs
-graphics/tiff editors/emacs
-lang/perl5 editors/emacs
-pkgtools/x11-links editors/emacs
-sysutils/checkperms editors/emacs
-sysutils/checkperms wip/distbb
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-pkg_summary2deps -dp -N 'distbb-0.22.0 emacs-22.1nb6' src_summary.txt | sort |
-cmp 'pkg_summary2deps #40' \
-'graphics/jpeg editors/emacs
-graphics/libungif editors/emacs
-graphics/png editors/emacs
-graphics/tiff editors/emacs
-lang/perl5 editors/emacs
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-echo distbb-0.22.0 > "$tmpfn4"
-echo emacs-22.1nb6 >> "$tmpfn4"
-pkg_summary2deps -dp -N "$tmpfn4" src_summary.txt | sort |
-cmp 'pkg_summary2deps #40.1' \
-'graphics/jpeg editors/emacs
-graphics/libungif editors/emacs
-graphics/png editors/emacs
-graphics/tiff editors/emacs
-lang/perl5 editors/emacs
-wip/paexec wip/distbb
-wip/pkg_summary-utils wip/distbb
-wip/runawk wip/distbb
-'
-
-pkg_summary2deps -dn bin_summary5.txt | sort |
-cmp 'pkg_summary2deps #41' \
-'php php-extensions
-php php-extensions
-php php5-exif
-php php5-exif
-php php53-exif
-php php53-exif
-php5-exif php-extensions
-php53-exif php-extensions
-'
-
-pkg_summary2deps -dnr bin_summary5.txt | sort |
-cmp 'pkg_summary2deps #42' \
-'php-5.2.17nb2 php-extensions-5.2.17
-php-5.2.17nb2 php5-exif-5.2.17
-php-5.2.17nb2 php5-exif-5.2.17nb2
-php-5.3.5nb1 php-extensions-5.3.5
-php-5.3.5nb1 php53-exif-5.3.5
-php-5.3.5nb1 php53-exif-5.3.5nb2
-php5-exif-5.2.17nb2 php-extensions-5.2.17
-php53-exif-5.3.5nb2 php-extensions-5.3.5
-'
-
-pkg_summary2deps -dnra bin_summary5.txt | sort |
-cmp 'pkg_summary2deps #43' \
-'php-5.2.17|php-5.2.17nb2 php-extensions-5.2.17
-php-5.2.17|php-5.2.17nb2 php5-exif-5.2.17
-php-5.2.17|php-5.2.17nb2 php5-exif-5.2.17nb2
-php-5.3.5|php-5.3.5nb1 php-extensions-5.3.5
-php-5.3.5|php-5.3.5nb1 php53-exif-5.3.5
-php-5.3.5|php-5.3.5nb1 php53-exif-5.3.5nb2
-php5-exif-5.2.17|php5-exif-5.2.17nb2 php-extensions-5.2.17
-php53-exif-5.3.5|php53-exif-5.3.5nb2 php-extensions-5.3.5
-'
-
-pkg_summary2deps -dpnra bin_summary5.txt | sort |
-cmp 'pkg_summary2deps #44' \
-'graphics/php-exif;php5-exif-5.2.17|graphics/php-exif;php5-exif-5.2.17nb2 meta-pkgs/php5-extensions;php-extensions-5.2.17
-graphics/php-exif;php53-exif-5.3.5|graphics/php-exif;php53-exif-5.3.5nb2 meta-pkgs/php53-extensions;php-extensions-5.3.5
-lang/php53;php-5.3.5|lang/php53;php-5.3.5nb1 graphics/php-exif;php53-exif-5.3.5
-lang/php53;php-5.3.5|lang/php53;php-5.3.5nb1 graphics/php-exif;php53-exif-5.3.5nb2
-lang/php53;php-5.3.5|lang/php53;php-5.3.5nb1 meta-pkgs/php53-extensions;php-extensions-5.3.5
-lang/php5;php-5.2.17|lang/php5;php-5.2.17nb2 graphics/php-exif;php5-exif-5.2.17
-lang/php5;php-5.2.17|lang/php5;php-5.2.17nb2 graphics/php-exif;php5-exif-5.2.17nb2
-lang/php5;php-5.2.17|lang/php5;php-5.2.17nb2 meta-pkgs/php5-extensions;php-extensions-5.2.17
-'
-
-pkg_summary2deps -dpa bin_summary5.txt | sort |
-cmp 'pkg_summary2deps #45' \
-'graphics/php-exif|graphics/php-exif meta-pkgs/php5-extensions
-graphics/php-exif|graphics/php-exif meta-pkgs/php53-extensions
-lang/php53|lang/php53 graphics/php-exif
-lang/php53|lang/php53 graphics/php-exif
-lang/php53|lang/php53 meta-pkgs/php53-extensions
-lang/php5|lang/php5 graphics/php-exif
-lang/php5|lang/php5 graphics/php-exif
-lang/php5|lang/php5 meta-pkgs/php5-extensions
-'
-
-pkg_summary2deps -dpa bin_summary6.txt 2>/dev/null | sort -k2 -k1 |
-cmp 'pkg_summary2deps #46' \
-'lang/ruby18-base lang/ruby
-security/openssl lang/ruby
-lang/ruby18-base lang/ruby18
-security/openssl lang/ruby18
-security/openssl lang/ruby18-base
-lang/ruby19-base lang/ruby19
-security/openssl lang/ruby19
-security/openssl lang/ruby19-base
-lang/ruby19-base lang/ruby:RUBY_VERSION_REQD=19
-security/openssl lang/ruby:RUBY_VERSION_REQD=19
-lang/ruby18-base textproc/ruby-eruby
-security/openssl textproc/ruby-eruby
-lang/ruby18-base www/ap-ruby
-security/openssl www/ap-ruby
-textproc/ruby-eruby www/ap-ruby
-www/apache22 www/ap-ruby
-lang/ruby18-base www/ap-ruby:PKG_APACHE=apache13
-security/openssl www/ap-ruby:PKG_APACHE=apache13
-textproc/ruby-eruby www/ap-ruby:PKG_APACHE=apache13
-www/apache www/ap-ruby:PKG_APACHE=apache13
-lang/ruby18-base www/ap-ruby:PKG_APACHE=apache2
-security/openssl www/ap-ruby:PKG_APACHE=apache2
-textproc/ruby-eruby www/ap-ruby:PKG_APACHE=apache2
-www/apache2 www/ap-ruby:PKG_APACHE=apache2
-security/openssl www/apache2
-security/openssl www/apache22
-x11/qt3-docs x11/qt3
-x11/qt3-libs x11/qt3
-x11/qt3-tools x11/qt3
-x11/qt3-libs x11/qt3-docs
-x11/qt3-libs x11/qt3-mysql
-x11/qt3-libs x11/qt3-pgsql
-x11/qt3-libs x11/qt3-qscintilla
-x11/qt3-libs x11/qt3-tools
-x11/qt4-docs x11/qt4
-x11/qt4-libs x11/qt4
-x11/qt4-tools x11/qt4
-x11/qt4-libs x11/qt4-docs
-x11/qt4-libs x11/qt4-mng
-x11/qt4-libs x11/qt4-mysql
-x11/qt4-libs x11/qt4-pgsql
-x11/qt4-libs x11/qt4-qdbus
-x11/qt4-libs x11/qt4-qscintilla
-x11/qt4-libs x11/qt4-sqlite3
-x11/qt4-libs x11/qt4-tiff
-x11/qt4-libs x11/qt4-tools
-'
-
-# pkg_lint_summary
-pkg_lint_summary bin_summary1.txt 2>&1 | sort |
-sed -n 's/At least one.*$/MandatoryOptionErrorMessage/p' |
-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_lint_summary -dDu src_summary.txt | sort |
-cmp 'pkg_lint_summary -Ap #3' \
-'d: not_found libmaa>=1.2 <- wip/dict-server dict-server-1.10.11nb2
-d: not_found pkg_summary-utils>=0.19.0 <- wip/pkg_online-server pkg_online-server-0.5.0
-u: unicity dict-client <- textproc/dict-client wip/dict-client
-'
-
-pkg_lint_summary -dD src_summary2.txt | sort |
-cmp 'pkg_lint_summary -Ap #4' \
-'d: not_found pkg_online-client-0.5.0nb2 <- wip/pkg_online pkg_online-0.5.0nb2
-d: not_found pkg_online-server-0.5.0nb2 <- wip/pkg_online pkg_online-0.5.0nb2
-'
-
-pkg_lint_summary -cd src_summary12.txt | sort |
-cmp 'pkg_lint_summary -Ap #5' \
-'c: conflict awk-pkgsrc-dewey-[0-9]* wip/awk-pkgsrc-dewey awk-pkgsrc-dewey-0.5.6 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict egcs-current-19980608 somewhere/egcs-current egcs-current-19980608 <- lang/f2c f2c-20090411nb5
-c: conflict glibtool-[0-9]* somewhere/glibtool glibtool-1.2.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool libtool-1.3.4 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict libtool<=1.3.5nb11 somewhere/libtool133 libtool-1.3.3 <- devel/libtool-base libtool-base-2.2.6bnb4
-c: conflict paexec<0.15.0 wip/paexec paexec-0.13.0 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_cmp_summary-[0-9]* somewhere/pkg_cmp_summary pkg_cmp_summary-0.0.1 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_src_update_summary-[0-9]* somewhere/pkg_src_update_summary pkg_src_update_summary-0.0.2 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_summary4view-[0-9]* somewhere/pkg_summary4view pkg_summary4view-0.0.4 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-c: conflict pkg_update_summary-[0-9]* somewhere/pkg_update_summary pkg_update_summary-0.0.3 <- wip/pkg_summary-utils pkg_summary-utils-0.49beta2
-d: not_found paexec>=0.15.0 <- wip/distbb distbb-0.38.2
-'
-
-pkg_lint_summary -u src_summary3.txt | sort |
-cmp 'pkg_lint_summary -Ap #6' \
-'u: unicity distbb <- wip/distbb:OPT1=1,OPT2=2 wip/distbb:OPT1=1,OPT2=2 wip/distbb:OPT=1,OPT2=3
-'
-
-pkg_lint_summary -u src_summary7.txt | sort |
-cmp 'pkg_lint_summary -Ap #7' \
-''
-
-pkg_lint_summary -u src_summary9.txt | sort |
-cmp 'pkg_lint_summary -Ap #8' \
-'u: unicity emacs <- editors/emacs editors/emacs21 editors/emacs22
-'
-
-pkg_lint_summary -d bin_summary4.txt | sort |
-cmp 'pkg_lint_summary -d #9' \
-'d: not_found p5-Catalyst-Runtime>=5.71001 <- www/p5-Catalyst-Plugin-Session p5-Catalyst-Plugin-Session-0.30nb1
-d: not_found perl>=5.10.0|p5-Digest-SHA-[0-9]* <- databases/p5-DBIx-Class-EncodedColumn p5-DBIx-Class-EncodedColumn-0.00010
-d: not_found perl>=5.10|p5-Digest-[0-9]* <- www/p5-Catalyst-Plugin-Session p5-Catalyst-Plugin-Session-0.30nb1
-d: not_found perl>=5.10|p5-File-Temp-[0-9]* <- www/p5-Catalyst-Plugin-Session p5-Catalyst-Plugin-Session-0.30nb1
-d: not_found perl>=5.7.3|p5-Digest-MD5-[0-9]* <- databases/p5-DBIx-Class-EncodedColumn p5-DBIx-Class-EncodedColumn-0.00010
-d: not_found perl>=5.7.3|p5-Digest-[0-9]* <- databases/p5-DBIx-Class-EncodedColumn p5-DBIx-Class-EncodedColumn-0.00010
-'
-
-# pkg_subgraph_deps
-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 -fsrc_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_subgraph_deps -xvt -f src_pkgs.txt src_deps.txt | sort |
-cmp 'pkg_subgraph_deps #6' \
-'devel/gmake textproc/dict-client
-devel/gmake textproc/dict-server
-devel/libjudy 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 devel/pipestatus
-lang/f2c devel/libtool-base
-net/netcat net/netcat
-textproc/dictem textproc/dictem
-wip/heirloom-common wip/heirloom-doc
-wip/heirloom-doc wip/heirloom-libcommon
-wip/heirloom-libcommon wip/libuxre
-wip/runawk wip/runawk
-'
-
-pkg_subgraph_deps -xvn -f src_pkgs.txt src_deps.txt | sort |
-cmp 'pkg_subgraph_deps #7' \
-'devel/gmake
-devel/libjudy
-devel/libmaa
-devel/libtool-base
-devel/pipestatus
-lang/f2c
-net/netcat
-textproc/dict-client
-textproc/dict-server
-textproc/dictem
-wip/heirloom-common
-wip/heirloom-doc
-wip/heirloom-libcommon
-wip/libuxre
-wip/runawk
-'
-
-pkg_subgraph_deps -r -p'wip/pkg_online-client,wip/distbb' src_deps.txt | sort |
-cmp 'pkg_subgraph_deps #8' \
-''
-
-# pkg_bin_summary
-pkg_bin_summary pkg_install |
-grep -E 'LICENSE|PKGPATH' |
-cmp 'pkg_bin_summary #1' \
-'LICENSE=modified-bsd
-PKGPATH=pkgtools/pkg_install
-'
-
-
-pkg_bin_summary |
-pkg_grep_summary -s PKGBASE bmake |
-grep -E 'PKGPATH|LICENSE' |
-cmp 'pkg_bin_summary #2' \
-'LICENSE=modified-bsd
-PKGPATH=devel/bmake
-'
-
-
-pkg_bin_summary -r LICENSE,COMMENT,DESCRIPTION,REQUIRES -- bmake |
-grep -E 'PKGPATH|LICENSE' |
-cmp 'pkg_bin_summary #3' \
-'PKGPATH=devel/bmake
-'
-
-
-pkg_bin_summary -f 'PKGPATH' -- bmake pkg_install |
-cmp 'pkg_bin_summary #4' \
-'PKGPATH=devel/bmake
-
-PKGPATH=pkgtools/pkg_install
-
-'
-
-pkg_bin_summary -fPKGPATH,PLIST -- bmake pkg_install |
-awk '!/PLIST/ || /\/(s?bin|man)\/pkg_/ || /bmake/' |
-cmp 'pkg_bin_summary #5' \
-'PKGPATH=devel/bmake
-PLIST=/usr/pkg/bin/bmake
-PLIST=/usr/pkg/man/man1/bmake.1
-
-PKGPATH=pkgtools/pkg_install
-PLIST=/usr/pkg/sbin/pkg_add
-PLIST=/usr/pkg/sbin/pkg_admin
-PLIST=/usr/pkg/sbin/pkg_create
-PLIST=/usr/pkg/sbin/pkg_delete
-PLIST=/usr/pkg/sbin/pkg_info
-
-'
-
-
-############################################################
-test -f "$tmpex"
-exit $?
diff --git a/pkgtools/pkg_summary-utils/files/version.mk b/pkgtools/pkg_summary-utils/files/version.mk
deleted file mode 100644
index 55e30bc7cb1..00000000000
--- a/pkgtools/pkg_summary-utils/files/version.mk
+++ /dev/null
@@ -1 +0,0 @@
-VERSION= 0.53.2