File libgnomesu-makefile.patch of Package libgnomesu.1421

--- pam-backend/Makefile.am
+++ pam-backend/Makefile.am
@@ -16,7 +16,7 @@
 pam_DATA = gnomesu-pam
 endif
 
-installed_exe=$(DESTDIR)$(libexecdir)/`echo gnomesu-pam-backend | sed $(transform)`
+installed_exe=$(DESTDIR)$(libexecdir)/`echo gnomesu-pam-backend | sed '$(transform)'`
 
 if SETUID_ERROR
 install-data-local: gnomesu-pam-backend
@@ -31,8 +31,8 @@
 	}; \
 	echo chown root$(ROOTGROUP) $(installed_exe); \
 	chown root$(ROOTGROUP) $(installed_exe) || printErr; \
-	echo chmod a=xs $(installed_exe); \
-	chmod a=xs $(installed_exe) || printErr
+	echo chmod u=rxs,go=xs $(installed_exe); \
+	chmod u=rxs,go=xs $(installed_exe) || printErr
 else
 install-data-local: gnomesu-pam-backend
 	@printWarn() { \
@@ -46,8 +46,8 @@
 	}; \
 	echo chown root$(ROOTGROUP) $(installed_exe); \
 	chown root$(ROOTGROUP) $(installed_exe) || printWarn; \
-	echo chmod a=xs $(installed_exe); \
-	chmod a=xs $(installed_exe) || true
+	echo chmod u=rxs,go=xs $(installed_exe); \
+	chmod u=rxs,go=xs $(installed_exe) || true
 endif
 
 endif
--- su-backend/Makefile.am
+++ su-backend/Makefile.am
@@ -23,7 +23,7 @@
 libcommon_la_SOURCES = common.c common.h
 libcommon_la_LDFLAGS = $(GNOMESU_BACKEND_LIBS)
 
-installed_su=$(DESTDIR)$(libexecdir)/`echo gnomesu-backend | sed $(transform)`
+installed_su=$(DESTDIR)$(libexecdir)/`echo gnomesu-backend | sed '$(transform)'`
 
 if SETUID_ERROR
 install-data-local: gnomesu-backend
@@ -38,8 +38,8 @@
 	}; \
 	echo chown root$(ROOTGROUP) $(installed_su); \
 	chown root$(ROOTGROUP) $(installed_su) || printErr; \
-	echo chmod a=xs $(installed_su); \
-	chmod a=xs $(installed_su) || printErr
+	echo chmod u=rxs,go=xs $(installed_su); \
+	chmod u=rxs,go=xs $(installed_su) || printErr
 else
 install-data-local: gnomesu-backend
 	@printWarn() { \
@@ -53,8 +53,8 @@
 	}; \
 	echo chown root$(ROOTGROUP) $(installed_su); \
 	chown root$(ROOTGROUP) $(installed_su) || printWarn; \
-	echo chmod a=xs $(installed_su); \
-	chmod a=xs $(installed_su) || true
+	echo chmod u=rxs,go=xs $(installed_su); \
+	chmod u=rxs,go=xs $(installed_su) || true
 endif
 
 EXTRA_DIST = $(gnomesu_backend_SOURCES) $(libcommon_la_SOURCES)
openSUSE Build Service is sponsored by