diff options
author | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2011-05-20 18:35:18 +0000 |
---|---|---|
committer | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2011-05-20 18:35:18 +0000 |
commit | 356eedcd3a191f97845d2e65c79ba5e659a4b6e6 (patch) | |
tree | 08d9f010dd81bd9ebc39586456ac50b94e51a9e8 /ftp | |
parent | 4062edbf889d1d3598eeb9034c8050a2fd7f9a98 (diff) | |
download | ports-356eedcd3a191f97845d2e65c79ba5e659a4b6e6.tar.gz ports-356eedcd3a191f97845d2e65c79ba5e659a4b6e6.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/bftpd/Makefile | 8 | ||||
-rw-r--r-- | ftp/bftpd/distinfo | 4 | ||||
-rw-r--r-- | ftp/bftpd/files/patch-commands.c | 27 |
3 files changed, 34 insertions, 5 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile index 72f492236e8b..bd6c88512040 100644 --- a/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -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: diff --git a/ftp/bftpd/distinfo b/ftp/bftpd/distinfo index b3566fee7d41..c5136fc9fd1e 100644 --- a/ftp/bftpd/distinfo +++ b/ftp/bftpd/distinfo @@ -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 diff --git a/ftp/bftpd/files/patch-commands.c b/ftp/bftpd/files/patch-commands.c new file mode 100644 index 000000000000..ae750c46d425 --- /dev/null +++ b/ftp/bftpd/files/patch-commands.c @@ -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" |