blob: e7379a6cb53121210e0c663fc134d5b3ed3e2ca1 (
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
|
# $NetBSD: Makefile,v 1.10 1999/12/01 01:00:17 bad Exp $
#
DISTNAME= mod_ssl-2.4.8-1.3.9
PKGNAME= ap-ssl-2.4.8
CATEGORIES= www
MASTER_SITES= ftp://ftp.modssl.org/source/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.modssl.org/
DEPENDS= openssl-0.9.4:../../security/openssl \
apache-1.3.9p0:../../www/apache
# For "apxs":
BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
CONFLICTS= apache-1.3.[012345678] apache-*modssl-* apache6-*
HAS_CONFIGURE= 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=${PREFIX}
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == YES
CONFIUGRE_ARGS+= --with-rsa=${PREFIX}
.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 \
${WRKSRC}/pkg.sslcfg/*.crl ${PREFIX}/etc/httpd/ssl.crl/
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.CRT \
${WRKSRC}/pkg.sslcfg/*.crt ${PREFIX}/etc/httpd/ssl.crt/
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.CSR \
${WRKSRC}/pkg.sslcfg/*.csr ${PREFIX}/etc/httpd/ssl.csr/
${INSTALL_DATA} ${WRKSRC}/pkg.sslcfg/README.KEY \
${WRKSRC}/pkg.sslcfg/*.key ${PREFIX}/etc/httpd/ssl.key/
.include "../../mk/bsd.pkg.mk"
|