aboutsummaryrefslogtreecommitdiff
path: root/sysutils/spiped
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2026-06-29 02:07:17 +0000
committerColin Percival <cperciva@FreeBSD.org>2026-06-29 21:47:14 +0000
commit023f86dc5840075d84099fc7067dd66d953689a3 (patch)
treece9ed000afce8ef86b70ad6eb271bf26b8d0fb1c /sysutils/spiped
parentd10cb9f3925e39cf9da8e59975fac96e1edc66c0 (diff)
Diffstat (limited to 'sysutils/spiped')
-rw-r--r--sysutils/spiped/Makefile1
-rw-r--r--sysutils/spiped/files/spiped.in5
2 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile
index d9f5cac39925..6c3476b05ebc 100644
--- a/sysutils/spiped/Makefile
+++ b/sysutils/spiped/Makefile
@@ -1,5 +1,6 @@
PORTNAME= spiped
PORTVERSION= 1.6.4
+PORTREVISION= 1
CATEGORIES= sysutils security
MASTER_SITES= http://www.tarsnap.com/spiped/
diff --git a/sysutils/spiped/files/spiped.in b/sysutils/spiped/files/spiped.in
index 5f661fd398c8..fedc8b5e7fa2 100644
--- a/sysutils/spiped/files/spiped.in
+++ b/sysutils/spiped/files/spiped.in
@@ -54,6 +54,11 @@ spiped_start()
echo Invalid value for spiped_pipe_${P}_mode: $MODE
continue
esac
+ case "$SOURCE" in
+ /*)
+ [ -S "$SOURCE" ] && rm -f "$SOURCE"
+ ;;
+ esac
${command} -D $MODEFLAG -s $SOURCE -t $TARGET -k $KEY \
-u ${spiped_uid}:${spiped_gid} -p $PIDFILE $FLAGS
done