blob: 7be7c15f5666fd6c5db2ff3775b5476ed4184ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: sslwrap
# Date created: 1999 november 7.
# Whom: Zahemszky, Gabor <ZGabor at CoDe dot HU>
#
# $FreeBSD$
#
PORTNAME= sslwrap
PORTVERSION= 2.0.6
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.quiltaholic.com/rickk/sslwrap/
DISTNAME= ${PORTNAME}
MAINTAINER= ZGabor@CoDe.HU
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
USE_OPENSSL= YES
USE_REINPLACE= YES
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
post-patch:
${REINPLACE_CMD} -e \
's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' \
${WRKSRC}/s_server.c
${REINPLACE_CMD} -e \
's,%%OPENSSL%%,openssl/,g' \
${WRKSRC}/s_server.c ${WRKSRC}/s_cb.c ${WRKSRC}/apps.h ${WRKSRC}/s_socket.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/sslwrap
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs.html \
${PREFIX}/share/doc/sslwrap
.endif
.include <bsd.port.mk>
|