pkgsrc/www/ap-ssl/Makefile
jlam 7e8dea6c91 Update www/ap-ssl to 2.8.8. Changes from version 2.8.7 include:
*) Upgraded to Apache 1.3.24
   *) Support leading whitespaces in commands of SSLLog "|..." directives.
   *) Fixed timeout handling on connection establishment by correctly
      resetting the timeout on errors.
   *) Fixed two memory leaks related to CA certificate configuration.
   *) Fixed memory leak related to temporary DH key handling.
   *) Fixed memory leak on shutdown if CRLs are used.
   *) Fixed remaining SIGBUS problems on SPARC inside SHMCB session
      cache implementation.
2002-04-02 14:22:23 +00:00

96 lines
3.1 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2002/04/02 14:22:23 jlam Exp $
DISTNAME= mod_ssl-2.8.8-1.3.24
PKGNAME= ap-ssl-2.8.8
CATEGORIES= www security
MASTER_SITES= http://www.modssl.org/source/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.modssl.org/
COMMENT= SSL/TLS protocols module for Apache
CONFLICTS= apache-1.3.[0-9] apache-*modssl-[0-9]* apache6-[0-9]*
DEPENDS+= apache-1.3.24:../../www/apache
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
MAKE_ENV+= SSL_RPATH_LDFLAGS="-R${SSLBASE}/lib"
PKG_SYSCONFSUBDIR?= httpd
EGDIR= ${PREFIX}/share/examples/mod_ssl
OWN_DIRS= ${PKG_SYSCONFDIR}/ssl.crl
OWN_DIRS+= ${PKG_SYSCONFDIR}/ssl.crt
OWN_DIRS+= ${PKG_SYSCONFDIR}/ssl.csr
OWN_DIRS+= ${PKG_SYSCONFDIR}/ssl.prm
OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/ssl.key \
${ROOT_USER} ${ROOT_GROUP} 0700
CONF_FILES= ${EGDIR}/apache_start.conf \
${PKG_SYSCONFDIR}/apache_start.conf
SUPPORT_FILES= # empty
SUPPS= ssl.crl/Makefile.crl ssl.crl/README.CRL \
ssl.crt/Makefile.crt ssl.crt/README.CRT \
ssl.crt/ca-bundle.crt ssl.crt/README.CSR \
ssl.key/README.KEY ssl.prm/README.PRM
.for FILE in ${SUPPS}
SUPPORT_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
.endfor
post-extract:
cd ${WRKSRC}/pkg.contrib; ${MV} -f loadcacert.cgi loadcacert.cgi.in
cd ${WRKSRC}/pkg.sslsup; ${MV} -f mkcert.sh mkcert.sh.in
post-build:
@${SED} -e "s|^#!/.*|#!${PERL5}|g" \
${WRKSRC}/pkg.contrib/loadcacert.cgi.in \
> ${WRKSRC}/pkg.contrib/loadcacert.cgi
@${SED} ${FILES_SUBST_SED} \
${WRKSRC}/pkg.sslsup/mkcert.sh.in \
> ${WRKSRC}/pkg.sslsup/mkcert.sh
pre-install:
@${SED} ${FILES_SUBST_SED} \
${FILESDIR}/README.mkcert > ${WRKDIR}/README.mkcert
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA_DIR} ${EGDIR}/ssl.crl
${INSTALL_DATA_DIR} ${EGDIR}/ssl.crt
${INSTALL_DATA_DIR} ${EGDIR}/ssl.csr
${INSTALL_DATA_DIR} ${EGDIR}/ssl.key
${INSTALL_DATA_DIR} ${EGDIR}/ssl.prm
cd ${PREFIX}/lib/httpd; ${MV} -f libssl.so mod_ssl.so
cd ${WRKSRC}/pkg.sslsup; ${INSTALL_SCRIPT} mkcert.sh \
${PREFIX}/sbin/mkcert
${INSTALL_DATA} ${FILESDIR}/apache_start.conf ${EGDIR}
${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_DIR} ${PREFIX}/share/doc/mod_ssl
${INSTALL_DATA} ${WRKDIR}/README.mkcert ${PREFIX}/share/doc/mod_ssl
cd ${WRKSRC}/pkg.sslcfg; ${RM} -f server.*
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CRL *.crl \
${EGDIR}/ssl.crl
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CRT *.crt \
${EGDIR}/ssl.crt
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.CSR \
${EGDIR}/ssl.csr
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.KEY *.key \
${EGDIR}/ssl.key
cd ${WRKSRC}/pkg.sslcfg; ${INSTALL_DATA} README.PRM *.prm \
${EGDIR}/ssl.prm
.include "../../security/openssl/buildlink.mk"
.include "../../www/apache/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"