tnftp: update to 20200705.

This commit is contained in:
Leah Neukirchen 2020-07-07 23:00:02 +02:00
parent dcc7ea7775
commit b09a717000
2 changed files with 27 additions and 3 deletions

View file

@ -0,0 +1,20 @@
--- configure.ac.orig
+++ configure.ac
@@ -403,7 +403,7 @@
[$accheck_includes])])
AC_MSG_CHECKING([for va_copy])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
$accheck_includes
]], [[
va_list ap, ap2;
@@ -415,7 +415,7 @@
[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([for __builtin_va_copy])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
$accheck_includes
]], [[
va_list ap, ap2;

View file

@ -1,21 +1,25 @@
# Template file for 'tnftp' # Template file for 'tnftp'
pkgname=tnftp pkgname=tnftp
version=20151004 version=20200705
revision=9 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="libressl-devel ncurses-devel" makedepends="libressl-devel ncurses-devel"
short_desc="NetBSD enhanced ftp client" short_desc="NetBSD enhanced ftp client"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD" license="BSD"
homepage="http://netbsd.gw.com/cgi-bin/man-cgi?ftp" homepage="http://netbsd.gw.com/cgi-bin/man-cgi?ftp"
distfiles="ftp://ftp.netbsd.org/pub/NetBSD/misc/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="ftp://ftp.netbsd.org/pub/NetBSD/misc/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0 checksum=ba4a92b693d04179664524eef0801c8eed4447941c9855f377f98f119f221c03
alternatives=" alternatives="
ftp:ftp:/usr/bin/${pkgname} ftp:ftp:/usr/bin/${pkgname}
ftp:ftp.1:/usr/share/man/man1/${pkgname}.1 ftp:ftp.1:/usr/share/man/man1/${pkgname}.1
" "
pre_configure() {
autoconf -f
}
post_install() { post_install() {
vlicense COPYING vlicense COPYING
} }