pkgsrc/net/bftpd/Makefile
nia 2a19818667 bftpd: Update to version 5.0
Changes:

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.0
	- Added more checks to places where we are mapping a file
          or checking for symbolic links. Should avoid trying to
          operating on invalid path names or broken symlinks.
          Issue reported by Xu.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.9
	- Several checks added to chdir() and other
          return codes to make sure syscalls are all returning
          properly. Patch provided by Zhouyang Jia.
	- Fixed some compiler warnings due to unused or
          oddly indented code.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.8
	- Fixed potential double-free bug during Bftpd shutdown.
	- Fixed potential unititalized variable.
	  Thanks to Alex for reporting these bugs.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.7
	- Fixed memory leak in rename function.
          Thanks to Alex for reporting this bug.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.6
	- Avoid memory corruption when reading config file by initalizing memory.
	- Make sure CHROOT is default option, even if it is not specified
	  in the config file.
	  Thanks for Anton Yuzhaninov for providing the above two fixes.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.5
	- Avoid potential buffer underflow in main.c
	  Thanks to Andreas for pointing out this problem.
2018-11-24 11:29:15 +00:00

36 lines
904 B
Makefile

# $NetBSD: Makefile,v 1.18 2018/11/24 11:29:15 nia Exp $
#
DISTNAME= bftpd-5.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bftpd.sourceforge.net/
COMMENT= Small and fast FTP server
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
WRKSRC= ${WRKDIR}/bftpd
CONFIGURE_ARGS+=--enable-libz
CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \
${PKG_SYSCONFDIR}/bftpd.conf
SUBST_CLASSES+= varbase
SUBST_STAGE.varbase= post-configure
SUBST_FILES.varbase= bftpd.conf
SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g'
SUBST_CLASSES+= sysconf
SUBST_STAGE.sysconf= post-configure
SUBST_FILES.sysconf= mypaths.h bftpd.8
SUBST_SED.sysconf= -e 's|PREFIX"/etc/|"${PKG_SYSCONFDIR}/|g'
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
BUILD_DEFS+= VARBASE
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"