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 |
} |