/[smeserver]/rpms/smeserver-audittools/sme8/smeserver-audittools-0.0.2-RenameFlags.patch
ViewVC logotype

Annotation of /rpms/smeserver-audittools/sme8/smeserver-audittools-0.0.2-RenameFlags.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 15:47:39 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-audittools-0.0.2/root/sbin/e-smith/audittools/templates mezzanine_patched_smeserver-audittools-0.0.2/root/sbin/e-smith/audittools/templates
2     --- smeserver-audittools-0.0.2/root/sbin/e-smith/audittools/templates 2006-03-30 10:50:36.000000000 +1000
3     +++ mezzanine_patched_smeserver-audittools-0.0.2/root/sbin/e-smith/audittools/templates 2006-04-12 10:23:39.630317406 +1000
4     @@ -63,7 +63,7 @@
5    
6     my $status = rpm_status(name => $File::Find::name);
7    
8     - return if ( $status eq "OK");
9     + return if ( $status eq "OWNED_BY_RPM");
10    
11     print "$File::Find::name: $status\n";
12     }
13     @@ -74,9 +74,9 @@
14    
15     my @rpms = $rpm2->find_by_file($options{name});
16    
17     - return "UNOWNED" unless (@rpms);
18     + return "MANUALLY_ADDED" unless (@rpms);
19    
20     - return "MULTIPLE_OWNERS " . join(", ", map { $_->as_nvre } @rpms)
21     + return "MULTIPLE_RPM_OWNERS " . join(", ", map { $_->as_nvre } @rpms)
22     if (@rpms >= 2);
23    
24     my $install_time = $rpms[0]->tag("INSTALLTIME");
25     @@ -85,5 +85,5 @@
26    
27     return "MODIFIED " . $rpms[0]->as_nvre if ($st->mtime > $install_time);
28    
29     - return "OK";
30     + return "OWNED_BY_RPM";
31     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed