オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/specs/build-c3-2.4.21.sh

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

revision 6406 by kumaneko, Wed Apr 8 07:35:53 2015 UTC revision 6407 by kumaneko, Tue Apr 21 08:15:55 2015 UTC
# Line 18  LANG=C rpm --checksig kernel-2.4.21-63.E Line 18  LANG=C rpm --checksig kernel-2.4.21-63.E
18  rpm -ivh kernel-2.4.21-63.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.4.21-63.EL.src.rpm || die "Can't install source package."
19    
20  cd /usr/src/redhat/SOURCES/ || die "Can't chdir to /usr/src/redhat/SOURCES/ ."  cd /usr/src/redhat/SOURCES/ || die "Can't chdir to /usr/src/redhat/SOURCES/ ."
21  if [ ! -r ccs-patch-1.8.3-20150408.tar.gz ]  if [ ! -r ccs-patch-1.8.3-20150421.tar.gz ]
22  then  then
23      wget -O ccs-patch-1.8.3-20150408.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/tomoyo/49684/ccs-patch-1.8.3-20150408.tar.gz' || die "Can't download patch."      wget -O ccs-patch-1.8.3-20150421.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/tomoyo/49684/ccs-patch-1.8.3-20150421.tar.gz' || die "Can't download patch."
24  fi  fi
25    
26  cd /tmp/ || die "Can't chdir to /tmp/ ."  cd /tmp/ || die "Can't chdir to /tmp/ ."
# Line 33  patch << "EOF" || die "Can't patch spec Line 33  patch << "EOF" || die "Can't patch spec
33   # adding some text to the end of the version number.   # adding some text to the end of the version number.
34   #   #
35  -%define release 63.EL  -%define release 63.EL
36  +%define release 63.EL_tomoyo_1.8.3p9  +%define release 63.EL_tomoyo_1.8.3p10
37   %define sublevel 21   %define sublevel 21
38   %define kversion 2.4.%{sublevel}   %define kversion 2.4.%{sublevel}
39   # /usr/src/%{kslnk} -> /usr/src/linux-%{KVERREL}   # /usr/src/%{kslnk} -> /usr/src/linux-%{KVERREL}
# Line 51  patch << "EOF" || die "Can't patch spec Line 51  patch << "EOF" || die "Can't patch spec
51   # END OF PATCH APPLICATIONS   # END OF PATCH APPLICATIONS
52    
53  +# TOMOYO Linux  +# TOMOYO Linux
54  +tar -zxf %_sourcedir/ccs-patch-1.8.3-20150408.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.8.3-20150421.tar.gz
55  +patch -sp1 < patches/ccs-patch-2.4.21-centos-3.diff  +patch -sp1 < patches/ccs-patch-2.4.21-centos-3.diff
56  +  +
57   cp %{SOURCE10} Documentation/   cp %{SOURCE10} Documentation/

Legend:
Removed from v.6406  
changed lines
  Added in v.6407

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26