wok-6.x rev 24513

updated elfkickers (3.1 -> 3.2)
author Hans-G?nter Theisgen
date Mon Feb 21 10:48:33 2022 +0100 (2022-02-21)
parents e6b1d0b43c4a
children 245df3ec9e6a
files elfkickers/description.txt elfkickers/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/elfkickers/description.txt	Mon Feb 21 10:48:33 2022 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +This is a collection of programs that are generally unrelated, except in
     1.5 +that they all deal with ELF files.
     1.6 +
     1.7 +The main purpose of these programs is to be illustrative and educational
     1.8 +-- to help fellow programmers understand ELF files and something of how
     1.9 +they work under the Linux platform.
    1.10 +
    1.11 +Each program is independent. There is very little shared code between them,
    1.12 +and in fact they all take slightly different approaches to handling ELF files.
    1.13 +
    1.14 +The package includes:
    1.15 +
    1.16 +* sstrip: a small utility that removes a few bytes from an executable that
    1.17 +  strip leaves behind.
    1.18 +* elftoc: a program that takes an ELF file and generates C code that defines
    1.19 +  a struct with the same memory image, using the structs and preprocessor
    1.20 +  symbols defined in <elf.h>.
    1.21 +* elfls: a utility that displays an ELF file's program or section header tables,
    1.22 +  which serve as a kind of global roadmap to the file's contents.
    1.23 +* rebind: a small utility that alters the binding of selected symbols in an
    1.24 +  object file.
     2.1 --- a/elfkickers/receipt	Mon Feb 21 10:26:56 2022 +0100
     2.2 +++ b/elfkickers/receipt	Mon Feb 21 10:48:33 2022 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="elfkickers"
     2.7 -VERSION="3.1"
     2.8 -SOURCE="ELFkickers"
     2.9 +VERSION="3.2"
    2.10  CATEGORY="system-tools"
    2.11  SHORT_DESC="Misc ELF linker format tools."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="https://www.muppetlabs.com/~breadbox/software/elfkickers.html"
    2.15 +
    2.16 +SOURCE="ELFkickers"
    2.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
    2.19 -WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
    2.20 +WGET_URL="https://www.muppetlabs.com/~breadbox/pub/software/$TARBALL"
    2.21  
    2.22  # What is the latest version available today?
    2.23  current_version()
    2.24 @@ -21,17 +22,20 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c
    2.29 +	sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' \
    2.30 +		sstrip/sstrip.c
    2.31  	mkdir -p $DESTDIR/usr/bin
    2.32 -	for i in elfls rebind elftoc sstrip ; do
    2.33 +	for i in elfls rebind elftoc sstrip
    2.34 +	  do
    2.35  		cd $i
    2.36 -		make && cp $i $DESTDIR/usr/bin
    2.37 +		make &&
    2.38 +		cp $i $DESTDIR/usr/bin
    2.39  		cd ..
    2.40 -	done
    2.41 +	  done
    2.42  }
    2.43  
    2.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.45  genpkg_rules()
    2.46  {
    2.47 -	cp -a $install/* $fs
    2.48 +	cp -a $install/*	$fs
    2.49  }