View | Details | Raw Unified | Return to bug 250705 | Differences between
and this patch

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 209-215 Link Here
209
step:*:266:
209
step:*:266:
210
odoo:*:267:
210
odoo:*:267:
211
tenshi:*:268:tenshi
211
tenshi:*:268:tenshi
212
# free: 269
212
biboumi:*:269:
213
_rpki-client:*:270:
213
_rpki-client:*:270:
214
# free: 271
214
# free: 271
215
# free: 272
215
# free: 272
(-)UIDs (-1 / +1 lines)
Lines 214-220 Link Here
214
step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nologin
214
step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nologin
215
odoo:*:267:267::0:0:Odoo ERP:/nonexistent:/usr/sbin/nologin
215
odoo:*:267:267::0:0:Odoo ERP:/nonexistent:/usr/sbin/nologin
216
tenshi:*:268:268::0:0:Tenshi user:/var/lib/tenshi:/usr/sbin/nologin
216
tenshi:*:268:268::0:0:Tenshi user:/var/lib/tenshi:/usr/sbin/nologin
217
# free: 269
217
biboumi:*:269:269::0:0:biboumi:/nonexistent:/usr/sbin/nologin
218
_rpki-client:*:270:270::0:0:rpki-client user:/nonexistent:/usr/sbin/nologin
218
_rpki-client:*:270:270::0:0:rpki-client user:/nonexistent:/usr/sbin/nologin
219
# free: 271
219
# free: 271
220
# free: 272
220
# free: 272
(-)net-im/biboumi/Makefile (+84 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	biboumi
4
DISTVERSION=	9.0
5
CATEGORIES=	net-im
6
MASTER_SITES=	https://git.louiz.org/biboumi/snapshot/
7
8
MAINTAINER=	samir@noir.im
9
COMMENT=	XMPP gateway to IRC
10
11
LICENSE=	ZLIB
12
13
BUILD_DEPENDS=	git:devel/git \
14
		${PY_SPHINX}
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
16
		libuuid.so:misc/e2fsprogs-libuuid
17
18
USES=		cmake iconv localbase:ldflags pkgconfig python:build
19
CMAKE_ARGS+=	-DWITHOUT_SYSTEMD=1
20
21
OPTIONS_DEFINE=		DOCS LIBIDN PGSQL SQLITE3 TLS UDNS
22
OPTIONS_DEFAULT=	LIBIDN PGSQL SQLITE3 TLS UDNS
23
24
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme
25
DOCS_PORTDOCS=		*
26
27
LIBIDN_LIB_DEPENDS=	libidn.so:dns/libidn
28
LIBIDN_CMAKE_ON=	-DWITH_LIBIDN=1
29
LIBIDN_CMAKE_OFF=	-DWITHOUT_LIBIDN=1
30
LIBIDN_DESC=		Stringprep functionality, to provide JIDs for IRC users
31
32
SQLITE3_USES=		sqlite:3
33
SQLITE3_CMAKE_ON=	-DWITH_SQLITE3=1
34
SQLITE3_CMAKE_OFF=	-DWITHOUT_SQLITE3=1
35
SQLITE3_DESC=		Store users' options and messages in SQLite
36
37
PGSQL_USES=		pgsql
38
PGSQL_CMAKE_ON=		-DWITH_POSTGRESQL=1
39
PGSQL_CMAKE_OFF=	-DWITHOUT_POSTGRESQL=1
40
PGSQL_DESC=		Store users' options and messages in PostgreSQL
41
42
TLS_LIB_DEPENDS=	libbotan-2.so:security/botan2
43
TLS_LIB_DEPENDS_OFF=	libgcrypt.so:security/libgcrypt
44
TLS_RUN_DEPENDS_ON=	ca_root_nss>0:security/ca_root_nss
45
TLS_CMAKE_ON=		-DWITH_BOTAN=1
46
TLS_CMAKE_OFF=		-DWITHOUT_BOTAN=1
47
TLS_DESC=		Support TLS connections to IRC servers
48
49
UDNS_LIB_DEPENDS=	libudns.so:dns/udns
50
UDNS_CMAKE_ON=		-DWITH_UDNS=1
51
UDNS_CMAKE_OFF=		-DWITHOUT_UDNS=1
52
UDNS_DESC=		Asynchronously resolve domain names, for better performances
53
54
USERS=		biboumi
55
GROUPS=		${USERS}
56
57
USE_RC_SUBR=	biboumi
58
SUB_LIST=	USER=${USERS} GROUP=${GROUPS}
59
PLIST_SUB=	${SUB_LIST}
60
61
post-build:
62
	cd ${WRKSRC}/doc && ${MAKE} man
63
64
post-build-DOCS-on:
65
	cd ${WRKSRC}/doc && ${MAKE} html
66
67
do-install:
68
	${INSTALL_PROGRAM} ${WRKDIR}/.build/biboumi ${STAGEDIR}${PREFIX}/bin
69
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/biboumi
70
	${INSTALL_DATA} ${WRKSRC}/conf/biboumi.cfg ${STAGEDIR}${ETCDIR}/biboumi.cfg.sample
71
72
post-install:
73
	${MKDIR} ${STAGEDIR}/var/db/biboumi
74
	${MKDIR} ${STAGEDIR}/var/run/biboumi
75
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
76
	${INSTALL_DATA} ${WRKSRC}/conf/*policy.txt ${STAGEDIR}${EXAMPLESDIR}
77
	${INSTALL_MAN} ${WRKSRC}/doc/_build/man/*.1 ${STAGEDIR}${PREFIX}/man/man1
78
79
post-install-DOCS-on:
80
	${MKDIR} ${STAGEDIR}${DOCSDIR}
81
	(cd ${WRKSRC}/doc/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
82
		"! -name .buildinfo")
83
84
.include <bsd.port.mk>
(-)net-im/biboumi/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1602940785
2
SHA256 (biboumi-9.0.tar.gz) = 4d5bd5e21252ab4e79c14413afb922d69beba802519c9f38796f6c1372abac41
3
SIZE (biboumi-9.0.tar.gz) = 201049
(-)net-im/biboumi/files/biboumi.in (+38 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: biboumi
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
9
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# biboumi_enable (bool):        Set to NO by default.
13
#                               Set it to YES to enable biboumi.
14
# biboumi_config (path):        Set to %%PREFIX%%/etc/biboumi/biboumi.cfg
15
#                               by default.
16
17
. /etc/rc.subr
18
19
name=biboumi
20
rcvar=biboumi_enable
21
pidfile="/var/run/biboumi/biboumi.pid"
22
procname="%%PREFIX%%/bin/biboumi"
23
24
load_rc_config $name
25
26
: ${biboumi_enable:="NO"}
27
: ${biboumi_config="%%PREFIX%%/etc/biboumi/biboumi.cfg"}
28
29
command="/usr/sbin/daemon"
30
command_args="-p ${pidfile} -f ${procname} ${biboumi_config}"
31
extra_commands="reload"
32
required_files="$biboumi_config"
33
sig_reload="USR1"
34
35
biboumi_user="%%USER%%"
36
biboumi_group="%%GROUP%%"
37
38
run_rc_command "$1"
(-)net-im/biboumi/files/patch-doc_Makefile (+11 lines)
Line 0 Link Here
1
--- doc/Makefile.orig	2020-10-24 17:19:42 UTC
2
+++ doc/Makefile
3
@@ -16,5 +16,5 @@ help:
4
 
5
 # Catch-all target: route all unknown targets to Sphinx using the new
6
 # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
7
-%: Makefile
8
-	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
9
\ No newline at end of file
10
+.DEFAULT: Makefile
11
+	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
(-)net-im/biboumi/pkg-descr (+5 lines)
Line 0 Link Here
1
Biboumi is a Free, Libre and Open Source XMPP gateway that connects to IRC
2
servers and translates between the two protocols. Its goal is to let XMPP users
3
take part in IRC discussions, using their favourite XMPP client.
4
5
WWW: https://biboumi.louiz.org/
(-)net-im/biboumi/pkg-message (+5 lines)
Line 0 Link Here
1
Regarding TLS connections to IRC servers, settings can be customized globally or
2
per server. This is done using policy txt files, examples can be found in
3
%%PREFIX%%/share/examples/biboumi/.
4
5
ca_file (in biboumi.cfg) should be set to %%PREFIX%%/share/certs/ca-root-nss.crt
(-)net-im/biboumi/pkg-plist (+10 lines)
Line 0 Link Here
1
bin/biboumi
2
man/man1/biboumi.1.gz
3
@sample %%ETCDIR%%/biboumi.cfg.sample %%ETCDIR%%/biboumi.cfg
4
@dir(%%USER%%,%%GROUP%%) /var/db/biboumi
5
@dir(%%USER%%,%%GROUP%%) /var/run/biboumi
6
%%EXAMPLESDIR%%/policy.txt
7
%%EXAMPLESDIR%%/irc.gimp.org.policy.txt
8
%%EXAMPLESDIR%%/irc.gnome.org.policy.txt
9
%%EXAMPLESDIR%%/irc.mozilla.org.policy.txt
10
%%EXAMPLESDIR%%/irc.ppirc.net.policy.txt

Return to bug 250705