www/mod_md-devel: Bugfix update to 1.0.3

- Strip bin/a2md
 - Drop install prefix
 - Only for 2.4, included in 2.5-alpha+
This commit is contained in:
Bernard Spil 2017-11-16 19:15:04 +00:00
parent 5e1191fde6
commit 5b0b16849d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454330
2 changed files with 11 additions and 12 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mod_md
PORTVERSION= 1.0.2
PORTVERSION= 1.0.3
DISTVERSIONPREFIX= v
CATEGORIES= www
PKGNAMESUFFIX= -devel
@ -13,23 +13,21 @@ COMMENT= Early experience LetsEncrypt module for Apache httpd
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
LIB_DEPENDS= libaprutil-1.so:devel/apr1 \
libcurl.so:ftp/curl \
libjansson.so:devel/jansson
USES= autoreconf libtool ssl
USE_GITHUB= yes
USE_APACHE= 24+
USE_APACHE= 24
GH_ACCOUNT= icing
GH_PROJECT= mod_md
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=ext- \
--with-openssl=${OPENSSLBASE} \
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
--with-jansson=${LOCALBASE}
MODULENAME= ${GH_PROJECT}
DOCSDIR= share/doc/mod_md
PORTDOCS= README README.md
PLIST_FILES= ${APACHEMODDIR}/mod_md.so.0.0.0 \
@ -43,9 +41,10 @@ IGNORE= port requires OpenSSL 1.0.2 or later, set DEFAULT_VERSIONS+= ssl=openss
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so \
${WRKSRC}/src/a2md
${INSTALL} ${WRKSRC}/src/a2md ${STAGEDIR}${PREFIX}/bin/a2md
${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md/LICENSE
${RM} ${STAGEDIR}${PREFIX}/bin/ext-a2md
# ${RM} ${STAGEDIR}${PREFIX}/bin/ext-a2md
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1510582667
SHA256 (icing-mod_md-v1.0.2_GH0.tar.gz) = 4366749376400316a43cc36241c6659ee4309ab3e0f8a2e89b26f6737e617fcf
SIZE (icing-mod_md-v1.0.2_GH0.tar.gz) = 194417
TIMESTAMP = 1510855808
SHA256 (icing-mod_md-v1.0.3_GH0.tar.gz) = dda795c93147abe4e3ef5f81236b83d17f549e08d886451f39a1537bf767d47a
SIZE (icing-mod_md-v1.0.3_GH0.tar.gz) = 194731