Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dropbear |
8 |
PORTNAME= dropbear |
9 |
PORTVERSION= 0.37 |
9 |
PORTVERSION= 0.38 |
10 |
CATEGORIES= security ipv6 |
10 |
CATEGORIES= security ipv6 |
11 |
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/ |
11 |
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/ |
12 |
|
12 |
|
Lines 21-41
Link Here
|
21 |
CONFIGURE_ENV= LDFLAGS=-static |
21 |
CONFIGURE_ENV= LDFLAGS=-static |
22 |
.endif |
22 |
.endif |
23 |
|
23 |
|
24 |
BIN= dropbear dropbearkey dropbearconvert |
24 |
MAKE_ENV+= INSTALL="${INSTALL}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" |
25 |
|
|
|
26 |
post-configure: |
25 |
post-configure: |
27 |
@${REINPLACE_CMD} -e "s,/etc/,${PREFIX}/etc/,g" ${WRKSRC}/options.h |
26 |
@${REINPLACE_CMD} -e "s,/etc/,${PREFIX}/etc/,g" ${WRKSRC}/options.h |
28 |
@${REINPLACE_CMD} -e "s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h |
27 |
@${REINPLACE_CMD} -e "s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h |
29 |
@${REINPLACE_CMD} -e "s,^typedef int socklen_t,//typedef int socklen_t," \ |
28 |
@${REINPLACE_CMD} -e "s,^typedef int socklen_t,//typedef int socklen_t," \ |
30 |
${WRKSRC}/includes.h |
29 |
${WRKSRC}/includes.h |
|
|
30 |
${SED} -e 's:__PREFIX__:${PREFIX}:g' \ |
31 |
${FILESDIR}/dropbear.sh > ${WRKSRC}/dropbear.sh |
31 |
|
32 |
|
32 |
do-install: |
33 |
post-install: |
33 |
.for bin in ${BIN} |
34 |
@${MKDIR} ${PREFIX}/etc/dropbear |
34 |
@${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin |
|
|
35 |
.endfor |
36 |
.if !defined(NOPORTDOC) |
35 |
.if !defined(NOPORTDOC) |
37 |
@${MKDIR} ${DOCSDIR} |
36 |
@${MKDIR} ${DOCSDIR} |
38 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
37 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |
39 |
.endif |
38 |
.endif |
|
|
39 |
@${INSTALL_SCRIPT} ${WRKSRC}/dropbear.sh ${PREFIX}/etc/rc.d/dropbear.sh.sample |
40 |
|
40 |
|
41 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |