svn commit: r476236 - in head/devel: . libubox

Martin Matuska mm at FreeBSD.org
Thu Aug 2 15:04:41 UTC 2018


Author: mm
Date: Thu Aug  2 15:04:39 2018
New Revision: 476236
URL: https://svnweb.freebsd.org/changeset/ports/476236

Log:
  New port: devel/libubox
  
  libubox is a set of utilities, mostly wrappers, that are present
  usually in programs and that have been coded in a flexible and
  reusable way to avoid wasting time.
  
  libubox is part of the OpenWrt project
  
  WWW: https://openwrt.org/docs/techref/libubox

Added:
  head/devel/libubox/
  head/devel/libubox/Makefile   (contents, props changed)
  head/devel/libubox/distinfo   (contents, props changed)
  head/devel/libubox/pkg-descr   (contents, props changed)
  head/devel/libubox/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Aug  2 12:18:01 2018	(r476235)
+++ head/devel/Makefile	Thu Aug  2 15:04:39 2018	(r476236)
@@ -1609,6 +1609,7 @@
     SUBDIR += libtsm
     SUBDIR += libtuntap
     SUBDIR += libublio
+    SUBDIR += libubox
     SUBDIR += libudev-devd
     SUBDIR += libukcprog
     SUBDIR += libunicode

Added: head/devel/libubox/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libubox/Makefile	Thu Aug  2 15:04:39 2018	(r476236)
@@ -0,0 +1,32 @@
+# Created by: Martin Matuska <mm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libubox
+DISTVERSION=	20180802
+DISTVERSIONSUFFIX=	-c83a84af
+CATEGORIES=	devel
+MASTER_SITES=	LOCAL/mm/openwrt
+
+MAINTAINER=	mm at FreeBSD.org
+COMMENT=	C utility functions for OpenWrt
+
+LICENSE=	GPLv2
+
+USES=		cmake lua:51 tar:xz
+LIBUBOX_GITURL=	https://git.openwrt.org/project/libubox.git
+
+.include <bsd.port.pre.mk>
+
+CMAKE_ARGS+=	-DLUAPATH="${LUA_MODLIBDIR}"
+
+maintainer-fetch:
+	@${MAKE} clean
+	@${MKDIR} ${WRKSRC}
+	@git clone ${LIBUBOX_GITURL} ${WRKSRC}
+	@cd ${WRKSRC} && git reset --hard ${DISTVERSIONSUFFIX:S|^-||}
+	@${TAR} -c -J -f ${_DISTDIR:S|/$||}/${DISTFILES:M${PORTNAME}-*} \
+		-C ${WRKDIR} --exclude .git ${WRKSRC:S|${WRKDIR}/||}
+	@${MAKE} makesum
+	@${MAKE} clean
+
+.include <bsd.port.post.mk>

Added: head/devel/libubox/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libubox/distinfo	Thu Aug  2 15:04:39 2018	(r476236)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533209269
+SHA256 (libubox-20180802-c83a84af.tar.xz) = 0ad4d98f21572cc5b46ecdee6b7888664c1ca624d14f5b69b6f8719eb2ff287f
+SIZE (libubox-20180802-c83a84af.tar.xz) = 54332

Added: head/devel/libubox/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libubox/pkg-descr	Thu Aug  2 15:04:39 2018	(r476236)
@@ -0,0 +1,7 @@
+libubox is a set of utilities, mostly wrappers, that are present
+usually in programs and that have been coded in a flexible and
+reusable way to avoid wasting time. 
+
+libubox is part of the OpenWrt project
+
+WWW: https://openwrt.org/docs/techref/libubox

Added: head/devel/libubox/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libubox/pkg-plist	Thu Aug  2 15:04:39 2018	(r476236)
@@ -0,0 +1,26 @@
+bin/jshn
+include/libubox/avl-cmp.h
+include/libubox/avl.h
+include/libubox/blob.h
+include/libubox/blobmsg.h
+include/libubox/blobmsg_json.h
+include/libubox/json_script.h
+include/libubox/kvlist.h
+include/libubox/list.h
+include/libubox/md5.h
+include/libubox/runqueue.h
+include/libubox/safe_list.h
+include/libubox/ulog.h
+include/libubox/uloop.h
+include/libubox/usock.h
+include/libubox/ustream.h
+include/libubox/utils.h
+include/libubox/vlist.h
+lib/libblobmsg_json.a
+lib/libblobmsg_json.so
+lib/libjson_script.so
+lib/libubox.a
+lib/libubox.so
+%%LUA_MODLIBDIR%%/uloop.so
+%%DATADIR%%/jshn.sh
+


More information about the svn-ports-head mailing list