diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-12-23 00:40:50 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-12-23 00:40:50 +0000 |
commit | 80b2534287de93eef327cd35f76dc2b492fda4e5 (patch) | |
tree | f75f6d965090ddac5b58e92e749a548c90df31dd /net-misc/openswan | |
parent | [QA] Remove unused files. (diff) | |
download | gentoo-2-80b2534287de93eef327cd35f76dc2b492fda4e5.tar.gz gentoo-2-80b2534287de93eef327cd35f76dc2b492fda4e5.tar.bz2 gentoo-2-80b2534287de93eef327cd35f76dc2b492fda4e5.zip |
Add systemd service unit, bug 495066.
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-misc/openswan')
-rw-r--r-- | net-misc/openswan/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/openswan/files/ipsec.service | 10 | ||||
-rw-r--r-- | net-misc/openswan/openswan-2.6.39-r1.ebuild (renamed from net-misc/openswan/openswan-2.6.39.ebuild) | 5 |
3 files changed, 20 insertions, 3 deletions
diff --git a/net-misc/openswan/ChangeLog b/net-misc/openswan/ChangeLog index 1966b3288a06..0cdf511cc5ed 100644 --- a/net-misc/openswan/ChangeLog +++ b/net-misc/openswan/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/openswan # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openswan/ChangeLog,v 1.92 2013/11/28 23:19:37 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openswan/ChangeLog,v 1.93 2013/12/23 00:40:49 floppym Exp $ + +*openswan-2.6.39-r1 (23 Dec 2013) + + 23 Dec 2013; Mike Gilbert <floppym@gentoo.org> +files/ipsec.service, + +openswan-2.6.39-r1.ebuild, -openswan-2.6.39.ebuild: + Add systemd service unit, bug 495066. 28 Nov 2013; Mike Gilbert <floppym@gentoo.org> openswan-2.6.38.ebuild, openswan-2.6.39.ebuild: diff --git a/net-misc/openswan/files/ipsec.service b/net-misc/openswan/files/ipsec.service new file mode 100644 index 000000000000..b595f6a16aaf --- /dev/null +++ b/net-misc/openswan/files/ipsec.service @@ -0,0 +1,10 @@ +[Unit] +Description=Openswan IPSec + +[Service] +Type=forking +ExecStart=/usr/sbin/ipsec setup start +ExecStop=/usr/sbin/ipsec setup stop + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/openswan/openswan-2.6.39.ebuild b/net-misc/openswan/openswan-2.6.39-r1.ebuild index 2f478500b900..0313ed104e1e 100644 --- a/net-misc/openswan/openswan-2.6.39.ebuild +++ b/net-misc/openswan/openswan-2.6.39-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openswan/openswan-2.6.39.ebuild,v 1.5 2013/11/28 23:19:37 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openswan/openswan-2.6.39-r1.ebuild,v 1.1 2013/12/23 00:40:49 floppym Exp $ EAPI="4" -inherit eutils linux-info toolchain-funcs flag-o-matic +inherit eutils linux-info systemd toolchain-funcs flag-o-matic DESCRIPTION="Open Source implementation of IPsec for the Linux operating system (was SuperFreeS/WAN)." HOMEPAGE="http://www.openswan.org/" @@ -130,6 +130,7 @@ src_install() { docompress -x /usr/share/doc/${PF}/contrib newinitd "${FILESDIR}"/ipsec-initd ipsec + systemd_dounit "${FILESDIR}"/ipsec.service # We don't need to install /var/run/pluto. rm -rf "${D}var" || die |