Date: Sat, 24 Mar 2018 22:01:34 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465488 - in head/www/mod_md-devel: . files Message-ID: <201803242201.w2OM1YuH093226@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Sat Mar 24 22:01:34 2018 New Revision: 465488 URL: https://svnweb.freebsd.org/changeset/ports/465488 Log: www/mod_md-devel: Add missing files - Pulled the trigger early on 465487 PR: 225005 Added: head/www/mod_md-devel/files/999_mod_md.conf.in (contents, props changed) head/www/mod_md-devel/files/patch-src_md__crypt.c (contents, props changed) head/www/mod_md-devel/files/pkg-message.in - copied, changed from r465487, head/www/mod_md-devel/pkg-message head/www/mod_md-devel/pkg-plist (contents, props changed) Deleted: head/www/mod_md-devel/pkg-message Added: head/www/mod_md-devel/files/999_mod_md.conf.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_md-devel/files/999_mod_md.conf.in Sat Mar 24 22:01:34 2018 (r465488) @@ -0,0 +1,20 @@ +# To enable, uncomment the LoadModule line and the +# MDCertificateAgreement line to accept the agreement +# Make sure you DON'T load the mod_md module from the +# Apache port + +# Full documentation in the project's wiki +# https://github.com/icing/mod_md/wiki +# and regular directives in Apache httpd documentation +# https://httpd.apache.org/docs/trunk/mod/mod_md.html + +# LoadModule md_module %%APACHEMODDIR%%/mod_manageddomain.so + +<IfModule md_module> +# MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf +ManagedDomain your_domain.de + +# Module uses ServerAdmin email from your Apache configuration +# during registration, make sure it is up-to-date and working + +</IfModule> Added: head/www/mod_md-devel/files/patch-src_md__crypt.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_md-devel/files/patch-src_md__crypt.c Sat Mar 24 22:01:34 2018 (r465488) @@ -0,0 +1,11 @@ +--- src/md_crypt.c.orig 2018-01-30 10:20:50 UTC ++++ src/md_crypt.c +@@ -471,7 +471,7 @@ apr_status_t md_pkey_gen(md_pkey_t **ppk + } + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + + #ifndef NID_tlsfeature + #define NID_tlsfeature 1020 Copied and modified: head/www/mod_md-devel/files/pkg-message.in (from r465487, head/www/mod_md-devel/pkg-message) ============================================================================== --- head/www/mod_md-devel/pkg-message Sat Mar 24 21:54:25 2018 (r465487, copy source) +++ head/www/mod_md-devel/files/pkg-message.in Sat Mar 24 22:01:34 2018 (r465488) @@ -1,27 +1,8 @@ + /!\ This is an early experience non-production-ready version /!\ -#################################################################### -# This module requires a patched Apache mod_ssl. Apply the mod_ssl # -# patch from https://github.com/icing/mod_md/tree/master/patches # -# to the www/apache24 port and rebuild/reinstall apache. # -#################################################################### +As of Apache httpd 2.4.33, the mod_md module is part of the +regular distribution. -Add the following to your make.conf to apply the patch to www/apache24 - -.if ${.CURDIR:M*/www/apache24} -EXTRA_PATCHES+=../mod_md-devel/files/extra-patch-mod_ssl -.endif - -If you want to have the md module enabled in your apache installation, -you need to add - - LoadModule md_module modules/mod_md.so - -somewhere in your config files and add a line like - - MDomain your_domain.example.org www.your_domain.example.org - -Full documentation in the project's wiki - https://github.com/icing/mod_md/wiki -and for most directives in Apache trunk documentation - https://httpd.apache.org/docs/trunk/mod/mod_md.html +The module can be enabled by editing the module's configuration file +in %%PREFIX%%/%%APACHEETCDIR%%/modules.d/999_mod_md.conf Added: head/www/mod_md-devel/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_md-devel/pkg-plist Sat Mar 24 22:01:34 2018 (r465488) @@ -0,0 +1,5 @@ +%%APACHEMODDIR%%/mod_manageddomain.so.0.0.0 +%%APACHEMODDIR%%/mod_manageddomain.so +@sample %%APACHEETCDIR%%/modules.d/999_mod_md.conf.sample +bin/a2md +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803242201.w2OM1YuH093226>