From d448a479fc9a25355d64d84c04b1d801f7413d62 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Fri, 10 Jan 2020 16:14:15 -0600 Subject: [PATCH] bftpd: update to 5.4. --- srcpkgs/bftpd/patches/commands.patch | 13 +++++++++++++ srcpkgs/bftpd/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/bftpd/patches/commands.patch diff --git a/srcpkgs/bftpd/patches/commands.patch b/srcpkgs/bftpd/patches/commands.patch new file mode 100644 index 00000000000..0a0d7be02c2 --- /dev/null +++ b/srcpkgs/bftpd/patches/commands.patch @@ -0,0 +1,13 @@ +diff --git commands.c commands.c +index a3d83c9..a6a98ed 100644 +--- commands.c ++++ commands.c +@@ -1144,7 +1144,7 @@ void command_retr(char *filename) + wait_time.tv_usec = xfer_delay; + select( 0, NULL, NULL, NULL, &wait_time); + } +- i = read(phile, buffer, my_buffer_size) ++ i = read(phile, buffer, my_buffer_size); + } + free(buffer); + close(phile); diff --git a/srcpkgs/bftpd/template b/srcpkgs/bftpd/template index 2df6194969f..e375874c9e3 100644 --- a/srcpkgs/bftpd/template +++ b/srcpkgs/bftpd/template @@ -1,6 +1,6 @@ # Template file for 'bftpd' pkgname=bftpd -version=5.2 +version=5.4 revision=1 wrksrc="$pkgname" build_style=gnu-configure @@ -8,10 +8,10 @@ configure_args="--enable-libz" makedepends="zlib-devel" short_desc="Simple FTP server" maintainer="Norbert Vegh " -license="GPL-2" +license="GPL-2.0-only" homepage="http://bftpd.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz" -checksum=7e6259f8eada88ef598df4c1517fa260c798ad2361d9b4627b97ff2125ddaa4e +checksum=f31a3a2953171d485ae98776dd4e8f8688cd19116522d4800f8b99c032a7bbd3 pre_build() { sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile