Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ahcpd/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
ahcpd)
# ahcpd does not provide any option to report its version.
# Check that the binary starts and prints its usage instead.
ahcpd 2>&1 | grep -F "Syntax: ahcpd"
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
15 changes: 15 additions & 0 deletions babel-pinger/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
babel-pinger)
# babel-pinger does not provide any option to report its version
exit 0
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
19 changes: 19 additions & 0 deletions naywatch/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
naywatch)
# naywatch takes positional arguments (check interval, watchdog
# timeout, ...), not options, so a probe flag ends up as the
# check interval and the script enters its monitoring loop
# instead of reporting anything, until the probe timeout kills
# it.
exit 0
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c970d9..cfb878e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
Expand All @@ -20,6 +18,3 @@ index 1c970d9..cfb878e 100644
project(ohybridproxy C)

set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
--
2.51.0

16 changes: 16 additions & 0 deletions ohybridproxy/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
ohybridproxy|zonestitcher)
# The package version is derived from the source date and git
# hash, which the binaries do not report
exit 0
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
16 changes: 16 additions & 0 deletions pimbd/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
pimbd)
# The package version is derived from the source date and git
# hash, which the binary does not report
exit 0
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac
16 changes: 16 additions & 0 deletions prince/test-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

# shellcheck shell=busybox

case "$PKG_NAME" in
prince)
# prince requires a configuration file and does not provide any
# option to report its version
exit 0
;;

*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac