diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2026-06-29 02:07:17 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-06-29 21:47:14 +0000 |
| commit | 023f86dc5840075d84099fc7067dd66d953689a3 (patch) | |
| tree | ce9ed000afce8ef86b70ad6eb271bf26b8d0fb1c /sysutils/spiped | |
| parent | d10cb9f3925e39cf9da8e59975fac96e1edc66c0 (diff) | |
Diffstat (limited to 'sysutils/spiped')
| -rw-r--r-- | sysutils/spiped/Makefile | 1 | ||||
| -rw-r--r-- | sysutils/spiped/files/spiped.in | 5 |
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 |
