summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-04 14:42:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-04 14:42:20 +0000
commit3ecbd34a160f4de0ad5a1f2af518f23766613210 (patch)
treedaeabf79f6dafdc576c29f4e204b88141ad0554b /usr.sbin/pkg_add
parent8a3fdf46bd93e71794fcec29cb31017529d8ec57 (diff)
zap dead code: we no longer use DirRm.
stop recognizing @comment MD5: as special.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm8
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm5
2 files changed, 2 insertions, 11 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index d5d6d0d9883..cda66a51459 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.61 2007/06/04 14:40:39 espie Exp $
+# $OpenBSD: Delete.pm,v 1.62 2007/06/04 14:42:19 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -313,12 +313,6 @@ sub record_shared
push(@{$recorder->{dirs}->{$self->fullname}} , $self);
}
-package OpenBSD::PackingElement::DirRm;
-sub delete
-{
- &OpenBSD::PackingElement::DirBase::delete;
-}
-
package OpenBSD::PackingElement::Unexec;
sub delete
{
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 91e88952ad8..bb2a8a93b4e 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.127 2007/06/04 14:40:39 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.128 2007/06/04 14:42:19 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -529,9 +529,6 @@ sub add
if ($args =~ m/^\$OpenBSD.*\$\s*$/o) {
return OpenBSD::PackingElement::CVSTag->add($plist, $args);
- } elsif ($args =~ m/^MD5:\s*/o) {
- $plist->{state}->{lastfile}->add_md5(pack('H*', $'));
- return;
} elsif ($args =~ m/^subdir\=(.*?)\s+cdrom\=(.*?)\s+ftp\=(.*?)\s*$/o) {
return OpenBSD::PackingElement::ExtraInfo->add($plist, $1, $2, $3);
} elsif ($args eq 'no checksum') {