Changeset e47a554
- Timestamp:
- Aug 4, 2009, 9:16:07 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:
- 444f629
- Parents:
- 639e34d
- Location:
- scripts/fetch
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/eglibc.sh
r639e34d re47a554 37 37 cd ~/tmp 38 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 branch_update| cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1)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 40 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 41 41 rm -f index.html … … 136 136 # 137 137 cd ~/tmp/eglibc-${SOURCEVERSION} 138 install -d ~/patches/ 139 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 140 echo "Date: `date +%m-%d-%Y`" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 141 echo "Initial Package Version: ${SOURCEVERSION}" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 142 echo "Origin: Upstream" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 143 echo "Upstream Status: Applied" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 144 echo "Description: These are fixes eglibc-${SOURCEVERSION}, and should be" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 145 echo " rechecked periodically." >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 146 echo "" >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 147 diff -Naur libc.orig libc >> ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 148 echo "Created ~/patches/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch." 138 install -d ~/public_html/ 139 diff -Naur libc.orig libc >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 140 if [ "$(cat ~/public_html/eglibc-${VERSION}-fixes-${PATCH_NUM}.patch)" != "" ]; then 141 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 142 echo "Date: `date +%m-%d-%Y`" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 143 echo "Initial Package Version: ${SOURCEVERSION}" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 144 echo "Origin: Upstream" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 145 echo "Upstream Status: Applied" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 146 echo "Description: These are fixes eglibc-${SOURCEVERSION}, and should be" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 147 echo " rechecked periodically." >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 148 echo "" >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 149 diff -Naur libc.orig libc >> ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch 150 echo "Created ~/public_html/eglibc-${SOURCEVERSION}-fixes-${PATCH_NUM}.patch." 151 else 152 rm -f ~/public_html/eglibc-${VERSION}-fixes-${PATCH_NUM}.patch 153 fi 149 154 150 155 # Remove Patched Copy
Note:
See TracChangeset
for help on using the changeset viewer.