Hi, Current Amap-5.4 port not install because website is down. Patch below fix that.
Tested on amd64. P. Index: Makefile =================================================================== RCS file: /cvs/ports/security/amap/Makefile,v retrieving revision 1.24 diff -u -p -u -r1.24 Makefile --- Makefile 14 Jul 2019 00:39:39 -0000 1.24 +++ Makefile 26 May 2020 18:35:59 -0000 @@ -1,31 +1,31 @@ -# $OpenBSD: Makefile,v 1.24 2019/07/14 00:39:39 naddy Exp $ +# $OpenBSD: Makefile,v 1.24 2020/05/26 11:15:21 naddy Exp $ -COMMENT= application protocol detection tool +COMMENT = application protocol detection tool -REVISION= 0 -DISTNAME= amap-5.4 -CATEGORIES= security +DISTNAME = amap-5.4 +REVISION = 0 +CATEGORIES = security -HOMEPAGE= http://thc.org/thc-amap/ +HOMEPAGE = https://www.thc.org # GPL with changes -PERMIT_PACKAGE= Yes +PERMIT_PACKAGE = Yes -MASTER_SITES= http://freeworld.thc.org/releases/ +MASTER_SITES = https://ftp.fr.openbsd.org/pub/OpenBSD/distfiles/ -WANTLIB= c crypto ssl pcre +WANTLIB = c crypto ssl pcre -LIB_DEPENDS= devel/pcre +LIB_DEPENDS = devel/pcre -CONFIGURE_STYLE= simple -CONFIGURE_ARGS= --prefix='${PREFIX}' +CONFIGURE_STYLE = simple +CONFIGURE_ARGS = --prefix='${PREFIX}' -NO_TEST= Yes -MAKE_FLAGS= OPT="${CFLAGS} -I${LOCALBASE}/include" +NO_TEST = Yes +MAKE_FLAGS = OPT="${CFLAGS} -I${LOCALBASE}/include" post-extract: @chmod -R u+w ${WRKDIST} @perl -pi -e "s,"./","$(TRUEPREFIX)/share/amap/"," - ${WRKSRC}/amap-lib.c + ${WRKSRC}/amap-lib.c .include <bsd.port.mk>
