bftpd: update to 5.7.

By ericonr:
- move all Makefile changes to a vsed in post_configure; more
  semantically correct
- slight cleanup in allowing do_install from the build style to happen
  and only install extras in post_install

Closes: #31290 [via git-merge-pr]
This commit is contained in:
mobinmob 2021-06-04 23:17:51 +03:00 committed by Érico Nogueira
parent 9499b92ad7
commit 45b430606c
1 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'bftpd'
pkgname=bftpd
version=5.6
version=5.7
revision=1
wrksrc="$pkgname"
build_style=gnu-configure
@ -11,17 +11,17 @@ maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2.0-only"
homepage="http://bftpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
checksum=1094f25afc23c24a1b63db7ebe9f9b72bba4bc3b9245d13d8054ad724ea37aa2
checksum=a543ce62a8092a7b5065146875cc9878534b09dc4a853f2c2b56e2de397a6f4b
CFLAGS="-fcommon"
pre_build() {
sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
post_configure() {
vsed -i -e "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" \
-e "s|sbin|bin|g" \
Makefile
}
do_install() {
sed -i 's,sbin,bin,g' Makefile
make PREFIX=/usr DESTDIR=${DESTDIR} install
post_install() {
vsv bftpd
vconf bftpd.conf
}