summaryrefslogtreecommitdiff
path: root/patches/gnutls/build
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-08-22 00:31:56 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-08-22 00:31:56 -0400
commit4f2abba493a35709d0d28a70f9856c6c349d50bd (patch)
tree8861975bb7cdc99eca44779a76cd48ac17ef9a95 /patches/gnutls/build
parent5ad5c29c5d7c3dc7c0c12334c17717cdc5b2defa (diff)
added patch to enable GnuTLS 2.4.x to read gnu-dummy S2K extensions, along with build script to make updated .deb packages.
Diffstat (limited to 'patches/gnutls/build')
-rwxr-xr-xpatches/gnutls/build26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/gnutls/build b/patches/gnutls/build
new file mode 100755
index 0000000..0037431
--- /dev/null
+++ b/patches/gnutls/build
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+# build a patched version of GnuTLS version 2.4.x, including the
+# ability to parse and accept the GNU S2K extension known as
+# "gnu-dummy" (which doesn't have any secret key data at all)
+
+# Note: you probably want
+
+# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+# Date: 2008-08-22 00:11:05-0400
+
+# Note: please run this from the current directory, so it can find and
+# transfer the patch it needs.
+
+workingdir=$(mktemp -d)
+
+(cd "$workingdir" && apt-get source libgnutls26)
+
+cp ./*.diff "$workingdir/gnutls26-2.4".*/debian/patches/
+
+(cd "$workingdir/gnutls26-2.4".* && \
+ dch --local .s2kext1 --distribution experimental 'added patch to handle GNU extensions to S2K' && \
+ debuild -uc -us -sa)
+
+echo now you should:
+echo reprepro -C gnutls include experimental "$workingdir/"*.changes