Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2020 14:15:44 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558825 - in head/sysutils: . basu
Message-ID:  <202012211415.0BLEFiEu081973@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec 21 14:15:44 2020
New Revision: 558825
URL: https://svnweb.freebsd.org/changeset/ports/558825

Log:
  sysutils/basu: add new port
  
  Some projects rely on the sd-bus library for DBus support. However not all
  systems have systemd or elogind installed. This library provides just sd-bus
  (and the "busctl" utility).
  
  https://github.com/emersion/basu

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

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Mon Dec 21 14:07:20 2020	(r558824)
+++ head/sysutils/Makefile	Mon Dec 21 14:15:44 2020	(r558825)
@@ -101,6 +101,7 @@
     SUBDIR += barrier
     SUBDIR += bashtop
     SUBDIR += bastille
+    SUBDIR += basu
     SUBDIR += batmon
     SUBDIR += battmond
     SUBDIR += battray

Added: head/sysutils/basu/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/basu/Makefile	Mon Dec 21 14:15:44 2020	(r558825)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	basu
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0-38 # https://github.com/emersion/basu/pull/32
+DISTVERSIONSUFFIX=	-gd8475bb
+CATEGORIES=	sysutils
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	cc178bcb6873.patch:-p1 # https://github.com/emersion/basu/pull/31
+PATCHFILES+=	6bb477cf3ee0.patch:-p1 # https://github.com/emersion/basu/pull/31
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	sd-bus library, extracted from systemd
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/LICENSE.LGPL2.1
+
+USES=		compiler:c11 gperf meson python:build shebangfix
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GH_ACCOUNT=	emersion
+SHEBANG_FILES=	src/basic/generate-gperfs.py
+
+.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
+# bus-error.c:(.text.bus_error_name_to_errno+0x9a): undefined reference to '__start_BUS_ERROR_MAP'
+LDFLAGS+=	-fuse-ld=lld
+.endif
+
+.include <bsd.port.mk>

Added: head/sysutils/basu/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/basu/distinfo	Mon Dec 21 14:15:44 2020	(r558825)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1608488144
+SHA256 (emersion-basu-v0.1.0-38-gd8475bb_GH0.tar.gz) = ba444fcf844c476d9896546576fade7a52aad30d302c6bb3f32e91da44f9599e
+SIZE (emersion-basu-v0.1.0-38-gd8475bb_GH0.tar.gz) = 241646
+SHA256 (cc178bcb6873.patch) = 34d0a31b195030e7fad033b864f39981aac1c1aa5b0b5a039e72d9415be0bfd4
+SIZE (cc178bcb6873.patch) = 1903
+SHA256 (6bb477cf3ee0.patch) = a3f5eae90c90f81b910b18d659cf649ce7c039198d51df632f2e25098ce50d19
+SIZE (6bb477cf3ee0.patch) = 850

Added: head/sysutils/basu/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/basu/pkg-descr	Mon Dec 21 14:15:44 2020	(r558825)
@@ -0,0 +1,5 @@
+Some projects rely on the sd-bus library for DBus support. However not all
+systems have systemd or elogind installed. This library provides just sd-bus
+(and the "busctl" utility).
+
+WWW: https://github.com/emersion/basu

Added: head/sysutils/basu/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/basu/pkg-plist	Mon Dec 21 14:15:44 2020	(r558825)
@@ -0,0 +1,9 @@
+bin/basuctl
+include/basu/_sd-common.h
+include/basu/sd-bus-protocol.h
+include/basu/sd-bus-vtable.h
+include/basu/sd-bus.h
+include/basu/sd-id128.h
+lib/libbasu.so
+lib/libbasu.so.0
+libdata/pkgconfig/basu.pc



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