[arch-commits] Commit in (6 files)
Anatol Pomozov
anatolik at archlinux.org
Tue Apr 14 21:33:09 UTC 2015
Date: Tuesday, April 14, 2015 @ 23:33:09
Author: anatolik
Revision: 131364
atftp: move from AUR
Added:
atftp/
atftp/repos/
atftp/trunk/
atftp/trunk/PKGBUILD
atftp/trunk/atftpd.conf
atftp/trunk/atftpd.service
----------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
atftpd.conf | 3 +++
atftpd.service | 10 ++++++++++
3 files changed, 51 insertions(+)
Added: atftp/trunk/PKGBUILD
===================================================================
--- atftp/trunk/PKGBUILD (rev 0)
+++ atftp/trunk/PKGBUILD 2015-04-14 21:33:09 UTC (rev 131364)
@@ -0,0 +1,38 @@
+# Maintainer: Benjamin Bukowski <benjamin.bukowski at gmail.com>
+# Contributor: Johannes Löthberg <demizide at gmail.com>
+
+pkgname=atftp
+pkgver=0.7.1
+pkgrel=1
+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/'
+license=(GPL)
+depends=(pcre readline)
+backup=(etc/conf.d/atftpd)
+source=(http://downloads.sf.net/sourceforge/atftp/atftp-$pkgver.tar.gz
+ atftpd.service
+ atftpd.conf)
+sha1sums=('fc9e9f821dfd2f257b4a5c32b948ed60b4e31fd1'
+ 'fb6a7a03aa2d37caf4202e152d84a18dd20e30f3'
+ '0ee061597778d0ca850f053d0e3d9157e3376e79')
+
+build() {
+ cd atftp-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin \
+ --enable-libreadline --disable-libwrap
+ make
+}
+
+package() {
+ cd atftp-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 ../atftpd.service "$pkgdir"/usr/lib/systemd/system/atftpd.service
+ install -Dm644 ../atftpd.conf "$pkgdir"/etc/conf.d/atftpd
+ install -dm775 --group=nobody "$pkgdir"/srv/atftp
+
+ # 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"
+}
Property changes on: atftp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: atftp/trunk/atftpd.conf
===================================================================
--- atftp/trunk/atftpd.conf (rev 0)
+++ atftp/trunk/atftpd.conf 2015-04-14 21:33:09 UTC (rev 131364)
@@ -0,0 +1,3 @@
+# Parameters to be passed to ATFTPD
+ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 --group nobody /srv/atftp"
+
Added: atftp/trunk/atftpd.service
===================================================================
--- atftp/trunk/atftpd.service (rev 0)
+++ atftp/trunk/atftpd.service 2015-04-14 21:33:09 UTC (rev 131364)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Advanced TFTP Daemon
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/atftpd
+ExecStart=/usr/bin/atftpd --daemon --no-fork $ATFTPD_ARGS
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list