diff options
| author | Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> | 2016-12-30 07:41:56 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-01-19 09:25:44 +0100 |
| commit | c0e27d549e575a334f4dc9b35aa183371002ee53 (patch) | |
| tree | 7f86f727c664ba423c77d2a8cbae2f20cb2badfc | |
| parent | c01cf2a58e1ccbee08cd833158f4de5351b30a66 (diff) | |
| download | meta-openembedded-c0e27d549e575a334f4dc9b35aa183371002ee53.tar.gz | |
strongswan: delete obsolete patches
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/strongswan/files/install-strongswan-swanctl-service.patch | 22 | ||||
| -rw-r--r-- | meta-networking/recipes-support/strongswan/files/support-newer-systemd.patch | 69 |
2 files changed, 0 insertions, 91 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/install-strongswan-swanctl-service.patch b/meta-networking/recipes-support/strongswan/files/install-strongswan-swanctl-service.patch deleted file mode 100644 index 86baccf4f5..0000000000 --- a/meta-networking/recipes-support/strongswan/files/install-strongswan-swanctl-service.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | commit 44cbabd8a42bc2a436562ed33fb8c89fa6b75b6e | ||
| 2 | Author: Chris Patterson <pattersonc@ainfosec.com> | ||
| 3 | Date: Fri Dec 18 08:31:48 2015 -0500 | ||
| 4 | |||
| 5 | strongswan-swanctl.service.in: match install used by strongswan.service | ||
| 6 | |||
| 7 | Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> | ||
| 8 | |||
| 9 | Upstream-Status: Submitted | ||
| 10 | https://github.com/strongswan/strongswan/pull/25 | ||
| 11 | |||
| 12 | diff --git a/init/systemd-swanctl/strongswan-swanctl.service.in b/init/systemd-swanctl/strongswan-swanctl.service.in | ||
| 13 | index 818d352..944101f 100644 | ||
| 14 | --- a/init/systemd-swanctl/strongswan-swanctl.service.in | ||
| 15 | +++ b/init/systemd-swanctl/strongswan-swanctl.service.in | ||
| 16 | @@ -7,3 +7,6 @@ Type=notify | ||
| 17 | ExecStart=@SBINDIR@/charon-systemd | ||
| 18 | ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt | ||
| 19 | ExecReload=@SBINDIR@/swanctl --reload | ||
| 20 | + | ||
| 21 | +[Install] | ||
| 22 | +WantedBy=multi-user.target | ||
diff --git a/meta-networking/recipes-support/strongswan/files/support-newer-systemd.patch b/meta-networking/recipes-support/strongswan/files/support-newer-systemd.patch deleted file mode 100644 index 550cf67581..0000000000 --- a/meta-networking/recipes-support/strongswan/files/support-newer-systemd.patch +++ /dev/null | |||
| @@ -1,69 +0,0 @@ | |||
| 1 | commit 82498129e0a91dfc3ed2c4ec3b2252f44655b83c | ||
| 2 | Author: Chris Patterson <pattersonc@ainfosec.com> | ||
| 3 | Date: Fri Dec 18 08:27:57 2015 -0500 | ||
| 4 | |||
| 5 | configure: support systemd >= 209 | ||
| 6 | |||
| 7 | libsystemd-journal and libsystemd-daemon are now just | ||
| 8 | part of libsystemd. | ||
| 9 | |||
| 10 | Keep original systemd checks as a fallback. | ||
| 11 | |||
| 12 | Updates charon-systemd/Makefile.am accordingly. | ||
| 13 | |||
| 14 | Tested on: | ||
| 15 | - debian wheezy (systemd v44) | ||
| 16 | - ubuntu 15.10 (systemd v255). | ||
| 17 | |||
| 18 | Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> | ||
| 19 | |||
| 20 | Upstream-Status: Submitted | ||
| 21 | https://github.com/strongswan/strongswan/pull/24 | ||
| 22 | |||
| 23 | diff --git a/configure.ac b/configure.ac | ||
| 24 | index 3d71ce0..f6c0426 100644 | ||
| 25 | --- a/configure.ac | ||
| 26 | +++ b/configure.ac | ||
| 27 | @@ -941,13 +941,17 @@ if test x$systemd = xtrue; then | ||
| 28 | AC_MSG_ERROR([not found (try --with-systemdsystemunitdir)]) | ||
| 29 | fi | ||
| 30 | |||
| 31 | - PKG_CHECK_MODULES(systemd_daemon, [libsystemd-daemon]) | ||
| 32 | - AC_SUBST(systemd_daemon_CFLAGS) | ||
| 33 | - AC_SUBST(systemd_daemon_LIBS) | ||
| 34 | - | ||
| 35 | - PKG_CHECK_MODULES(systemd_journal, [libsystemd-journal]) | ||
| 36 | - AC_SUBST(systemd_journal_CFLAGS) | ||
| 37 | - AC_SUBST(systemd_journal_LIBS) | ||
| 38 | + PKG_CHECK_MODULES(systemd, [libsystemd >= 209], | ||
| 39 | + [AC_SUBST(systemd_CFLAGS) | ||
| 40 | + AC_SUBST(systemd_LIBS)], | ||
| 41 | + [PKG_CHECK_MODULES(systemd_daemon, [libsystemd-daemon]) | ||
| 42 | + AC_SUBST(systemd_daemon_CFLAGS) | ||
| 43 | + AC_SUBST(systemd_daemon_LIBS) | ||
| 44 | + | ||
| 45 | + PKG_CHECK_MODULES(systemd_journal, [libsystemd-journal]) | ||
| 46 | + AC_SUBST(systemd_journal_CFLAGS) | ||
| 47 | + AC_SUBST(systemd_journal_LIBS) | ||
| 48 | + ]) | ||
| 49 | fi | ||
| 50 | |||
| 51 | if test x$tss = xtrousers; then | ||
| 52 | diff --git a/src/charon-systemd/Makefile.am b/src/charon-systemd/Makefile.am | ||
| 53 | index 1b9ac15..ee85d43 100644 | ||
| 54 | --- a/src/charon-systemd/Makefile.am | ||
| 55 | +++ b/src/charon-systemd/Makefile.am | ||
| 56 | @@ -9,11 +9,11 @@ charon_systemd_CPPFLAGS = \ | ||
| 57 | -I$(top_srcdir)/src/libstrongswan \ | ||
| 58 | -I$(top_srcdir)/src/libhydra \ | ||
| 59 | -I$(top_srcdir)/src/libcharon \ | ||
| 60 | - $(systemd_daemon_CFLAGS) $(systemd_journal_CFLAGS) \ | ||
| 61 | + $(systemd_CFLAGS) $(systemd_daemon_CFLAGS) $(systemd_journal_CFLAGS) \ | ||
| 62 | -DPLUGINS=\""${charon_plugins}\"" | ||
| 63 | |||
| 64 | charon_systemd_LDADD = \ | ||
| 65 | $(top_builddir)/src/libstrongswan/libstrongswan.la \ | ||
| 66 | $(top_builddir)/src/libhydra/libhydra.la \ | ||
| 67 | $(top_builddir)/src/libcharon/libcharon.la \ | ||
| 68 | - $(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB) | ||
| 69 | + $(systemd_LIBS) $(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB) | ||
