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

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 3423 by kumaneko, Thu Feb 4 08:18:38 2010 UTC revision 3441 by kumaneko, Sun Feb 14 04:31:38 2010 UTC
# Line 17  fi Line 17  fi
17  rpm -ivh kernel-2.6.9-89.0.20.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.9-89.0.20.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.7.1-20091220.tar.gz ]  if [ ! -r ccs-patch-1.7.1-20100214.tar.gz ]
21  then  then
22      wget http://osdn.dl.sourceforge.jp/tomoyo/43375/ccs-patch-1.7.1-20091220.tar.gz || die "Can't download patch."      wget http://osdn.dl.sourceforge.jp/tomoyo/43375/ccs-patch-1.7.1-20100214.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 89.0.20.EL  -%define release 89.0.20.EL
35  +%define release 89.0.20.EL_tomoyo_1.7.1p1  +%define release 89.0.20.EL_tomoyo_1.7.1p2
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.7.1-20091220.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.7.1-20100214.tar.gz
64  +patch -sp1 < patches/ccs-patch-2.6.9-centos-4.8.diff  +patch -sp1 < patches/ccs-patch-2.6.9-centos-4.8.diff
65  +  +
66   cp %{SOURCE10} Documentation/   cp %{SOURCE10} Documentation/

Legend:
Removed from v.3423  
changed lines
  Added in v.3441

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