Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/caitsith-patch/specs/build-c6-2.6.32.sh

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

revision 157 by kumaneko, Thu Jul 16 02:16:38 2015 UTC revision 159 by kumaneko, Tue Jul 21 12:07:15 2015 UTC
# Line 18  LANG=C rpm --checksig kernel-2.6.32-504. Line 18  LANG=C rpm --checksig kernel-2.6.32-504.
18  rpm -ivh kernel-2.6.32-504.30.3.el6.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.32-504.30.3.el6.src.rpm || die "Can't install source package."
19    
20  cd /root/rpmbuild/SOURCES/ || die "Can't chdir to /root/rpmbuild/SOURCES/ ."  cd /root/rpmbuild/SOURCES/ || die "Can't chdir to /root/rpmbuild/SOURCES/ ."
21  if [ ! -r caitsith-patch-0.1-20150606.tar.gz ]  if [ ! -r caitsith-patch-0.1-20150721.tar.gz ]
22  then  then
23      wget -O caitsith-patch-0.1-20150606.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/caitsith/55464/caitsith-patch-0.1-20150606.tar.gz' || die "Can't download patch."      wget -O caitsith-patch-0.1-20150721.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/caitsith/55464/caitsith-patch-0.1-20150721.tar.gz' || die "Can't download patch."
24  fi  fi
25    
26  cd /root/rpmbuild/SPECS/ || die "Can't chdir to /root/rpmbuild/SPECS/ ."  cd /root/rpmbuild/SPECS/ || die "Can't chdir to /root/rpmbuild/SPECS/ ."
# Line 69  patch << "EOF" || die "Can't patch spec Line 69  patch << "EOF" || die "Can't patch spec
69   ApplyOptionalPatch linux-kernel-test.patch   ApplyOptionalPatch linux-kernel-test.patch
70    
71  +# CaitSith  +# CaitSith
72  +tar -zxf %_sourcedir/caitsith-patch-0.1-20150606.tar.gz  +tar -zxf %_sourcedir/caitsith-patch-0.1-20150721.tar.gz
73  +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' patches/ccs-patch-*.diff  +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' patches/ccs-patch-*.diff
74  +patch -sp1 < patches/ccs-patch-2.6.32-centos-6.diff  +patch -sp1 < patches/ccs-patch-2.6.32-centos-6.diff
75   # Any further pre-build tree manipulations happen here.   # Any further pre-build tree manipulations happen here.

Legend:
Removed from v.157  
changed lines
  Added in v.159

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