pkgsrc-Users archive

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

vsftpd doesn't compile on DragonFlyBSD



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


I am not subscribed to the list, so please cc me if needing to reply.

Also, this is an interesting program in that it needs to run two
instances of itself to have a dual stack config.  This creates a couple
of problems like needing to differentiate the PIDs.  Maybe it should
come with two rc.d scripts?

--TimH


Home | Main Index | Thread Index | Old Index