Subject: pkg/32901: [Patch] New pure-ftpd 1.0.21 release
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <unex@linija.org>
List: pkgsrc-bugs
Date: 02/22/2006 14:00:00
>Number: 32901
>Category: pkg
>Synopsis: [Patch] New pure-ftpd 1.0.21 release
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Feb 22 14:00:00 +0000 2006
>Originator: Mindaugas
>Release: NetBSD 3.0_STABLE
>Organization:
>Environment:
>Description:
Please review a patch for the new pure-ftpd 1.0.21 release.
There is an experimental RFC 2640 (UTF-8 file names) support, which requires iconv.
Thanks.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/pure-ftpd/Makefile,v
retrieving revision 1.17
diff -b -u -r1.17 Makefile
--- Makefile 24 Jan 2006 22:46:48 -0000 1.17
+++ Makefile 22 Feb 2006 13:47:32 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.17 2006/01/24 22:46:48 ghen Exp $
-DISTNAME= pure-ftpd-1.0.20
-PKGREVISION= 3
+DISTNAME= pure-ftpd-1.0.21
CATEGORIES= net
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/pure-ftpd/distinfo,v
retrieving revision 1.7
diff -b -u -r1.7 distinfo
--- distinfo 24 Feb 2005 12:14:02 -0000 1.7
+++ distinfo 22 Feb 2006 13:47:32 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2005/02/24 12:14:02 agc Exp $
-SHA1 (pure-ftpd-1.0.20.tar.gz) = cf7ac48ebb720d718b314c23ce96c6976adbd617
-RMD160 (pure-ftpd-1.0.20.tar.gz) = f6161fdba94712b5b876738567fd22a669ca17e9
-Size (pure-ftpd-1.0.20.tar.gz) = 561412 bytes
+SHA1 (pure-ftpd-1.0.21.tar.gz) = 0374031beb847d6a9aa61627c3db26cb81a28e92
+RMD160 (pure-ftpd-1.0.21.tar.gz) = 5f5a86f118cf34dc52650cebc38e50130ab0c7cf
+Size (pure-ftpd-1.0.21.tar.gz) = 594394 bytes
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/net/pure-ftpd/options.mk,v
retrieving revision 1.3
diff -b -u -r1.3 options.mk
--- options.mk 17 Nov 2004 19:56:49 -0000 1.3
+++ options.mk 22 Feb 2006 13:47:32 -0000
@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.3 2004/11/17 19:56:49 xtraeme Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pureftpd
-PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot
+PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot utf8
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mldap)
@@ -31,3 +31,9 @@
CONFIGURE_ARGS+= --with-virtualchroot
BUILD_DEFS+= PURE_FTPD_USE_VIRTUAL_CHROOT
.endif
+
+.if !empty(PKG_OPTIONS:Mutf8)
+# Experimental, needs iconv
+CONFIGURE_ARGS+= --with-rfc2640
+BUILD_DEFS+= PURE_FTPD_USE_UTF8
+.endif