#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgInfo.pm,v 1.40 2016/06/28 17:35:34 espie Exp $
+# $OpenBSD: PkgInfo.pm,v 1.41 2016/07/27 12:58:21 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
my $plist;
if ($state->opt('z')) {
$plist = $handle->plist(\&OpenBSD::PackingList::ExtraInfoOnly);
+ # firmware don't belong
+ if ($plist->has('firmware')) {
+ return;
+ }
my $name = OpenBSD::PackageName->new_from_string($plist->pkgname);
my $stem = $name->{stem};
my $compose = $stem."--".join('-', sort keys %{$name->{flavors}});
-.\" $OpenBSD: pkg_info.1,v 1.53 2016/06/28 15:38:36 espie Exp $
+.\" $OpenBSD: pkg_info.1,v 1.54 2016/07/27 12:58:21 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: June 28 2016 $
+.Dd $Mdocdate: July 27 2016 $
.Dt PKG_INFO 1
.Os
.Sh NAME
.Xr pkg_add 1
.Fl l
to recreate a package installation with different versions and no ambiguity.
+Note that this intentionally does not include firmwares, as they are not
+handled by
+.Xr pkg_add 1 .
.El
.Sh ENVIRONMENT
.Bl -tag -width PKG_TMPDIR