diff --git a/irc/Makefile b/irc/Makefile index 358c39ad6c5d..5a5a863fb5fc 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -84,6 +84,7 @@ SUBDIR += pircbot SUBDIR += pisg SUBDIR += polari + SUBDIR += pounce SUBDIR += py-fishcrypt SUBDIR += py-irc SUBDIR += py-limnoria diff --git a/irc/pounce/Makefile b/irc/pounce/Makefile new file mode 100644 index 000000000000..fe78cd68a022 --- /dev/null +++ b/irc/pounce/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pounce +DISTVERSION= 2.3 +CATEGORIES= irc +MASTER_SITES= https://git.causal.agency/pounce/snapshot/ + +MAINTAINER= june@causal.agency +COMMENT= Multi-client IRC bouncer + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= localbase:ldflags ssl + +MAKE_ENV+= MANDIR=${MANPREFIX}/man +CFLAGS+= -D'OPENSSL_BIN=\"${LOCALBASE}/bin/openssl\"' +CFLAGS+= -D'CERTBOT_PATH=\"${LOCALBASE}/etc/letsencrypt\"' + +.include + +.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl +LIB_DEPENDS+= libtls.so:security/libretls +.endif + +post-install: + @${MKDIR} ${STAGEDIR}${ETCDIR} + @${MKDIR} ${STAGEDIR}/var/run/calico +.for b in calico pounce + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b} +.endfor + +.include diff --git a/irc/pounce/distinfo b/irc/pounce/distinfo new file mode 100644 index 000000000000..ec11a407dcfa --- /dev/null +++ b/irc/pounce/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620429245 +SHA256 (pounce-2.3.tar.gz) = 47e77cf01ccd94c6ecb83410d7f832426de61e28573b7aa4ac60fec5ac3f468b +SIZE (pounce-2.3.tar.gz) = 49151 diff --git a/irc/pounce/pkg-descr b/irc/pounce/pkg-descr new file mode 100644 index 000000000000..68679a245202 --- /dev/null +++ b/irc/pounce/pkg-descr @@ -0,0 +1,5 @@ +pounce is a multi-client, TLS-only IRC bouncer. It takes a simple +approach, using a multiple-consumer ring buffer and the IRCv3.2 +server-time extension to communicate with clients. + +WWW: https://git.causal.agency/pounce/ diff --git a/irc/pounce/pkg-plist b/irc/pounce/pkg-plist new file mode 100644 index 000000000000..a8e8d7c0e08e --- /dev/null +++ b/irc/pounce/pkg-plist @@ -0,0 +1,6 @@ +bin/calico +bin/pounce +man/man1/calico.1.gz +man/man1/pounce.1.gz +@dir etc/pounce +@dir /var/run/calico