A user-friendly IRC bouncer.

- Multi-user

 - Support multiple clients for a single user, with proper backlog
   synchronization

 - Support connecting to multiple upstream servers via a single IRC
   connection to the bouncer

WWW: https://soju.im
This commit is contained in:
Ashish SHUKLA 2020-12-17 16:49:50 +00:00
parent 7653b8bb59
commit b0d0b4850e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558305
5 changed files with 98 additions and 0 deletions

View File

@ -106,6 +106,7 @@
SUBDIR += sirc
SUBDIR += smartirc4net
SUBDIR += smuxi
SUBDIR += soju
SUBDIR += srain
SUBDIR += srvx
SUBDIR += thales

52
irc/soju/Makefile Normal file
View File

@ -0,0 +1,52 @@
# $FreeBSD$
PORTNAME= soju
DISTVERSION= 0.0.20201214
CATEGORIES= irc
MASTER_SITES= https://git.sr.ht/~emersion/go-scfg/archive/:goscfg
DISTNAME= go-scfg-${GO_SCFG_REV}
DISTFILES= ${GO_SCFG_REV}.tar.gz:goscfg
MAINTAINER= ashish@FreeBSD.org
COMMENT= IRC bouncer
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
OPTIONS_DEFAULT= DOCS
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
GH_ACCOUNT= emersion
GH_TAGNAME= 0ddc0de
GH_TUPLE= emersion:go-sasl:7bfe0ed36a21:emersion_go_sasl/vendor/github.com/emersion/go-sasl \
go-irc:irc:v3.1.3:go_irc_irc/vendor/gopkg.in/irc.v3 \
golang:crypto:9e8e0b390897:golang_crypto/vendor/golang.org/x/crypto \
golang:sys:9f70ab9862d5:golang_sys/vendor/golang.org/x/sys \
google:shlex:e7afc7fbc510:google_shlex/vendor/github.com/google/shlex \
klauspost:compress:v1.11.1:klauspost_compress/vendor/github.com/klauspost/compress \
mattn:go-sqlite3:v1.14.4:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
pires:go-proxyproto:v0.2.0:pires_go_proxyproto/vendor/github.com/pires/go-proxyproto \
nhooyr:websocket:v1.8.6:nhooyr_websocket/vendor/nhooyr.io/websocket
GO_SCFG_REV= 142a8aa629fc
GO_PKGNAME= ./cmd/soju ./cmd/sojuctl
PLIST_FILES= bin/soju \
bin/sojuctl
DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc
DOCS_PLIST_FILES= man/man1/soju.1.gz
post-extract:
${MKDIR} ${WRKSRC}/vendor/git.sr.ht/~emersion
${MV} ${WRKDIR}/go-scfg-${GO_SCFG_REV} ${WRKSRC}/vendor/git.sr.ht/~emersion/go-scfg
post-build-DOCS-on:
${LOCALBASE}/bin/scdoc <${WRKSRC}/doc/${PORTNAME}.1.scd >${WRKSRC}/doc/${PORTNAME}.1
post-install-DOCS-on:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>

23
irc/soju/distinfo Normal file
View File

@ -0,0 +1,23 @@
TIMESTAMP = 1608214453
SHA256 (142a8aa629fc.tar.gz) = e4207bf970ca3bee03c7e71759af7dbe8f937fcf7a34a541af10ea2c7109a216
SIZE (142a8aa629fc.tar.gz) = 3112
SHA256 (emersion-soju-0.0.20201214-0ddc0de_GH0.tar.gz) = 8466d19f82f26c9deb58912692885964d16b46d0aea3ea7c68f7aa381bbb9e0a
SIZE (emersion-soju-0.0.20201214-0ddc0de_GH0.tar.gz) = 69092
SHA256 (emersion-go-sasl-7bfe0ed36a21_GH0.tar.gz) = 81a37103a797ba674f0d023c98165ec84a45799971d8834e345077d084abbbb7
SIZE (emersion-go-sasl-7bfe0ed36a21_GH0.tar.gz) = 7106
SHA256 (go-irc-irc-v3.1.3_GH0.tar.gz) = 21766600f5dbbc63b31c84e9d044f310fdc5058145a2bc4fbe2df7a75c8e77e5
SIZE (go-irc-irc-v3.1.3_GH0.tar.gz) = 47548
SHA256 (golang-crypto-9e8e0b390897_GH0.tar.gz) = 79bd9db71da6ec75f3df7b7e43aeb90983227058ce9b8d0f08405a141768b3c3
SIZE (golang-crypto-9e8e0b390897_GH0.tar.gz) = 1732662
SHA256 (golang-sys-9f70ab9862d5_GH0.tar.gz) = d97abbad76f3cbacc96d49d0a5da45f3193dad52aad86bb5c6f2024fbce457fc
SIZE (golang-sys-9f70ab9862d5_GH0.tar.gz) = 1072169
SHA256 (google-shlex-e7afc7fbc510_GH0.tar.gz) = 87f77e98720add261add169e386cbdcc894e2635dca299bc4119dc417ea321ca
SIZE (google-shlex-e7afc7fbc510_GH0.tar.gz) = 7342
SHA256 (klauspost-compress-v1.11.1_GH0.tar.gz) = be25acec4ef0d88f4996a5b35855c9958a8fec3430f9303c1e96fbbbbd3a8400
SIZE (klauspost-compress-v1.11.1_GH0.tar.gz) = 17324257
SHA256 (mattn-go-sqlite3-v1.14.4_GH0.tar.gz) = 0caea07682570b32882701e33e2425382ff61edb5986a8892842d305b9025cb3
SIZE (mattn-go-sqlite3-v1.14.4_GH0.tar.gz) = 2353947
SHA256 (pires-go-proxyproto-v0.2.0_GH0.tar.gz) = ca428bfb1edd3f1ef99897039d51da2b09ca2a1dfb00663faec49b3d9d2cfa2a
SIZE (pires-go-proxyproto-v0.2.0_GH0.tar.gz) = 28409
SHA256 (nhooyr-websocket-v1.8.6_GH0.tar.gz) = 9b095877cf79792b6d788d1d2b9f2ee31bd2be81f45981a3e6a4bc4498d84e83
SIZE (nhooyr-websocket-v1.8.6_GH0.tar.gz) = 51231

11
irc/soju/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
A user-friendly IRC bouncer.
- Multi-user
- Support multiple clients for a single user, with proper backlog
synchronization
- Support connecting to multiple upstream servers via a single IRC
connection to the bouncer
WWW: https://soju.im

11
irc/soju/pkg-descr~ Normal file
View File

@ -0,0 +1,11 @@
A user-friendly IRC bouncer.
- Multi-user
- Support multiple clients for a single user, with proper backlog
synchronization
- Support connecting to multiple upstream servers via a single IRC
connection to the bouncer
WWW: https://sr.ht/~emersion/soju