(empty log message)
@@ -304,12 +304,12 @@ | ||
304 | 304 | <p>Run the following commands in order to extract source code of CaitSith:</p> |
305 | 305 | |
306 | 306 | <pre class="command"> |
307 | -# wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' | |
308 | -# wget -O caitsith-patch-0.2-20220222.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz.asc' | |
307 | +# wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' | |
308 | +# wget -O caitsith-patch-0.2-20220512.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz.asc' | |
309 | 309 | # wget https://tomoyo.osdn.jp/kumaneko-key |
310 | 310 | # gpg --import kumaneko-key |
311 | -# gpg caitsith-patch-0.2-20220222.tar.gz.asc | |
312 | -# tar -zxf caitsith-patch-0.2-20220222.tar.gz | |
311 | +# gpg caitsith-patch-0.2-20220512.tar.gz.asc | |
312 | +# tar -zxf caitsith-patch-0.2-20220512.tar.gz | |
313 | 313 | </pre> |
314 | 314 | |
315 | 315 | <hr> |
@@ -645,12 +645,12 @@ | ||
645 | 645 | 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> |
646 | 646 | |
647 | 647 | <pre class="command"> |
648 | -$ wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' | |
649 | -$ wget -O caitsith-patch-0.2-20220222.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz.asc' | |
648 | +$ wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' | |
649 | +$ wget -O caitsith-patch-0.2-20220512.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz.asc' | |
650 | 650 | $ wget https://tomoyo.osdn.jp/kumaneko-key |
651 | 651 | $ gpg --import kumaneko-key |
652 | -$ gpg caitsith-patch-0.2-20220222.tar.gz.asc | |
653 | -$ tar -zxf caitsith-patch-0.2-20220222.tar.gz | |
652 | +$ gpg caitsith-patch-0.2-20220512.tar.gz.asc | |
653 | +$ tar -zxf caitsith-patch-0.2-20220512.tar.gz | |
654 | 654 | $ 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 |
655 | 655 | $ patch -sp1 < patches/ccs-patch-$VERSION.diff |
656 | 656 | </pre> |
@@ -18,9 +18,9 @@ | ||
18 | 18 | rpm -ivh kernel-2.6.32-754.35.1.el6.src.rpm || die "Can't install source package." |
19 | 19 | |
20 | 20 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
21 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
21 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
22 | 22 | then |
23 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
23 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
24 | 24 | fi |
25 | 25 | |
26 | 26 | cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ." |
@@ -69,7 +69,7 @@ | ||
69 | 69 | ApplyOptionalPatch linux-kernel-test.patch |
70 | 70 | |
71 | 71 | +# CaitSith |
72 | -+tar -zxf %_sourcedir/caitsith-patch-0.2-20220222.tar.gz | |
72 | ++tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz | |
73 | 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 |
74 | 74 | +patch -sp1 < patches/ccs-patch-2.6.32-centos-6.diff |
75 | 75 | # Any further pre-build tree manipulations happen here. |
@@ -18,9 +18,9 @@ | ||
18 | 18 | rpm -ivh kernel-3.10.0-1160.62.1.el7.src.rpm || die "Can't install source package." |
19 | 19 | |
20 | 20 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
21 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
21 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
22 | 22 | then |
23 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
23 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
24 | 24 | fi |
25 | 25 | |
26 | 26 | cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ." |
@@ -69,7 +69,7 @@ | ||
69 | 69 | ApplyOptionalPatch debrand-rh-i686-cpu.patch |
70 | 70 | |
71 | 71 | +# CaitSith |
72 | -+tar -zxf %_sourcedir/caitsith-patch-0.2-20220222.tar.gz | |
72 | ++tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz | |
73 | 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 |
74 | 74 | +patch -sp1 < patches/ccs-patch-3.10-centos-7.diff |
75 | 75 | # Any further pre-build tree manipulations happen here. |
@@ -18,9 +18,9 @@ | ||
18 | 18 | rpm -ivh kernel-4.18.0-383.el8.src.rpm || die "Can't install source package." |
19 | 19 | |
20 | 20 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
21 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
21 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
22 | 22 | then |
23 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
23 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
24 | 24 | fi |
25 | 25 | |
26 | 26 | cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ." |
@@ -42,7 +42,7 @@ | ||
42 | 42 | # END OF PATCH APPLICATIONS |
43 | 43 | |
44 | 44 | +# CaitSith |
45 | -+tar -zxf %_sourcedir/caitsith-patch-0.2-20220222.tar.gz | |
45 | ++tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz | |
46 | 46 | +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 |
47 | 47 | +patch -sp1 < patches/ccs-patch-4.18-centos-8.diff |
48 | 48 | # Any further pre-build tree manipulations happen here. |
@@ -23,10 +23,10 @@ | ||
23 | 23 | # Download CaitSith patches. |
24 | 24 | mkdir -p ~/rpmbuild/SOURCES/ |
25 | 25 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
26 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
26 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
27 | 27 | then |
28 | 28 | apt-get -y install wget |
29 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
29 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
30 | 30 | fi |
31 | 31 | |
32 | 32 | # Install kernel source packages. |
@@ -38,7 +38,7 @@ | ||
38 | 38 | |
39 | 39 | # Apply patches and create kernel config. |
40 | 40 | cd linux-source-3.2 || die "Can't chdir to linux-source-3.2/ ." |
41 | -tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220222.tar.gz || die "Can't extract patch." | |
41 | +tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch." | |
42 | 42 | 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 |
43 | 43 | patch -p1 < patches/ccs-patch-3.2-debian-wheezy.diff || die "Can't apply patch." |
44 | 44 | cat /boot/config-3.2.0-$ABI_VERSION-$ORIGINAL_FLAVOUR config.caitsith > .config || die "Can't create config." |
@@ -29,9 +29,9 @@ | ||
29 | 29 | # Download CaitSith patches. |
30 | 30 | mkdir -p ~/rpmbuild/SOURCES/ |
31 | 31 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
32 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
32 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
33 | 33 | then |
34 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
34 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
35 | 35 | fi |
36 | 36 | |
37 | 37 | # Install kernel source packages. |
@@ -44,7 +44,7 @@ | ||
44 | 44 | # Apply patches and create kernel config. |
45 | 45 | cd linux-3.2.0/ || die "Can't chdir to linux-3.2.0/ ." |
46 | 46 | update_maintainer |
47 | -tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220222.tar.gz || die "Can't extract patch." | |
47 | +tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch." | |
48 | 48 | 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 |
49 | 49 | patch -p1 < patches/ccs-patch-3.2-ubuntu-12.04.diff || die "Can't apply patch." |
50 | 50 | rm -fR patches/ specs/ || die "Can't delete patch." |
@@ -29,9 +29,9 @@ | ||
29 | 29 | # Download CaitSith patches. |
30 | 30 | mkdir -p ~/rpmbuild/SOURCES/ |
31 | 31 | cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ." |
32 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
32 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
33 | 33 | then |
34 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
34 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
35 | 35 | fi |
36 | 36 | |
37 | 37 | # Install kernel source packages. |
@@ -44,7 +44,7 @@ | ||
44 | 44 | # Apply patches and create kernel config. |
45 | 45 | cd linux-3.13.0/ || die "Can't chdir to linux-3.13.0/ ." |
46 | 46 | update_maintainer |
47 | -tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220222.tar.gz || die "Can't extract patch." | |
47 | +tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch." | |
48 | 48 | 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 |
49 | 49 | patch -p1 < patches/ccs-patch-3.13-ubuntu-14.04.diff || die "Can't apply patch." |
50 | 50 | rm -fR patches/ specs/ || die "Can't delete patch." |
@@ -18,9 +18,9 @@ | ||
18 | 18 | rpm -ivh kernel-4.4.110-2vl6.src.rpm || die "Can't install source package." |
19 | 19 | |
20 | 20 | cd ~/rpm/SOURCES/ || die "Can't chdir to ~/rpm/SOURCES/ ." |
21 | -if [ ! -r caitsith-patch-0.2-20220222.tar.gz ] | |
21 | +if [ ! -r caitsith-patch-0.2-20220512.tar.gz ] | |
22 | 22 | then |
23 | - wget -O caitsith-patch-0.2-20220222.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220222.tar.gz' || die "Can't download patch." | |
23 | + wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch." | |
24 | 24 | fi |
25 | 25 | |
26 | 26 | cd /tmp/ || die "Can't chdir to /tmp/ ." |
@@ -61,7 +61,7 @@ | ||
61 | 61 | # END OF PATCH APPLICATIONS |
62 | 62 | |
63 | 63 | +# CaitSith |
64 | -+tar -zxf %_sourcedir/caitsith-patch-0.2-20220222.tar.gz | |
64 | ++tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz | |
65 | 65 | +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 |
66 | 66 | +patch -sp1 < patches/ccs-patch-4.4-vine-linux-6.diff |
67 | 67 | cp %{SOURCE10} Documentation/ |