From 8db885a53085a1064b0e73f4b93f6bba794c2c36 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 11 Oct 2012 08:05:03 +0000 Subject: [PATCH] reorganize and comment portinfo --- infrastructure/lib/DPB/PortInfo.pm | 31 ++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/infrastructure/lib/DPB/PortInfo.pm b/infrastructure/lib/DPB/PortInfo.pm index b159d17898b..dd13f36cd20 100644 --- a/infrastructure/lib/DPB/PortInfo.pm +++ b/infrastructure/lib/DPB/PortInfo.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PortInfo.pm,v 1.20 2012/10/11 07:38:39 espie Exp $ +# $OpenBSD: PortInfo.pm,v 1.21 2012/10/11 08:05:03 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -227,28 +227,16 @@ sub add package DPB::PortInfo; my %adder = ( +# actual info from dump-vars FULLPKGNAME => "AddInfoShow", RUN_DEPENDS => "AddDepends", BUILD_DEPENDS => "AddDepends", LIB_DEPENDS => "AddDepends", - REGRESS_DEPENDS => "AddRegressDepends", - NO_REGRESS => "AddYesNo", - REGRESS_IS_INTERACTIVE => "AddYesNo", SUBPACKAGE => "AddInfo", BUILD_PACKAGES => "AddList", DPB_PROPERTIES => "AddList", - EXTRA => "Extra", - EXTRA2 => "Extra", - BEXTRA => "Extra", - DEPENDS => "AddDepends", - BDEPENDS => "AddDepends", - RDEPENDS => "AddDepends", - DIST => "AddDepends", - FDEPENDS => "AddDepends", IGNORE => "AddIgnore", FLAVOR => "AddList", - NEEDED_BY => "AddDepends", - BNEEDED_BY => "AddDepends", DISTFILES => 'AddList', PATCHFILES => 'AddList', SUPDISTFILES => 'AddList', @@ -269,6 +257,21 @@ my %adder = ( MASTER_SITES9 => 'AddOrderedList', PERMIT_DISTFILES_FTP => 'AddNegative', PERMIT_DISTFILES_CDROM => 'AddNegative', +# not yet used, provision for regression + REGRESS_DEPENDS => "AddRegressDepends", + NO_REGRESS => "AddYesNo", + REGRESS_IS_INTERACTIVE => "AddYesNo", +# extra stuff we're generating + DEPENDS => "AddDepends", # all BUILD_DEPENDS/LIB_DEPENDS + EXTRA => "Extra", # extract stuff and things in DEPENDS + EXTRA2 => "Extra", # extract stuff and things in REGRESS_DEPENDS + BEXTRA => "Extra", # EXTRA moved from todo to done + BDEPENDS => "AddDepends",# DEPENDS moved from todo to done + RDEPENDS => "AddDepends",# RUN_DEPENDS moved from todo to done + DIST => "AddDepends", # all DISTFILES with all info + FDEPENDS => "AddDepends",# DISTFILES too, but after DISTIGNORE, + # and shrinking + # DISTIGNORE should be there ? ); sub wanted