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

Subversion リポジトリの参照

Diff of /branches/build-f13-2.6.33.sh

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

revision 5576 by kumaneko, Wed Oct 26 01:39:16 2011 UTC revision 5635 by kumaneko, Mon Nov 14 07:04:22 2011 UTC
# Line 18  rpm --checksig kernel-2.6.33.3-85.fc13.s Line 18  rpm --checksig kernel-2.6.33.3-85.fc13.s
18  rpm -ivh kernel-2.6.33.3-85.fc13.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.33.3-85.fc13.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 ccs-patch-1.8.3-20111025.tar.gz ]  if [ ! -r ccs-patch-1.8.3-20111111.tar.gz ]
22  then  then
23      wget -O ccs-patch-1.8.3-20111025.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/tomoyo/49684/ccs-patch-1.8.3-20111025.tar.gz' || die "Can't download patch."      wget -O ccs-patch-1.8.3-20111111.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/tomoyo/49684/ccs-patch-1.8.3-20111111.tar.gz' || die "Can't download patch."
24  fi  fi
25    
26  if [ ! -r ccs-patch-2.6.33-fedora-13-20110614.diff ]  if [ ! -r ccs-patch-2.6.33-fedora-13-20110614.diff ]
# Line 38  patch << "EOF" || die "Can't patch spec Line 38  patch << "EOF" || die "Can't patch spec
38   # (Uncomment the '#' and both spaces below to set the buildid.)   # (Uncomment the '#' and both spaces below to set the buildid.)
39   #   #
40  -# % define buildid .local  -# % define buildid .local
41  +%define buildid _tomoyo_1.8.3p1  +%define buildid _tomoyo_1.8.3p2
42   ###################################################################   ###################################################################
43    
44   # buildid can also be specified on the rpmbuild command line   # buildid can also be specified on the rpmbuild command line
# Line 77  patch << "EOF" || die "Can't patch spec Line 77  patch << "EOF" || die "Can't patch spec
77   # END OF PATCH APPLICATIONS   # END OF PATCH APPLICATIONS
78    
79  +# TOMOYO Linux  +# TOMOYO Linux
80  +tar -zxf %_sourcedir/ccs-patch-1.8.3-20111025.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.8.3-20111111.tar.gz
81  +patch -sp1 < %_sourcedir/ccs-patch-2.6.33-fedora-13-20110614.diff  +patch -sp1 < %_sourcedir/ccs-patch-2.6.33-fedora-13-20110614.diff
82  +  +
83   %endif   %endif

Legend:
Removed from v.5576  
changed lines
  Added in v.5635

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