pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files DYNAMIC_MASTER_SITES is gone.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e131b3117ab3
branches:  trunk
changeset: 516774:e131b3117ab3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jul 27 16:13:51 2006 +0000

description:
DYNAMIC_MASTER_SITES is gone.

diffstat:

 pkgtools/pkglint/files/deprecated.map |   3 ++-
 pkgtools/pkglint/files/makevars.map   |   4 +++-
 pkgtools/pkglint/files/pkglint.pl     |  14 +-------------
 3 files changed, 6 insertions(+), 15 deletions(-)

diffs (68 lines):

diff -r 4606d2c85c06 -r e131b3117ab3 pkgtools/pkglint/files/deprecated.map
--- a/pkgtools/pkglint/files/deprecated.map     Thu Jul 27 16:06:27 2006 +0000
+++ b/pkgtools/pkglint/files/deprecated.map     Thu Jul 27 16:13:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: deprecated.map,v 1.45 2006/07/21 14:28:35 jlam Exp $
+# $NetBSD: deprecated.map,v 1.46 2006/07/27 16:13:51 rillig Exp $
 #
 
 # This file contains names of Makefile variables and a short explanation
@@ -118,3 +118,4 @@
 LTCONFIG_OVERRIDE      You can just remove it.
 USE_GNU_GETTEXT                You can just remove it.
 BUILD_ENV              Use PKGSRC_MAKE_ENV instead.
+DYNAMIC_MASTER_SITES   You can just remove it.
diff -r 4606d2c85c06 -r e131b3117ab3 pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map       Thu Jul 27 16:06:27 2006 +0000
+++ b/pkgtools/pkglint/files/makevars.map       Thu Jul 27 16:13:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.134 2006/07/27 15:48:45 rillig Exp $
+# $NetBSD: makevars.map,v 1.135 2006/07/27 16:13:51 rillig Exp $
 #
 
 # This file contains the guessed type of some variables, according to
@@ -261,6 +261,8 @@
 DOCGRP                 UserGroupName [$system]
 DOWNLOADED_DISTFILE    Pathname [$system]
 DO_NADA                        ShellCommand [$system]
+DYNAMIC_SITE_CMD       ShellCommand [$package]
+DYNAMIC_SITE_SCRIPT    Pathname [$package]
 ECHO                   ShellCommand [$system]
 ECHO_MSG               ShellCommand [$system]
 ECHO_N                 ShellCommand [$system]
diff -r 4606d2c85c06 -r e131b3117ab3 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jul 27 16:06:27 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Jul 27 16:13:51 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.663 2006/07/27 13:05:09 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.664 2006/07/27 16:13:51 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -5500,7 +5500,6 @@
                                [ "SVR4_PKGNAME", optional ],
                                [ "CATEGORIES", once ],
                                [ "MASTER_SITES", once ],
-                               [ "DYNAMIC_MASTER_SITES", optional ],
                                [ "DIST_SUBDIR", optional ],
                                [ "EXTRACT_SUFX", optional ],
                                [ "DISTFILES", many ],
@@ -6414,17 +6413,6 @@
                log_warning($fname, NO_LINE_NUMBER, "Please use the RCD_SCRIPTS mechanism to install rc.d scripts automatically to \${RCD_SCRIPTS_EXAMPLEDIR}.");
        }
 
-       if (exists($pkgctx_vardef->{"MASTER_SITES"})) {
-               if (exists($pkgctx_vardef->{"DYNAMIC_MASTER_SITES"})) {
-                       $pkgctx_vardef->{"MASTER_SITES"}->log_warning("MASTER_SITES and ...");
-                       $pkgctx_vardef->{"DYNAMIC_MASTER_SITES"}->log_warning("... DYNAMIC_MASTER_SITES conflict.");
-               }
-       } else {
-               if (!exists($pkgctx_vardef->{"DYNAMIC_MASTER_SITES"})) {
-                       log_warning($fname, NO_LINE_NUMBER, "Neither MASTER_SITES nor DYNAMIC_MASTER_SITES found.");
-               }
-       }
-
        if (exists($pkgctx_vardef->{"REPLACE_PERL"}) && exists($pkgctx_vardef->{"NO_CONFIGURE"})) {
                $pkgctx_vardef->{"REPLACE_PERL"}->log_warning("REPLACE_PERL is ignored when ...");
                $pkgctx_vardef->{"NO_CONFIGURE"}->log_warning("... NO_CONFIGURE is set.");



Home | Main Index | Thread Index | Old Index