From 0a174260c5dd04d516da7a6021e681d49c312547 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 17 Sep 2012 23:17:18 +0200 Subject: minor build fixes --- distfoldd/distfoldd.pro | 8 ++++++-- distfoldd/keygen.sh | 7 +++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100755 distfoldd/keygen.sh (limited to 'distfoldd') diff --git a/distfoldd/distfoldd.pro b/distfoldd/distfoldd.pro index 3eb804e..3076068 100644 --- a/distfoldd/distfoldd.pro +++ b/distfoldd/distfoldd.pro @@ -30,6 +30,10 @@ HEADERS += \ compressor.h contains(MEEGO_EDITION,harmattan) { - target.path = /opt/distfold/bin - INSTALLS += target + target.path = /opt/distfold/bin + + scripts.files = keygen.sh + scripts.path = /opt/distfold/bin + + INSTALLS += target scripts } diff --git a/distfoldd/keygen.sh b/distfoldd/keygen.sh new file mode 100755 index 0000000..d271b57 --- /dev/null +++ b/distfoldd/keygen.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# Simple script to generate required SSL cert & private key. +# Place server.* files in ~/.config/distfold/ + +openssl req -x509 -batch -newkey rsa:2048 -keyout server.key -nodes -days 365 -out server.crt +chmod 0400 server.key server.crt -- cgit v1.2.3