Home | History | Annotate | Download | only in openssl

Lines Matching refs:patch

45   echo "  ./import_openssl.sh regenerate <patch/*.patch>"
46 echo " ./import_openssl.sh generate <patch/*.patch> </path/to/openssl-*.tar.gz>"
52 die "OpenSSL 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
176 declare -r patch=$1
178 generatepatch $patch
182 declare -r patch=$1
186 applypatches $OPENSSL_DIR_ORIG $patch
195 generatepatch $patch
235 echo "Applying patch $i"
236 patch -p1 < ../patches/$i || die "Could not apply patches/$i. Fix source and run: $0 regenerate patches/$i"
238 echo "Skiping patch $i"
243 # Cleanup patch output
250 declare -r patch=$1
252 # Cleanup stray files before generating patch
256 declare -r variable_name=OPENSSL_PATCHES_`basename $patch .patch | sed s/-/_/`_SOURCES
259 rm -f $patch
260 touch $patch
262 LC_ALL=C TZ=UTC0 diff -aup $OPENSSL_DIR_ORIG/$i $OPENSSL_DIR/$i >> $patch && die "ERROR: No diff for patch $path in file $i"
264 echo "Generated patch $patch"
265 echo "NOTE To make sure there are not unwanted changes from conflicting patches, be sure to review the generated patch."