Date: Mon, 17 Dec 2001 12:35:34 +0100 (CET) From: Matthias Andree <matthias.andree@web.de> To: FreeBSD-gnats-submit@freebsd.org Cc: nbm@freebsd.org Subject: ports/32929: update port: ftp/vsftpd 0.0.15 -> 1.0.1 Message-ID: <20011217113534.3DAE82D30E@freebsd.emma.line.org>
next in thread | raw e-mail | index | archive | help
>Number: 32929 >Category: ports >Synopsis: update port: ftp/vsftpd 0.0.15 -> 1.0.1 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Dec 17 03:40:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd.emma.line.org 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Nov 17 17:23:57 CET 2001 root@freebsd.emma.line.org:/usr/obj/usr/src/sys/M2A2 i386 >Description: Update vsftpd to current released version. Now includes manpages. Also create /var/ftp, the ~ftp directory (without this, it'a a no-go). >How-To-Repeat: >Fix: (note: the MASTER_SITES diff satisfies portlint -t complaints) diff -Nur vsftpd.old/Makefile vsftpd/Makefile --- vsftpd.old/Makefile Thu Aug 2 11:52:25 2001 +++ vsftpd/Makefile Mon Dec 17 12:31:15 2001 @@ -6,14 +6,18 @@ # PORTNAME= vsftpd -PORTVERSION= 0.0.15 +PORTVERSION= 1.0.1 CATEGORIES= ftp -MASTER_SITES= ftp://ferret.lmh.ox.ac.uk/pub/linux/ +MASTER_SITES= ftp://ferret.lmh.ox.ac.uk/pub/linux/ MAINTAINER= nbm@FreeBSD.org ALL_TARGET= vsftpd +MAN5= vsftpd.conf.5 + +MAN8= vsftpd.8 + post-patch: @${PERL} -i -p -e \ 's@^(#define VSFTP_DEFAULT_CONFIG )"[/]etc/vsftpd.conf"@\1"${PREFIX}/etc/vsftpd.conf"@' \ @@ -33,6 +37,15 @@ ${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${PREFIX}/etc/ ; \ fi @# + @${MKDIR} ${PREFIX}/share/vsftpd/empty +.if !defined(NOPORTDOCS) + @for i in ${MAN8} ; do ${INSTALL_MAN} -m 644 ${WRKSRC}/$${i} ${MANPREFIX}/man/man8/ ; done + @for i in ${MAN5} ; do ${INSTALL_MAN} -m 644 ${WRKSRC}/$${i} ${MANPREFIX}/man/man5/ ; done +.endif @${PERL5} ${PKGINSTALL} + @${MKDIR} /var/ftp + +post-uninstall: + @${RMDIR} /var/ftp .include <bsd.port.mk> diff -Nur vsftpd.old/distinfo vsftpd/distinfo --- vsftpd.old/distinfo Thu Aug 2 11:52:25 2001 +++ vsftpd/distinfo Mon Dec 17 11:51:46 2001 @@ -1 +1 @@ -MD5 (vsftpd-0.0.15.tar.gz) = 74eadb6c203cc90359632c91e6bb2b9a +MD5 (vsftpd-1.0.1.tar.gz) = a30724a5e56091164f538bbdce10cdf4 diff -Nur vsftpd.old/pkg-plist vsftpd/pkg-plist --- vsftpd.old/pkg-plist Tue Apr 17 11:51:06 2001 +++ vsftpd/pkg-plist Mon Dec 17 12:29:28 2001 @@ -1,6 +1,9 @@ libexec/vsftpd +@exec mkdir -p %D/share/vsftpd/empty @unexec if ! `grep -q %D/etc/vsftpd.conf %D/etc/vsftpd.conf.dist`; then rm %D/etc/vsftpd.conf; fi etc/vsftpd.conf.dist @exec if [ ! -f %B/vsftpd.conf ]; then cp %B/vsftpd.conf.dist %B/vsftpd.conf; fi -@unexec rmdir %D/share/vsftpd/empty 2>/dev/null || true -@unexec rmdir %D/share/vsftpd 2>/dev/null || true +@exec if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi +@unexec rmdir /var/ftp 2>/dev/null || true +@dirrm share/vsftpd/empty +@dirrm share/vsftpd >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217113534.3DAE82D30E>