Browse Source

warn about non-free/contrib in tasks

tags/debian_version_1_16
Joey Hess 19 years ago
parent
commit
43723b674e
2 changed files with 8 additions and 1 deletions
  1. +7
    -0
      makedesc.pl
  2. +1
    -1
      tasks/unix-server

+ 7
- 0
makedesc.pl View File

@@ -25,6 +25,7 @@ my $dir=shift or die "no directory specified\n";
my $file=shift or die "no file specified\n";

my %package;
my %notmain;
my $dolint=1;
{
local $/="\n\n";
@@ -35,6 +36,9 @@ my $dolint=1;
while (<AVAIL>) {
my ($package)=/Package:\s*(.*?)\n/;
$package{$package}=1;
if (/Section:\s*(contrib|non-free)/) {
$notmain{$package}=$1;
}
}
close AVAIL;
}
@@ -74,6 +78,9 @@ sub processfile {
if (! $package{$_}) {
print STDERR "$file: $_ is not a valid package.\n";
}
if ($notmain{$_}) {
print STDERR "$file: $_ is in $notmain{$_}.\n";
}
}
}



+ 1
- 1
tasks/unix-server View File

@@ -28,7 +28,7 @@ Packages:
mtr
man-db
manpages
emacs20 # nvi is in base
emacs20 # nvi is in base Hmm, would emacs21 be better?
nethack # may be stretching the point
bsdgames # fits description perfectly
# could add a few other console games, esp. multiuser ones


Loading…
Cancel
Save