Changeset e6423a01 for final-system/common/gzip.xml
- Timestamp:
- Feb 21, 2006, 9:23:04 AM (19 years ago)
- Children:
- 193b7dd
- Parents:
- b8fddc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/gzip.xml
rb8fddc7 re6423a01 35 35 <title>Installation of Gzip</title> 36 36 37 <para os=" a">The following patch fixes two security vulnerabilities in Gzip.37 <para os="p1">The following patch fixes two security vulnerabilities in Gzip. 38 38 First, a path traversal bug when using the <option>-N</option> option 39 39 (CAN-2005-1228) Second, a race condition in the file permission restore 40 40 code (CAN-2005-0998)</para> 41 41 42 <screen os=" b"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>43 44 <para os=" c">Prepare Gzip for compilation:</para>45 46 <screen ><userinput>./configure --prefix=/usr</userinput></screen>47 48 <para os=" d">The <command>gzexe</command> script has the location of the42 <screen os="p2"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen> 43 44 <para os="a">Prepare Gzip for compilation:</para> 45 46 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 47 48 <para os="c">The <command>gzexe</command> script has the location of the 49 49 <command>gzip</command> binary hard-wired into it. Because the 50 50 location of the binary is changed later, the following command ensures 51 51 that the new location gets placed into the script:</para> 52 52 53 <screen os=" e"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>54 55 <para os=" f">Compile the package:</para>56 57 <screen os=" g"><userinput>make</userinput></screen>58 59 <para os=" h">Install the package:</para>60 61 <screen os=" i"><userinput>make install</userinput></screen>62 63 <para os=" j">Move the <command>gzip</command> program to the <filename53 <screen os="d"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen> 54 55 <para os="e">Compile the package:</para> 56 57 <screen os="f"><userinput>make</userinput></screen> 58 59 <para os="g">Install the package:</para> 60 61 <screen os="h"><userinput>make install</userinput></screen> 62 63 <para os="i">Move the <command>gzip</command> program to the <filename 64 64 class="directory">/bin</filename> directory and create some commonly 65 65 used symlinks to it:</para> 66 66 67 <screen os=" k"><userinput>mv /usr/bin/gzip /bin67 <screen os="j"><userinput>mv /usr/bin/gzip /bin 68 68 rm /usr/bin/{gunzip,zcat} 69 69 ln -s gzip /bin/gunzip
Note:
See TracChangeset
for help on using the changeset viewer.