1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 3.4

- Add license
This commit is contained in:
Sylvio Cesar Teixeira 2011-05-20 18:35:18 +00:00
parent 4062edbf88
commit 356eedcd3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274386
3 changed files with 34 additions and 5 deletions

View File

@ -6,14 +6,16 @@
#
PORTNAME= bftpd
PORTVERSION= 3.1
PORTVERSION= 3.4
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Very configurable FTP server that can do chroot easily
GNU_CONFIGURE= yes
LICENSE= GPLv2
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS+= --enable-pam
WRKSRC= ${WRKDIR}/${PORTNAME}
@ -25,7 +27,7 @@ PORTDOCS= en pl sk
post-patch:
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
@${REINPLACE_CMD} -e "s@-ldl@@" ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
do-install:

View File

@ -1,2 +1,2 @@
SHA256 (bftpd-3.1.tar.gz) = a649ed003ac536d9b7f69bae0db24b07c5da9868edfafb9f635dbfeb8b716446
SIZE (bftpd-3.1.tar.gz) = 160042
SHA256 (bftpd-3.4.tar.gz) = 6a4cc30625820daea3b2b76c4f97da87b612d8b53ae7543dbc7d2f436111ff75
SIZE (bftpd-3.4.tar.gz) = 155730

View File

@ -0,0 +1,27 @@
--- commands.c.orig 2011-05-20 14:39:41.000000000 -0300
+++ commands.c 2011-05-20 14:40:45.000000000 -0300
@@ -18,9 +18,6 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
-#ifdef HAVE_ASM_SOCKET_H
-#include <asm/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@@ -35,12 +32,8 @@
#endif
#include <fcntl.h>
#include <string.h>
-#ifdef HAVE_WAIT_H
-# include <wait.h>
-#else
-# ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-# endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
#endif
#include "mystring.h"