Skip to content

Commit

Permalink
ltrace: Add version 0.7.3
Browse files Browse the repository at this point in the history
ltrace intercepts and records dynamic library calls which
are called by an executed process and the signals received
by that process. It can also intercept and print the system
calls executed by the program.

http://www.ltrace.org/

    buczek@theinternet:~/git/bee-files (add-ltrace)$ ltrace /bin/echo bla 2>&1
    getenv("POSIXLY_CORRECT")                               = nil
    strrchr("/bin/echo", '/')                               = "/echo"
    setlocale(LC_ALL, "")                                   = "LC_CTYPE=en_US.UTF-8;LC_NUMERIC="...
    bindtextdomain("coreutils", "/usr/share/locale")        = "/usr/share/locale"
    textdomain("coreutils")                                 = "coreutils"
    __cxa_atexit(0x401ce0, 0, 0, 0x736c6974756572)          = 0
    strcmp("bla", "--help")                                 = 53
    strcmp("bla", "--version")                              = 53
    fputs_unlocked(0x7ffeb9e2ba79, 0x7f6db23d0760, 0, 45)   = 1
    __overflow(0x7f6db23d0760, 10, 0x609342, 0xfbad2a84bla) = 10
    __fpending(0x7f6db23d0760, 0, 0x401ce0, 1)              = 0
    fileno(0x7f6db23d0760)                                  = 1
    __freading(0x7f6db23d0760, 0, 0x401ce0, 1)              = 0
    __freading(0x7f6db23d0760, 0, 2052, 1)                  = 0
    fflush(0x7f6db23d0760)                                  = 0
    fclose(0x7f6db23d0760)                                  = 0
    __fpending(0x7f6db23d0680, 0, 0x7f6db23cb760, 2880)     = 0
    fileno(0x7f6db23d0680)                                  = 2
    __freading(0x7f6db23d0680, 0, 0x7f6db23cb760, 2880)     = 0
    __freading(0x7f6db23d0680, 0, 4, 2880)                  = 0
    fflush(0x7f6db23d0680)                                  = 0
    fclose(0x7f6db23d0680)                                  = 0
    +++ exited (status 0) +++
    buczek@theinternet:~/git/bee-files (add-ltrace)$
  • Loading branch information
donald committed Sep 23, 2019
1 parent d8aef45 commit 08e9474
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions ltrace.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#!/usr/bin/env beesh

# BEE_VERSION ltrace-0.7.3-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://www.ltrace.org/ltrace_${PKGVERSION}.orig.tar.bz2"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

# PATCHURL+=()

###############################################################################
## Uncomment the next statement, if the software may not be able to be built
## outside the source directory and needs to be built inside the source
## directory.

# build_in_sourcedir

###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
## Sometimes packages "hide" the real sources in a subdirectory named
## 'src' or 'cmake' or ..
## use 'sourcesubdir_append' to specify this directory if known.

# sourcesubdir_append src


###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0] is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##

0 comments on commit 08e9474

Please sign in to comment.