[arch-commits] Commit in atftp/trunk (PKGBUILD atftpd.service)
Christian Hesse
eworm at archlinux.org
Wed Oct 11 08:36:55 UTC 2017
Date: Wednesday, October 11, 2017 @ 08:36:54
Author: eworm
Revision: 262327
upgpkg: atftp 0.7.1-4
add some systemd security features
Modified:
atftp/trunk/PKGBUILD
atftp/trunk/atftpd.service
----------------+
PKGBUILD | 4 ++--
atftpd.service | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-11 08:36:53 UTC (rev 262326)
+++ PKGBUILD 2017-10-11 08:36:54 UTC (rev 262327)
@@ -3,7 +3,7 @@
pkgname=atftp
pkgver=0.7.1
-pkgrel=3
+pkgrel=4
pkgdesc='Client/server implementation of the TFTP protocol that implements RFCs 1350, 2090, 2347, 2348, and 2349'
arch=(i686 x86_64)
url='http://sourceforge.net/projects/atftp/'
@@ -16,7 +16,7 @@
'atftpd.conf')
sha256sums=('ae4c6f09cadb8d2150c3ce32d88f19036a54e8211f22d723e97864bb5e18f92d'
'56a9bdf1c4f9452db041fce1bc4c994e84ce44c6093ef48588f8d8bc93adaf24'
- '9b900148b4d67c49363e1e990bb10a07c73e2680355b0c4d33df379951998070'
+ 'c7f115241777155265cae9760bbadd7299e49630e5be69d0d1d349e2bd4062bf'
'b9942e43206ddd4337454d6ed27a97976c0b84b6218b09a1a6549eec6b3023e6')
prepare() {
Modified: atftpd.service
===================================================================
--- atftpd.service 2017-10-11 08:36:53 UTC (rev 262326)
+++ atftpd.service 2017-10-11 08:36:54 UTC (rev 262327)
@@ -5,6 +5,10 @@
[Service]
EnvironmentFile=/etc/conf.d/atftpd
ExecStart=/usr/bin/atftpd --daemon --no-fork $ATFTPD_ARGS
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
[Install]
WantedBy=multi-user.target
More information about the arch-commits
mailing list