]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement a package number comparison routine for pkg_version(1)
authorbmah <bmah@FreeBSD.org>
Tue, 3 Apr 2001 21:26:32 +0000 (21:26 +0000)
committerbmah <bmah@FreeBSD.org>
Tue, 3 Apr 2001 21:26:32 +0000 (21:26 +0000)
commit4f88e7fcd90f450a557c395add903e19533236ae
treeeeddcc3a7c9d14472388f60c8a3ae0df76e7b44a
parent3feb61668d0a29fd82ff14abe50505ce076ce51d
Implement a package number comparison routine for pkg_version(1)
that actually conforms to the Porters Handbook.

Add a -t option to pkg_version(1) for doing comparison testing.

Add a script (and make test target) to do some regression tests on
the package number comparison routine, to help debug future revisions.

Submitted by: knu
Procrastination by: bmah
usr.sbin/pkg_install/version/Makefile
usr.sbin/pkg_install/version/pkg_version.1
usr.sbin/pkg_install/version/pkg_version.pl
usr.sbin/pkg_install/version/test-pkg_version.sh [new file with mode: 0755]