From ae9e3e21719bdb8d7cfe8301a0f4a2f9bf86956b Mon Sep 17 00:00:00 2001
From: Will Andrews <will@FreeBSD.org>
Date: Wed, 11 Oct 2000 00:14:00 +0000
Subject: Since people don't seem to appreciate the fact that addport can do
 automatic checking on their ports to be added, I'm removing it and its
 overriding -v option.  Let the improper port additions continue, and screw
 anyone who doesn't care about the repo.

Propelled by:	obrien, msmith
---
 Tools/scripts/addport | 26 --------------------------
 1 file changed, 26 deletions(-)

(limited to 'Tools/scripts/addport')

diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 235a0fdeac6b..378b563a6857 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -29,7 +29,6 @@ my $n = ""; $n = "-n " if $opts{'n'};
 my $u = $ENV{USER};
 $u = $opts{'u'} if ($opts{'u'} ne "");
 my $more_testing = $opts{'t'};
-my $vanilla = $opts{'v'};
 my $interactive = $opts{'i'};
 
 my $tmpdir;
@@ -74,24 +73,6 @@ END {
 	}
 }
 
-# setup the list of commands to run on the new port(s).
-my @commands;
-if (!$vanilla) {
-	push(@commands, "$make clean check-categories");
-	push(@commands, "$portlint");
-	if (-d $distdir) {
-		push(@commands, "$make DISTDIR='$distdir' FETCH_BEFORE_ARGS='-btA' checksum");
-	} elsif ($myhost eq "freefall.freebsd.org") {
-		push(@commands, "$make DISTDIR='$tmpdir' FETCH_BEFORE_ARGS='-btA' checksum");
-	} else {
-		push(@commands, "$make FETCH_BEFORE_ARGS='-btA' checksum");
-	}
-	if ($more_testing) {
-		push(@commands, "$make distclean");
-		push(@commands, "$make build");
-	}
-}
-
 if ($dir eq "") {
 	warnx("Need to specify a directory with -d argument!");
 	usage();
@@ -120,11 +101,6 @@ foreach my $thisdir (@dirs) {
 
 	chdir $thisdir or err(1, "$thisdir");
 
-	# now run the tests on this baby.
-	for (@commands) {
-		system("$_") && errx(1, "'$_' had problems. aborting.");
-	}
-
 	# Get the category name and make it suitable for use with cvs
 	my $category;
 	$_ = `grep CATEGORIES Makefile`;
@@ -268,8 +244,6 @@ OPTIONS
 			temporary directory set up on freefall.
 	-u user		Use a different username (default: $u).
 	-t		Do more port testing
-	-v		Plain vanilla "add it" - no testing at all.
-			This option overrides -t in all cases.
 
 EXAMPLES
 	% addport -n -d greatgame,helpfuldev,shoot
-- 
cgit v1.2.3