3 # build a patched version of GnuTLS version 2.4.x, including the
4 # ability to parse and accept the GNU S2K extension known as
5 # "gnu-dummy" (which doesn't have any secret key data at all)
7 # Note: you probably want
9 # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
10 # Date: 2008-08-22 00:11:05-0400
12 # Note: please run this from the current directory, so it can find and
13 # transfer the patch it needs.
15 workingdir=$(mktemp -d)
17 (cd "$workingdir" && apt-get source libgnutls26)
19 cp ./*.diff "$workingdir/gnutls26-2.4".*/debian/patches/
21 (cd "$workingdir/gnutls26-2.4".* && \
22 dch --local .s2kext1 --distribution experimental 'added patch to handle GNU extensions to S2K' && \
26 echo reprepro -C gnutls include experimental "$workingdir/"*.changes