From owner-svn-ports-head@freebsd.org Sun Aug 23 07:12:11 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 595269C0C08; Sun, 23 Aug 2015 07:12:11 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4581E18AA; Sun, 23 Aug 2015 07:12:11 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7N7CBMc067980; Sun, 23 Aug 2015 07:12:11 GMT (envelope-from kuriyama@FreeBSD.org) Received: (from kuriyama@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7N7C9TU067975; Sun, 23 Aug 2015 07:12:09 GMT (envelope-from kuriyama@FreeBSD.org) Message-Id: <201508230712.t7N7C9TU067975@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kuriyama set sender to kuriyama@FreeBSD.org using -f From: Jun Kuriyama Date: Sun, 23 Aug 2015 07:12:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395074 - in head/net: . go-geoip X-SVN-Group: ports-head 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.20 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: Sun, 23 Aug 2015 07:12:11 -0000 Author: kuriyama Date: Sun Aug 23 07:12:09 2015 New Revision: 395074 URL: https://svnweb.freebsd.org/changeset/ports/395074 Log: This package wraps the libgeoip C library for access from Go (golang). You can download the free GeoLite Country database or you can subscribe to updates. WWW: https://github.com/abh/geoip Added: head/net/go-geoip/ head/net/go-geoip/Makefile (contents, props changed) head/net/go-geoip/distinfo (contents, props changed) head/net/go-geoip/pkg-descr (contents, props changed) head/net/go-geoip/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sun Aug 23 06:49:59 2015 (r395073) +++ head/net/Makefile Sun Aug 23 07:12:09 2015 (r395074) @@ -161,6 +161,7 @@ SUBDIR += gnu-radius SUBDIR += go-amqp SUBDIR += go-cs + SUBDIR += go-geoip SUBDIR += go.net SUBDIR += gofish SUBDIR += gogoc Added: head/net/go-geoip/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/go-geoip/Makefile Sun Aug 23 07:12:09 2015 (r395074) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= geoip +PORTVERSION= 0.0.0.20131016 +CATEGORIES= net +MASTER_SITES= GH GHC +PKGNAMEPREFIX= go- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Go library to wrap the libgeoip C library + +LICENSE= MIT + +LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP + +USES= compiler +USE_GITHUB= yes +GH_ACCOUNT= abh +GH_PROJECT= ${PORTNAME} +GH_TAGNAME= da13074 + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} + +.include +.include "${PORTSDIR}/lang/go/files/bsd.go.mk" +.if ${COMPILER_TYPE} == clang && ${CC} == cc +CC= clang +.endif +.include Added: head/net/go-geoip/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/go-geoip/distinfo Sun Aug 23 07:12:09 2015 (r395074) @@ -0,0 +1,2 @@ +SHA256 (geoip-0.0.0.20131016_GH0.tar.gz) = 90607958d4301d0ea7a51828290cbe9c8ec5914dc8b1d5150c27894e4ea315d5 +SIZE (geoip-0.0.0.20131016_GH0.tar.gz) = 5758 Added: head/net/go-geoip/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/go-geoip/pkg-descr Sun Aug 23 07:12:09 2015 (r395074) @@ -0,0 +1,7 @@ +This package wraps the libgeoip C library for access from Go +(golang). + +You can download the free GeoLite Country database or you can +subscribe to updates. + +WWW: https://github.com/abh/geoip Added: head/net/go-geoip/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/go-geoip/pkg-plist Sun Aug 23 07:12:09 2015 (r395074) @@ -0,0 +1,8 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/const.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/db/download +%%GO_SRCDIR%%/%%GO_PKGNAME%%/ex/geoip-demo.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/geoip.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/geoip_test.go