Zetes' idea of what a patch looks like
#!/bin/sh cp belpicd/configure.in opensc/ cp --remove-destination belpicd/src/* opensc/src/ cp --remove-destination belpicd/src/libopensc/* opensc/src/libopensc/ cp --remove-destination belpicd/src/pkcs11/* opensc/src/pkcs11/ cp --remove-destination belpicd/src/tools/* opensc/src/tools/ cd opensc/src/libopensc sed 's/HAVE_OPENSSL/HAVE_NO_OPENSSL/g' ctx.c > tmp mv -f tmp ctx.c sed 's/HAVE_OPENSSL/HAVE_NO_OPENSSL/g' card-gpk.c > tmp mv -f tmp card-gpk.c sed 's/HAVE_OPENSSL/HAVE_NO_OPENSSL/g' pkcs15-wrap.c > tmp mv -f tmp pkcs15-wrap.c echo "In libopensc/ : renamed HAVE_OPENSSL so OpenSSL wont be used" [...]
Anyway. I've issued an ITP for this thing. Let's try and get a nice, good and working package out of this before sarge releases...