bftpd: update to 5.4.

This commit is contained in:
Nathan Owens 2020-01-10 16:14:15 -06:00 committed by Juan RP
parent 795854f9a6
commit d448a479fc
2 changed files with 16 additions and 3 deletions

View File

@ -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);

View File

@ -1,6 +1,6 @@
# Template file for 'bftpd' # Template file for 'bftpd'
pkgname=bftpd pkgname=bftpd
version=5.2 version=5.4
revision=1 revision=1
wrksrc="$pkgname" wrksrc="$pkgname"
build_style=gnu-configure build_style=gnu-configure
@ -8,10 +8,10 @@ configure_args="--enable-libz"
makedepends="zlib-devel" makedepends="zlib-devel"
short_desc="Simple FTP server" short_desc="Simple FTP server"
maintainer="Norbert Vegh <vegh@norvegh.com>" maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2" license="GPL-2.0-only"
homepage="http://bftpd.sourceforge.net/" homepage="http://bftpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
checksum=7e6259f8eada88ef598df4c1517fa260c798ad2361d9b4627b97ff2125ddaa4e checksum=f31a3a2953171d485ae98776dd4e8f8688cd19116522d4800f8b99c032a7bbd3
pre_build() { pre_build() {
sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile