summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian/0001-rssm-shebang.patch12
-rw-r--r--debian/patches/debian/0002-cryptopant.patch14
-rw-r--r--debian/patches/series2
3 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-rssm-shebang.patch b/debian/patches/debian/0001-rssm-shebang.patch
new file mode 100644
index 0000000..6db94ba
--- /dev/null
+++ b/debian/patches/debian/0001-rssm-shebang.patch
@@ -0,0 +1,12 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Correcting Perl shebang.
+
+diff -Naurp dnscap.orig/plugins/rssm/dnscap-rssm-rssac002 dnscap/plugins/rssm/dnscap-rssm-rssac002
+--- dnscap.orig/plugins/rssm/dnscap-rssm-rssac002
++++ dnscap/plugins/rssm/dnscap-rssm-rssac002
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ #
+ # Copyright (c) 2018-2021, OARC, Inc.
+ # All rights reserved.
diff --git a/debian/patches/debian/0002-cryptopant.patch b/debian/patches/debian/0002-cryptopant.patch
new file mode 100644
index 0000000..494ffa6
--- /dev/null
+++ b/debian/patches/debian/0002-cryptopant.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Building without cryptopant plugin, needs cryptopANT which is not available (OpenSSL vs. GPL-2).
+
+diff -Naurp dnscap.orig/plugins/Makefile.am dnscap/plugins/Makefile.am
+--- dnscap.orig/plugins/Makefile.am
++++ dnscap/plugins/Makefile.am
+@@ -1,6 +1,6 @@
+ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+
+ SUBDIRS = pcapdump rssm txtout rzkeychange royparse anonmask ipcrypt \
+- anonaes128 cryptopan cryptopant eventlog
++ anonaes128 cryptopan eventlog
+
+ EXTRA_DIST = template
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ba0c0d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+debian/0001-rssm-shebang.patch
+debian/0002-cryptopant.patch