[arch-commits] Commit in atftp/repos/community-x86_64 (11 files)

Christian Hesse eworm at archlinux.org
Sun Apr 21 18:35:43 UTC 2019


    Date: Sunday, April 21, 2019 @ 18:35:42
  Author: eworm
Revision: 452844

archrelease: copy trunk to community-x86_64

Added:
  atftp/repos/community-x86_64/PKGBUILD
    (from rev 452843, atftp/trunk/PKGBUILD)
  atftp/repos/community-x86_64/atftpd.conf
    (from rev 452843, atftp/trunk/atftpd.conf)
  atftp/repos/community-x86_64/atftpd.service
    (from rev 452843, atftp/trunk/atftpd.service)
  atftp/repos/community-x86_64/sysusers.conf
    (from rev 452843, atftp/trunk/sysusers.conf)
  atftp/repos/community-x86_64/tmpfiles.conf
    (from rev 452843, atftp/trunk/tmpfiles.conf)
Deleted:
  atftp/repos/community-x86_64/PKGBUILD
  atftp/repos/community-x86_64/atftp-0.7-cflags.patch
  atftp/repos/community-x86_64/atftpd.conf
  atftp/repos/community-x86_64/atftpd.service
  atftp/repos/community-x86_64/sysusers.conf
  atftp/repos/community-x86_64/tmpfiles.conf

------------------------+
 PKGBUILD               |  113 +++++++++++++++++++++--------------------------
 atftp-0.7-cflags.patch |   32 -------------
 atftpd.conf            |    6 +-
 atftpd.service         |   32 ++++++-------
 sysusers.conf          |    2 
 tmpfiles.conf          |    2 
 6 files changed, 72 insertions(+), 115 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-21 18:35:39 UTC (rev 452843)
+++ PKGBUILD	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1,62 +0,0 @@
-# Maintainer: Benjamin Bukowski <benjamin.bukowski at gmail.com>
-# Contributor: Johannes Löthberg <demizide at gmail.com>
-
-pkgname=atftp
-pkgver=0.7.1
-pkgrel=6
-pkgdesc='Client/server implementation of the TFTP protocol that implements RFCs 1350, 2090, 2347, 2348, and 2349'
-arch=('x86_64')
-url='http://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"
-        'atftp-0.7-cflags.patch'
-        'atftpd.service'
-        'atftpd.conf'
-        'sysusers.conf'
-        'tmpfiles.conf')
-sha256sums=('ae4c6f09cadb8d2150c3ce32d88f19036a54e8211f22d723e97864bb5e18f92d'
-            '56a9bdf1c4f9452db041fce1bc4c994e84ce44c6093ef48588f8d8bc93adaf24'
-            '74a030f0fb48e97470d59d767039e44d28cbd6c4722621207684220210b8fa65'
-            '0b28125099ffdd6869c6fbcb3167e93ccd71a0c6e465b1b62c7dedf9f628dd4e'
-            'e56f601bcdf0d64bf98813cd4a1be323541e33921c7d4f350168f62b56e66d11'
-            '2096272445c736ba05529af628cc2d46d0236c8f1ecbd50bb1db6dc6c4a972c5')
-
-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 -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-x86_64/PKGBUILD (from rev 452843, atftp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-21 18:35:42 UTC (rev 452844)
@@ -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.2
+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=('1ad080674e9f974217b3a703e7356c6c8446dc5e7b2014d0d06e1bfaa11b5041'
+            '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"
+}

Deleted: atftp-0.7-cflags.patch
===================================================================
--- atftp-0.7-cflags.patch	2019-04-21 18:35:39 UTC (rev 452843)
+++ atftp-0.7-cflags.patch	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1,32 +0,0 @@
---- 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
- 

Deleted: atftpd.conf
===================================================================
--- atftpd.conf	2019-04-21 18:35:39 UTC (rev 452843)
+++ atftpd.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1,3 +0,0 @@
-# Parameters to be passed to ATFTPD
-ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 /srv/atftp"
-

Copied: atftp/repos/community-x86_64/atftpd.conf (from rev 452843, atftp/trunk/atftpd.conf)
===================================================================
--- atftpd.conf	                        (rev 0)
+++ atftpd.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -0,0 +1,3 @@
+# Parameters to be passed to ATFTPD
+ATFTPD_ARGS="--no-multicast --maxthread 20 --verbose=6 /srv/atftp"
+

Deleted: atftpd.service
===================================================================
--- atftpd.service	2019-04-21 18:35:39 UTC (rev 452843)
+++ atftpd.service	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1,16 +0,0 @@
-[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-x86_64/atftpd.service (from rev 452843, atftp/trunk/atftpd.service)
===================================================================
--- atftpd.service	                        (rev 0)
+++ atftpd.service	2019-04-21 18:35:42 UTC (rev 452844)
@@ -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

Deleted: sysusers.conf
===================================================================
--- sysusers.conf	2019-04-21 18:35:39 UTC (rev 452843)
+++ sysusers.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1 +0,0 @@
-u atftp - "Advanced tftp daemon" /srv/atftp

Copied: atftp/repos/community-x86_64/sysusers.conf (from rev 452843, atftp/trunk/sysusers.conf)
===================================================================
--- sysusers.conf	                        (rev 0)
+++ sysusers.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -0,0 +1 @@
+u atftp - "Advanced tftp daemon" /srv/atftp

Deleted: tmpfiles.conf
===================================================================
--- tmpfiles.conf	2019-04-21 18:35:39 UTC (rev 452843)
+++ tmpfiles.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -1 +0,0 @@
-d /srv/atftp 0755 atftp atftp -

Copied: atftp/repos/community-x86_64/tmpfiles.conf (from rev 452843, atftp/trunk/tmpfiles.conf)
===================================================================
--- tmpfiles.conf	                        (rev 0)
+++ tmpfiles.conf	2019-04-21 18:35:42 UTC (rev 452844)
@@ -0,0 +1 @@
+d /srv/atftp 0755 atftp atftp -



More information about the arch-commits mailing list