mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
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
This commit is contained in:
parent
c0234049ca
commit
ae9e3e2171
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33694
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user