Lines 6-46
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= srp |
8 |
PORTNAME= srp |
9 |
PORTVERSION= 1.7.5 |
9 |
PORTVERSION= 2.0.0 |
10 |
CATEGORIES= security net |
10 |
CATEGORIES= security net |
11 |
MASTER_SITES= http://www-cs-students.stanford.edu/~tjw/srp/source/ \ |
11 |
MASTER_SITES= http://srp.stanford.edu/source/ |
12 |
http://srp.stanford.edu/source/ |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Secure Remote Password protocol library, TELNET, and FTP |
14 |
COMMENT= Secure Remote Password protocol library, TELNET, and FTP |
16 |
|
15 |
|
|
|
16 |
USE_REINPLACE= yes |
17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
18 |
CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" INSTALL="/usr/bin/install -C" |
18 |
CONFIGURE_ENV= INSTALL="/usr/bin/install -C" |
19 |
CONFIGURE_ARGS= --with-openssl=/usr \ |
19 |
CONFIGURE_ARGS= --with-openssl=/usr \ |
20 |
--with-zlib \ |
20 |
--with-zlib \ |
21 |
--enable-loginf |
21 |
--enable-loginf |
22 |
|
22 |
|
23 |
MYPORTDOCS= Acknowledgements Copyrights LICENSE copyright.c \ |
23 |
post-patch: |
24 |
draft-altman-rfc2942bis-00.txt draft-altman-rfc2944bis-01.txt \ |
24 |
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ |
25 |
draft-altman-telnet-fwdx-02.txt \ |
25 |
's|malloc\.h|stdlib.h|g' |
26 |
draft-ietf-tn3270e-telnet-tls-05.txt rfc2941.txt rfc2942.txt \ |
|
|
27 |
rfc2944.txt rfc2945.txt rfc2946.txt rfc2947.txt rfc2948.txt \ |
28 |
rfc2949.txt rfc2950.txt rfc2952.txt rfc2953.txt srp.ps |
29 |
|
26 |
|
30 |
.include <bsd.port.pre.mk> |
|
|
31 |
|
32 |
.if ${OSVERSION} >= 501000 |
33 |
BROKEN= "Does not compile" |
34 |
.endif |
35 |
|
36 |
.if !defined(NOPORTDOCS) |
37 |
post-install: |
27 |
post-install: |
38 |
.for f in ${MYPORTDOCS} |
28 |
.if !defined(NOPORTDOCS) |
39 |
${MKDIR} ${PREFIX}/share/doc/srp |
29 |
@${MKDIR} ${DOCSDIR} |
40 |
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/srp/${f} |
30 |
cd ${WRKSRC}/docs && ${FIND} . | \ |
41 |
@${ECHO_CMD} share/doc/srp/${f} >> ${TMPPLIST} |
31 |
cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} |
42 |
.endfor |
|
|
43 |
@${ECHO_CMD} @dirrm share/doc/srp >> ${TMPPLIST} |
44 |
.endif |
32 |
.endif |
45 |
|
33 |
|
46 |
.include <bsd.port.post.mk> |
34 |
.include <bsd.port.mk> |