# HG changeset patch # User Hans-G?nter Theisgen # Date 1645436913 -3600 # Node ID 4e7edc76de887c1c785e3b9b9b9c52064d386d6a # Parent e6b1d0b43c4a7992a65f2eeed636c9d4c9d8bb75 updated elfkickers (3.1 -> 3.2) diff -r e6b1d0b43c4a -r 4e7edc76de88 elfkickers/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/elfkickers/description.txt Mon Feb 21 10:48:33 2022 +0100 @@ -0,0 +1,21 @@ +This is a collection of programs that are generally unrelated, except in +that they all deal with ELF files. + +The main purpose of these programs is to be illustrative and educational +-- to help fellow programmers understand ELF files and something of how +they work under the Linux platform. + +Each program is independent. There is very little shared code between them, +and in fact they all take slightly different approaches to handling ELF files. + +The package includes: + +* sstrip: a small utility that removes a few bytes from an executable that + strip leaves behind. +* elftoc: a program that takes an ELF file and generates C code that defines + a struct with the same memory image, using the structs and preprocessor + symbols defined in . +* elfls: a utility that displays an ELF file's program or section header tables, + which serve as a kind of global roadmap to the file's contents. +* rebind: a small utility that alters the binding of selected symbols in an + object file. diff -r e6b1d0b43c4a -r 4e7edc76de88 elfkickers/receipt --- a/elfkickers/receipt Mon Feb 21 10:26:56 2022 +0100 +++ b/elfkickers/receipt Mon Feb 21 10:48:33 2022 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="elfkickers" -VERSION="3.1" -SOURCE="ELFkickers" +VERSION="3.2" CATEGORY="system-tools" SHORT_DESC="Misc ELF linker format tools." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.muppetlabs.com/~breadbox/software/elfkickers.html" + +SOURCE="ELFkickers" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html" -WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL" +WGET_URL="https://www.muppetlabs.com/~breadbox/pub/software/$TARBALL" # What is the latest version available today? current_version() @@ -21,17 +22,20 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c + sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' \ + sstrip/sstrip.c mkdir -p $DESTDIR/usr/bin - for i in elfls rebind elftoc sstrip ; do + for i in elfls rebind elftoc sstrip + do cd $i - make && cp $i $DESTDIR/usr/bin + make && + cp $i $DESTDIR/usr/bin cd .. - done + done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + cp -a $install/* $fs }