summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/partimage/files/partimage-0.6.7-chown.patch')
-rw-r--r--sys-block/partimage/files/partimage-0.6.7-chown.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.7-chown.patch b/sys-block/partimage/files/partimage-0.6.7-chown.patch
new file mode 100644
index 000000000000..e28d18fcb05b
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.7-chown.patch
@@ -0,0 +1,38 @@
+--- partimage-0.6.7/Makefile.in.orig 2008-02-26 19:56:15.000000000 +0100
++++ partimage-0.6.7/Makefile.in 2008-02-26 19:56:25.000000000 +0100
+@@ -708,8 +708,6 @@
+ rm -f $(DESTDIR)${sysconfdir}/partimaged/partimaged.csr ;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimaged.key || true;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimaged.cert || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimaged.key || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimaged.cert || true;\
+ else \
+ echo "SSL disabled, no certificate will be generated." ;\
+ fi
+@@ -741,7 +739,6 @@
+ echo "#sample # user 'sample' is allowed to connect partimaged" >> \
+ $(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimagedusers || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimagedusers || true ;\
+ fi
+
+ distclean-local:
+--- partimage-0.6.7/Makefile.am.orig 2008-02-26 19:55:53.000000000 +0100
++++ partimage-0.6.7/Makefile.am 2008-02-26 19:56:11.000000000 +0100
+@@ -21,8 +21,6 @@
+ rm -f $(DESTDIR)${sysconfdir}/partimaged/partimaged.csr ;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimaged.key || true;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimaged.cert || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimaged.key || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimaged.cert || true;\
+ else \
+ echo "SSL disabled, no certificate will be generated." ;\
+ fi
+@@ -55,7 +53,6 @@
+ echo "#sample # user 'sample' is allowed to connect partimaged" >> \
+ $(DESTDIR)${sysconfdir}/partimaged/partimagedusers ;\
+ chmod 600 $(DESTDIR)${sysconfdir}/partimaged/partimagedusers || true;\
+- chown partimag:root $(DESTDIR)${sysconfdir}/partimaged/partimagedusers || true ;\
+ fi
+
+ distclean-local: