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

Subversion リポジトリの参照

Diff of /trunk/1.7.x/ccs-patch/specs/build-c4-2.6.9.sh

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

revision 2061 by kumaneko, Fri Jan 16 01:27:19 2009 UTC revision 2099 by kumaneko, Mon Feb 2 03:47:38 2009 UTC
# Line 17  fi Line 17  fi
17  rpm -ivh kernel-2.6.9-78.0.13.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.9-78.0.13.EL.src.rpm || die "Can't install source package."
18    
19  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/ ."
20  if [ ! -r ccs-patch-1.6.5-20081225.tar.gz ]  if [ ! -r ccs-patch-1.6.6-20090202.tar.gz ]
21  then  then
22      wget http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.5-20081225.tar.gz || die "Can't download patch."      wget http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.6-20090202.tar.gz || die "Can't download patch."
23  fi  fi
24    
25  cd /tmp/ || die "Can't chdir to /tmp/ ."  cd /tmp/ || die "Can't chdir to /tmp/ ."
# Line 32  patch << "EOF" || die "Can't patch spec Line 32  patch << "EOF" || die "Can't patch spec
32   # adding some text to the end of the version number.   # adding some text to the end of the version number.
33   #   #
34  -%define release 78.0.13.EL  -%define release 78.0.13.EL
35  +%define release 78.0.13.EL_tomoyo_1.6.5  +%define release 78.0.13.EL_tomoyo_1.6.6
36   %define sublevel 9   %define sublevel 9
37   %define kversion 2.6.%{sublevel}   %define kversion 2.6.%{sublevel}
38   %define rpmversion 2.6.%{sublevel}   %define rpmversion 2.6.%{sublevel}
# Line 60  patch << "EOF" || die "Can't patch spec Line 60  patch << "EOF" || die "Can't patch spec
60   # END OF PATCH APPLICATIONS   # END OF PATCH APPLICATIONS
61    
62  +# TOMOYO Linux  +# TOMOYO Linux
63  +tar -zxf %_sourcedir/ccs-patch-1.6.5-20081225.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.6.6-20090202.tar.gz
64  +patch -sp1 < patches/ccs-patch-2.6.9-centos-4.7.diff  +patch -sp1 < patches/ccs-patch-2.6.9-centos-4.7.diff
65  +  +
66   cp %{SOURCE10} Documentation/   cp %{SOURCE10} Documentation/

Legend:
Removed from v.2061  
changed lines
  Added in v.2099

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