Centos

Contents:

Contents

SRPM

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[os-srpm-centos]
name=CentOS OS $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/os/Source/
enabled=0
priority=1

[updates-srpm-centos]
name=CentOS UPDATES $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/updates/Source/
enabled=0
priority=1

[extras-srpm-centos]
name=CentOS EXTRAS $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/extras/Source/
enabled=0
priority=1

[centosplus-srpm-centos]
name=CentOS CENTOSPLUS $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/centosplus/Source/
enabled=0
priority=1

[contrib-srpm-centos]
name=CentOS CONTRIB $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/contrib/Source/
enabled=0
priority=1

[fasttrack-srpm-centos]
name=CentOS FASTTRACK $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/fasttrack/Source/
enabled=0
priority=1

[cr-srpm-centos]
name=CentOS CR $releasever - $basearch - Source from centos
baseurl=http://vault.centos.org/6.4/cr/Source/
enabled=0
priority=1

谺。縺ョ繧医≧縺ォ縺吶k

rpm -qf /usr/sbin/ntpd
> ntp-4.2.4p8-3.el6.centos.x86_64
sudo yum install rpmdevtools
yumdownloader  --enablerepo=os-srpm-centos,updates-srpm-centos,extras-srpm-centos  --source ntp
rpmdev-extract ntp-4.2.4p8-3.el6.centos.src.rpm