pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vsftpd doesn't compile on DragonFlyBSD



On Fri, Nov 02, 2012 at 08:06:32PM -0700, TimH wrote:
> Testing on 3.2.1 and a current snap.
> 
> I made this change and it compiles and runs (both ipv6 and ipv4).  I'm
> very far from an expert, so there may be something else needing doing.
> 
> 
> --- work/vsftpd-2.3.4/sysdeputil.c.orig 2012-11-01 19:24:36.210186000 -0700
> +++ work/vsftpd-2.3.4/sysdeputil.c      2012-11-01 19:25:00.250549000 -0700
> @@ -116,6 +116,11 @@
>    #endif
>  #endif
>  
> +#if defined(__DragonFly__)
> +  #define VSF_SYSDEP_HAVE_SETPROCTITLE
> +  #define WTMPX_FILE _PATH_WTMPX
> +#endif
> +
>  #ifdef __hpux
>    #include <sys/socket.h>
>    #ifdef SF_DISCONNECT
> 

Committed, thanks. Please send this patch upstream!
 Thomas


Home | Main Index | Thread Index | Old Index