Changeset c0d5090 for scripts/patch
- Timestamp:
- Jan 8, 2009, 11:56:42 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d57287f4
- Parents:
- 318408a
- Location:
- scripts/patch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/bash-patch.sh
r318408a rc0d5090 80 80 # Cleanup Directory 81 81 # 82 cd /usr/src 83 cd bash-${VERSION} 84 for file in $(find * -name *~); do 85 rm -f ${file} 86 done 87 for file in $(find * -name *.orig); do 88 rm -f ${file} 82 for dir in $(find * -type d); do 83 cd /usr/src/bash-${VERSION}/${dir} 84 for file in $(find * -name *~); do 85 rm -f ${file} 86 done 87 for file in $(find * -name *.orig); do 88 rm -f ${file} 89 done 89 90 done 90 91 … … 92 93 # 93 94 cd /usr/src 94 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}- fixes-x.patch95 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}- fixes-x.patch96 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}- fixes-x.patch97 echo "Origin: Upstream" >> bash-${VERSION}- fixes-x.patch98 echo "Upstream Status: Applied" >> bash-${VERSION}- fixes-x.patch99 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}- fixes-x.patch95 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}-branch_update-x.patch 96 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}-branch_update-x.patch 97 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}-branch_update-x.patch 98 echo "Origin: Upstream" >> bash-${VERSION}-branch_update-x.patch 99 echo "Upstream Status: Applied" >> bash-${VERSION}-branch_update-x.patch 100 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}-branch_update-x.patch 100 101 if [ -n "${SKIPPED}" ]; then 101 echo " The following patches were skipped" >> bash-${VERSION}- fixes-x.patch102 echo " ${SKIPPED}" >> bash-${VERSION}- fixes-x.patch102 echo " The following patches were skipped" >> bash-${VERSION}-branch_update-x.patch 103 echo " ${SKIPPED}" >> bash-${VERSION}-branch_update-x.patch 103 104 fi 104 echo "" >> bash-${VERSION}- fixes-x.patch105 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}- fixes-x.patch106 echo "Created /usr/src/bash-${VERSION}- fixes-x.patch."105 echo "" >> bash-${VERSION}-branch_update-x.patch 106 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}-branch_update-x.patch 107 echo "Created /usr/src/bash-${VERSION}-branch_update-x.patch." 107 108 -
scripts/patch/binutils-patch.sh
r318408a rc0d5090 55 55 done 56 56 57 # Cleanup Directory 58 # 59 for dir in $(find * -type d); do 60 cd /usr/src/binutils-${VERSION} 61 for file in $(find * -name *~); do 62 rm -f ${file} 63 done 64 for file in $(find * -name *.orig); do 65 rm -f ${file} 66 done 67 done 68 57 69 rm -f /usr/src/binutils-${VERSION}.orig/md5.sum 58 70 -
scripts/patch/ncurses-patch.sh
r318408a rc0d5090 76 76 # Cleanup Directory 77 77 # 78 cd /usr/src 79 cd ncurses-${VERSION} 80 for file in $(find * -name *~); do 81 rm -f ${file} 82 done 83 for file in $(find * -name *.orig); do 84 rm -f ${file} 78 # Cleanup Directory 79 # 80 for dir in $(find * -type d); do 81 cd /usr/src/ncurses-${VERSION}/${dir} 82 for file in $(find * -name *~); do 83 rm -f ${file} 84 done 85 for file in $(find * -name *.orig); do 86 rm -f ${file} 87 done 85 88 done 86 89 -
scripts/patch/readline-patch.sh
r318408a rc0d5090 80 80 # Cleanup Directory 81 81 # 82 cd /usr/src 83 cd readline-${VERSION} 84 for file in $(find * -name *~); do 85 rm -f ${file} 86 done 87 for file in $(find * -name *.orig); do 88 rm -f ${file} 82 # Cleanup Directory 83 # 84 for dir in $(find * -type d); do 85 cd /usr/src/readline-${VERSION}/${dir} 86 for file in $(find * -name *~); do 87 rm -f ${file} 88 done 89 for file in $(find * -name *.orig); do 90 rm -f ${file} 91 done 89 92 done 90 93 … … 92 95 # 93 96 cd /usr/src 94 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}- fixes-x.patch95 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}- fixes-x.patch96 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}- fixes-x.patch97 echo "Origin: Upstream" >> readline-${VERSION}- fixes-x.patch98 echo "Upstream Status: Applied" >> readline-${VERSION}- fixes-x.patch99 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}- fixes-x.patch97 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}-branch_update-x.patch 98 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}-branch_update-x.patch 99 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}-branch_update-x.patch 100 echo "Origin: Upstream" >> readline-${VERSION}-branch_update-x.patch 101 echo "Upstream Status: Applied" >> readline-${VERSION}-branch_update-x.patch 102 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}-branch_update-x.patch 100 103 if [ -n "${SKIPPED}" ]; then 101 echo " Thee following patches were skipped" >> readline-${VERSION}- fixes-x.patch102 echo " ${SKIPPED}" >> readline-${VERSION}- fixes-x.patch104 echo " Thee following patches were skipped" >> readline-${VERSION}-branch_update-x.patch 105 echo " ${SKIPPED}" >> readline-${VERSION}-branch_update-x.patch 103 106 fi 104 echo "" >> readline-${VERSION}- fixes-x.patch105 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}- fixes-x.patch106 echo "Created /usr/src/readline-${VERSION}- fixes-x.patch."107 echo "" >> readline-${VERSION}-branch_update-x.patch 108 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}-branch_update-x.patch 109 echo "Created /usr/src/readline-${VERSION}-branch_update-x.patch." 107 110 -
scripts/patch/vim-patch.sh
r318408a rc0d5090 80 80 # Cleanup Directory 81 81 # 82 cd /usr/src 83 cd vim${SERIES} 84 for file in $(find * -name *~); do 85 rm -f $file 86 done 87 for file in $(find * -name *.orig); do 88 rm -f $file 82 # Cleanup Directory 83 # 84 for dir in $(find * -type d); do 85 cd /usr/src/vim${SERIES}/${dir} 86 for file in $(find * -name *~); do 87 rm -f ${file} 88 done 89 for file in $(find * -name *.orig); do 90 rm -f ${file} 91 done 89 92 done 90 93
Note:
See TracChangeset
for help on using the changeset viewer.