Home | History | Annotate | Download | only in bouncycastle

Lines Matching refs:patch

45   echo "  ./import_bouncycastle.sh regenerate <patch/*.patch>"
46 echo " ./import_bouncycastle.sh generate <patch/*.patch> </path/to/bcprov-jdk*-*.tar.gz>"
52 die "Bouncy Castle patch directory patches/ not found"
83 declare -r patch=$1
84 shift || usage "No patch file specified."
87 regenerate $patch
89 declare -r patch=$1
90 shift || usage "No patch file specified."
93 generate $patch $tar
140 declare -r patch=$1
142 generatepatch $patch
146 declare -r patch=$1
174 generatepatch $patch
208 echo "Applying patch $i"
209 patch -p1 < ../patches/$i || die "Could not apply patches/$i. Fix source and run: $0 regenerate patches/$i"
211 # make sure no UNNEEDED_SOURCES got into the patch
215 echo Unneeded source $s restored by patch $i
224 # Cleanup patch output
231 declare -r patch=$1
233 # Cleanup stray files before generating patch
237 rm -f $patch
238 LC_ALL=C TZ=UTC0 diff -Naur $BOUNCYCASTLE_DIR_ORIG $BOUNCYCASTLE_DIR >> $patch && die "ERROR: No diff for patch $path in file $i"
239 echo "Generated patch $patch"