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