home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.5.049 < prev    next >
Encoding:
Internet Message Format  |  1999-12-03  |  3.7 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.049
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.049
  8. Problem:    Unix: When installing Vim, the protection bits of files might be
  9.         influenced by the umask.
  10. Solution:   Add $(FILEMOD) to Makefile. (Shetye)
  11. Files:        src/Makefile, runtime/tools/vimm
  12.  
  13.  
  14. *** ../vim-5.5.48/src/Makefile    Wed Sep 22 10:06:29 1999
  15. --- src/Makefile    Sat Dec  4 14:40:46 1999
  16. ***************
  17. *** 796,802 ****
  18.   ### Program to run on installed binary
  19.   #STRIP = strip
  20.   
  21. ! ### Permissions for vim binary
  22.   BINMOD = 755
  23.   
  24.   ### Permissions for man page
  25. --- 800,806 ----
  26.   ### Program to run on installed binary
  27.   #STRIP = strip
  28.   
  29. ! ### Permissions for binaries
  30.   BINMOD = 755
  31.   
  32.   ### Permissions for man page
  33. ***************
  34. *** 805,819 ****
  35.   ### Permissions for help files
  36.   HELPMOD = 644
  37.   
  38. ! ### Permissions for Perl scripts
  39.   PERLMOD = 755
  40.   
  41.   ### Permission for script files (menu.vim, bugreport.vim, ..)
  42.   SCRIPTMOD = 644
  43.   
  44. ! ### Permissions for bin/man/help directories that are created
  45.   DIRMOD = 755
  46.   
  47.   # Where to copy the man and help files from
  48.   HELPSOURCE = ../runtime/doc
  49.   
  50. --- 809,826 ----
  51.   ### Permissions for help files
  52.   HELPMOD = 644
  53.   
  54. ! ### Permissions for Perl and shell scripts
  55.   PERLMOD = 755
  56.   
  57.   ### Permission for script files (menu.vim, bugreport.vim, ..)
  58.   SCRIPTMOD = 644
  59.   
  60. ! ### Permissions for all directories that are created
  61.   DIRMOD = 755
  62.   
  63. + ### Permissions for all other files that are created
  64. + FILEMOD = 644
  65.   # Where to copy the man and help files from
  66.   HELPSOURCE = ../runtime/doc
  67.   
  68. ***************
  69. *** 1380,1390 ****
  70.   
  71.   installmacros: $(MACROSOURCE) $(VIMLOC) $(VIMRTLOC) $(MACROSUBLOC)
  72.       $(INSTALL_DATA_R) $(MACROSOURCE)/* $(MACROSUBLOC)
  73.   
  74.   # install the tutor files
  75.   installtutor: $(TUTORSOURCE) $(VIMLOC) $(VIMRTLOC) $(TUTORSUBLOC)
  76.       $(INSTALL_DATA) vimtutor $(BINDIR)
  77. !     chmod $(BINMOD) $(BINDIR)/vimtutor
  78.       -$(INSTALL_DATA) $(TUTORSOURCE)/* $(TUTORSUBLOC)
  79.       chmod $(HELPMOD) $(TUTORSUBLOC)/*
  80.   
  81. --- 1387,1399 ----
  82.   
  83.   installmacros: $(MACROSOURCE) $(VIMLOC) $(VIMRTLOC) $(MACROSUBLOC)
  84.       $(INSTALL_DATA_R) $(MACROSOURCE)/* $(MACROSUBLOC)
  85. +     chmod $(DIRMOD) `find $(MACROSUBLOC) -type d -print`
  86. +     chmod $(FILEMOD) `find $(MACROSUBLOC) -type f -print`
  87.   
  88.   # install the tutor files
  89.   installtutor: $(TUTORSOURCE) $(VIMLOC) $(VIMRTLOC) $(TUTORSUBLOC)
  90.       $(INSTALL_DATA) vimtutor $(BINDIR)
  91. !     chmod $(PERLMOD) $(BINDIR)/vimtutor
  92.       -$(INSTALL_DATA) $(TUTORSOURCE)/* $(TUTORSUBLOC)
  93.       chmod $(HELPMOD) $(TUTORSUBLOC)/*
  94.   
  95. ***************
  96. *** 1405,1410 ****
  97. --- 1414,1421 ----
  98.       chmod $(MANMOD) $(MANSUBDIR)/xxd.1
  99.   # install the runtime tools
  100.       $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(TOOLSSUBLOC)
  101. +     -chmod $(FILEMOD) $(TOOLSSUBLOC)/*
  102. +     -chmod $(PERLMOD) `grep -l "^#!" $(TOOLSSUBLOC)/*`
  103.   
  104.   $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
  105.       @echo Runtime files not found.
  106. *** ../vim-5.5.48/runtime/tools/vimm    Wed Sep 22 10:06:39 1999
  107. --- runtime/tools/vimm    Sat Dec  4 14:23:58 1999
  108. ***************
  109. *** 1,4 ****
  110. ! #
  111.   # enable DEC locator input model on remote terminal
  112.   echo  "\033[1;2'z\033[1;3'{\c"
  113.   vim "$@"
  114. --- 1,4 ----
  115. ! #!/bin/sh
  116.   # enable DEC locator input model on remote terminal
  117.   echo  "\033[1;2'z\033[1;3'{\c"
  118.   vim "$@"
  119. *** ../vim-5.5.48/src/version.c    Sat Dec  4 14:12:48 1999
  120. --- src/version.c    Sat Dec  4 14:18:34 1999
  121. ***************
  122. *** 420,420 ****
  123. --- 420,421 ----
  124.   {   /* Add new patch number below this line */
  125. +     49,
  126.  
  127. -- 
  128. hundred-and-one symptoms of being an internet addict:
  129. 234. You started college as a chemistry major, and walk out four years
  130.      later as an Internet provider.
  131.  
  132. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  133.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  134.