Skip to content

Commit 06b9602

Browse files
elbachir-oneclassabbyamp
authored andcommitted
snoopy: update to 2.5.4
1 parent 13ffa19 commit 06b9602

2 files changed

Lines changed: 50 additions & 3 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
these 4 tests assume the parent process is bash, not sh
2+
3+
--- a/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-first.sh
4+
+++ b/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-first.sh
5+
@@ -17,7 +17,7 @@
6+
#
7+
PARENT_PROC_NAME="bash"
8+
. /etc/os-release
9+
-if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse) ]]; then
10+
+if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse|void) ]]; then
11+
PARENT_PROC_NAME="sh"
12+
fi
13+
14+
--- a/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-last.sh
15+
+++ b/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-last.sh
16+
@@ -17,7 +17,7 @@
17+
#
18+
PARENT_PROC_NAME="bash"
19+
. /etc/os-release
20+
-if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse) ]]; then
21+
+if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse|void) ]]; then
22+
PARENT_PROC_NAME="sh"
23+
fi
24+
25+
--- a/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-mid.sh
26+
+++ b/tests/filter/filter_exclude_spawns_of-mustdrop-multiarg-mid.sh
27+
@@ -17,7 +17,7 @@
28+
#
29+
PARENT_PROC_NAME="bash"
30+
. /etc/os-release
31+
-if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse) ]]; then
32+
+if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse|void) ]]; then
33+
PARENT_PROC_NAME="sh"
34+
fi
35+
36+
--- a/tests/filter/filter_exclude_spawns_of-mustdrop-singlearg.sh
37+
+++ b/tests/filter/filter_exclude_spawns_of-mustdrop-singlearg.sh
38+
@@ -17,7 +17,7 @@
39+
#
40+
PARENT_PROC_NAME="bash"
41+
. /etc/os-release
42+
-if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse) ]]; then
43+
+if [[ $ID =~ ^(alpine|arch|almalinux|centos|fedora|rhel|opensuse|void) ]]; then
44+
PARENT_PROC_NAME="sh"
45+
fi
46+

srcpkgs/snoopy/template

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# Template file for 'snoopy'
22
pkgname=snoopy
3-
version=2.4.6
3+
version=2.5.2
44
revision=1
55
build_style=gnu-configure
6-
hostmakedepends="socat"
6+
checkdepends="socat procps-ng"
77
conf_files="/etc/snoopy.ini"
88
short_desc="Log every executed command to syslog"
99
maintainer="Orphaned <orphan@voidlinux.org>"
1010
license="GPL-2.0-only"
1111
homepage="https://github.com/a2o/snoopy"
1212
distfiles="https://github.com/a2o/snoopy/releases/download/snoopy-${version}/snoopy-${version}.tar.gz"
13-
checksum=6442e1145a5cad725f6aae0887030ee3db34bafc40bbe3bb84da836cbb5f1569
13+
checksum=9bee136cc3a676e8a11e5ad23339f32fe1a6aea473abca1cc625beb71ebbafc9
1414

1515
pre_configure() {
1616
find . -type f -name Makefile.in -exec sed -i 's| -Werror||' {} +
1717
}
18+
1819
post_install() {
1920
vconf etc/snoopy.ini
2021
}

0 commit comments

Comments
 (0)