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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 7 00:42:52 UTC 2016


    Date: Monday, November 7, 2016 @ 00:42:51
  Author: foutrelis
Revision: 194838

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

Added:
  atftp/repos/community-staging-i686/
  atftp/repos/community-staging-i686/PKGBUILD
    (from rev 194837, atftp/trunk/PKGBUILD)
  atftp/repos/community-staging-i686/atftp-0.7-cflags.patch
    (from rev 194837, atftp/trunk/atftp-0.7-cflags.patch)
  atftp/repos/community-staging-i686/atftpd.conf
    (from rev 194837, atftp/trunk/atftpd.conf)
  atftp/repos/community-staging-i686/atftpd.service
    (from rev 194837, atftp/trunk/atftpd.service)
  atftp/repos/community-staging-x86_64/
  atftp/repos/community-staging-x86_64/PKGBUILD
    (from rev 194837, atftp/trunk/PKGBUILD)
  atftp/repos/community-staging-x86_64/atftp-0.7-cflags.patch
    (from rev 194837, atftp/trunk/atftp-0.7-cflags.patch)
  atftp/repos/community-staging-x86_64/atftpd.conf
    (from rev 194837, atftp/trunk/atftpd.conf)
  atftp/repos/community-staging-x86_64/atftpd.service
    (from rev 194837, atftp/trunk/atftpd.service)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   48 ++++++++++++++++++++++
 community-staging-i686/atftp-0.7-cflags.patch   |   32 ++++++++++++++
 community-staging-i686/atftpd.conf              |    3 +
 community-staging-i686/atftpd.service           |   10 ++++
 community-staging-x86_64/PKGBUILD               |   48 ++++++++++++++++++++++
 community-staging-x86_64/atftp-0.7-cflags.patch |   32 ++++++++++++++
 community-staging-x86_64/atftpd.conf            |    3 +
 community-staging-x86_64/atftpd.service         |   10 ++++
 8 files changed, 186 insertions(+)

Copied: atftp/repos/community-staging-i686/PKGBUILD (from rev 194837, atftp/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-07 00:42:51 UTC (rev 194838)
@@ -0,0 +1,48 @@
+# Maintainer: Benjamin Bukowski <benjamin.bukowski at gmail.com>
+# Contributor: Johannes Löthberg <demizide at gmail.com>
+
+pkgname=atftp
+pkgver=0.7.1
+pkgrel=2
+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
+        atftp-0.7-cflags.patch
+        atftpd.service
+        atftpd.conf)
+sha1sums=('fc9e9f821dfd2f257b4a5c32b948ed60b4e31fd1'
+          'a6aaa9965284977efb41cfd28a76edf904c069ab'
+          'fb6a7a03aa2d37caf4202e152d84a18dd20e30f3'
+          '0ee061597778d0ca850f053d0e3d9157e3376e79')
+
+prepare() {
+  cd atftp-$pkgver
+  # Respect our CFLAGS; needed below for building with -std=gnu89
+  patch -Np1 -i ../atftp-0.7-cflags.patch
+  autoreconf -vi
+}
+
+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 -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-staging-i686/atftp-0.7-cflags.patch (from rev 194837, atftp/trunk/atftp-0.7-cflags.patch)
===================================================================
--- community-staging-i686/atftp-0.7-cflags.patch	                        (rev 0)
+++ community-staging-i686/atftp-0.7-cflags.patch	2016-11-07 00:42:51 UTC (rev 194838)
@@ -0,0 +1,32 @@
+--- atftp-0.7/configure.ac
++++ atftp-0.7/configure.ac
+@@ -66,29 +66,6 @@
+ dnl Check for AIX
+ AC_AIX
+ 
+-CFLAGS="-g -Wall -D_REENTRANT"
+-
+-if test x$debug = xtrue; then
+-   CFLAGS="$CFLAGS -O0 -DDEBUG"
+-else
+-  if test -n "$auto_cflags"; then
+-    if test -n "$GCC"; then
+-      CFLAGS="$CFLAGS -g -O2 -Wall -Wno-implicit"
+-    else
+-      case "$host_os" in
+-        *hpux*)  CFLAGS="$CFLAGS +O3"
+-	  ;;
+-        *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000"
+-	  ;;
+-        *)       CFLAGS="$CFLAGS -O2"
+-	  ;;
+-      esac
+-    fi
+-  else
+-    CFLAGS="$CFLAGS -O2"
+-  fi
+-fi
+-
+ AC_PROG_MAKE_SET
+ AC_PROG_INSTALL
+ 

Copied: atftp/repos/community-staging-i686/atftpd.conf (from rev 194837, atftp/trunk/atftpd.conf)
===================================================================
--- community-staging-i686/atftpd.conf	                        (rev 0)
+++ community-staging-i686/atftpd.conf	2016-11-07 00:42:51 UTC (rev 194838)
@@ -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-staging-i686/atftpd.service (from rev 194837, atftp/trunk/atftpd.service)
===================================================================
--- community-staging-i686/atftpd.service	                        (rev 0)
+++ community-staging-i686/atftpd.service	2016-11-07 00:42:51 UTC (rev 194838)
@@ -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-staging-x86_64/PKGBUILD (from rev 194837, atftp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-07 00:42:51 UTC (rev 194838)
@@ -0,0 +1,48 @@
+# Maintainer: Benjamin Bukowski <benjamin.bukowski at gmail.com>
+# Contributor: Johannes Löthberg <demizide at gmail.com>
+
+pkgname=atftp
+pkgver=0.7.1
+pkgrel=2
+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
+        atftp-0.7-cflags.patch
+        atftpd.service
+        atftpd.conf)
+sha1sums=('fc9e9f821dfd2f257b4a5c32b948ed60b4e31fd1'
+          'a6aaa9965284977efb41cfd28a76edf904c069ab'
+          'fb6a7a03aa2d37caf4202e152d84a18dd20e30f3'
+          '0ee061597778d0ca850f053d0e3d9157e3376e79')
+
+prepare() {
+  cd atftp-$pkgver
+  # Respect our CFLAGS; needed below for building with -std=gnu89
+  patch -Np1 -i ../atftp-0.7-cflags.patch
+  autoreconf -vi
+}
+
+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 -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-staging-x86_64/atftp-0.7-cflags.patch (from rev 194837, atftp/trunk/atftp-0.7-cflags.patch)
===================================================================
--- community-staging-x86_64/atftp-0.7-cflags.patch	                        (rev 0)
+++ community-staging-x86_64/atftp-0.7-cflags.patch	2016-11-07 00:42:51 UTC (rev 194838)
@@ -0,0 +1,32 @@
+--- atftp-0.7/configure.ac
++++ atftp-0.7/configure.ac
+@@ -66,29 +66,6 @@
+ dnl Check for AIX
+ AC_AIX
+ 
+-CFLAGS="-g -Wall -D_REENTRANT"
+-
+-if test x$debug = xtrue; then
+-   CFLAGS="$CFLAGS -O0 -DDEBUG"
+-else
+-  if test -n "$auto_cflags"; then
+-    if test -n "$GCC"; then
+-      CFLAGS="$CFLAGS -g -O2 -Wall -Wno-implicit"
+-    else
+-      case "$host_os" in
+-        *hpux*)  CFLAGS="$CFLAGS +O3"
+-	  ;;
+-        *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000"
+-	  ;;
+-        *)       CFLAGS="$CFLAGS -O2"
+-	  ;;
+-      esac
+-    fi
+-  else
+-    CFLAGS="$CFLAGS -O2"
+-  fi
+-fi
+-
+ AC_PROG_MAKE_SET
+ AC_PROG_INSTALL
+ 

Copied: atftp/repos/community-staging-x86_64/atftpd.conf (from rev 194837, atftp/trunk/atftpd.conf)
===================================================================
--- community-staging-x86_64/atftpd.conf	                        (rev 0)
+++ community-staging-x86_64/atftpd.conf	2016-11-07 00:42:51 UTC (rev 194838)
@@ -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-staging-x86_64/atftpd.service (from rev 194837, atftp/trunk/atftpd.service)
===================================================================
--- community-staging-x86_64/atftpd.service	                        (rev 0)
+++ community-staging-x86_64/atftpd.service	2016-11-07 00:42:51 UTC (rev 194838)
@@ -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