Browse Subversion Repository
Diff of /trunk/caitsith-patch/specs/build-c6-2.6.32.sh
Parent Directory
| Revision Log
| Patch
| 18 |
rpm -ivh kernel-2.6.32-754.35.1.el6.src.rpm || die "Can't install source package." |
rpm -ivh kernel-2.6.32-754.35.1.el6.src.rpm || die "Can't install source package." |
| 19 |
|
|
| 20 |
cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
| 21 |
if [ ! -r caitsith-patch-0.2-20210606.tar.gz ] |
if [ ! -r caitsith-patch-0.2-20210916.tar.gz ] |
| 22 |
then |
then |
| 23 |
wget -O caitsith-patch-0.2-20210606.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20210606.tar.gz' || die "Can't download patch." |
wget -O caitsith-patch-0.2-20210916.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20210916.tar.gz' || die "Can't download patch." |
| 24 |
fi |
fi |
| 25 |
|
|
| 26 |
cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ." |
cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ." |
| 69 |
ApplyOptionalPatch linux-kernel-test.patch |
ApplyOptionalPatch linux-kernel-test.patch |
| 70 |
|
|
| 71 |
+# CaitSith |
+# CaitSith |
| 72 |
+tar -zxf %_sourcedir/caitsith-patch-0.2-20210606.tar.gz |
+tar -zxf %_sourcedir/caitsith-patch-0.2-20210916.tar.gz |
| 73 |
+sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff |
+sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/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.347 |
|
| changed lines |
| |
Added in v.360 |
|
|
|