/[smeserver]/rpms/smeserver-yum/sme7/smeserver-yum-2.0.0-CentOS.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme7/smeserver-yum-2.0.0-CentOS.patch

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

Revision 1.1 by wellsi, Sat Mar 17 02:00:23 2012 UTC Revision 1.2 by slords, Thu Mar 22 18:19:05 2012 UTC
# Line 1  Line 1 
1  diff -ruN smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos  diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL
2  --- smeserver-yum-2.0.0.old/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos  2008-10-07 15:21:29.000000000 +0100  --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL.CentOS     2012-03-22 11:45:24.866538302 -0600
3  +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos      2012-03-15 06:14:27.000000000 +0000  +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/BaseURL    2012-03-22 11:45:24.866538302 -0600
4  @@ -4,5 +4,6 @@  @@ -0,0 +1 @@
5    +http://vault.centos.org/4.9/addons/$basearch
6    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/addons/MirrorList
7    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL
8    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL.CentOS       2012-03-22 11:45:24.866538302 -0600
9    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/BaseURL      2012-03-22 11:45:24.866538302 -0600
10    @@ -0,0 +1 @@
11    +http://vault.centos.org/4.9/os/$basearch
12    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/base/MirrorList
13    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL
14    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL.CentOS 2012-03-22 11:45:24.874538802 -0600
15    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/BaseURL        2012-03-22 11:45:24.874538802 -0600
16    @@ -0,0 +1 @@
17    +http://vault.centos.org/4.9/centosplus/$basearch
18    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/centosplus/MirrorList
19    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL
20    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL.CentOS    2012-03-22 11:45:24.878539052 -0600
21    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/BaseURL   2012-03-22 11:45:24.878539052 -0600
22    @@ -0,0 +1 @@
23    +http://vault.centos.org/4.9/contrib/$basearch
24    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/contrib/MirrorList
25    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL
26    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL.CentOS     2012-03-22 11:45:24.882539302 -0600
27    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/BaseURL    2012-03-22 11:45:24.882539302 -0600
28    @@ -0,0 +1 @@
29    +http://vault.centos.org/4.9/extras/$basearch
30    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/extras/MirrorList
31    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL
32    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL.CentOS    2012-03-22 11:45:24.886539552 -0600
33    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/BaseURL   2012-03-22 11:45:24.886539552 -0600
34    @@ -0,0 +1 @@
35    +http://vault.centos.org/4.9/updates/$basearch
36    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/defaults/updates/MirrorList
37    diff -up smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos.CentOS smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos
38    --- smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos.CentOS       2008-10-07 08:21:29.000000000 -0600
39    +++ smeserver-yum-2.0.0/root/etc/e-smith/db/yum_repositories/migrate/20CentOSRepos      2012-03-22 11:46:02.464888052 -0600
40    @@ -1,8 +1,12 @@
41     {
42    -    for my $name ( qw(base updates) )
43    +    for my $name ( qw(addons base centosplus contrib extras updates) )
44         {
45          my $repo = $DB->get($name) or next;          my $repo = $DB->get($name) or next;
46    +       my $mirror = $DB->get_prop_and_delete($name, 'MirrorList');
47    +       next unless defined $mirror;
48    
49           $repo->set_prop('Visible', 'yes');  -        $repo->set_prop('Visible', 'yes');
50  +        $repo->set_prop('status', 'disabled');          +       my $reponame = $name;
51    +       $reponame =~ s/base/os/;
52    +       $repo->set_prop('BaseURL', "http://vault.centos.org/4.9/$reponame/\$basearch");
53       }       }
54   }   }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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