Difference between revisions of "Ed"
Line 8: | Line 8: | ||
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http:// | + | | http://svn.cross-lfs.org/svn/repos/patches/ed/ed-0.2-mkstemp-1.patch |
+ | |- | ||
+ | !Required Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/ed/ed-0.2-direntry-2.patch | ||
|} | |} | ||
Revision as of 10:44, 4 September 2006
Download Source: | http://ftp.gnu.org/pub/gnu/ed/ed-0.2.tar.gz |
---|---|
Download Source: | ftp://ftp.gnu.org/pub/gnu/ed/ed-0.2.tar.gz |
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/ed/ed-0.2-mkstemp-1.patch |
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/ed/ed-0.2-direntry-2.patch |
Dependencies
Non-Multilib
Ed normally uses the mktemp function to create temporary files in /tmp, but this function contains a vulnerability (see the section on Temporary Files at http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html). Apply the following patch to make Ed use mkstemp instead, a secure way to create temporary files:
patch -Np1 -i ../ed-0.2-mkstemp-1.patch
Compile the package:
./configure --prefix=/usr --exec-prefix="" && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Ed normally uses the mktemp function to create temporary files in /tmp, but this function contains a vulnerability (see the section on Temporary Files at http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html). Apply the following patch to make Ed use mkstemp instead, a secure way to create temporary files:
patch -Np1 -i ../ed-0.2-mkstemp-1.patch
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --exec-prefix="" && make
Install the package
make install
N32
Ed normally uses the mktemp function to create temporary files in /tmp, but this function contains a vulnerability (see the section on Temporary Files at http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html). Apply the following patch to make Ed use mkstemp instead, a secure way to create temporary files:
patch -Np1 -i ../ed-0.2-mkstemp-1.patch
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --exec-prefix="" && make
Install the package
make install
64Bit
Ed normally uses the mktemp function to create temporary files in /tmp, but this function contains a vulnerability (see the section on Temporary Files at http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html). Apply the following patch to make Ed use mkstemp instead, a secure way to create temporary files:
patch -Np1 -i ../ed-0.2-mkstemp-1.patch
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --exec-prefix="" && make
Install the package
make install