To: vim-dev@vim.org Subject: patch 5.5.049 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.049 Problem: Unix: When installing Vim, the protection bits of files might be influenced by the umask. Solution: Add $(FILEMOD) to Makefile. (Shetye) Files: src/Makefile, runtime/tools/vimm *** ../vim-5.5.48/src/Makefile Wed Sep 22 10:06:29 1999 --- src/Makefile Sat Dec 4 14:40:46 1999 *************** *** 796,802 **** ### Program to run on installed binary #STRIP = strip ! ### Permissions for vim binary BINMOD = 755 ### Permissions for man page --- 800,806 ---- ### Program to run on installed binary #STRIP = strip ! ### Permissions for binaries BINMOD = 755 ### Permissions for man page *************** *** 805,819 **** ### Permissions for help files HELPMOD = 644 ! ### Permissions for Perl scripts PERLMOD = 755 ### Permission for script files (menu.vim, bugreport.vim, ..) SCRIPTMOD = 644 ! ### Permissions for bin/man/help directories that are created DIRMOD = 755 # Where to copy the man and help files from HELPSOURCE = ../runtime/doc --- 809,826 ---- ### Permissions for help files HELPMOD = 644 ! ### Permissions for Perl and shell scripts PERLMOD = 755 ### Permission for script files (menu.vim, bugreport.vim, ..) SCRIPTMOD = 644 ! ### Permissions for all directories that are created DIRMOD = 755 + ### Permissions for all other files that are created + FILEMOD = 644 + # Where to copy the man and help files from HELPSOURCE = ../runtime/doc *************** *** 1380,1390 **** installmacros: $(MACROSOURCE) $(VIMLOC) $(VIMRTLOC) $(MACROSUBLOC) $(INSTALL_DATA_R) $(MACROSOURCE)/* $(MACROSUBLOC) # install the tutor files installtutor: $(TUTORSOURCE) $(VIMLOC) $(VIMRTLOC) $(TUTORSUBLOC) $(INSTALL_DATA) vimtutor $(BINDIR) ! chmod $(BINMOD) $(BINDIR)/vimtutor -$(INSTALL_DATA) $(TUTORSOURCE)/* $(TUTORSUBLOC) chmod $(HELPMOD) $(TUTORSUBLOC)/* --- 1387,1399 ---- installmacros: $(MACROSOURCE) $(VIMLOC) $(VIMRTLOC) $(MACROSUBLOC) $(INSTALL_DATA_R) $(MACROSOURCE)/* $(MACROSUBLOC) + chmod $(DIRMOD) `find $(MACROSUBLOC) -type d -print` + chmod $(FILEMOD) `find $(MACROSUBLOC) -type f -print` # install the tutor files installtutor: $(TUTORSOURCE) $(VIMLOC) $(VIMRTLOC) $(TUTORSUBLOC) $(INSTALL_DATA) vimtutor $(BINDIR) ! chmod $(PERLMOD) $(BINDIR)/vimtutor -$(INSTALL_DATA) $(TUTORSOURCE)/* $(TUTORSUBLOC) chmod $(HELPMOD) $(TUTORSUBLOC)/* *************** *** 1405,1410 **** --- 1414,1421 ---- chmod $(MANMOD) $(MANSUBDIR)/xxd.1 # install the runtime tools $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(TOOLSSUBLOC) + -chmod $(FILEMOD) $(TOOLSSUBLOC)/* + -chmod $(PERLMOD) `grep -l "^#!" $(TOOLSSUBLOC)/*` $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE): @echo Runtime files not found. *** ../vim-5.5.48/runtime/tools/vimm Wed Sep 22 10:06:39 1999 --- runtime/tools/vimm Sat Dec 4 14:23:58 1999 *************** *** 1,4 **** ! # # enable DEC locator input model on remote terminal echo "\033[1;2'z\033[1;3'{\c" vim "$@" --- 1,4 ---- ! #!/bin/sh # enable DEC locator input model on remote terminal echo "\033[1;2'z\033[1;3'{\c" vim "$@" *** ../vim-5.5.48/src/version.c Sat Dec 4 14:12:48 1999 --- src/version.c Sat Dec 4 14:18:34 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 49, -- hundred-and-one symptoms of being an internet addict: 234. You started college as a chemistry major, and walk out four years later as an Internet provider. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /