From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 18 17:20:14 2004 Return-Path: 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 7D3CE16A4CE for ; Wed, 18 Aug 2004 17:20:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 636A543D46 for ; Wed, 18 Aug 2004 17:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7IHKEXF047940 for ; Wed, 18 Aug 2004 17:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7IHKEOC047907; Wed, 18 Aug 2004 17:20:14 GMT (envelope-from gnats) Resent-Date: Wed, 18 Aug 2004 17:20:14 GMT Resent-Message-Id: <200408181720.i7IHKEOC047907@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, Rudolf Cejka Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65E3D16A4CE for ; Wed, 18 Aug 2004 17:14:16 +0000 (GMT) Received: from kazi.fit.vutbr.cz (kazi.fit.vutbr.cz [147.229.8.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30FE043D2D for ; Wed, 18 Aug 2004 17:14:15 +0000 (GMT) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1]) by kazi.fit.vutbr.cz (8.12.11/8.12.11) with ESMTP id i7IHEC2L091477 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 18 Aug 2004 19:14:12 +0200 (CEST) Received: (from cejkar@localhost) by kazi.fit.vutbr.cz (8.12.11/8.12.5/Submit) id i7IHECrF091476; Wed, 18 Aug 2004 19:14:12 +0200 (CEST) Message-Id: <200408181714.i7IHECrF091476@kazi.fit.vutbr.cz> Date: Wed, 18 Aug 2004 19:14:12 +0200 (CEST) From: Rudolf Cejka To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70624: Security update to latest tnftpd-20040810 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rudolf Cejka List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 17:20:14 -0000 >Number: 70624 >Category: ports >Synopsis: Security update to latest tnftpd-20040810 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 18 17:20:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Rudolf Cejka >Release: FreeBSD 4.9-STABLE i386 >Organization: FIT, Brno University of Technology, Czech Republic >Environment: >Description: There is a patch for update to tnftpd 20040810, which contains latest security fixes ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-009.txt.asc # cd /usr/ports/ftp/tnftpd # patch < tnftpd.diff -- tnftpd.diff begin -- diff -urN ../tnftpd.orig/Makefile ./Makefile --- ../tnftpd.orig/Makefile Mon May 24 10:20:57 2004 +++ ./Makefile Wed Aug 18 15:38:10 2004 @@ -6,8 +6,7 @@ # PORTNAME= tnftpd -PORTVERSION= 20031217 -PORTREVISION= 1 +PORTVERSION= 20040810 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/ diff -urN ../tnftpd.orig/distinfo ./distinfo --- ../tnftpd.orig/distinfo Fri Mar 19 11:59:38 2004 +++ ./distinfo Wed Aug 18 15:39:50 2004 @@ -1,2 +1,2 @@ -MD5 (tnftpd-20031217.tar.gz) = b33d184b49bf5335cc59c2827f4c71aa -SIZE (tnftpd-20031217.tar.gz) = 177483 +MD5 (tnftpd-20040810.tar.gz) = a51e89237973db43ae3fd0bb448e9ae4 +SIZE (tnftpd-20040810.tar.gz) = 178638 diff -urN ../tnftpd.orig/files/patch-configure ./files/patch-configure --- ../tnftpd.orig/files/patch-configure Mon May 17 14:47:28 2004 +++ ./files/patch-configure Wed Aug 18 15:44:22 2004 @@ -1,6 +1,6 @@ --- configure.orig Mon May 17 14:46:54 2004 +++ configure Mon May 17 14:47:14 2004 -@@ -2423,6 +2423,7 @@ +@@ -2434,6 +2434,7 @@ cat > conftest.$ac_ext < #include #include diff -urN ../tnftpd.orig/files/patch-src-logwtmp.c ./files/patch-src-logwtmp.c --- ../tnftpd.orig/files/patch-src-logwtmp.c Wed Aug 11 10:52:49 2004 +++ ./files/patch-src-logwtmp.c Wed Aug 18 16:45:05 2004 @@ -11,10 +11,10 @@ #include +#include - #include #include #include -@@ -57,7 +59,6 @@ + #include +@@ -56,7 +58,6 @@ #ifdef SUPPORT_UTMPX #include #endif @@ -22,7 +22,7 @@ #ifdef KERBEROS5 #include -@@ -80,6 +81,26 @@ +@@ -79,6 +80,26 @@ { struct utmp ut; struct stat buf; diff -urN ../tnftpd.orig/files/patch-tnftpd.h ./files/patch-tnftpd.h --- ../tnftpd.orig/files/patch-tnftpd.h Wed Feb 4 14:51:38 2004 +++ ./files/patch-tnftpd.h Wed Aug 18 17:26:54 2004 @@ -1,12 +1,12 @@ --- tnftpd.h-orig Wed Dec 17 02:43:41 2003 +++ tnftpd.h Tue Feb 3 18:14:15 2004 -@@ -429,5 +429,9 @@ +@@ -426,5 +426,9 @@ #define TM_YEAR_BASE 1900 #if ! defined(LOGIN_NAME_MAX) +#if defined(MAXLOGNAME) +# define LOGIN_NAME_MAX MAXLOGNAME -+#elif ! defined(LOGIN_NAME_MAX) ++#else # define LOGIN_NAME_MAX (9) +#endif #endif -- tnftpd.diff end -- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: