blob: 85671cbf1b498a2f8de7b3a11ed4433d2214ebe6 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# $NetBSD: Makefile,v 1.17 2000/07/21 16:59:28 tron Exp $
#
DISTNAME= mod_ssl-2.6.3-1.3.12
PKGNAME= ap-ssl-2.6.3
CATEGORIES= www
MASTER_SITES= ftp://ftp.modssl.org/source/
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.modssl.org/
DEPENDS+= apache-1.3.12:../../www/apache
# For "apxs":
BUILD_DEPENDS+= ${LOCALBASE}/bin/perl:../../lang/perl5
CONFLICTS= apache-1.3.[0123456789] apache-*modssl-* apache6-*
HAS_CONFIGURE= yes
USE_SSL= yes
.include "../../mk/bsd.prefs.mk"
fetch-depends:
.if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO
@${ECHO} ""
@${ECHO} "The variable USE_RSAREF2 must be set to either YES or NO"
@${ECHO} "in order to build this package. People with no RSA"
@${ECHO} "license MUST set this variable to YES. Users outside"
@${ECHO} "the USA MUST set this variable to NO. RSA licensees may"
@${ECHO} "choose -- NO is faster."
@${FALSE}
.endif
CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs --with-ssl=${SSLBASE}
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
CONFIGURE_ARGS+= --with-rsa=${PREFIX}/lib
.endif
post-install:
@${MV} ${PREFIX}/lib/httpd/libssl.so ${PREFIX}/lib/httpd/mod_ssl.so
${INSTALL_DATA_DIR} ${PREFIX}/share/httpd/htdocs/manual/mod/mod_ssl
cd ${WRKSRC}/pkg.ssldoc && \
${INSTALL_DATA} *.html *.gif *.jpg ${PREFIX}/share/httpd/htdocs/manual/mod/mod_ssl/
${INSTALL_DATA_DIR} ${PREFIX}/share/mod_ssl
cd ${WRKSRC}/pkg.contrib && \
${INSTALL_SCRIPT} *.sh *.cgi ${PREFIX}/share/mod_ssl/
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.CRL \
`ls -1 ${WRKSRC}/pkg.sslcfg/*.crl | grep -v /server\.` \
${PREFIX}/etc/httpd/ssl.crl
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.CRT \
`ls -1 ${WRKSRC}/pkg.sslcfg/*.crt | grep -v /server\.` \
${PREFIX}/etc/httpd/ssl.crt
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.CSR \
`ls -1 ${WRKSRC}/pkg.sslcfg/*.csr | grep -v /server\.` \
${PREFIX}/etc/httpd/ssl.csr
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.KEY \
`ls -1 ${WRKSRC}/pkg.sslcfg/*.key | grep -v /server\.` \
${PREFIX}/etc/httpd/ssl.key
.include "../../mk/bsd.pkg.mk"
|