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 to prepare your build system in the
10 # apt-get build-dep libgnutls26
11 # aptitude install devscripts fakeroot
13 # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
14 # Date: 2008-08-22 00:11:05-0400
16 # Note: please run this from the current directory, so it can find and
17 # transfer the patch it needs.
19 if ! dpkg -l devscripts fakeroot >/dev/null ; then
23 workingdir=$(mktemp -d -p .)
25 (cd "$workingdir" && apt-get source libgnutls26)
27 cp ./*.diff "$workingdir/gnutls26-2.4".*/debian/patches/
29 cd "$workingdir/gnutls26-2.4".*
30 dch --local .s2kext --distribution experimental 'added patch to handle GNU extensions to S2K'
34 echo reprepro -C gnutls include experimental "$workingdir/"*.changes