diff options
author | Eric Hameleers <alien@slackware.com> | 2008-01-26 22:39:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-01-26 22:39:00 +0000 |
commit | 1947609fa8dcb4f0383b3b559ad8fd399c44a1b8 (patch) | |
tree | e7685896c9a09af6f2067c9fb04a4848cc550e4e /partimage/build/partimage_makefile.patch | |
parent | 102e58f867c390a1ee8c9a573eb9dcdd96debe22 (diff) | |
download | asb-1947609fa8dcb4f0383b3b559ad8fd399c44a1b8.tar.gz asb-1947609fa8dcb4f0383b3b559ad8fd399c44a1b8.tar.xz |
Initial revision
Diffstat (limited to 'partimage/build/partimage_makefile.patch')
-rw-r--r-- | partimage/build/partimage_makefile.patch | 48 |
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: |