From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 23 17:20:12 2005 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 CC39616A41C for ; Mon, 23 May 2005 17:20:12 +0000 (GMT) (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 3DA0043D4C for ; Mon, 23 May 2005 17:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4NHKCne060351 for ; Mon, 23 May 2005 17:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4NHKCUv060350; Mon, 23 May 2005 17:20:12 GMT (envelope-from gnats) Resent-Date: Mon, 23 May 2005 17:20:12 GMT Resent-Message-Id: <200505231720.j4NHKCUv060350@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, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E120716A427 for ; Mon, 23 May 2005 17:12:56 +0000 (GMT) (envelope-from johans@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB5843D1F for ; Mon, 23 May 2005 17:12:54 +0000 (GMT) (envelope-from johans@stack.nl) Received: by mailhost.stack.nl (Postfix, from userid 65534) id 3F64C1F02C; Mon, 23 May 2005 19:12:53 +0200 (CEST) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by mailhost.stack.nl (Postfix) with ESMTP id 429F81F02C for ; Mon, 23 May 2005 19:12:51 +0200 (CEST) Received: by mud.stack.nl (Postfix, from userid 801) id 39AA117060; Mon, 23 May 2005 19:12:51 +0200 (CEST) Message-Id: <20050523171251.39AA117060@mud.stack.nl> Date: Mon, 23 May 2005 19:12:51 +0200 (CEST) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81411: ftp/pftpd: update to version 1.0.1 and unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 17:20:13 -0000 >Number: 81411 >Category: ports >Synopsis: ftp/pftpd: update to version 1.0.1 and unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon May 23 17:20:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE #3: Mon May 9 19:06:32 CEST 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: Primary site temporarily unreachable. Fix: add mirror site. Please also remove the RESTRICTED line: IMHO the license mentioned in $WRKSRC/README is good enough nowadays(..?) >How-To-Repeat: >Fix: Three new patchfiles introduced to build on FreeBSD: files/patch-doc_Makefile files/patch-plib_dirlist.c files/patch-src_rpa.c diff -uNr pftpd/Makefile pftpd/Makefile --- pftpd/Makefile Sun May 22 04:02:18 2005 +++ pftpd/Makefile Mon May 23 18:23:06 2005 @@ -6,14 +6,13 @@ # PORTNAME= pftpd -PORTVERSION= 0.42 +PORTVERSION= 1.0.1 CATEGORIES= ftp -MASTER_SITES= ftp://ftp.lysator.liu.se/pub/unix/pftpd/ +MASTER_SITES= ftp://ftp.lysator.liu.se/pub/unix/pftpd/ \ + ftp://ftp.ifm.liu.se/pub/unix/pftpd/ MAINTAINER= ports@FreeBSD.org COMMENT= Multithreaded anonymous FTP daemon - -BROKEN= Unfetchable GNU_CONFIGURE= yes USE_REINPLACE= yes diff -uNr pftpd/distinfo pftpd/distinfo --- pftpd/distinfo Wed Mar 31 05:07:48 2004 +++ pftpd/distinfo Mon May 23 18:23:16 2005 @@ -1,2 +1,2 @@ -MD5 (pftpd-0.42.tar.gz) = 0c810bc09435e520dabd408e000b7962 -SIZE (pftpd-0.42.tar.gz) = 196314 +MD5 (pftpd-1.0.1.tar.gz) = 1ca94acbfeeb6f9ed3f9116b3e14fd94 +SIZE (pftpd-1.0.1.tar.gz) = 270830 diff -uNr pftpd/files/patch-Makefile.in pftpd/files/patch-Makefile.in --- pftpd/files/patch-Makefile.in Wed May 15 15:15:04 2002 +++ pftpd/files/patch-Makefile.in Mon May 23 18:35:30 2005 @@ -1,11 +1,11 @@ ---- src/Makefile.in.orig Wed May 15 10:48:26 2002 -+++ src/Makefile.in Wed May 15 10:48:34 2002 -@@ -32,7 +32,7 @@ +--- src/Makefile.in.orig Thu Jan 9 14:27:48 2003 ++++ src/Makefile.in Mon May 23 18:23:31 2005 +@@ -40,7 +40,7 @@ all: $(PROGRAMS) pftpd: $(OBJS) $(LIBPLIB) - $(CC) $(CFLAGS) -o $@ $(OBJS) $(KOBJ) $(LIBPLIB) $(LDFLAGS) + $(CC) $(CFLAGS) -o $@ $(OBJS) $(KOBJ) $(LIBPLIB) $(LDFLAGS) -lcompat - rpad: rpad.o $(LIBPLIB) - $(CC) $(CFLAGS) -o $@ rpad.o $(LIBPLIB) $(LDFLAGS) + rpad: rpad.o socket.o $(LIBPLIB) + $(CC) $(CFLAGS) -o $@ rpad.o socket.o $(LIBPLIB) $(LDFLAGS) diff -uNr pftpd/files/patch-doc_Makefile pftpd/files/patch-doc_Makefile --- pftpd/files/patch-doc_Makefile Thu Jan 1 01:00:00 1970 +++ pftpd/files/patch-doc_Makefile Mon May 23 18:55:36 2005 @@ -0,0 +1,19 @@ +--- doc/Makefile.orig Mon May 23 18:55:25 2005 ++++ doc/Makefile Mon May 23 18:55:22 2005 +@@ -17,11 +17,11 @@ all: man + + man: $(MANPAGES) + +-pftpd.1: pftpd.sgml +- $(SGML2MAN) pftpd.sgml +- +-rpad.1: rpad.sgml +- $(SGML2MAN) rpad.sgml ++#pftpd.1: pftpd.sgml ++# $(SGML2MAN) pftpd.sgml ++# ++#rpad.1: rpad.sgml ++# $(SGML2MAN) rpad.sgml + + + # Installing diff -uNr pftpd/files/patch-plib_dirlist.c pftpd/files/patch-plib_dirlist.c --- pftpd/files/patch-plib_dirlist.c Thu Jan 1 01:00:00 1970 +++ pftpd/files/patch-plib_dirlist.c Mon May 23 18:55:41 2005 @@ -0,0 +1,12 @@ +--- plib/dirlist.c.orig Tue Feb 1 10:43:35 2005 ++++ plib/dirlist.c Mon May 23 18:35:47 2005 +@@ -80,7 +80,9 @@ + len = strlen(name); + dp = a_malloc(sizeof(*dp)+len, "struct dirent"); + dp->d_ino = ino; ++#ifdef linux + dp->d_off = 0; ++#endif /* linux */ + dp->d_reclen = len; + strcpy(dp->d_name, name); + diff -uNr pftpd/files/patch-src_rpa.c pftpd/files/patch-src_rpa.c --- pftpd/files/patch-src_rpa.c Thu Jan 1 01:00:00 1970 +++ pftpd/files/patch-src_rpa.c Mon May 23 18:55:40 2005 @@ -0,0 +1,38 @@ +--- src/rpa.c.orig Tue Feb 1 12:57:33 2005 ++++ src/rpa.c Mon May 23 18:35:47 2005 +@@ -27,7 +27,7 @@ + #endif + + #include +-#include ++#include + + #ifdef HAVE_UNISTD_H + #include +@@ -196,7 +196,7 @@ + goto Fail; + } + +- memset(&usb, 0, sizeof(sun)); ++ memset(&usb, 0, sizeof(usb)); + usb.sun_family = AF_UNIX; + strcpy(usb.sun_path, path); + +@@ -210,7 +210,7 @@ + + s_snprintf(path, sizeof(path), "%s/%s/unix", PATH_RPAD_DIR, rp->service); + +- memset(&usb, 0, sizeof(sun)); ++ memset(&usb, 0, sizeof(usb)); + usb.sun_family = AF_UNIX; + strcpy(usb.sun_path, path); + +@@ -399,8 +399,6 @@ + msg.msg_iov = iov; + msg.msg_iovlen = 1; + msg.msg_name = NULL; +- msg.msg_accrights = (void *) &rfd; +- msg.msg_accrightslen = sizeof(rfd); + + rfd = -1; + rcode = -1; >Release-Note: >Audit-Trail: >Unformatted: