From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 16 08:00:40 2006
Return-Path:
X-Original-To: freebsd-ports-bugs@hub.freebsd.org
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 4D3B716A403
for ;
Mon, 16 Oct 2006 08:00:40 +0000 (UTC)
(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by mx1.FreeBSD.org (Postfix) with ESMTP id D76AA43D67
for ;
Mon, 16 Oct 2006 08:00:37 +0000 (GMT)
(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9G80bLR008694
for ;
Mon, 16 Oct 2006 08:00:37 GMT
(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9G80bXA008693;
Mon, 16 Oct 2006 08:00:37 GMT (envelope-from gnats)
Resent-Date: Mon, 16 Oct 2006 08:00:37 GMT
Resent-Message-Id: <200610160800.k9G80bXA008693@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
Denis Barov
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 54BD116A492
for ;
Mon, 16 Oct 2006 07:57:30 +0000 (UTC)
(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
by mx1.FreeBSD.org (Postfix) with ESMTP id EE22A43D4C
for ;
Mon, 16 Oct 2006 07:57:29 +0000 (GMT)
(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9G7vT6q029931
for ; Mon, 16 Oct 2006 07:57:29 GMT
(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
by www.freebsd.org (8.13.1/8.13.1/Submit) id k9G7vTVp029930;
Mon, 16 Oct 2006 07:57:29 GMT (envelope-from nobody)
Message-Id: <200610160757.k9G7vTVp029930@www.freebsd.org>
Date: Mon, 16 Oct 2006 07:57:29 GMT
From: Denis Barov
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.0
Cc:
Subject: ports/104453: [NEW PORT] russian/proftpd
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 16 Oct 2006 08:00:40 -0000
>Number: 104453
>Category: ports
>Synopsis: [NEW PORT] russian/proftpd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 16 08:00:37 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Denis Barov
>Release: 6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD alpha.tvt 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Tue Oct 10 12:50:53 MSD 2006 root@alpha.tvt:/usr/obj/usr/RELENG_6/src/sys/ALPHA i386
>Description:
Using mod_codeconv and fixing some troubles with cyrillic letter "ja" in proftpd.
WARNING: this pr is depends on ports/104452 (Using ftp/proftpd as mastrer port for russian/proftpd)
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# russian/proftpd
# russian/proftpd/Makefile
# russian/proftpd/files
# russian/proftpd/files/patch-zz
# russian/proftpd/files/extra_patch-configure.in
# russian/proftpd/files/extra_patch-ldap-tls-mod_ldap.c
# russian/proftpd/files/patch-ah
# russian/proftpd/files/patch-contrib::mod_sql_mysql.c
# russian/proftpd/files/patch-doc::Configuration.html
# russian/proftpd/files/patch-module::mod_auth_pam.c
# russian/proftpd/files/patch-sample-configurations_basic.conf
# russian/proftpd/files/patch-src_proftpd.8.in
# russian/proftpd/files/patch-encoding
#
echo c - russian/proftpd
mkdir -p russian/proftpd > /dev/null 2>&1
echo x - russian/proftpd/Makefile
sed 's/^X//' >russian/proftpd/Makefile << 'END-of-russian/proftpd/Makefile'
X# New ports collection makefile for: russian/proftpd
X# Date created: 12 Oct 2006
X# Whom: Denis Barov
X#
X# $FreeBSD:$
X#
X
XCATEGORIES= russian ftp
X
XMAINTAINER= dindin@FreeBSD.org.ua
XCOMMENT= Highly configurable ftp daemon with charset conversion
X
XMASTERDIR= ${.CURDIR}/../../ftp/proftpd
X
XCONFLICTS= proftpd-1.*
X
XCONFIGURE_ARGS+= --with-modules=mod_codeconv
XMODULES:=${MODULES}:mod_codeconv
XPROFTPD_LIBS+= -liconv -L${LOCALBASE}/lib
X
XPATCHDIR= ${.CURDIR}/files
X
XINCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
XLIBDIRS:=${LIBDIRS}:${PREFIX}/lib
X
X.include "${MASTERDIR}/Makefile"
END-of-russian/proftpd/Makefile
echo c - russian/proftpd/files
mkdir -p russian/proftpd/files > /dev/null 2>&1
echo x - russian/proftpd/files/patch-zz
sed 's/^X//' >russian/proftpd/files/patch-zz << 'END-of-russian/proftpd/files/patch-zz'
X--- ./src/netio.c.orig Sun Oct 10 00:46:22 2004
X+++ ./src/netio.c Thu Oct 12 15:17:22 2006
X@@ -901,47 +901,6 @@
X cp = *pbuf->current++;
X pbuf->remaining++;
X
X- switch (mode) {
X- case IAC:
X- switch (cp) {
X- case WILL:
X- case WONT:
X- case DO:
X- case DONT:
X- mode = cp;
X- continue;
X-
X- case IAC:
X- mode = 0;
X- break;
X-
X- default:
X- /* Ignore */
X- mode = 0;
X- continue;
X- }
X- break;
X-
X- case WILL:
X- case WONT:
X- pr_netio_printf(out_nstrm, "%c%c%c", IAC, DONT, cp);
X- mode = 0;
X- continue;
X-
X- case DO:
X- case DONT:
X- pr_netio_printf(out_nstrm, "%c%c%c", IAC, WONT, cp);
X- mode = 0;
X- continue;
X-
X- default:
X- if (cp == IAC) {
X- mode = cp;
X- continue;
X- }
X- break;
X- }
X-
X *bp++ = cp;
X buflen--;
X }
END-of-russian/proftpd/files/patch-zz
echo x - russian/proftpd/files/extra_patch-configure.in
sed 's/^X//' >russian/proftpd/files/extra_patch-configure.in << 'END-of-russian/proftpd/files/extra_patch-configure.in'
X--- configure.in Thu Mar 9 09:12:35 2006
X+++ configure.in Mon May 22 15:01:23 2006
X@@ -161,12 +161,14 @@
X [
X if test "$withval" != "no" ; then
X LIB_OBJS="$LIB_OBJS getopt.o getopt1.o"
X- AC_CHECK_FUNCS(getopt)
X+ AC_CHECK_FUNCS(getopt getopt_long)
X+ AC_CHECK_HEADERS(getopt.h)
X fi
X ],
X [
X LIB_OBJS="$LIB_OBJS getopt.o getopt1.o"
X- AC_CHECK_FUNCS(getopt)
X+ AC_CHECK_FUNCS(getopt getopt_long)
X+ AC_CHECK_HEADERS(getopt.h)
X ])
X
X dnl Modules...'nuff said.
X@@ -850,7 +852,7 @@
X ac_build_static_modules="modules/mod_cap.o $ac_build_static_modules"
X fi
X
X-AC_CHECK_HEADERS(ctype.h getopt.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h)
X+AC_CHECK_HEADERS(ctype.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h)
X AC_CHECK_HEADERS(string.h strings.h stropts.h)
X AC_CHECK_HEADERS(sys/file.h sys/mman.h sys/types.h sys/uio.h)
X
X@@ -1110,7 +1112,7 @@
X )
X
X AC_CHECK_FUNCS(getcwd getenv gethostbyname2 gethostname getnameinfo)
X-AC_CHECK_FUNCS(getopt_long gettimeofday hstrerror inet_aton inet_ntop inet_pton)
X+AC_CHECK_FUNCS(gettimeofday hstrerror inet_aton inet_ntop inet_pton)
X AC_CHECK_FUNCS(memcpy mempcpy mkdir mkstemp mlock mlockall munlock munlockall)
X AC_CHECK_FUNCS(rmdir select setgroups socket statfs strchr strcoll strerror)
X AC_CHECK_FUNCS(strsep strtol strtoull setprotoent setspent endprotoent)
END-of-russian/proftpd/files/extra_patch-configure.in
echo x - russian/proftpd/files/extra_patch-ldap-tls-mod_ldap.c
sed 's/^X//' >russian/proftpd/files/extra_patch-ldap-tls-mod_ldap.c << 'END-of-russian/proftpd/files/extra_patch-ldap-tls-mod_ldap.c'
X--- contrib/mod_ldap.c Fri Apr 21 10:31:23 2006
X+++ contrib/mod_ldap.c Fri Apr 21 10:31:43 2006
X@@ -55,7 +55,7 @@
X * after connecting to the LDAP server. If TLS cannot be enabled, the LDAP
X * connection will fail.
X */
X-/* #define USE_LDAP_TLS */
X+#define USE_LDAP_TLS
END-of-russian/proftpd/files/extra_patch-ldap-tls-mod_ldap.c
echo x - russian/proftpd/files/patch-ah
sed 's/^X//' >russian/proftpd/files/patch-ah << 'END-of-russian/proftpd/files/patch-ah'
X--- modules/mod_auth_unix.c.orig Thu May 13 23:40:18 2004
X+++ modules/mod_auth_unix.c Thu May 13 23:40:27 2004
X@@ -57,6 +57,7 @@
X #endif /* HAVE_HPSECURITY_H or HPUX10 or HPUX11 */
X
X #if defined(HAVE_PROT_H) || defined(COMSEC)
X+# include
X # include
X #endif
X
END-of-russian/proftpd/files/patch-ah
echo x - russian/proftpd/files/patch-contrib::mod_sql_mysql.c
sed 's/^X//' >russian/proftpd/files/patch-contrib::mod_sql_mysql.c << 'END-of-russian/proftpd/files/patch-contrib::mod_sql_mysql.c'
X--- contrib/mod_sql_mysql.c.orig Sun Nov 2 00:30:13 2003
X+++ contrib/mod_sql_mysql.c Sun Nov 2 00:30:23 2003
X@@ -134,7 +134,7 @@
X
X #define _MYSQL_PORT "3306"
X
X-#include
X+#include
X #include "conf.h"
X #include "../contrib/mod_sql.h"
X
END-of-russian/proftpd/files/patch-contrib::mod_sql_mysql.c
echo x - russian/proftpd/files/patch-doc::Configuration.html
sed 's/^X//' >russian/proftpd/files/patch-doc::Configuration.html << 'END-of-russian/proftpd/files/patch-doc::Configuration.html'
X--- ./doc/Configuration.html.orig Wed Jan 29 12:27:24 2003
X+++ ./doc/Configuration.html Sat Mar 15 11:34:14 2003
X@@ -4226,7 +4226,7 @@
X >ftp
ftpd