- Timestamp:
- Aug 15, 2009, 11:36:56 AM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4648865
- Parents:
- 842cd58
- Location:
- scripts
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/binutils.sh
r842cd58 r29f6db3 33 33 # 34 34 cd ~/tmp 35 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 36 PATCH_NUM=$(cat index.html | grep binutils | grep "${VERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 37 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 35 wget http://svn.cross-lfs.org/svn/repos/patches/binutils/ --no-remove-listing 36 for num in $(seq 1 99); do 37 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 39 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 40 break 41 fi 42 if [ "${PATCH_NUM}" != "${num}" ]; then 43 PATCH_NUM=$(expr ${num}) 44 break 45 fi 46 done 38 47 rm -f index.html 39 48 -
scripts/fetch/eglibc.sh
r842cd58 r29f6db3 36 36 # 37 37 cd ~/tmp 38 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 39 PATCH_NUM=$(cat index.html | grep eglibc | grep "${SOURCEVERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 38 wget http://svn.cross-lfs.org/svn/repos/patches/eglibc/ --no-remove-listing 39 for num in $(seq 1 99); do 40 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 41 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 42 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 43 break 44 fi 45 if [ "${PATCH_NUM}" != "${num}" ]; then 46 PATCH_NUM=$(expr ${num}) 47 break 48 fi 49 done 41 50 rm -f index.html 42 51 -
scripts/patch/bash-patch.sh
r842cd58 r29f6db3 35 35 # 36 36 cd ~/tmp 37 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 38 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) 39 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 37 wget http://svn.cross-lfs.org/svn/repos/patches/bash/ --no-remove-listing 38 for num in $(seq 1 99); do 39 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 40 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 41 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 42 break 43 fi 44 if [ "${PATCH_NUM}" != "${num}" ]; then 45 PATCH_NUM=$(expr ${num}) 46 break 47 fi 48 done 40 49 rm -f index.html 41 50 -
scripts/patch/binutils-patch.sh
r842cd58 r29f6db3 31 31 # 32 32 cd ~/tmp 33 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 34 PATCH_NUM=$(cat index.html | grep binutils | grep "${SOURCEVERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 35 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 36 PATCH_NUM2=$(cat index.html | grep binutils | grep "${SOURCEVERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 37 PATCH_NUM2=$(expr ${PATCH_NUM2} + 1) 33 wget http://svn.cross-lfs.org/svn/repos/patches/binutils/ --no-remove-listing 34 for num in $(seq 1 99); do 35 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 36 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 37 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 38 break 39 fi 40 if [ "${PATCH_NUM}" != "${num}" ]; then 41 PATCH_NUM=$(expr ${num}) 42 break 43 fi 44 done 45 for num in $(seq 1 99); do 46 PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 47 if [ "${PATCH_NUM2}" = "0" -a "${num}" = "1" ]; then 48 PATCH_NUM2=$(expr ${PATCH_NUM2} + 1) 49 break 50 fi 51 if [ "${PATCH_NUM2}" != "${num}" ]; then 52 PATCH_NUM2=$(expr ${num}) 53 break 54 fi 55 done 38 56 rm -f index.html 39 57 -
scripts/patch/gcc-patch.sh
r842cd58 r29f6db3 29 29 # 30 30 cd ~/tmp 31 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 32 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) 33 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 34 PATCH_NUM2=$(cat index.html | grep gcc | grep "${VERSION}" | grep fixes | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 35 PATCH_NUM2=$(expr ${PATCH_NUM2} + 1) 31 wget http://svn.cross-lfs.org/svn/repos/patches/gcc/ --no-remove-listing 32 for num in $(seq 1 99); do 33 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 34 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 35 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 36 break 37 fi 38 if [ "${PATCH_NUM}" != "${num}" ]; then 39 PATCH_NUM=$(expr ${num}) 40 break 41 fi 42 done 43 for num in $(seq 1 99); do 44 PATCH_NUM2=$(cat index.html | grep "${SOURCEVERSION}" | grep fixes-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 45 if [ "${PATCH_NUM2}" = "0" -a "${num}" = "1" ]; then 46 PATCH_NUM2=$(expr ${PATCH_NUM2} + 1) 47 break 48 fi 49 if [ "${PATCH_NUM2}" != "${num}" ]; then 50 PATCH_NUM2=$(expr ${num}) 51 break 52 fi 53 done 36 54 rm -f index.html 37 55 -
scripts/patch/ncurses-patch.sh
r842cd58 r29f6db3 34 34 # 35 35 cd ~/tmp 36 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 37 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) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 36 wget http://svn.cross-lfs.org/svn/repos/patches/ncurses/ --no-remove-listing 37 for num in $(seq 1 99); do 38 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 39 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 41 break 42 fi 43 if [ "${PATCH_NUM}" != "${num}" ]; then 44 PATCH_NUM=$(expr ${num}) 45 break 46 fi 47 done 39 48 rm -f index.html 40 49 -
scripts/patch/perl-patch.sh
r842cd58 r29f6db3 24 24 # 25 25 cd /usr/src 26 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 27 PATCH_NUM=$(cat index.html | grep perl | 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) 26 wget http://svn.cross-lfs.org/svn/repos/patches/perl/ --no-remove-listing 27 for num in $(seq 1 99); do 28 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 29 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 30 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 31 break 32 fi 33 if [ "${PATCH_NUM}" != "${num}" ]; then 34 PATCH_NUM=$(expr ${num}) 35 break 36 fi 37 done 29 38 rm -f index.html 30 39 -
scripts/patch/readline-patch.sh
r842cd58 r29f6db3 35 35 # 36 36 cd ~/tmp 37 wget http://patches.cross-lfs.org/dev/ --no-remove-listing 38 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) 39 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 37 wget http://svn.cross-lfs.org/svn/repos/patches/readline/ --no-remove-listing 38 for num in $(seq 1 99); do 39 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 40 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 41 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 42 break 43 fi 44 if [ "${PATCH_NUM}" != "${num}" ]; then 45 PATCH_NUM=$(expr ${num}) 46 break 47 fi 48 done 40 49 rm -f index.html 41 50 -
scripts/patch/vim-patch.sh
r842cd58 r29f6db3 34 34 # 35 35 cd ~/tmp 36 wget http://patches.cross-lfs.org/dev/ --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) 36 wget http://svn.cross-lfs.org/svn/repos/patches/vim/ --no-remove-listing 37 for num in $(seq 1 99); do 38 PATCH_NUM=$(cat index.html | grep "${VERSION}" | grep branch_update-${num} | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 39 if [ "${PATCH_NUM}" = "0" -a "${num}" = "1" ]; then 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 41 break 42 fi 43 if [ "${PATCH_NUM}" != "${num}" ]; then 44 PATCH_NUM=$(expr ${num}) 45 break 46 fi 47 done 39 48 rm -f index.html 40 49
Note:
See TracChangeset
for help on using the changeset viewer.