diff options
| author | Cem Keylan <cem@ckyln.com> | 2020-01-28 23:10:39 +0300 |
|---|---|---|
| committer | Cem Keylan <cem@ckyln.com> | 2020-01-28 23:10:39 +0300 |
| commit | d57fa8a15d25cb4a9d3d9e0a96b39e99d5bf2b62 (patch) | |
| tree | 65c824b736e8f7e2c48b22538b2c3676888fc729 /testing/socklog/build | |
| parent | e110670cccb533ea412869bb5360f091dbacaf34 (diff) | |
| download | repository-d57fa8a15d25cb4a9d3d9e0a96b39e99d5bf2b62.tar.gz | |
repo: cleanup zombie packages
Diffstat (limited to 'testing/socklog/build')
| -rwxr-xr-x | testing/socklog/build | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/testing/socklog/build b/testing/socklog/build deleted file mode 100755 index b157a85a..00000000 --- a/testing/socklog/build +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -e - -cd socklog-2.1.0 - -# Change configuration options to build everything statically -echo "${CC:-gcc} -D_GNU_SOURCE $CFLAGS" > src/conf-cc -echo "${CC:-gcc} -static $LDFLAGS -Wl,-z -Wl,noexecstack" > src/conf-ld -package/compile - -# Create package directories -mkdir -p "$1/usr/bin" -mkdir -p "$1/usr/share/man/man1" "$1/usr/share/man/man8" - -# Install programs and manpages -for bin in command/*; do - cp "$bin" "$1/usr/bin/$(basename "$bin")" -done - -for man1 in man/*.1; do - cp "$man1" "$1/usr/share/man/man1/$(basename "$man1")" -done - -for man8 in man/*.8; do - cp "$man1" "$1/usr/share/man/man8/$(basename "$man8")" -done - -cd .. - - -install -Dm755 socklog-unix.run "$1/etc/sv/socklog-unix/run" -ln -s /run/runit/supervise.socklog "$1/etc/sv/socklog-unix/supervise" -install -Dm755 svlogd.run "$1/etc/sv/socklog-unix/log/run" -ln -s ../run/runit/supervise.svlogd "$1/etc/sv/socklog-unix/log/supervise" |
