# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.219 2014/01/04 01:42:46 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.220 2014/01/04 14:14:55 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
return OpenBSD::PackingElement::NoDefaultConflict->new;
} elsif ($args eq 'manual-installation') {
return OpenBSD::PackingElement::ManualInstallation->new;
+ } elsif ($args eq 'firmware') {
+ return OpenBSD::PackingElement::Firmware->new;
} elsif ($args eq 'system-package') {
return OpenBSD::PackingElement::SystemPackage->new;
} elsif ($args eq 'always-update') {
{
}
+package OpenBSD::PackingElement::Firmware;
+our @ISA=qw(OpenBSD::PackingElement::ManualInstallation);
+sub category() { 'firmware' }
+
package OpenBSD::PackingElement::SystemPackage;
our @ISA=qw(OpenBSD::PackingElement::UniqueOption);
# ex:ts=8 sw=4:
-# $OpenBSD: PackingList.pm,v 1.125 2014/01/04 00:14:08 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.126 2014/01/04 14:14:55 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
}
our @unique_categories =
- (qw(name url signer digital-signature no-default-conflict manual-installation always-update explicit-update extrainfo localbase arch));
+ (qw(name url signer digital-signature no-default-conflict manual-installation firmware always-update explicit-update extrainfo localbase arch));
our @list_categories =
(qw(conflict pkgpath incompatibility ask-update updateset depend