~ubuntu-branches/ubuntu/utopic/strongswan/utopic

« back to all changes in this revision

Viewing changes to packages/maemo-strongswan/debian/patches/configure-logging.patch

  • Committer: Package Import Robot
  • Author(s): Jonathan Davies
  • Date: 2014-01-20 19:00:59 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140120190059-z8e4dl3g8cd09yi5
Tags: 5.1.2~dr3+git20130120-0ubuntu1
* Upstream Git snapshot for build fixes with regards to entropy.
* debian/rules:
  - Enforcing DEB_BUILD_OPTIONS=nostrip for library integrity checking.
  - Set TESTS_REDUCED_KEYLENGTHS to one generate smallest key-lengths in
    tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Adding maemo specific logger config (as there is no syslog daemon by default).
 
2
--- a/src/strongswan.conf
 
3
+++ b/src/strongswan.conf
 
4
@@ -5,6 +5,21 @@
 
5
        retransmit_timeout = 3.0
 
6
        retransmit_base = 1.4
 
7
 
 
8
+       # maemo specific logging
 
9
+       filelog {
 
10
+               /var/log/charon.log {
 
11
+                       time_format = %b %e %T
 
12
+                       append = no
 
13
+                       default = 1
 
14
+                       flush_line = yes
 
15
+               }
 
16
+       }
 
17
+       # there is no syslog daemon installed by default
 
18
+       syslog {
 
19
+               daemon {
 
20
+               }
 
21
+       }
 
22
+
 
23
        # number of worker threads in charon
 
24
        threads = 16
 
25