From owner-svn-ports-head@freebsd.org Thu Jul 30 23:44:11 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 736D736A88B; Thu, 30 Jul 2020 23:44:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BHn7H2RCZz46RF; Thu, 30 Jul 2020 23:44:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36DC818EA3; Thu, 30 Jul 2020 23:44:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06UNiBPm002598; Thu, 30 Jul 2020 23:44:11 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06UNiA56002593; Thu, 30 Jul 2020 23:44:10 GMT (envelope-from zi@FreeBSD.org) Message-Id: <202007302344.06UNiA56002593@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Thu, 30 Jul 2020 23:44:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543836 - in head/www: . varnish-ip2proxy X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/www: . varnish-ip2proxy X-SVN-Commit-Revision: 543836 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2020 23:44:11 -0000 Author: zi Date: Thu Jul 30 23:44:09 2020 New Revision: 543836 URL: https://svnweb.freebsd.org/changeset/ports/543836 Log: New port: www/varnish-ip2proxy: A Varnish module that enables the user to find the country, region, city, ISP and proxy information by IP address. The module reads the proxy information from IP2Proxy BIN data file. WWW: https://github.com/ip2location/IP2Proxy-Varnish Added: head/www/varnish-ip2proxy/ head/www/varnish-ip2proxy/Makefile (contents, props changed) head/www/varnish-ip2proxy/distinfo (contents, props changed) head/www/varnish-ip2proxy/pkg-descr (contents, props changed) head/www/varnish-ip2proxy/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Jul 30 23:08:45 2020 (r543835) +++ head/www/Makefile Thu Jul 30 23:44:09 2020 (r543836) @@ -2280,6 +2280,7 @@ SUBDIR += uwsgi SUBDIR += uwsgitop SUBDIR += validator + SUBDIR += varnish-ip2proxy SUBDIR += varnish-libvmod-awsrest SUBDIR += varnish-libvmod-digest SUBDIR += varnish-libvmod-dynamic Added: head/www/varnish-ip2proxy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish-ip2proxy/Makefile Thu Jul 30 23:44:09 2020 (r543836) @@ -0,0 +1,42 @@ +# Created by: Ryan Steinmetz +# $FreeBSD$ + +PORTNAME= ip2proxy +PORTVERSION= 1.1.0 +CATEGORIES= www +PKGNAMEPREFIX= varnish- + +MAINTAINER= zi@FreeBSD.org +COMMENT= Varnish Module (vmod) for ip2proxy + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libIP2Proxy.so:net/ip2proxy +BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} + +USES= autoreconf:build libtool pkgconfig python:build varnish:6 +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static +INSTALL_TARGET= install-strip +DOCSDIR= ${PREFIX}/share/doc/vmod-dynamic +MAKE_JOBS_UNSAFE= yes + +CFLAGS+= -I${WRKSRC}/src + +USE_GITHUB= yes +GH_ACCOUNT= ip2location +GH_PROJECT= ${PORTNAME}-varnish + +OPTIONS_DEFINE= DOCS + +post-patch: + ${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \ + ${WRKSRC}/Makefile.am + +pre-configure: + (cd ${WRKSRC} && ${SH} ./autogen.sh) + +.include Added: head/www/varnish-ip2proxy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish-ip2proxy/distinfo Thu Jul 30 23:44:09 2020 (r543836) @@ -0,0 +1,3 @@ +TIMESTAMP = 1596145425 +SHA256 (ip2location-ip2proxy-varnish-1.1.0_GH0.tar.gz) = 5bf8640a27cb84181f07b4a7fd04a89e33d9d231941ab71afdef870366644019 +SIZE (ip2location-ip2proxy-varnish-1.1.0_GH0.tar.gz) = 6130 Added: head/www/varnish-ip2proxy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish-ip2proxy/pkg-descr Thu Jul 30 23:44:09 2020 (r543836) @@ -0,0 +1,5 @@ +A Varnish module that enables the user to find the country, region, city, +ISP and proxy information by IP address. The module reads the proxy +information from IP2Proxy BIN data file. + +WWW: https://github.com/ip2location/IP2Proxy-Varnish Added: head/www/varnish-ip2proxy/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish-ip2proxy/pkg-plist Thu Jul 30 23:44:09 2020 (r543836) @@ -0,0 +1,4 @@ +lib/varnish/vmods/libvmod_ip2proxy.so +man/man3/vmod_ip2proxy.3.gz +share/doc/libvmod-ip2proxy/LICENSE +share/doc/libvmod-ip2proxy/README.rst