pkgsrc/net/vsftpd/Makefile
salo dc2437e0d6 Updated to 1.2.0.
- take over maintainership, MAINTAINER is not reachable on his mail anymore
  (non-existent domain).

Changes:

Logging has been enhanced, including syslog support.  IPv6 support has been
added.  STRU, MODE, STOU, HELP, and SITE HELP have been implemented.  Better
control of which commands to allow has been added.  pam_session support has
been added.  Error messages have been improved.  There are lots of bugfixes
and new configuration options.

- Eliminate crypt() not defined warning.
- "grep -q" is not standard to redirect to /dev/null instead.
- Make banned_email_file work second time around.
- Add force_dot_files to work around broken clients. The behaviour when
  enabled is very wu-ftpd like.
- Implement SITE HELP - should work around IE bug?
- Update README, vsftpd.conf with references to read the manual page!
- Log revamp: add dual_log_enable to log to xferlog AND vsftpd.log.
- Log revamp: add syslog_enable to log vsftpd.log to syslog().
- Add "background" option to background the listener process.
- Fix warning is vsftpd.8 man page, Bill Nottingham <notting@redhat.com>.
- Fix tcp wrappers support to NOT emit loads of Bad file descriptor messages
  to the system log.
- Add ability to make bandwidth limiter smoother by using e.g.
  trans_chunk_size=8192.
- Add ability for virtual users to use local privs non anon privs, via
  virtual_use_local_privs=YES.
- Fix sendfile() fallback on FreeBSD, thanks to Adam Stroud
  <adstro@stny.rr.com>.
- Add pam_session support, as well as utmp and wtmp logging for local logins
  (when using a PAM build). Tested pam_limits maxlogins works.
- Ensure the source IP address for PORT connects is always the same as the
  control connection local IP address. Previously it was not when NOT using
  connect_from_port_20 in the presence of multiple local IP addresses.
- Oops - make max_per_ip and max_clients work with the two process model
  when both connect_from_port_20 and chown_uploads are false.
- Initial IPv6 support (EPSV only).
- Add EPRT support to IPv6.
- Fix "ls .file" to list .file even if the ls -a flag is not present. Noted
  by and thanks to Sean Millichamp <sean@enertronllc.com>.
- Better error messages for config file parse fail: include setting name.
- Fix bug in str_split_text where text is greater than 1 character long!
- Make it build on Solaris8 - switch from utmp to utmpx and handle missing
  LOG_FTP.
- Always check for VSFTPD_LOAD_CONF environment variable.
- Implement HELP properly (should help broken clients).
- Fix FreeBSD build (no utmpx.h, so disable feature).
- Fix chown_uploads.
- "Guess fix" for FreeBSD reported bug. I reckon FreeBSD is returning -EINTR
  from a blocking close but still closing the fd, despite the error return. So
  cater for this. Reported by Drew Vogel <dvogel@intercarve.net>.
- Add download_enable and dirlist_enable. Useful in conjunction with the
  per-user config stuff.
- Add chmod_enable.
- Implement STRU and MODE for _old_, broken clients!
- Log connects.
- Fix 500 OOPS with chown_uploads and an APPE command.
- Improve some error messages: die -> die2 for more information.
- Repair max_per_ip (problem comparing IPv4 addresses).
- Make chown_uploads work with virtual users.
- Chmod files to 0600 before chown_uploads kicks in.
- Add STOU support.
- Add cmds_allowed config parameter.
- Add some FAQ entries.
2003-05-29 20:08:41 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2003/05/29 20:08:41 salo Exp $
#
DISTNAME= vsftpd-1.2.0
CATEGORIES= net
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
MAINTAINER= salo@netbsd.org
HOMEPAGE= http://vsftpd.beasts.org/
COMMENT= FTP server that aims to be very secure
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
ALL_TARGET= vsftpd
PKG_SYSCONFSUBDIR= vsftpd
RCD_SCRIPTS= vsftpd
VSFTPD_USER?= vsftpd
VSFTPD_GROUP?= vsftpd
PKG_GROUPS= ${VSFTPD_GROUP}
PKG_USERS= ${VSFTPD_USER}:${VSFTPD_GROUP}::vsftpd\\ user
DOCDIR= ${PREFIX}/share/doc/vsftpd
EGDIR= ${PREFIX}/share/examples/vsftpd
CFLAGS= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
CONF_FILES= ${EGDIR}/vsftpd.conf.default ${PKG_SYSCONFDIR}/vsftpd.conf
MAKE_DIRS= /var/chroot
OWN_DIRS= /var/chroot/vsftpd
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEFS+= USE_INET6
.endif
post-patch:
@cd ${WRKSRC} && \
for f in vsftpd.8 vsftpd.conf.5 vsftpd.conf; do \
${MV} $${f} $${f}.orig; \
${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \
done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${EGDIR}/vsftpd.conf.default
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC} && ${INSTALL_DATA} FAQ INSTALL README TUNING ${DOCDIR}
.include "../../security/tcp_wrappers/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"