Date: Tue, 17 May 2011 17:08:41 GMT From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157124: [patch] fix vsftpd build for 9.0-CURRENT Message-ID: <201105171708.p4HH8fqg055618@red.freebsd.org> Resent-Message-ID: <201105171710.p4HHAGpe055071@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157124 >Category: ports >Synopsis: [patch] fix vsftpd build for 9.0-CURRENT >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: Tue May 17 17:10:16 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Andrey V. Elsukov >Release: 9.0 >Organization: >Environment: FreeBSD btr 9.0-CURRENT FreeBSD 9.0-CURRENT #46 r221812M: Mon May 16 19:37:31 MSD 2011 butcher@btr:/usr/obj/usr/src/sys/BTR amd6 >Description: ftp/vsftpd port is marked as ignored for build on 9.0-CURRENT. >How-To-Repeat: >Fix: patch attached. Patch attached with submission follows: --- vsftpd/Makefile 2011-05-02 03:14:18.000000000 +0400 +++ vsftpd/Makefile 2011-05-17 20:53:44.027030532 +0400 @@ -31,10 +31,6 @@ OPTIONS= RC_NG "install RC_NG script" .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 900000 -BROKEN= does not compile on FreeBSD 9.X -.endif - .if defined(WITH_RC_NG) USE_RC_SUBR= vsftpd.sh .endif --- vsftpd/files/patch-sysdeputil.c 2010-01-27 00:31:51.000000000 +0300 +++ vsftpd/files/patch-sysdeputil.c 2011-05-17 20:52:42.652039577 +0400 @@ -1,6 +1,15 @@ ---- sysdeputil.c.orig 2009-11-12 04:16:15.000000000 +0100 -+++ sysdeputil.c 2010-01-26 22:30:10.000000000 +0100 -@@ -1213,7 +1213,9 @@ +--- sysdeputil.c.orig 2010-03-26 06:25:33.000000000 +0300 ++++ sysdeputil.c 2011-05-17 20:51:35.350022421 +0400 +@@ -57,7 +57,7 @@ + #endif + #define VSF_SYSDEP_HAVE_SHADOW + #define VSF_SYSDEP_HAVE_USERSHELL +-#define VSF_SYSDEP_HAVE_LIBCAP ++#undef VSF_SYSDEP_HAVE_LIBCAP + #define VSF_SYSDEP_HAVE_UTMPX + + #define __USE_GNU +@@ -1213,7 +1213,9 @@ vsf_insert_uwtmp(const struct mystr* p_u setutxent(); (void) pututxline(&s_utent); endutxent(); @@ -10,7 +19,7 @@ } void -@@ -1232,7 +1234,9 @@ +@@ -1232,7 +1234,9 @@ vsf_remove_uwtmp(void) (void) pututxline(&s_utent); endutxent(); s_utent.ut_tv.tv_sec = vsf_sysutil_get_time_sec(); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105171708.p4HH8fqg055618>