From owner-svn-ports-head@freebsd.org Fri May 24 14:48:45 2019 Return-Path: <owner-svn-ports-head@freebsd.org> Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F3F815AD692; Fri, 24 May 2019 14:48:45 +0000 (UTC) (envelope-from swills@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) server-signature RSA-PSS (4096 bits) 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 C712B69D70; Fri, 24 May 2019 14:48:44 +0000 (UTC) (envelope-from swills@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 A1B511E2DC; Fri, 24 May 2019 14:48:44 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4OEmiFp024713; Fri, 24 May 2019 14:48:44 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4OEmh5n024708; Fri, 24 May 2019 14:48:43 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905241448.x4OEmh5n024708@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills <swills@FreeBSD.org> Date: Fri, 24 May 2019 14:48:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502471 - in head/devel: . liblpm liblpm/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . liblpm liblpm/files X-SVN-Commit-Revision: 502471 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C712B69D70 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head <svn-ports-head.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/> List-Post: <mailto:svn-ports-head@freebsd.org> List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>, <mailto:svn-ports-head-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 24 May 2019 14:48:45 -0000 Author: swills Date: Fri May 24 14:48:43 2019 New Revision: 502471 URL: https://svnweb.freebsd.org/changeset/ports/502471 Log: devel/liblpm: create port Longest Prefix Match (LPM) library supporting IPv4 and IPv6. WWW: https://github.com/rmind/liblpm Will be used by npf port Added: head/devel/liblpm/ head/devel/liblpm/Makefile (contents, props changed) head/devel/liblpm/distinfo (contents, props changed) head/devel/liblpm/files/ head/devel/liblpm/files/patch-Makefile (contents, props changed) head/devel/liblpm/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 24 14:46:57 2019 (r502470) +++ head/devel/Makefile Fri May 24 14:48:43 2019 (r502471) @@ -1227,6 +1227,7 @@ SUBDIR += liblangtag SUBDIR += liblas SUBDIR += liblas12 + SUBDIR += liblpm SUBDIR += liblnk SUBDIR += liblockfile SUBDIR += liblogging Added: head/devel/liblpm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liblpm/Makefile Fri May 24 14:48:43 2019 (r502471) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= liblpm +PORTVERSION= g2019052401 +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Longest Prefix Match library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= gmake libtool:build + +USE_GITHUB= yes +GH_ACCOUNT= rmind +GH_PROJECT= liblpm +GH_TAGNAME= 984ac5f +WRKSRC_SUBDIR= src +USE_LDCONFIG= yes +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ + INCDIR=${LOCALBASE}/include \ + LIBDIR=${LOCALBASE}/lib \ + MANDIR=${LOCALBASE}/man + +PLIST_FILES= include/lpm.h \ + lib/liblpm.a \ + lib/liblpm.so \ + lib/liblpm.so.1 \ + lib/liblpm.so.1.0.0 + +.include <bsd.port.mk> Added: head/devel/liblpm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liblpm/distinfo Fri May 24 14:48:43 2019 (r502471) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558684180 +SHA256 (rmind-liblpm-g2019052401-984ac5f_GH0.tar.gz) = 2fa559074bc659113ec08e42eb7bbf55bc04756405644d212665ee9e5821911c +SIZE (rmind-liblpm-g2019052401-984ac5f_GH0.tar.gz) = 14416 Added: head/devel/liblpm/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liblpm/files/patch-Makefile Fri May 24 14:48:43 2019 (r502471) @@ -0,0 +1,10 @@ +--- Makefile.orig 2019-05-24 07:51:26 UTC ++++ Makefile +@@ -5,7 +5,6 @@ + PROJ= lpm + + CFLAGS+= -std=c99 -O2 -g -Wall -Wextra -Werror +-CFLAGS+= -D_POSIX_C_SOURCE=200809L + CFLAGS+= -D_GNU_SOURCE -D_DEFAULT_SOURCE + + # Added: head/devel/liblpm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/liblpm/pkg-descr Fri May 24 14:48:43 2019 (r502471) @@ -0,0 +1,3 @@ +Longest Prefix Match (LPM) library supporting IPv4 and IPv6. + +WWW: https://github.com/rmind/liblpm