From a6bf8852827f1bd831dc968fc7c4777183834ab8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 1 Dec 2011 09:25:11 -0500 Subject: [PATCH] Add local-patch.examples with common patch samples. Now I can symlink to these patches from local-patch, which is easier than maintaining similar patches manually for a range of similar hosts. --- .../005-dircolors-unrecognized-keywords.patch | 25 +++++++++++++++++++ .../005-gnuplot-dumb-terminal.patch | 7 ++++++ local-patch.examples/005-no-X.remove | 4 +++ local-patch.examples/005-no-emacs-epa.patch | 10 ++++++++ 4 files changed, 46 insertions(+) create mode 100644 local-patch.examples/005-dircolors-unrecognized-keywords.patch create mode 100644 local-patch.examples/005-gnuplot-dumb-terminal.patch create mode 100644 local-patch.examples/005-no-X.remove create mode 100644 local-patch.examples/005-no-emacs-epa.patch diff --git a/local-patch.examples/005-dircolors-unrecognized-keywords.patch b/local-patch.examples/005-dircolors-unrecognized-keywords.patch new file mode 100644 index 0000000..d6803bd --- /dev/null +++ b/local-patch.examples/005-dircolors-unrecognized-keywords.patch @@ -0,0 +1,25 @@ +--- .dir_colors 2011-12-01 08:21:29.000000000 -0500 ++++ /home/sysadmin/.dir_colors 2011-12-01 08:25:59.000000000 -0500 +@@ -68,11 +68,11 @@ + # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white + #NORMAL 00 # no color code at all + #FILE 00 # regular file: use no color at all +-RESET 0 # reset to "normal" color ++#RESET 0 # reset to "normal" color + DIR 01;34 # directory + LINK 01;36 # symbolic link. (If you set this to 'target' instead of a + # numerical value, the color is as for the file pointed to.) +-MULTIHARDLINK 00 # regular file with more than one link ++#MULTIHARDLINK 00 # regular file with more than one link + FIFO 40;33 # pipe + SOCK 01;35 # socket + DOOR 01;35 # door +@@ -82,7 +82,7 @@ + MISSING 01;05;37;41 # ... and the files they point to + SETUID 37;41 # file that is setuid (u+s) + SETGID 30;43 # file that is setgid (g+s) +-CAPABILITY 30;41 # file with capability ++#CAPABILITY 30;41 # file with capability + STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) + OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky + STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable diff --git a/local-patch.examples/005-gnuplot-dumb-terminal.patch b/local-patch.examples/005-gnuplot-dumb-terminal.patch new file mode 100644 index 0000000..fa10bba --- /dev/null +++ b/local-patch.examples/005-gnuplot-dumb-terminal.patch @@ -0,0 +1,7 @@ +--- .gnuplot 2011-11-30 16:14:41.000000000 -0500 ++++ /home/sysadmin/.gnuplot 2009-08-08 18:43:51.000000000 -0400 +@@ -1,3 +1,3 @@ + # .gnuplot a Gnuplot configuration file + +-set terminal x11 ++set terminal dumb diff --git a/local-patch.examples/005-no-X.remove b/local-patch.examples/005-no-X.remove new file mode 100644 index 0000000..1128c86 --- /dev/null +++ b/local-patch.examples/005-no-X.remove @@ -0,0 +1,4 @@ +.XCompose +.xinitrc +.XModmap +.fluxbox diff --git a/local-patch.examples/005-no-emacs-epa.patch b/local-patch.examples/005-no-emacs-epa.patch new file mode 100644 index 0000000..e07c26f --- /dev/null +++ b/local-patch.examples/005-no-emacs-epa.patch @@ -0,0 +1,10 @@ +--- .emacs 2011-11-30 16:14:41.000000000 -0500 ++++ /home/sysadmin/.emacs 2011-12-01 09:15:20.000000000 -0500 +@@ -14,7 +14,6 @@ + (load "wtk_utf-8.el") + (load "wtk_layout.el") + (load "wtk_aspell.el") +-(load "wtk_epa.el") + (load "wtk_org.el") + (load "wtk_no-vc.el") + -- 2.26.2