1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/news/s-news/files/patch-newfeed.in
Pav Lucistnik b2c1220333 - Add lock outgoing files with flock, XPAT command, ability to handle
supersedes and cancel control messages.

PR:		ports/69551
Submitted by:	Andrey Slusar <vasallia@ukr.net> (maintainer)
2004-07-25 11:45:43 +00:00

16 lines
416 B
Plaintext

--- newfeed.in.orig Sat Jun 29 21:29:49 2002
+++ newfeed.in Sun Jul 25 04:40:59 2004
@@ -52,9 +52,11 @@
umask $UMASK
fi
-if mkdir $SUCKDIR/$host
+if mkdir -p $SUCKDIR/$host
then
echo junk >$SUCKDIR/$host/active-ignore
+ # Uncomment the following line if you don't want cancel messages to propagate
+ #echo control.cancel >>$SUCKDIR/$host/active-ignore
mkdir $SUCKDIR/$host/incoming
for opt in $options