Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/files/systemd/, net-firewall/nftables/
Date: Wed, 26 Oct 2016 21:21:12
Message-Id: 1477516588.e42ae854f8818adf804c76b193d0524fac4dd1d4.monsieurp@gentoo
1 commit: e42ae854f8818adf804c76b193d0524fac4dd1d4
2 Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 23 17:10:49 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 26 21:16:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42ae854
7
8 net-firewall/nftables: update systemd file target.
9
10 Change the systemd unit files to use
11
12 Before=network-pre.target
13 Wants=network-pre.target
14
15 as this better aligns with systemd documentation for this type of
16 service. Special thanks to Shaun Bouckaert for triggering this review.
17 He originally asked (via email) about how the connman systemd unit file
18 handled its dependencies which prompted me to check this package as
19 well. As for connman, v1.33-r1 seems to be aligned with systemd
20 documentation.
21
22 Package-Manager: portage-2.3.2
23 Closes: https://github.com/gentoo/gentoo/pull/2649
24
25 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
26
27 net-firewall/nftables/files/systemd/nftables-restore.service | 4 ++--
28 .../nftables/{nftables-0.6-r3.ebuild => nftables-0.6-r4.ebuild} | 0
29 2 files changed, 2 insertions(+), 2 deletions(-)
30
31 diff --git a/net-firewall/nftables/files/systemd/nftables-restore.service b/net-firewall/nftables/files/systemd/nftables-restore.service
32 index fbd5a83..4b68b0a 100644
33 --- a/net-firewall/nftables/files/systemd/nftables-restore.service
34 +++ b/net-firewall/nftables/files/systemd/nftables-restore.service
35 @@ -1,8 +1,8 @@
36 [Unit]
37 Description=Store and restore nftables firewall rules
38 ConditionPathExists=/var/lib/nftables/rules-save
39 -Before=network.target
40 -Before=shutdown.target
41 +Before=network-pre.target
42 +Wants=network-pre.target
43
44 [Service]
45 Type=oneshot
46
47 diff --git a/net-firewall/nftables/nftables-0.6-r3.ebuild b/net-firewall/nftables/nftables-0.6-r4.ebuild
48 similarity index 100%
49 rename from net-firewall/nftables/nftables-0.6-r3.ebuild
50 rename to net-firewall/nftables/nftables-0.6-r4.ebuild