[arch-commits] Commit in atftp/repos (8 files)

Anatol Pomozov anatolik at archlinux.org
Tue Apr 14 21:33:52 UTC 2015


    Date: Tuesday, April 14, 2015 @ 23:33:51
  Author: anatolik
Revision: 131365

archrelease: copy trunk to community-i686, community-x86_64

Added:
  atftp/repos/community-i686/
  atftp/repos/community-i686/PKGBUILD
    (from rev 131364, atftp/trunk/PKGBUILD)
  atftp/repos/community-i686/atftpd.conf
    (from rev 131364, atftp/trunk/atftpd.conf)
  atftp/repos/community-i686/atftpd.service
    (from rev 131364, atftp/trunk/atftpd.service)
  atftp/repos/community-x86_64/
  atftp/repos/community-x86_64/PKGBUILD
    (from rev 131364, atftp/trunk/PKGBUILD)
  atftp/repos/community-x86_64/atftpd.conf
    (from rev 131364, atftp/trunk/atftpd.conf)
  atftp/repos/community-x86_64/atftpd.service
    (from rev 131364, atftp/trunk/atftpd.service)

---------------------------------+
 community-i686/PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 community-i686/atftpd.conf      |    3 +++
 community-i686/atftpd.service   |   10 ++++++++++
 community-x86_64/PKGBUILD       |   38 ++++++++++++++++++++++++++++++++++++++
 community-x86_64/atftpd.conf    |    3 +++
 community-x86_64/atftpd.service |   10 ++++++++++
 6 files changed, 102 insertions(+)

Copied: atftp/repos/community-i686/PKGBUILD (from rev 131364, atftp/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-14 21:33:51 UTC (rev 131365)
@@ -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"
+}

Copied: atftp/repos/community-i686/atftpd.conf (from rev 131364, atftp/trunk/atftpd.conf)
===================================================================
--- community-i686/atftpd.conf	                        (rev 0)
+++ community-i686/atftpd.conf	2015-04-14 21:33:51 UTC (rev 131365)
@@ -0,0 +1,3 @@
+# Parameters to be passed to ATFTPD
+ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 --group nobody /srv/atftp"
+

Copied: atftp/repos/community-i686/atftpd.service (from rev 131364, atftp/trunk/atftpd.service)
===================================================================
--- community-i686/atftpd.service	                        (rev 0)
+++ community-i686/atftpd.service	2015-04-14 21:33:51 UTC (rev 131365)
@@ -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

Copied: atftp/repos/community-x86_64/PKGBUILD (from rev 131364, atftp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-14 21:33:51 UTC (rev 131365)
@@ -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"
+}

Copied: atftp/repos/community-x86_64/atftpd.conf (from rev 131364, atftp/trunk/atftpd.conf)
===================================================================
--- community-x86_64/atftpd.conf	                        (rev 0)
+++ community-x86_64/atftpd.conf	2015-04-14 21:33:51 UTC (rev 131365)
@@ -0,0 +1,3 @@
+# Parameters to be passed to ATFTPD
+ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 --group nobody /srv/atftp"
+

Copied: atftp/repos/community-x86_64/atftpd.service (from rev 131364, atftp/trunk/atftpd.service)
===================================================================
--- community-x86_64/atftpd.service	                        (rev 0)
+++ community-x86_64/atftpd.service	2015-04-14 21:33:51 UTC (rev 131365)
@@ -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