| 304 |
<p>Run the following commands in order to extract source code of CaitSith:</p> |
<p>Run the following commands in order to extract source code of CaitSith:</p> |
| 305 |
|
|
| 306 |
<pre class="command"> |
<pre class="command"> |
| 307 |
# wget -O caitsith-patch-0.2-20231111.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231111.tar.gz' |
# wget -O caitsith-patch-0.2-20231225.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231225.tar.gz' |
| 308 |
# wget -O caitsith-patch-0.2-20231111.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231111.tar.gz.asc' |
# wget -O caitsith-patch-0.2-20231225.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231225.tar.gz.asc' |
| 309 |
# wget https://tomoyo.osdn.jp/kumaneko-key |
# wget https://tomoyo.osdn.jp/kumaneko-key |
| 310 |
# gpg --import kumaneko-key |
# gpg --import kumaneko-key |
| 311 |
# gpg caitsith-patch-0.2-20231111.tar.gz.asc |
# gpg caitsith-patch-0.2-20231225.tar.gz.asc |
| 312 |
# tar -zxf caitsith-patch-0.2-20231111.tar.gz |
# tar -zxf caitsith-patch-0.2-20231225.tar.gz |
| 313 |
</pre> |
</pre> |
| 314 |
|
|
| 315 |
<hr> |
<hr> |
| 646 |
Also, there are several patches which can be applied to distributor's latest kernels. For example "3.10-centos-7" if using CentOS 7's latest kernel:</p> |
Also, there are several patches which can be applied to distributor's latest kernels. For example "3.10-centos-7" if using CentOS 7's latest kernel:</p> |
| 647 |
|
|
| 648 |
<pre class="command"> |
<pre class="command"> |
| 649 |
$ wget -O caitsith-patch-0.2-20231111.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231111.tar.gz' |
$ wget -O caitsith-patch-0.2-20231225.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231225.tar.gz' |
| 650 |
$ wget -O caitsith-patch-0.2-20231111.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231111.tar.gz.asc' |
$ wget -O caitsith-patch-0.2-20231225.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20231225.tar.gz.asc' |
| 651 |
$ wget https://tomoyo.osdn.jp/kumaneko-key |
$ wget https://tomoyo.osdn.jp/kumaneko-key |
| 652 |
$ gpg --import kumaneko-key |
$ gpg --import kumaneko-key |
| 653 |
$ gpg caitsith-patch-0.2-20231111.tar.gz.asc |
$ gpg caitsith-patch-0.2-20231225.tar.gz.asc |
| 654 |
$ tar -zxf caitsith-patch-0.2-20231111.tar.gz |
$ tar -zxf caitsith-patch-0.2-20231225.tar.gz |
| 655 |
$ 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 |
| 656 |
$ patch -sp1 < patches/ccs-patch-$VERSION.diff |
$ patch -sp1 < patches/ccs-patch-$VERSION.diff |
| 657 |
</pre> |
</pre> |