Changeset c7ef534 for scripts/patch/ncurses-patch.sh
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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."
Note:
See TracChangeset
for help on using the changeset viewer.