Index: GIDs =================================================================== --- GIDs (revision 553472) +++ GIDs (working copy) @@ -209,7 +209,7 @@ step:*:266: odoo:*:267: tenshi:*:268:tenshi -# free: 269 +biboumi:*:269: _rpki-client:*:270: # free: 271 # free: 272 Index: UIDs =================================================================== --- UIDs (revision 553472) +++ UIDs (working copy) @@ -214,7 +214,7 @@ step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nologin odoo:*:267:267::0:0:Odoo ERP:/nonexistent:/usr/sbin/nologin tenshi:*:268:268::0:0:Tenshi user:/var/lib/tenshi:/usr/sbin/nologin -# free: 269 +biboumi:*:269:269::0:0:biboumi:/nonexistent:/usr/sbin/nologin _rpki-client:*:270:270::0:0:rpki-client user:/nonexistent:/usr/sbin/nologin # free: 271 # free: 272 Index: net-im/biboumi/Makefile =================================================================== --- net-im/biboumi/Makefile (nonexistent) +++ net-im/biboumi/Makefile (working copy) @@ -0,0 +1,84 @@ +# $FreeBSD$ + +PORTNAME= biboumi +DISTVERSION= 9.0 +CATEGORIES= net-im +MASTER_SITES= https://git.louiz.org/biboumi/snapshot/ + +MAINTAINER= samir@noir.im +COMMENT= XMPP gateway to IRC + +LICENSE= ZLIB + +BUILD_DEPENDS= git:devel/git \ + ${PY_SPHINX} +LIB_DEPENDS= libexpat.so:textproc/expat2 \ + libuuid.so:misc/e2fsprogs-libuuid + +USES= cmake iconv localbase:ldflags pkgconfig python:build +CMAKE_ARGS+= -DWITHOUT_SYSTEMD=1 + +OPTIONS_DEFINE= DOCS LIBIDN PGSQL SQLITE3 TLS UDNS +OPTIONS_DEFAULT= LIBIDN PGSQL SQLITE3 TLS UDNS + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme +DOCS_PORTDOCS= * + +LIBIDN_LIB_DEPENDS= libidn.so:dns/libidn +LIBIDN_CMAKE_ON= -DWITH_LIBIDN=1 +LIBIDN_CMAKE_OFF= -DWITHOUT_LIBIDN=1 +LIBIDN_DESC= Stringprep functionality, to provide JIDs for IRC users + +SQLITE3_USES= sqlite:3 +SQLITE3_CMAKE_ON= -DWITH_SQLITE3=1 +SQLITE3_CMAKE_OFF= -DWITHOUT_SQLITE3=1 +SQLITE3_DESC= Store users' options and messages in SQLite + +PGSQL_USES= pgsql +PGSQL_CMAKE_ON= -DWITH_POSTGRESQL=1 +PGSQL_CMAKE_OFF= -DWITHOUT_POSTGRESQL=1 +PGSQL_DESC= Store users' options and messages in PostgreSQL + +TLS_LIB_DEPENDS= libbotan-2.so:security/botan2 +TLS_LIB_DEPENDS_OFF= libgcrypt.so:security/libgcrypt +TLS_RUN_DEPENDS_ON= ca_root_nss>0:security/ca_root_nss +TLS_CMAKE_ON= -DWITH_BOTAN=1 +TLS_CMAKE_OFF= -DWITHOUT_BOTAN=1 +TLS_DESC= Support TLS connections to IRC servers + +UDNS_LIB_DEPENDS= libudns.so:dns/udns +UDNS_CMAKE_ON= -DWITH_UDNS=1 +UDNS_CMAKE_OFF= -DWITHOUT_UDNS=1 +UDNS_DESC= Asynchronously resolve domain names, for better performances + +USERS= biboumi +GROUPS= ${USERS} + +USE_RC_SUBR= biboumi +SUB_LIST= USER=${USERS} GROUP=${GROUPS} +PLIST_SUB= ${SUB_LIST} + +post-build: + cd ${WRKSRC}/doc && ${MAKE} man + +post-build-DOCS-on: + cd ${WRKSRC}/doc && ${MAKE} html + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/.build/biboumi ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/biboumi + ${INSTALL_DATA} ${WRKSRC}/conf/biboumi.cfg ${STAGEDIR}${ETCDIR}/biboumi.cfg.sample + +post-install: + ${MKDIR} ${STAGEDIR}/var/db/biboumi + ${MKDIR} ${STAGEDIR}/var/run/biboumi + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/conf/*policy.txt ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/_build/man/*.1 ${STAGEDIR}${PREFIX}/man/man1 + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo") + +.include Property changes on: net-im/biboumi/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/distinfo =================================================================== --- net-im/biboumi/distinfo (nonexistent) +++ net-im/biboumi/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1602940785 +SHA256 (biboumi-9.0.tar.gz) = 4d5bd5e21252ab4e79c14413afb922d69beba802519c9f38796f6c1372abac41 +SIZE (biboumi-9.0.tar.gz) = 201049 Property changes on: net-im/biboumi/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/files/biboumi.in =================================================================== --- net-im/biboumi/files/biboumi.in (nonexistent) +++ net-im/biboumi/files/biboumi.in (working copy) @@ -0,0 +1,38 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: biboumi +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# biboumi_enable (bool): Set to NO by default. +# Set it to YES to enable biboumi. +# biboumi_config (path): Set to %%PREFIX%%/etc/biboumi/biboumi.cfg +# by default. + +. /etc/rc.subr + +name=biboumi +rcvar=biboumi_enable +pidfile="/var/run/biboumi/biboumi.pid" +procname="%%PREFIX%%/bin/biboumi" + +load_rc_config $name + +: ${biboumi_enable:="NO"} +: ${biboumi_config="%%PREFIX%%/etc/biboumi/biboumi.cfg"} + +command="/usr/sbin/daemon" +command_args="-p ${pidfile} -f ${procname} ${biboumi_config}" +extra_commands="reload" +required_files="$biboumi_config" +sig_reload="USR1" + +biboumi_user="%%USER%%" +biboumi_group="%%GROUP%%" + +run_rc_command "$1" Property changes on: net-im/biboumi/files/biboumi.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/files/patch-doc_Makefile =================================================================== --- net-im/biboumi/files/patch-doc_Makefile (nonexistent) +++ net-im/biboumi/files/patch-doc_Makefile (working copy) @@ -0,0 +1,11 @@ +--- doc/Makefile.orig 2020-10-24 17:19:42 UTC ++++ doc/Makefile +@@ -16,5 +16,5 @@ help: + + # Catch-all target: route all unknown targets to Sphinx using the new + # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +-%: Makefile +- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +\ No newline at end of file ++.DEFAULT: Makefile ++ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) Property changes on: net-im/biboumi/files/patch-doc_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/pkg-descr =================================================================== --- net-im/biboumi/pkg-descr (nonexistent) +++ net-im/biboumi/pkg-descr (working copy) @@ -0,0 +1,5 @@ +Biboumi is a Free, Libre and Open Source XMPP gateway that connects to IRC +servers and translates between the two protocols. Its goal is to let XMPP users +take part in IRC discussions, using their favourite XMPP client. + +WWW: https://biboumi.louiz.org/ Property changes on: net-im/biboumi/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/pkg-message =================================================================== --- net-im/biboumi/pkg-message (nonexistent) +++ net-im/biboumi/pkg-message (working copy) @@ -0,0 +1,5 @@ +Regarding TLS connections to IRC servers, settings can be customized globally or +per server. This is done using policy txt files, examples can be found in +%%PREFIX%%/share/examples/biboumi/. + +ca_file (in biboumi.cfg) should be set to %%PREFIX%%/share/certs/ca-root-nss.crt Property changes on: net-im/biboumi/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-im/biboumi/pkg-plist =================================================================== --- net-im/biboumi/pkg-plist (nonexistent) +++ net-im/biboumi/pkg-plist (working copy) @@ -0,0 +1,10 @@ +bin/biboumi +man/man1/biboumi.1.gz +@sample %%ETCDIR%%/biboumi.cfg.sample %%ETCDIR%%/biboumi.cfg +@dir(%%USER%%,%%GROUP%%) /var/db/biboumi +@dir(%%USER%%,%%GROUP%%) /var/run/biboumi +%%EXAMPLESDIR%%/policy.txt +%%EXAMPLESDIR%%/irc.gimp.org.policy.txt +%%EXAMPLESDIR%%/irc.gnome.org.policy.txt +%%EXAMPLESDIR%%/irc.mozilla.org.policy.txt +%%EXAMPLESDIR%%/irc.ppirc.net.policy.txt Property changes on: net-im/biboumi/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property