Changeset c7ef534
- Timestamp:
- Feb 16, 2009, 12:47:36 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:
- 099bfc2
- Parents:
- 61a83e8
- Location:
- scripts/patch
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/bash-patch.sh
r61a83e8 rc7ef534 30 30 wget ftp://ftp.cwru.edu/pub/bash/bash-${VERSION}.tar.gz 31 31 fi 32 33 # Set Patch Number 34 # 35 cd /usr/src 36 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 37 PATCH_NUM=$(cat index.html | grep bash | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 39 rm -f index.html 32 40 33 41 # Cleanup Directory … … 97 105 # 98 106 cd /usr/src 99 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}-branch_update- x.patch100 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}-branch_update- x.patch101 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}-branch_update- x.patch102 echo "Origin: Upstream" >> bash-${VERSION}-branch_update- x.patch103 echo "Upstream Status: Applied" >> bash-${VERSION}-branch_update- x.patch104 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}-branch_update- x.patch107 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > bash-${VERSION}-branch_update-${PATCH_NUM}.patch 108 echo "Date: `date +%m-%d-%Y`" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 109 echo "Initial Package Version: ${VERSION}" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 110 echo "Origin: Upstream" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 111 echo "Upstream Status: Applied" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 112 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 105 113 if [ -n "${SKIPPED}" ]; then 106 echo " The following patches were skipped" >> bash-${VERSION}-branch_update- x.patch107 echo " ${SKIPPED}" >> bash-${VERSION}-branch_update- x.patch114 echo " The following patches were skipped" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 115 echo " ${SKIPPED}" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 108 116 fi 109 echo "" >> bash-${VERSION}-branch_update- x.patch110 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}-branch_update- x.patch111 echo "Created /usr/src/bash-${VERSION}-branch_update- x.patch."117 echo "" >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 118 diff -Naur bash-${VERSION}.orig bash-${VERSION} >> bash-${VERSION}-branch_update-${PATCH_NUM}.patch 119 echo "Created /usr/src/bash-${VERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/binutils-patch.sh
r61a83e8 rc7ef534 23 23 wget ftp://ftp.gnu.org/gnu/binutils/binutils-${SOURCEVERSION}.tar.bz2 24 24 fi 25 26 # Set Patch Number 27 # 28 cd /usr/src 29 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 30 PATCH_NUM=$(cat index.html | grep binutils | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 31 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 32 rm -f index.html 25 33 26 34 # Cleanup Directory … … 70 78 # 71 79 cd /usr/src 72 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > binutils-${SOURCEVERSION}-branch_update- x.patch73 echo "Date: `date +%m-%d-%Y`" >> binutils-${SOURCEVERSION}-branch_update- x.patch74 echo "Initial Package Version: ${SOURCEVERSION}" >> binutils-${SOURCEVERSION}-branch_update- x.patch75 echo "Origin: Upstream" >> binutils-${SOURCEVERSION}-branch_update- x.patch76 echo "Upstream Status: Applied" >> binutils-${SOURCEVERSION}-branch_update- x.patch77 echo "Description: This is a branch update for binutils-${SOURCEVERSION}, and should be" >> binutils-${SOURCEVERSION}-branch_update- x.patch78 echo " rechecked periodically." >> binutils-${SOURCEVERSION}-branch_update- x.patch79 echo "" >> binutils-${SOURCEVERSION}-branch_update- x.patch80 diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> binutils-${SOURCEVERSION}-branch_update- x.patch81 echo "Created /usr/src/binutils-${SOURCEVERSION}-branch_update- x.patch."80 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 81 echo "Date: `date +%m-%d-%Y`" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 82 echo "Initial Package Version: ${SOURCEVERSION}" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 83 echo "Origin: Upstream" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 84 echo "Upstream Status: Applied" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 85 echo "Description: This is a branch update for binutils-${SOURCEVERSION}, and should be" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 86 echo " rechecked periodically." >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 87 echo "" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 88 diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 89 echo "Created /usr/src/binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/gcc-patch.sh
r61a83e8 rc7ef534 20 20 wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-${VERSION}/gcc-${VERSION}.tar.bz2 21 21 fi 22 23 # Set Patch Number 24 # 25 cd /usr/src 26 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 27 PATCH_NUM=$(cat index.html | grep gcc | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 28 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 29 rm -f index.html 22 30 23 31 # Cleanup Directory … … 57 65 # 58 66 cd /usr/src 59 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > gcc-${VERSION}-branch_update- x.patch60 echo "Date: `date +%m-%d-%Y`" >> gcc-${VERSION}-branch_update- x.patch61 echo "Initial Package Version: ${VERSION}" >> gcc-${VERSION}-branch_update- x.patch62 echo "Origin: Upstream" >> gcc-${VERSION}-branch_update- x.patch63 echo "Upstream Status: Applied" >> gcc-${VERSION}-branch_update- x.patch64 echo "Description: This is a branch update for gcc-${VERSION}, and should be" >> gcc-${VERSION}-branch_update- x.patch65 echo " rechecked periodically." >> gcc-${VERSION}-branch_update- x.patch66 echo "" >> gcc-${VERSION}-branch_update- x.patch67 diff -Naur gcc-${VERSION}.orig gcc-${VERSION} >> gcc-${VERSION}-branch_update- x.patch68 echo "Created /usr/src/gcc-${VERSION}-branch_update- x.patch."67 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 68 echo "Date: `date +%m-%d-%Y`" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 69 echo "Initial Package Version: ${VERSION}" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 70 echo "Origin: Upstream" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 71 echo "Upstream Status: Applied" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 72 echo "Description: This is a branch update for gcc-${VERSION}, and should be" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 73 echo " rechecked periodically." >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 74 echo "" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 75 diff -Naur gcc-${VERSION}.orig gcc-${VERSION} >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 76 echo "Created /usr/src/gcc-${VERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/ncurses-patch.sh
r61a83e8 rc7ef534 29 29 wget ftp://invisible-island.net/ncurses/ncurses-${VERSION}.tar.gz 30 30 fi 31 32 # Set Patch Number 33 # 34 cd /usr/src 35 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 36 PATCH_NUM=$(cat index.html | grep ncurses | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 37 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 38 rm -f index.html 31 39 32 40 # Cleanup Directory … … 94 102 # 95 103 cd /usr/src 96 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ncurses-${VERSION}-branch_update- x.patch97 echo "Date: `date +%m-%d-%Y`" >> ncurses-${VERSION}-branch_update- x.patch98 echo "Initial Package Version: ${VERSION}" >> ncurses-${VERSION}-branch_update- x.patch99 echo "Origin: Upstream" >> ncurses-${VERSION}-branch_update- x.patch100 echo "Upstream Status: Applied" >> ncurses-${VERSION}-branch_update- x.patch101 echo "Description: This is a branch update for NCurses-${VERSION}, and should be" >> ncurses-${VERSION}-branch_update- x.patch102 echo " rechecked periodically. This patch covers up to ${VERSION}-${LASTFILE}." >> ncurses-${VERSION}-branch_update- x.patch103 echo "" >> ncurses-${VERSION}-branch_update- x.patch104 diff -Naur ncurses-${VERSION}.orig ncurses-${VERSION} >> ncurses-${VERSION}-branch_update- x.patch105 echo "Created /usr/src/ncurses-${VERSION}-branch_update- x.patch."104 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 105 echo "Date: `date +%m-%d-%Y`" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 106 echo "Initial Package Version: ${VERSION}" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 107 echo "Origin: Upstream" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 108 echo "Upstream Status: Applied" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 109 echo "Description: This is a branch update for NCurses-${VERSION}, and should be" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 110 echo " rechecked periodically. This patch covers up to ${VERSION}-${LASTFILE}." >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 111 echo "" >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 112 diff -Naur ncurses-${VERSION}.orig ncurses-${VERSION} >> ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch 113 echo "Created /usr/src/ncurses-${VERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/readline-patch.sh
r61a83e8 rc7ef534 30 30 wget ftp://ftp.cwru.edu/pub/bash/readline-${VERSION}.tar.gz 31 31 fi 32 33 # Set Patch Number 34 # 35 cd /usr/src 36 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 37 PATCH_NUM=$(cat index.html | grep readline | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 39 rm -f index.html 32 40 33 41 # Cleanup Directory … … 98 106 # 99 107 cd /usr/src 100 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}-branch_update- x.patch101 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}-branch_update- x.patch102 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}-branch_update- x.patch103 echo "Origin: Upstream" >> readline-${VERSION}-branch_update- x.patch104 echo "Upstream Status: Applied" >> readline-${VERSION}-branch_update- x.patch105 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}-branch_update- x.patch108 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}-branch_update-${PATCH_NUM}.patch 109 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 110 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 111 echo "Origin: Upstream" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 112 echo "Upstream Status: Applied" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 113 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 106 114 if [ -n "${SKIPPED}" ]; then 107 echo " Thee following patches were skipped" >> readline-${VERSION}-branch_update- x.patch108 echo " ${SKIPPED}" >> readline-${VERSION}-branch_update- x.patch115 echo " Thee following patches were skipped" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 116 echo " ${SKIPPED}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 109 117 fi 110 echo "" >> readline-${VERSION}-branch_update- x.patch111 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}-branch_update- x.patch112 echo "Created /usr/src/readline-${VERSION}-branch_update- x.patch."118 echo "" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 119 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 120 echo "Created /usr/src/readline-${VERSION}-branch_update-${PATCH_NUM}.patch." -
scripts/patch/vim-patch.sh
r61a83e8 rc7ef534 30 30 wget ftp://ftp.vim.org/pub/vim/unix/vim-${VERSION}.tar.bz2 31 31 fi 32 33 # Set Patch Number 34 # 35 cd /usr/src 36 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 37 PATCH_NUM=$(cat index.html | grep vim | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 39 rm -f index.html 32 40 33 41 # Cleanup Directory … … 76 84 fi 77 85 fi 78 COUNT= `expr ${COUNT} + 1`86 COUNT=$(expr ${COUNT} + 1) 79 87 done 80 88 … … 96 104 # 97 105 cd /usr/src 98 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > vim-${VERSION}-branch_update- x.patch99 echo "Date: `date +%m-%d-%Y`" >> vim-${VERSION}-branch_update- x.patch100 echo "Initial Package Version: ${VERSION}" >> vim-${VERSION}-branch_update- x.patch101 echo "Origin: Upstream" >> vim-${VERSION}-branch_update- x.patch102 echo "Upstream Status: Applied" >> vim-${VERSION}-branch_update- x.patch103 echo "Description: Contains all upstream patches up to ${VERSION}.${FILES}" >> vim-${VERSION}-branch_update- x.patch106 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 107 echo "Date: `date +%m-%d-%Y`" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 108 echo "Initial Package Version: ${VERSION}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 109 echo "Origin: Upstream" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 110 echo "Upstream Status: Applied" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 111 echo "Description: Contains all upstream patches up to ${VERSION}.${FILES}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 104 112 if [ -n "${SKIPPED}" ]; then 105 echo " The following patches were skipped" >> vim-${VERSION}-branch_update- x.patch106 echo " ${SKIPPED}" >> vim-${VERSION}-branch_update- x.patch113 echo " The following patches were skipped" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 114 echo " ${SKIPPED}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 107 115 fi 108 echo "" >> vim-${VERSION}-branch_update- x.patch109 diff -Naur vim${SERIES}.orig vim${SERIES} >> vim-${VERSION}-branch_update- x.patch110 echo "Created /usr/src/vim-${VERSION}-branch_update- x.patch."116 echo "" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 117 diff -Naur vim${SERIES}.orig vim${SERIES} >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 118 echo "Created /usr/src/vim-${VERSION}-branch_update-$(PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.