Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 21:13:23 +0300 (EEST)
From:      Valentin Nechayev <netch@netch.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44469: allow vsftpd to compile on 4.x
Message-ID:  <200210251813.g9PIDNpS009596@iv.nn.kiev.ua>

next in thread | raw e-mail | index | archive | help

>Number:         44469
>Category:       ports
>Synopsis:       allow vsftpd to compile on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 11:20:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Valentin Nechayev <netch@netch.kiev.ua>
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
private
>Environment:
System: FreeBSD iv.nn.kiev.ua 4.7-RELEASE

>Description:

vsftpd port is compiled to use libcap which isn't present on 4.x.

>How-To-Repeat:

Try to build.

>Fix:

Install following as patch file:

--- sysdeputil.c.0	Thu Jul  4 02:30:29 2002
+++ sysdeputil.c	Fri Oct 25 21:06:02 2002
@@ -60,6 +60,9 @@
   #endif
 #endif
 
+#if (defined(__FreeBSD__) && __FreeBSD__ <= 4)
+  #undef VSF_SYSDEP_HAVE_LIBCAP
+#endif
 #if (defined(__FreeBSD__) && __FreeBSD__ >= 3)
   #define VSF_SYSDEP_HAVE_FREEBSD_SENDFILE
   #define VSF_SYSDEP_HAVE_SETPROCTITLE


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210251813.g9PIDNpS009596>