Update the port to include unrelease upstream patches to work with newer versions of varnish
Details
Details
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 30829 Build 28549: arc lint + arc unit
Event Timeline
Comment Actions
Should the shared library be picked up by the shared library cache? If so, you want USE_LDCONFIG=${PREFIX}/lib/varnach/vmods.
If you want to conform to the Order of Variables in Port Makefiles chapter from the Porter's Handbook, then...
# $FreeBSD$ PORTNAME= libvmod-digest DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.0.2-6 DISTVERSIONSUFFIX= -g1793bea CATEGORIES= www PKGNAMEPREFIX= varnish- MAINTAINER= allanjude@FreeBSD.org COMMENT= Varnish Module (vmod) for computing message digests and HMAC LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} LIB_DEPENDS= libmhash.so:security/mhash USES= autoreconf gmake libtool pkgconfig python:3.6,build varnish USE_GITHUB= yes GH_ACCOUNT= varnish USE_LDCONFIG= ${PREFIX}/lib/varnach/vmods GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS .include <bsd.port.mk>
www/varnish-libvmod-digest/Makefile | ||
---|---|---|
3–4 | TAB after =. | |
16 | BUILD_DEPENDS= textproc/py-docutils@${PY_FLAVOR} |
www/varnish-libvmod-digest/Makefile | ||
---|---|---|
16 | is there something similar that can be done for the USES build depends? |
Comment Actions
Here is the full Makefile that builds for me. poudriere testport 11/12 i386/amd64 passes.
# $FreeBSD$ PORTNAME= libvmod-digest DISTVERSION= 1.0.2-6 DISTVERSIONSUFFIX= -g1793bea CATEGORIES= www PKGNAMEPREFIX= varnish- MAINTAINER= allanjude@FreeBSD.org COMMENT= Varnish Module (vmod) for computing message digests and HMAC LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} LIB_DEPENDS= libmhash.so:security/mhash USES= autoreconf gmake libtool pkgconfig python:3.7+,build varnish:6 USE_GITHUB= yes GH_ACCOUNT= varnish USE_LDCONFIG= ${PREFIX}/lib/varnach/vmods GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS .include <bsd.port.mk>
www/varnish-libvmod-digest/Makefile | ||
---|---|---|
3–4 | Actually, you don't need the DISTVERSIONPREFIX=${PORTNAME}-. You can remove this. |