SOURCES: libnl-no_root.patch (NEW) - don't use root when make install

undefine undefine at pld-linux.org
Sun Jun 19 10:09:37 CEST 2005


Author: undefine                     Date: Sun Jun 19 08:09:37 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use root when make install

---- Files affected:
SOURCES:
   libnl-no_root.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libnl-no_root.patch
diff -u /dev/null SOURCES/libnl-no_root.patch:1.1
--- /dev/null	Sun Jun 19 10:09:37 2005
+++ SOURCES/libnl-no_root.patch	Sun Jun 19 10:09:32 2005
@@ -0,0 +1,21 @@
+--- libnl-0.5.0/lib/Makefile~	2005-04-04 23:08:04.000000000 +0000
++++ libnl-0.5.0/lib/Makefile	2005-06-19 06:55:59.503646400 +0000
+@@ -68,7 +68,7 @@
+ 
+ install:
+ 	mkdir -p $(DESTDIR)$(prefix)/lib/
+-	install -o root -g root -m 0644 $(OUT_SLIB) $(DESTDIR)$(prefix)/lib
++	install -m 0644 $(OUT_SLIB) $(DESTDIR)$(prefix)/lib
+ 	rm -f $(DESTDIR)$(prefix)/lib/$(LN1_SLIB) ; \
+ 	$(LN) -s $(DESTDIR)$(prefix)/lib/$(OUT_SLIB) $(DESTDIR)$(prefix)/lib/$(LN1_SLIB)
+ 	rm -f $(DESTDIR)$(prefix)/lib/$(LN_SLIB) ; \
+--- libnl-0.5.0/include/Makefile~	2005-04-04 23:08:04.000000000 +0000
++++ libnl-0.5.0/include/Makefile	2005-06-19 06:55:50.125072160 +0000
+@@ -37,5 +37,5 @@
+ 
+ install:
+ 	mkdir -p $(DESTDIR)$(prefix)/include/netlink/route/
+-	install -o root -g root -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
+-	install -o root -g root -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
++	install -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
++	install -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
================================================================



More information about the pld-cvs-commit mailing list