[arch-commits] Commit in lldpd/trunk (PKGBUILD lldpd.service)

Sébastien Luttringer seblu at archlinux.org
Sat Apr 8 18:41:40 UTC 2017


    Date: Saturday, April 8, 2017 @ 18:41:39
  Author: seblu
Revision: 221378

upgpkg: lldpd 0.9.7-2

- implement FS#53587

Modified:
  lldpd/trunk/PKGBUILD
  lldpd/trunk/lldpd.service

---------------+
 PKGBUILD      |    4 ++--
 lldpd.service |   16 ++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-08 17:51:43 UTC (rev 221377)
+++ PKGBUILD	2017-04-08 18:41:39 UTC (rev 221378)
@@ -4,7 +4,7 @@
 
 pkgname=lldpd
 pkgver=0.9.7
-pkgrel=1
+pkgrel=2
 pkgdesc='802.1ab implementation (LLDP) to help you locate neighbors'
 arch=('i686' 'x86_64')
 url='https://vincentbernat.github.io/lldpd/'
@@ -22,7 +22,7 @@
 md5sums=('202300ab6ec23c8e60b7c71f098ad69a'
          '47335710dbef7b76e7d7994f1c461f01'
          '8ae98663bac55afe5d989919d296f28a'
-         'a650af7390db0632480184f9f2e7ee4a'
+         'fc660a94c6dda3146ea7932685434bc8'
          '1d3a5451d44f67e3786d082c150639a4'
          '00a82f466404aec01b074503633d12ba')
 

Modified: lldpd.service
===================================================================
--- lldpd.service	2017-04-08 17:51:43 UTC (rev 221377)
+++ lldpd.service	2017-04-08 18:41:39 UTC (rev 221378)
@@ -2,11 +2,27 @@
 Description=LLDP daemon
 Documentation=man:lldpd(8)
 After=network.target
+RequiresMountsFor=/run/lldpd
 
 [Service]
 Type=notify
 NotifyAccess=main
+ExecStartPre=/usr/bin/mkdir -p /run/lldpd/chroot
 ExecStart=/usr/bin/lldpd
+Restart=on-failure
+PrivateTmp=yes
+# systemd >= 211
+RestrictAddressFamilies=AF_INET AF_INET6 AF_PACKET AF_NETLINK AF_UNIX
+# systemd >= 214
+ProtectHome=yes
+ProtectSystem=yes
+# systemd >= 231
+ReadWritePaths=/run/lldpd/
+# systemd >= 232
+ProtectSystem=strict
+ProtectKernelTunables=yes
+ProtectControlGroups=yes
+ProtectKernelModules=yes
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list