r727 - trunk/shadow

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Dec 14 10:48:38 PST 2004


Author: jim
Date: 2004-12-14 11:48:38 -0700 (Tue, 14 Dec 2004)
New Revision: 727

Added:
   trunk/shadow/shadow-4.0.6-fix_symlinks-1.patch
Log:
Added: shadow-4.0.6-fix_symlinks-1.patch

Added: trunk/shadow/shadow-4.0.6-fix_symlinks-1.patch
===================================================================
--- trunk/shadow/shadow-4.0.6-fix_symlinks-1.patch	2004-12-14 18:48:07 UTC (rev 726)
+++ trunk/shadow/shadow-4.0.6-fix_symlinks-1.patch	2004-12-14 18:48:38 UTC (rev 727)
@@ -0,0 +1,24 @@
+Submitted By: Oliver Brakmann <obrakmann AT gmx DOT net>
+Date: 2004-10-28
+Initial Package Version: 4.0.5
+Origin: LFS patches repository
+Description: Fixes incorrectly created symlinks during install.
+Upstream Status: An earlier version of this patch has been submitted, but
+		 apparently not accepted.
+
+diff -Naur shadow-4.0.5-orig/src/Makefile.in shadow-4.0.5/src/Makefile.in
+--- shadow-4.0.5-orig/src/Makefile.in	2004-10-28 20:49:04.000000000 +0200
++++ shadow-4.0.5/src/Makefile.in	2004-10-28 20:51:59.000000000 +0200
+@@ -832,8 +832,10 @@
+ 
+ install-am: all-am
+ 	$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-	ln -sf newgrp	$(DESTDIR)$(ubindir)/sg
+-	ln -sf vipw	$(DESTDIR)$(usbindir)/vigr
++	$(mkinstalldirs) $(DESTDIR)$(ubindir)
++	ln -sf newgrp   $(DESTDIR)$(ubindir)/sg
++	$(mkinstalldirs) $(DESTDIR)$(usbindir)
++	ln -sf vipw     $(DESTDIR)$(usbindir)/vigr
+ 	for i in $(suidbins); do \
+ 		chmod -f 4755 $(DESTDIR)$(bindir)/$$i; \
+ 	done




More information about the patches mailing list