summaryrefslogtreecommitdiffstats
path: root/partimage/build/partimage_makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'partimage/build/partimage_makefile.patch')
-rw-r--r--partimage/build/partimage_makefile.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/partimage/build/partimage_makefile.patch b/partimage/build/partimage_makefile.patch
new file mode 100644
index 00000000..ae8629f9
--- /dev/null
+++ b/partimage/build/partimage_makefile.patch
@@ -0,0 +1,48 @@
+--- Makefile.in.org 2004-02-08 21:16:32.000000000 +0100
++++ Makefile.in 2006-03-04 01:57:03.000000000 +0100
+@@ -670,45 +670,8 @@
+ @echo "/etc/pam.d/partimaged"
+
+ install-data-local:
+- $(mkinstalldirs) ${sysconfdir}
+- $(mkinstalldirs) ${sysconfdir}/partimaged
+-
+- if test ! -f ${sysconfdir}/partimaged/partimagedusers ; then \
+- echo "# note: '#' introduces comments" > \
+- ${sysconfdir}/partimaged/partimagedusers ;\
+- echo -n "#add only users allowed to " >> \
+- ${sysconfdir}/partimaged/partimagedusers ;\
+- echo "connect partimaged" >> ${sysconfdir}/partimaged/partimagedusers ;\
+- echo "# (only one login per line)" >> \
+- ${sysconfdir}/partimaged/partimagedusers ;\
+- echo "" >> ${sysconfdir}/partimaged/partimagedusers ;\
+- echo "#sample # user 'sample' is allowed to connect partimaged" >> \
+- ${sysconfdir}/partimaged/partimagedusers ;\
+- chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\
+- chown partimag.root ${sysconfdir}/partimaged/partimagedusers ;\
+- fi
+-
+- $(mkinstalldirs) ${infodir}
+- $(INSTALL_DATA) AUTHORS ${infodir}/AUTHORS
+- $(INSTALL_DATA) BUGS ${infodir}/BUGS
+- $(INSTALL_DATA) COPYING ${infodir}/COPYING
+- $(INSTALL_DATA) ChangeLog ${infodir}/ChangeLog
+- $(INSTALL_DATA) INSTALL ${infodir}/INSTALL
+- $(INSTALL_DATA) README ${infodir}/README
+- $(INSTALL_DATA) README.partimaged ${infodir}/README.partimaged
+- $(INSTALL_DATA) TODO ${infodir}/TODO
+- $(INSTALL_DATA) partimage.lsm ${infodir}/partimage.lsm
+
+ uninstall-local:
+- -rm -f ${infodir}/AUTHORS
+- -rm -f ${infodir}/BUGS
+- -rm -f ${infodir}/COPYING
+- -rm -f ${infodir}/ChangeLog
+- -rm -f ${infodir}/INSTALL
+- -rm -f ${infodir}/README
+- -rm -f ${infodir}/README.partimaged
+- -rm -f ${infodir}/TODO
+- -rm -f ${infodir}/partimage.lsm
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: