OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   04-Jul-2003 20:48:45
  Branch: HEAD                             Handle: 2003070419484500

  Modified files:
    openpkg-re              rpmlint.pl

  Log:
    more elaborate checking of permissions

  Summary:
    Revision    Changes     Path
    1.3         +1  -1      openpkg-re/rpmlint.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/rpmlint.pl
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 rpmlint.pl
  --- openpkg-re/rpmlint.pl     4 Jul 2003 18:22:36 -0000       1.2
  +++ openpkg-re/rpmlint.pl     4 Jul 2003 18:48:45 -0000       1.3
  @@ -307,7 +307,7 @@
                       &lint_warning($rpm, "strange executable filename \"$path\" 
containing an extension (expected no extension)");
                   }
                   my $perm = $info->{ls}->{$path}->{'perm'};
  -                if ($perm =~ m|^-| && $perm !~ m|^-([-r][-w][sx]){3}$|) {
  +                if ($perm =~ m|^-| && $perm !~ 
m|^-[-r][-w][sx]([-r][-w][-sx]){2}$|) {
                       &lint_error($rpm, "non-executable file \"$path\" under topdir 
\"$topdir\" (expected to be executable)");
                   }
               }
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to