There's a '^M' at the end of every line in the diff. Removing those
gave the following results:
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -aurBbE src/ossec-hids-2.6/src/analysisd/alerts/exec.c
src/analysisd/alerts/exec.c
|--- src/ossec-hids-2.6/src/analysisd/alerts/exec.c 2011-07-11
15:36:58.000000000 -0400
|+++ src/analysisd/alerts/exec.c 2011-09-01 11:57:59.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/analysisd/alerts/exec.c using Plan A...
Hunk #1 failed at 25.
Hunk #2 succeeded at 50.
Hunk #3 failed at 66.
Hunk #4 failed at 242.
Hunk #5 failed at 275.
4 out of 5 hunks failed--saving rejects to
ossec-hids-2.6/src/analysisd/alerts/exec.c.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|diff -aurBbE src/ossec-hids-2.6/src/analysisd/analysisd.c
src/analysisd/analysisd.c
|--- src/ossec-hids-2.6/src/analysisd/analysisd.c 2011-07-11
15:36:58.000000000 -0400
|+++ src/analysisd/analysisd.c 2011-09-01 11:57:59.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/analysisd/analysisd.c using Plan A...
Hunk #1 succeeded at 1038 with fuzz 2.
Hunk #2 succeeded at 1059.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|diff -aurBbE src/ossec-hids-2.6/src/config/active-response.c
src/config/active-response.c
|--- src/ossec-hids-2.6/src/config/active-response.c 2011-07-11
15:36:58.000000000 -0400
|+++ src/config/active-response.c 2011-09-01 11:57:59.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/config/active-response.c using Plan A...
Hunk #1 succeeded at 410.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|diff -aurBbE src/ossec-hids-2.6/src/headers/ar.h src/headers/ar.h
|--- src/ossec-hids-2.6/src/headers/ar.h 2011-07-11 15:36:58.000000000 -0400
|+++ src/headers/ar.h 2011-09-01 11:57:59.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/headers/ar.h using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 38.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|diff -aurBbE src/ossec-hids-2.6/src/os_execd/execd.c src/os_execd/execd.c
|--- src/ossec-hids-2.6/src/os_execd/execd.c 2011-07-11
15:36:59.000000000 -0400
|+++ src/os_execd/execd.c 2011-09-01 15:06:06.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/os_execd/execd.c using Plan A...
Hunk #1 succeeded at 396 with fuzz 2.
Hunk #2 succeeded at 439.
Hunk #3 succeeded at 447.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -aurBbE src/ossec-hids-2.6/src/os_execd/execd.h src/os_execd/execd.h
|--- src/ossec-hids-2.6/src/os_execd/execd.h 2011-07-11
15:36:59.000000000 -0400
|+++ src/os_execd/execd.h 2011-09-01 11:57:59.000000000 -0400
--------------------------
Patching file ossec-hids-2.6/src/os_execd/execd.h using Plan A...
Hunk #1 succeeded at 37.
done
I even downloaded 2.6 and got similar results.