[Pkg-voip-commits] [kamailio] 05/07: remove auto-generated tls certs
Victor Seva Lopez
maniac-guest at moszumanska.debian.org
Tue Aug 11 14:52:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
maniac-guest pushed a commit to branch master
in repository kamailio.
commit 198047dd2245926655b697ca0bf25b339003f13d
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: Tue Aug 11 10:08:18 2015 +0200
remove auto-generated tls certs
---
debian/patches/no_tls_certs_generate.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/no_tls_certs_generate.patch b/debian/patches/no_tls_certs_generate.patch
new file mode 100644
index 0000000..43af280
--- /dev/null
+++ b/debian/patches/no_tls_certs_generate.patch
@@ -0,0 +1,28 @@
+From 0c627ca8fc2f9269956933fd8830909d44f3bccf Mon Sep 17 00:00:00 2001
+From: Victor Seva <linuxmaniac at torreviejawireless.org>
+Date: Tue, 11 Aug 2015 09:44:49 +0200
+Subject: [PATCH] tls: install-cfg: do not generate tls-cert by default
+
+---
+ modules/tls/Makefile | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/modules/tls/Makefile b/modules/tls/Makefile
+index 167863d..c6969c1 100644
+--- a/modules/tls/Makefile
++++ b/modules/tls/Makefile
+@@ -40,7 +40,10 @@ include ../../Makefile.modules
+ install-tls-cert: $(cfg_prefix)/$(cfg_dir)
+ MAIN_NAME=$(MAIN_NAME) ./$(SCR_NAME)_cert.sh -d $(cfg_prefix)/$(cfg_dir)
+
+-install-cfg: install-tls-cert
++install-cfg:
++ @if ! [ -d $(cfg_prefix)/$(cfg_dir) ]; then \
++ mkdir -p "$(cfg_prefix)/$(cfg_dir)" ; \
++ fi
+ @$(call try_err, $(INSTALL_TOUCH) \
+ "$(cfg_prefix)/$(cfg_dir)tls.cfg.sample" )
+ @sed -e "s#\/usr/local/etc/kamailio/#$(cfg_target)#g" \
+--
+2.5.0
+
diff --git a/debian/patches/series b/debian/patches/series
index 680e08b..b657ff2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ no_lib64_on_64_bits.patch
no_INSTALL_file.patch
fix_export.patch
fix-mips.patch
+no_tls_certs_generate.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/kamailio.git
More information about the Pkg-voip-commits
mailing list