ports/154463: [NEW PORT] www/mod_gnutls: mod_gnutls uses the GnuTLS library to provide SSL, and TLS encryption for Apache HTTPD
Fumiyuki Shimizu 清水文行
fumifumi at abacustech.jp
Wed Feb 2 13:00:23 UTC 2011
>Number: 154463
>Category: ports
>Synopsis: [NEW PORT] www/mod_gnutls: mod_gnutls uses the GnuTLS library to provide SSL, and TLS encryption for Apache HTTPD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 02 13:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Fumiyuki Shimizu =?iso-2022-jp?B?GyRCQDY/ZUo4OVQbKEI=?=
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
Abacus Technologies, Inc.
>Environment:
System: FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010
>Description:
mod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0, TLS
1.1 and 1.2 encryption for Apache HTTPD. It is similar to mod_ssl in
purpose, but does not use OpenSSL.
WWW: http://www.outoforder.cc/projects/apache/mod_gnutls/
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- mod_gnutls-0.5.6.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_gnutls
# mod_gnutls/pkg-descr
# mod_gnutls/distinfo
# mod_gnutls/Makefile
# mod_gnutls/pkg-plist
# mod_gnutls/files
# mod_gnutls/files/patch-src-Makefile.in
# mod_gnutls/files/pkg-message.in
#
echo c - mod_gnutls
mkdir -p mod_gnutls > /dev/null 2>&1
echo x - mod_gnutls/pkg-descr
sed 's/^X//' >mod_gnutls/pkg-descr << 'bcf2cc6332d1c4f7d9750557a13fc37d'
Xmod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0, TLS
X1.1 and 1.2 encryption for Apache HTTPD. It is similar to mod_ssl in
Xpurpose, but does not use OpenSSL.
X
XWWW: http://www.outoforder.cc/projects/apache/mod_gnutls/
bcf2cc6332d1c4f7d9750557a13fc37d
echo x - mod_gnutls/distinfo
sed 's/^X//' >mod_gnutls/distinfo << 'cf3df04bf93be2ccdd1804af3e1e3345'
XSHA256 (mod_gnutls-0.5.6.tar.bz2) = ec7bb2b05c5a2bb8044471c4250b5f3b396d8748724bc2cb4facf76b50f9f6d4
XSIZE (mod_gnutls-0.5.6.tar.bz2) = 242219
cf3df04bf93be2ccdd1804af3e1e3345
echo x - mod_gnutls/Makefile
sed 's/^X//' >mod_gnutls/Makefile << 'fae47f5c719edced47891cd4ac523b59'
X# New ports collection makefile for: mod_gnutls
X# Date created: 2011-01-19
X# Whom: Fumiyuki Shimizu =?iso-2022-jp?B?GyRCQDY/ZUo4OVQbKEI=?= <fumifumi at abacustech.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_gnutls
X# Changed to 0.5.9 and later, soon after security/gnutls is updated to 2.10 series.
XPORTVERSION= 0.5.6
X#PORTREVISION= 0
XCATEGORIES= www security
XMASTER_SITES= http://www.outoforder.cc/downloads/mod_gnutls/
XPKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
X
XMAINTAINER= fumifumi at abacustech.jp
XCOMMENT= mod_gnutls uses the GnuTLS library to provide SSL, and TLS encryption for Apache HTTPD
X
XLIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls
X
XUSE_BZIP2= yes
XUSE_AUTOTOOLS= libtool
XUSE_APACHE= 2.0+
XGNU_CONFIGURE= yes
X
XLICENSE= ASL
XLICENSE_FILE= ${WRKSRC}/LICENSE
X
XDOCS= LICENSE NEWS README README.ENV
X
X.include <bsd.port.pre.mk>
X
XDBDIR= ${PREFIX}/var/db/${PORTNAME}
X
XSUB_FILES= pkg-message
XPLIST_SUB+= DBDIR=${DBDIR}
X
XCONFIGURE_ARGS= --with-apxs=${APXS}
X
X# mod_gnutls does not conflict with mod_ssl.
X#pre-install:
X# @if test -e '${LOCALBASE}/${APACHEMODDIR}/mod_ssl.so'; then for opt in -a -A -A; do '${APXS}' -e "$${opt}" -n ssl '${LOCALBASE}/${APACHEMODDIR}/mod_ssl.so' >/dev/null 2>&1; done; else true; fi
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} '${DOCSDIR}'
X @cd '${WRKSRC}' && ${INSTALL_DATA} ${DOCS} '${DOCSDIR}'
X.endif
X @if test -d '${DBDIR}'; then true; else ${MKDIR} '${DBDIR}'; fi
X @${CHOWN} '${WWWOWN}:${WWWGRP}' '${DBDIR}'
X @${CHMOD} 'u=rwx,g=rx,o=' '${DBDIR}'
X @${CAT} '${PKGMESSAGE}'
X
X.include <bsd.port.post.mk>
fae47f5c719edced47891cd4ac523b59
echo x - mod_gnutls/pkg-plist
sed 's/^X//' >mod_gnutls/pkg-plist << 'ad7e6e01bc4e14b32c4447d01c08c28a'
X at comment $FreeBSD$
X%%APACHEMODDIR%%/%%AP_MODULE%%
X at exec '%D/sbin/apxs' -e -a -n '%%AP_NAME%%' '%D/%%APACHEMODDIR%%/%%AP_MODULE%%'
X at unexec '%D/sbin/apxs' -e -A -n '%%AP_NAME%%' '%D/%%APACHEMODDIR%%/%%AP_MODULE%%'
X at comment @exec if test -e '%D/%%APACHEMODDIR%%/mod_ssl.so'; then for opt in -a -A -A; do '%D/sbin/apxs' -e "${opt}" -n ssl '%D/%%APACHEMODDIR%%/mod_ssl.so'; done; fi
X at comment @unexec if test -e '%D/%%APACHEMODDIR%%/mod_ssl.so'; then '%D/sbin/apxs' -e -a -n ssl '%D/%%APACHEMODDIR%%/mod_ssl.so'; fi
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README.ENV
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
ad7e6e01bc4e14b32c4447d01c08c28a
echo c - mod_gnutls/files
mkdir -p mod_gnutls/files > /dev/null 2>&1
echo x - mod_gnutls/files/patch-src-Makefile.in
sed 's/^X//' >mod_gnutls/files/patch-src-Makefile.in << 'ce7ea3d9847b6a2026830484c8f86349'
X--- src/Makefile.in.orig 2010-09-24 15:55:26.000000000 +0900
X+++ src/Makefile.in 2011-02-02 16:12:43.000000000 +0900
X@@ -612,7 +612,7 @@
X rm -fr .libs
X
X install: make_so
X- @${APXS_BIN} -i -n gnutls mod_gnutls.so
X+ @${APXS_BIN} -i -a -n gnutls mod_gnutls.so
X @echo ""
X @echo ""
X @echo "***********************************************"
ce7ea3d9847b6a2026830484c8f86349
echo x - mod_gnutls/files/pkg-message.in
sed 's/^X//' >mod_gnutls/files/pkg-message.in << '2610de4234a311325ee7874ca7017b2b'
X*********************************************************************
X
XSample %%PREFIX%%/etc/apache22/httpd.conf.
X
X #LoadModule ssl_module libexec/apache22/mod_ssl.so
X LoadModule gnutls_module libexec/apache22/mod_gnutls.so
X
X GnuTLSCache dbm %%DBDIR%%/tls-cache
X GnuTLSCacheTimeout 500
X
X <VirtualHost example.com:443>
X GnuTLSEnable on
X GnuTLSKeyFile /etc/ssl/certs/private/example_com.key.pem
X GnuTLSCertificateFile /etc/ssl/certs/example_com.crt.pem
X GnuTLSClientCAFile /etc/ssl/certs/example_com.ca.pem
X GnuTLSPriorities NORMAL:%COMPAT
X </Directory>
X
XIf you have disabled all configuration for mod_ssl,
Xyou have to disable LoadModule for mod_ssl.
X
X*********************************************************************
2610de4234a311325ee7874ca7017b2b
exit
--- mod_gnutls-0.5.6.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list