Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2018 21:54:25 +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: r465487 - head/www/mod_md-devel
Message-ID:  <201803242154.w2OLsPXn091128@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sat Mar 24 21:54:25 2018
New Revision: 465487
URL: https://svnweb.freebsd.org/changeset/ports/465487

Log:
  www/mod_md-devel: Don't conflict with apache24
  
   - Apache 2.4.33 added mod_md
   - Use modules.d with a sample file

Modified:
  head/www/mod_md-devel/Makefile

Modified: head/www/mod_md-devel/Makefile
==============================================================================
--- head/www/mod_md-devel/Makefile	Sat Mar 24 21:12:28 2018	(r465486)
+++ head/www/mod_md-devel/Makefile	Sat Mar 24 21:54:25 2018	(r465487)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mod_md
 PORTVERSION=	1.1.10
-PORTREVISION=	2
+PORTREVISION=	3
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
@@ -32,11 +32,9 @@ CONFIGURE_ARGS=	--with-openssl=${OPENSSLBASE} \
 		--with-jansson=${LOCALBASE} \
 		--without-boulder
 
+SUB_FILES=	999_mod_md.conf pkg-message
 DOCSDIR=	share/doc/mod_md
 PORTDOCS=	README README.md
-PLIST_FILES=	${APACHEMODDIR}/mod_md.so.0.0.0 \
-		${APACHEMODDIR}/mod_md.so \
-		bin/a2md
 
 .include <bsd.port.pre.mk>
 
@@ -46,5 +44,12 @@ IGNORE=		port requires OpenSSL 1.0.2 or later, set DEF
 
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md/LICENSE
+	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+	${INSTALL_DATA} ${WRKDIR}/999_mod_md.conf \
+		${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/999_mod_md.conf.sample
+	${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_md.so.0.0.0 \
+		${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_manageddomain.so.0.0.0
+	${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_md.so \
+		${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_manageddomain.so
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803242154.w2OLsPXn091128>