diff options
author | nia <nia@pkgsrc.org> | 2022-03-04 10:09:14 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-03-04 10:09:14 +0000 |
commit | b312571c5098ad382da26c7840785fac04c8bfd0 (patch) | |
tree | 886eab1466afa1136bd9784b679d688f7ff00a36 /chat/catgirl | |
parent | 491cd914dec34c356e63b679bd37127e400f2a8c (diff) | |
download | pkgsrc-b312571c5098ad382da26c7840785fac04c8bfd0.tar.gz |
add chat/catgirl
catgirl(1) is a TLS-only terminal IRC client.
Notable Features:
* Tab complete: most recently seen or mentioned nicks are completed first.
Commas are inserted between multiple nicks.
* Prompt: the prompt clearly shows whether input will be interpreted as a
command or sent as a message.
* Split scroll: keeps the latest messages in view while scrolling.
* URL detection: recent URLs from a particular user or matching a substring
can be opened or copied.
* Nick coloring: color generation based on usernames remains stable across
nick changes. Mentions of users in messages are colored.
* Topic diffing: the modified portion of a channel topic change is highlighted.
* Ignore: visibility of filtered messages can be toggled.
Diffstat (limited to 'chat/catgirl')
-rw-r--r-- | chat/catgirl/DESCR | 21 | ||||
-rw-r--r-- | chat/catgirl/Makefile | 27 | ||||
-rw-r--r-- | chat/catgirl/PLIST | 3 | ||||
-rw-r--r-- | chat/catgirl/distinfo | 6 | ||||
-rw-r--r-- | chat/catgirl/patches/patch-configure | 19 |
5 files changed, 76 insertions, 0 deletions
diff --git a/chat/catgirl/DESCR b/chat/catgirl/DESCR new file mode 100644 index 00000000000..0544d3caebc --- /dev/null +++ b/chat/catgirl/DESCR @@ -0,0 +1,21 @@ +catgirl(1) is a TLS-only terminal IRC client. + +Notable Features: + +* Tab complete: most recently seen or mentioned nicks are completed first. +Commas are inserted between multiple nicks. + +* Prompt: the prompt clearly shows whether input will be interpreted as a +command or sent as a message. + +* Split scroll: keeps the latest messages in view while scrolling. + +* URL detection: recent URLs from a particular user or matching a substring +can be opened or copied. + +* Nick coloring: color generation based on usernames remains stable across +nick changes. Mentions of users in messages are colored. + +* Topic diffing: the modified portion of a channel topic change is highlighted. + +* Ignore: visibility of filtered messages can be toggled. diff --git a/chat/catgirl/Makefile b/chat/catgirl/Makefile new file mode 100644 index 00000000000..7cec204f09b --- /dev/null +++ b/chat/catgirl/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2022/03/04 10:09:15 nia Exp $ + +DISTNAME= catgirl-2.1 +CATEGORIES= chat +MASTER_SITES= https://git.causal.agency/catgirl/snapshot/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://git.causal.agency/catgirl/about/ +COMMENT= TLS-only terminal IRC client +LICENSE= gnu-gpl-v3 + +USE_TOOLS+= pkg-config + +HAS_CONFIGURE= yes + +MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR} + +SUBST_CLASSES+= ssl +SUBST_STAGE.ssl= pre-configure +SUBST_MESSAGE.ssl= Correcting the hardcoded path to OpenSSL. +SUBST_FILES.ssl+= configure +SUBST_SED.ssl+= -e "s,OPENSSL_BIN /usr/bin/openssl,OPENSSL_BIN ${SSLBASE}/bin/openssl,g" +SUBST_SED.ssl+= -e "s,OPENSSL_BIN /bin/openssl,OPENSSL_BIN ${SSLBASE}/bin/openssl,g" + +.include "../../devel/ncursesw/buildlink3.mk" +.include "../../security/libretls/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/chat/catgirl/PLIST b/chat/catgirl/PLIST new file mode 100644 index 00000000000..e796183562c --- /dev/null +++ b/chat/catgirl/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2022/03/04 10:09:15 nia Exp $ +bin/catgirl +man/man1/catgirl.1 diff --git a/chat/catgirl/distinfo b/chat/catgirl/distinfo new file mode 100644 index 00000000000..e3a09226cc3 --- /dev/null +++ b/chat/catgirl/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2022/03/04 10:09:15 nia Exp $ + +BLAKE2s (catgirl-2.1.tar.gz) = 9240c414032c3965dfec9db544526aa82bc106bf7a5c2200547ea5901ea10230 +SHA512 (catgirl-2.1.tar.gz) = 3b77ae3cc382c8db2918baf73e08d8397a55f752959aad23014235d335d48bbff3d329f75b6663c8fe8dfa74a525b22d51209408ccad9f14e28488116e6c5fee +Size (catgirl-2.1.tar.gz) = 68822 bytes +SHA1 (patch-configure) = b9fad3ffe61313d9cbd3ac2c7675c3b17dfe45f4 diff --git a/chat/catgirl/patches/patch-configure b/chat/catgirl/patches/patch-configure new file mode 100644 index 00000000000..539bf257d1b --- /dev/null +++ b/chat/catgirl/patches/patch-configure @@ -0,0 +1,19 @@ +$NetBSD: patch-configure,v 1.1 2022/03/04 10:09:15 nia Exp $ + +NetBSD support. Note that native curses does not work. + +--- configure.orig 2022-02-23 23:05:10.000000000 +0000 ++++ configure +@@ -53,6 +53,12 @@ case "$(uname)" in + config libtls ncursesw + defvar OPENSSL_BIN openssl exec_prefix /bin/openssl + ;; ++ (NetBSD) ++ cflags "-D'explicit_bzero(b,l)=explicit_memset((b),0,(l))'" ++ config libtls ncursesw ++ defvar OPENSSL_BIN openssl exec_prefix /usr/bin/openssl ++ echo 'OBJS += compat_readpassphrase.o' ++ ;; + (*) + config libtls ncursesw + defvar OPENSSL_BIN openssl exec_prefix /bin/openssl |