Compilation fails miserably when applying the SELinux patch, guess needs a re-work... heres the debug info: ***** shadow-4.0.3-selinux.diff ***** ===================================== PATCH COMMAND: patch -g0 -p0 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff ===================================== can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am |--- shadow-4.0.3.orig/lib/Makefile.am 2001-10-06 14:53:20.000000000 -0500 |+++ shadow-4.0.3/lib/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c |--- shadow-4.0.3.orig/lib/commonio.c 2001-11-17 07:15:52.000000000 -0600 |+++ shadow-4.0.3/lib/commonio.c 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 112 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h |--- shadow-4.0.3.orig/lib/commonio.h 2001-08-14 16:09:54.000000000 -0500 |+++ shadow-4.0.3/lib/commonio.h 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 134 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am |--- shadow-4.0.3.orig/src/Makefile.am 2002-03-10 01:12:52.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in |--- shadow-4.0.3.orig/src/Makefile.in 2002-03-13 13:04:10.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.in 2003-08-07 08:45:13.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ===================================== PATCH COMMAND: patch -g0 -p1 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff ===================================== patching file lib/Makefile.am Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file lib/Makefile.am.rej patching file lib/commonio.c Hunk #1 succeeded at 16 (offset 1 line). Hunk #2 succeeded at 441 (offset 1 line). Hunk #3 succeeded at 505 (offset 1 line). Hunk #4 succeeded at 646 (offset 1 line). Hunk #5 succeeded at 715 (offset 1 line). patching file lib/commonio.h Hunk #1 succeeded at 1 with fuzz 2. patching file src/Makefile.am Hunk #1 succeeded at 4 with fuzz 2. Hunk #2 succeeded at 50 (offset 15 lines). patching file src/Makefile.in Hunk #1 succeeded at 204 (offset 59 lines). ===================================== PATCH COMMAND: patch -g0 -p2 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff ===================================== patching file Makefile.am Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c |--- shadow-4.0.3.orig/lib/commonio.c 2001-11-17 07:15:52.000000000 -0600 |+++ shadow-4.0.3/lib/commonio.c 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 112 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h |--- shadow-4.0.3.orig/lib/commonio.h 2001-08-14 16:09:54.000000000 -0500 |+++ shadow-4.0.3/lib/commonio.h 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patching file Makefile.am Hunk #1 FAILED at 4. Hunk #2 FAILED at 35. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.am.rej patching file Makefile.in Hunk #1 FAILED at 145. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej ===================================== PATCH COMMAND: patch -g0 -p3 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff ===================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am |--- shadow-4.0.3.orig/lib/Makefile.am 2001-10-06 14:53:20.000000000 -0500 |+++ shadow-4.0.3/lib/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 16 of patch can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c |--- shadow-4.0.3.orig/lib/commonio.c 2001-11-17 07:15:52.000000000 -0600 |+++ shadow-4.0.3/lib/commonio.c 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 112 of patch can't find file to patch at input line 112 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h |--- shadow-4.0.3.orig/lib/commonio.h 2001-08-14 16:09:54.000000000 -0500 |+++ shadow-4.0.3/lib/commonio.h 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 134 of patch can't find file to patch at input line 134 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am |--- shadow-4.0.3.orig/src/Makefile.am 2002-03-10 01:12:52.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 155 of patch can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in |--- shadow-4.0.3.orig/src/Makefile.in 2002-03-13 13:04:10.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.in 2003-08-07 08:45:13.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ===================================== PATCH COMMAND: patch -g0 -p4 < /usr/portage/sys-apps/shadow/files/shadow-4.0.3-selinux.diff ===================================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/Makefile.am shadow-4.0.3/lib/Makefile.am |--- shadow-4.0.3.orig/lib/Makefile.am 2001-10-06 14:53:20.000000000 -0500 |+++ shadow-4.0.3/lib/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 16 of patch can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.c shadow-4.0.3/lib/commonio.c |--- shadow-4.0.3.orig/lib/commonio.c 2001-11-17 07:15:52.000000000 -0600 |+++ shadow-4.0.3/lib/commonio.c 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 112 of patch can't find file to patch at input line 112 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/lib/commonio.h shadow-4.0.3/lib/commonio.h |--- shadow-4.0.3.orig/lib/commonio.h 2001-08-14 16:09:54.000000000 -0500 |+++ shadow-4.0.3/lib/commonio.h 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 134 of patch can't find file to patch at input line 134 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.am shadow-4.0.3/src/Makefile.am |--- shadow-4.0.3.orig/src/Makefile.am 2002-03-10 01:12:52.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.am 2003-08-07 08:38:20.000000000 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 155 of patch can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN shadow-4.0.3.orig/src/Makefile.in shadow-4.0.3/src/Makefile.in |--- shadow-4.0.3.orig/src/Makefile.in 2002-03-13 13:04:10.000000000 -0600 |+++ shadow-4.0.3/src/Makefile.in 2003-08-07 08:45:13.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Reproducible: Always Steps to Reproduce: 1. 2. 3.
Sorry Chris, forgot to check selinux. Feel free to update the patch.
updated patch in portage