diff options
Diffstat (limited to 'strata/tools')
-rw-r--r-- | strata/tools/libpcap.morph | 3 | ||||
-rw-r--r-- | strata/tools/lsof.morph | 2 | ||||
-rw-r--r-- | strata/tools/parted.morph | 9 | ||||
-rw-r--r-- | strata/tools/procps-ng.morph | 16 | ||||
-rw-r--r-- | strata/tools/tcpdump.morph | 3 |
5 files changed, 32 insertions, 1 deletions
diff --git a/strata/tools/libpcap.morph b/strata/tools/libpcap.morph new file mode 100644 index 00000000..7c5ee932 --- /dev/null +++ b/strata/tools/libpcap.morph @@ -0,0 +1,3 @@ +name: libpcap +kind: chunk +build-system: autotools diff --git a/strata/tools/lsof.morph b/strata/tools/lsof.morph index 5fabcd64..38183ae6 100644 --- a/strata/tools/lsof.morph +++ b/strata/tools/lsof.morph @@ -1,7 +1,7 @@ name: lsof kind: chunk configure-commands: -- tar xf lsof_*_src.tar +- tar xf lsof_*_src.tar --no-same-owner - cd lsof_*_src/ && ./Configure -n linux build-commands: - cd lsof_*_src/ && make diff --git a/strata/tools/parted.morph b/strata/tools/parted.morph new file mode 100644 index 00000000..65939a90 --- /dev/null +++ b/strata/tools/parted.morph @@ -0,0 +1,9 @@ +name: parted +kind: chunk +build-system: autotools +pre-configure-commands: +- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib +configure-commands: +- ./configure --prefix="$PREFIX" --disable-device-mapper +build-commands: +- make WERROR_CFLAGS="" diff --git a/strata/tools/procps-ng.morph b/strata/tools/procps-ng.morph new file mode 100644 index 00000000..690655b7 --- /dev/null +++ b/strata/tools/procps-ng.morph @@ -0,0 +1,16 @@ +name: procps-ng +kind: chunk +description: | + Process management tools. + + procps-ng is a fork of the original procps project. +build-system: autotools +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --exec-prefix=/ +post-install-commands: +- | + usr_binaries="free pidof pmap slabtop top vmstat watch pgrep pkill pwdx tload uptime w" + for file in $usr_binaries; do + ln -sf "$PREFIX"/bin/$file "$DESTDIR"/bin/$file + done diff --git a/strata/tools/tcpdump.morph b/strata/tools/tcpdump.morph new file mode 100644 index 00000000..7a974dab --- /dev/null +++ b/strata/tools/tcpdump.morph @@ -0,0 +1,3 @@ +name: tcpdump +kind: chunk +build-system: autotools |