[arch-commits] Commit in atftp/repos (6 files)
Christian Hesse
eworm at gemini.archlinux.org
Tue Sep 14 06:36:21 UTC 2021
Date: Tuesday, September 14, 2021 @ 06:36:21
Author: eworm
Revision: 1014782
archrelease: copy trunk to community-testing-x86_64
Added:
atftp/repos/community-testing-x86_64/
atftp/repos/community-testing-x86_64/PKGBUILD
(from rev 1014781, atftp/trunk/PKGBUILD)
atftp/repos/community-testing-x86_64/atftpd.conf
(from rev 1014781, atftp/trunk/atftpd.conf)
atftp/repos/community-testing-x86_64/atftpd.service
(from rev 1014781, atftp/trunk/atftpd.service)
atftp/repos/community-testing-x86_64/sysusers.conf
(from rev 1014781, atftp/trunk/sysusers.conf)
atftp/repos/community-testing-x86_64/tmpfiles.conf
(from rev 1014781, atftp/trunk/tmpfiles.conf)
----------------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
atftpd.conf | 3 +++
atftpd.service | 16 ++++++++++++++++
sysusers.conf | 1 +
tmpfiles.conf | 1 +
5 files changed, 72 insertions(+)
Copied: atftp/repos/community-testing-x86_64/PKGBUILD (from rev 1014781, atftp/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-09-14 06:36:21 UTC (rev 1014782)
@@ -0,0 +1,51 @@
+# Maintainer: Benjamin Bukowski <benjamin.bukowski at gmail.com>
+# Contributor: Johannes Löthberg <demizide at gmail.com>
+
+pkgname=atftp
+pkgver=0.7.5
+pkgrel=1
+pkgdesc='Client/server implementation of the TFTP protocol that implements RFCs 1350, 2090, 2347, 2348, and 2349'
+arch=('x86_64')
+url='https://sourceforge.net/projects/atftp/'
+license=('GPL')
+depends=('pcre' 'readline')
+backup=('etc/conf.d/atftpd')
+source=("https://downloads.sf.net/sourceforge/atftp/atftp-$pkgver.tar.gz"
+ 'atftpd.service'
+ 'atftpd.conf'
+ 'sysusers.conf'
+ 'tmpfiles.conf')
+sha256sums=('93c87a4fb18218414e008e01c995dadd231ba4c752d0f894b34416d1e6d3038a'
+ '74a030f0fb48e97470d59d767039e44d28cbd6c4722621207684220210b8fa65'
+ '0b28125099ffdd6869c6fbcb3167e93ccd71a0c6e465b1b62c7dedf9f628dd4e'
+ 'e56f601bcdf0d64bf98813cd4a1be323541e33921c7d4f350168f62b56e66d11'
+ '2096272445c736ba05529af628cc2d46d0236c8f1ecbd50bb1db6dc6c4a972c5')
+
+build() {
+ cd atftp-$pkgver
+
+ CFLAGS+=' -std=gnu89'
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sbindir=/usr/bin \
+ --enable-libreadline \
+ --disable-libwrap
+ make
+}
+
+package() {
+ cd atftp-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -D -m0644 ../atftpd.service "$pkgdir"/usr/lib/systemd/system/atftpd.service
+ install -D -m0644 ../atftpd.conf "$pkgdir"/etc/conf.d/atftpd
+ install -D -m0644 ../sysusers.conf "$pkgdir"/usr/lib/sysusers.d/atftp.conf
+ install -D -m0644 ../tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/atftp.conf
+
+ # remove in.tftpd link as it conflicts with extra/tftp-hpa
+ rm "${pkgdir}/usr/share/man/man8/in.tftpd.8"
+ rm "${pkgdir}/usr/bin/in.tftpd"
+}
Copied: atftp/repos/community-testing-x86_64/atftpd.conf (from rev 1014781, atftp/trunk/atftpd.conf)
===================================================================
--- community-testing-x86_64/atftpd.conf (rev 0)
+++ community-testing-x86_64/atftpd.conf 2021-09-14 06:36:21 UTC (rev 1014782)
@@ -0,0 +1,3 @@
+# Parameters to be passed to ATFTPD
+ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 /srv/atftp"
+
Copied: atftp/repos/community-testing-x86_64/atftpd.service (from rev 1014781, atftp/trunk/atftpd.service)
===================================================================
--- community-testing-x86_64/atftpd.service (rev 0)
+++ community-testing-x86_64/atftpd.service 2021-09-14 06:36:21 UTC (rev 1014782)
@@ -0,0 +1,16 @@
+[Unit]
+Description=Advanced TFTP Daemon
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/atftpd
+ExecStart=/usr/bin/atftpd --user=atftp.atftp --daemon --no-fork $ATFTPD_ARGS
+User=atftp
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target
Copied: atftp/repos/community-testing-x86_64/sysusers.conf (from rev 1014781, atftp/trunk/sysusers.conf)
===================================================================
--- community-testing-x86_64/sysusers.conf (rev 0)
+++ community-testing-x86_64/sysusers.conf 2021-09-14 06:36:21 UTC (rev 1014782)
@@ -0,0 +1 @@
+u atftp - "Advanced tftp daemon" /srv/atftp
Copied: atftp/repos/community-testing-x86_64/tmpfiles.conf (from rev 1014781, atftp/trunk/tmpfiles.conf)
===================================================================
--- community-testing-x86_64/tmpfiles.conf (rev 0)
+++ community-testing-x86_64/tmpfiles.conf 2021-09-14 06:36:21 UTC (rev 1014782)
@@ -0,0 +1 @@
+d /srv/atftp 0755 atftp atftp -
More information about the arch-commits
mailing list