pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat add chat/catgirl



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df92a0f3b523
branches:  trunk
changeset: 374965:df92a0f3b523
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 04 10:09:14 2022 +0000

description:
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:

 chat/Makefile                        |   3 ++-
 chat/catgirl/DESCR                   |  21 +++++++++++++++++++++
 chat/catgirl/Makefile                |  27 +++++++++++++++++++++++++++
 chat/catgirl/PLIST                   |   3 +++
 chat/catgirl/distinfo                |   6 ++++++
 chat/catgirl/patches/patch-configure |  19 +++++++++++++++++++
 6 files changed, 78 insertions(+), 1 deletions(-)

diffs (113 lines):

diff -r 799b0a91df9f -r df92a0f3b523 chat/Makefile
--- a/chat/Makefile     Fri Mar 04 09:36:21 2022 +0000
+++ b/chat/Makefile     Fri Mar 04 10:09:14 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.269 2022/03/04 08:45:46 nia Exp $
+# $NetBSD: Makefile,v 1.270 2022/03/04 10:09:14 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -14,6 +14,7 @@
 SUBDIR+=       bitlbee-steam
 SUBDIR+=       bnc
 SUBDIR+=       carbons-purple
+SUBDIR+=       catgirl
 SUBDIR+=       centerim
 SUBDIR+=       centerim5
 SUBDIR+=       cgiirc
diff -r 799b0a91df9f -r df92a0f3b523 chat/catgirl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/catgirl/DESCR        Fri Mar 04 10:09:14 2022 +0000
@@ -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 -r 799b0a91df9f -r df92a0f3b523 chat/catgirl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/catgirl/Makefile     Fri Mar 04 10:09:14 2022 +0000
@@ -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@localhost
+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 -r 799b0a91df9f -r df92a0f3b523 chat/catgirl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/catgirl/PLIST        Fri Mar 04 10:09:14 2022 +0000
@@ -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 -r 799b0a91df9f -r df92a0f3b523 chat/catgirl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/catgirl/distinfo     Fri Mar 04 10:09:14 2022 +0000
@@ -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 -r 799b0a91df9f -r df92a0f3b523 chat/catgirl/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/catgirl/patches/patch-configure      Fri Mar 04 10:09:14 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index