Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 14:48:43 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
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
Message-ID:  <201905241448.x4OEmh5n024708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905241448.x4OEmh5n024708>