openbsd-ports/net/oinkmaster/patches/patch-oinkmaster_1

48 lines
1.4 KiB
Plaintext

$OpenBSD: patch-oinkmaster_1,v 1.1 2004/12/05 18:22:57 robert Exp $
--- oinkmaster.1.orig Sun Dec 5 19:05:14 2004
+++ oinkmaster.1 Sun Dec 5 19:05:51 2004
@@ -8,7 +8,7 @@
.B oinkmaster
\- update Snort signatures
.SH SYNOPSIS
-.B oinkmaster.pl -o
+.B oinkmaster -o
.I outdir
[options]
.SH DESCRIPTION
@@ -154,14 +154,14 @@
and put the new rules in /etc/rules/:
.PP
.nf
-\fB oinkmaster.pl -o /etc/rules \fP
+\fB oinkmaster -o /etc/rules \fP
.fi
.PP
Grab rules archive from local filesystem and do not print anything unless
it contains updated rules:
.PP
.nf
-\fB oinkmaster.pl -u file:///tmp/rules.tar.gz -o /etc/rules -q \fP
+\fB oinkmaster -u file:///tmp/rules.tar.gz -o /etc/rules -q \fP
.fi
.PP
Download rules archive from default location, make backup of old rules if
@@ -172,7 +172,7 @@
first encrypting the content.)
.PP
.nf
-\fB oinkmaster.pl -o /etc/snort/rules -b /etc/snort/backup 2>&1 | \fP\\
+\fB oinkmaster -o /etc/snort/rules -b /etc/snort/backup 2>&1 | \fP\\
\fB mail -s "subject" user@example.com
.fi
.PP
@@ -184,7 +184,7 @@
.PP
.nf
\fB TMP=`mktemp /tmp/oinkmaster.XXXXXX` && \fP\\
-\fB (oinkmaster.pl -C /etc/oinkmaster-global.conf \fP\\
+\fB (oinkmaster -C /etc/oinkmaster-global.conf \fP\\
\fB -C /etc/oinkmaster-sensor.conf -o /etc/rules \fP\\
\fB -U /etc/snort.conf \fP\\
\fB -u scp://user@example.com:/home/user/rules.tar.gz \fP\\