View | Details | Raw Unified | Return to bug 258395
Collapse All | Expand All

(-)b/ftp/bftpd/Makefile (-3 / +2 lines)
Lines 10-22 COMMENT= Very configurable FTP server that can do chroot easily Link Here
10
10
11
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
12
13
USES=		autoreconf gmake
14
13
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
14
CONFIGURE_ARGS=	--enable-pam
16
CONFIGURE_ARGS=	--enable-pam
15
# Fix build with clang 11
17
# Fix build with clang 11
16
CFLAGS+=	-fcommon
18
CFLAGS+=	-fcommon
17
19
18
USES=		autoreconf gmake
19
20
WRKSRC=	${WRKDIR}/${PORTNAME}
20
WRKSRC=	${WRKDIR}/${PORTNAME}
21
21
22
PLIST_FILES=	sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
22
PLIST_FILES=	sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
Lines 29-35 post-patch: Link Here
29
	@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
29
	@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
30
		${WRKSRC}/mypaths.h
30
		${WRKSRC}/mypaths.h
31
	@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
31
	@${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in
32
	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r
33
32
34
do-install:
33
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
34
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
(-)a/ftp/bftpd/files/patch-commands.c (-27 lines)
Removed Link Here
1
--- commands.c.orig	2011-05-20 14:39:41.000000000 -0300
2
+++ commands.c	2011-05-20 14:40:45.000000000 -0300
3
@@ -18,9 +18,6 @@
4
 #ifdef HAVE_SYS_SOCKET_H
5
 #include <sys/socket.h>
6
 #endif
7
-#ifdef HAVE_ASM_SOCKET_H
8
-#include <asm/socket.h>
9
-#endif
10
 #ifdef HAVE_NETINET_IN_H
11
 #include <netinet/in.h>
12
 #endif
13
@@ -35,12 +32,8 @@
14
 #endif
15
 #include <fcntl.h>
16
 #include <string.h>
17
-#ifdef HAVE_WAIT_H
18
-# include <wait.h>
19
-#else
20
-# ifdef HAVE_SYS_WAIT_H
21
-#  include <sys/wait.h>
22
-# endif
23
+#ifdef HAVE_SYS_WAIT_H
24
+#include <sys/wait.h>
25
 #endif
26
 
27
 #include "mystring.h"

Return to bug 258395