From: mivirl <> Date: Wed, 7 Feb 2024 16:42:02 +0000 (-0600) Subject: build: Replace static perl with actually portable perl X-Git-Url: http://mivirl.dev/git/?a=commitdiff_plain;h=e71e31a9e24466c83aee548b8f9a1c43b78e3152;p=remote-logging.git build: Replace static perl with actually portable perl Actually portable perl can run on more systems than just Linux, allowing for future clients that can run on windows/macos/bsd --- diff --git a/README.md b/README.md index 05e7620..3a1d7a1 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ To deploy on the client, you'll need to transfer the `build/_output/client` directory to the remote system, then `cd` to that directory and run: ```sh -./smallperl.bin client.pl +./perl.com client.pl ``` ## Monitoring diff --git a/build.sh b/build.sh index 08de340..bc7df73 100644 --- a/build.sh +++ b/build.sh @@ -27,7 +27,7 @@ cd build/ #wget https://github.com/inotify-tools/inotify-tools/archive/refs/tags/4.23.9.0.tar.gz #mv 4.23.9.0.tar.gz inotify-tools-4.23.9.0.tar.gz #wget https://github.com/tstack/lnav/releases/download/v0.11.2/lnav-0.11.2-x86_64-linux-musl.zip -#wget http://staticperl.schmorp.de/smallperl.bin +wget https://github.com/G4Vi/Perl-Dist-APPerl/releases/download/v0.3.0/perl.com sha256sum -c ../checksums @@ -63,7 +63,7 @@ cp busybox-1.36.1/busybox _output/server/ cp busybox-1.36.1/busybox _output/client/ cp inotify-tools-4.23.9.0/src/inotifywait _output/client/ cp pspy64 _output/client/ -cp smallperl.bin _output/client/ +cp perl.com _output/client/ cp lnav-0.11.2/lnav _output/server/ chmod u+x _output/server/* chmod u+x _output/client/* diff --git a/checksums b/checksums index bf11fc8..05bc84d 100644 --- a/checksums +++ b/checksums @@ -1,5 +1,5 @@ b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 busybox-1.36.1.tar.bz2 1dfa33f80b6797ce2f6c01f454fd486d30be4dca1b0c5c2ea9ba3c30a5c39855 inotify-tools-4.23.9.0.tar.gz 6515598ca4985ec42daeafbae7eb5c7c6d7e94a11f88666d157b3d363aa391ff lnav-0.11.2-x86_64-linux-musl.zip -f2376087e79ba18f2e1625e1ae969e6e96ef6fa2b77acd715041662658685c13 smallperl.bin +b5997a2683ea993aaa3a0bac08c2172afd94785b22219fddc6876f3740364d59 perl.com c93f29a5cc1347bdb90e14a12424e6469c8cfea9a20b800bc249755f0043a3bb pspy64