From 7a1b874172ddfbd62c97c82b32e636272dde32cb Mon Sep 17 00:00:00 2001
From: Joerg Steffens <joerg.steffens@bareos.com>
Date: Mon, 23 Dec 2013 16:50:39 +0100
Subject: [PATCH] added depency to openssl

bareos-config call openssl to generate passwords.
This patch added the package depency to openssl.

Fixes #262: debian packages missing openssl dependency
---
 debian/control                  |    2 +-
 platforms/packaging/bareos.spec |    1 +
 2 Dateien geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/debian/control b/debian/control
index 0a71e10..285dc38 100644
--- a/debian/control
+++ b/debian/control
@@ -103,7 +103,7 @@ Description: Backup Archiving Recovery Open Sourced - client meta-package
 Package:        bareos-common
 Architecture:   any
 Pre-Depends:    debconf (>= 1.4.30) | debconf-2.0, adduser
-Depends:        ${shlibs:Depends}, ${misc:Depends}
+Depends:        openssl, ${shlibs:Depends}, ${misc:Depends}
 Suggests:       bareos-doc
 Description:    Backup Archiving Recovery Open Sourced - common libraries and support files
  Bareos is a set of programs to manage backup, recovery and verification of
diff --git a/platforms/packaging/bareos.spec b/platforms/packaging/bareos.spec
index bb88135..05fe99a 100644
--- a/platforms/packaging/bareos.spec
+++ b/platforms/packaging/bareos.spec
@@ -255,6 +255,7 @@ Provides: %{name}-fd
 %package common
 Summary:  Generic libs needed by every package
 Group:    Productivity/Archiving/Backup
+Requires: openssl
 Provides: %{name}-libs
 
 %package database-common
-- 
1.7.10.4

