Revision 127
- Date:
- 2009/08/15 01:19:39
- Files:
Legend:
- Added
- Removed
- Modified
-
recepies/etherpuppet/0.install
1 apt-get install etherpuppet -
recepies/etherpuppet/build-arch.sh
1 #!/bin/sh -x 2 3 arch=$1 4 fwl=/virtual/fwl/ 5 6 wget -m -nd -nH http://hg.secdev.org/etherpuppet/raw-file/tip/etherpuppet.c || exit 7 8 path="$fwl/cross-compiler-$arch" 9 10 if [ ! -e $path ] ; then 11 cd $fwl || exit 12 wget -m -nd -nH http://impactlinux.com/fwl/downloads/binaries/cross-compiler/host-i686/cross-compiler-$arch.tar.bz2 || exit 13 tar xvfj cross-compiler-$arch.tar.bz2 14 cd - 15 fi 16 17 PATH=$path/bin:$PATH 18 $arch-gcc -static -o etherpuppet-$arch etherpuppet.c 19 20 ls -al etherpuppet-$arch 21 file etherpuppet-$arch -
recepies/etherpuppet/README
1 EtherPuppet: http://www.secdev.org/projects/etherpuppet/ 2 Firmware Linux: http://impactlinux.com/firmware-linux/