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

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 1498 by kumaneko, Fri Aug 29 12:08:57 2008 UTC revision 1505 by kumaneko, Tue Sep 2 05:05:58 2008 UTC
# Line 17  fi Line 17  fi
17  rpm -ivh kernel-2.6.9-67.0.22.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.9-67.0.22.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.3-20080715.tar.gz ]  if [ ! -r ccs-patch-1.6.4-20080903.tar.gz ]
21  then  then
22      wget http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.3-20080715.tar.gz || die "Can't download patch."      wget http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.4-20080903.tar.gz || die "Can't download patch."
 fi  
   
 if [ ! -r ccs-patch-2.6.9-centos-4.6.diff ]  
 then  
     wget -O ccs-patch-2.6.9-centos-4.6.diff 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/patches/ccs-patch-2.6.9-centos-4.6.diff?root=tomoyo' || 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 37  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 67.0.22.EL  -%define release 67.0.22.EL
35  +%define release 67.0.22.EL_tomoyo_1.6.3  +%define release 67.0.22.EL_tomoyo_1.6.4
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 65  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.3-20080715.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.6.4-20080903.tar.gz
64  +sed -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -67.0.22.EL/" -- Makefile  +# sed -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -67.0.22.EL/" -- Makefile
65  +patch -sp1 < %_sourcedir/ccs-patch-2.6.9-centos-4.6.diff  +patch -sp1 < patches/ccs-patch-2.6.9-centos-4.6.diff
66  +  +
67   cp %{SOURCE10} Documentation/   cp %{SOURCE10} Documentation/
68    

Legend:
Removed from v.1498  
changed lines
  Added in v.1505

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