Browse Source

Rename project catgirl

This simplifies things.
master
Causal Agent 10 months ago
parent
commit
85ea911b79
Signed by: Curtis McEnroe <june@causal.agency> GPG Key ID: CEA2F97ADCFCD77C
9 changed files with 31 additions and 31 deletions
  1. 1
    1
      .gitignore
  2. 11
    11
      Makefile
  3. 5
    5
      README
  4. 5
    5
      catgirl.1
  5. 5
    5
      catgirl.7
  6. 1
    1
      chat.h
  7. 1
    1
      input.c
  8. 1
    1
      man.sh
  9. 1
    1
      sshd_config

+ 1
- 1
.gitignore View File

@@ -1,6 +1,6 @@
*.o
*.t
chatte
catgirl
chroot.tar
root
tags

+ 11
- 11
Makefile View File

@@ -27,12 +27,12 @@ OBJS += url.o
TESTS += format.t
TESTS += term.t

all: tags chatte test
all: tags catgirl test

tags: *.h *.c
ctags -w *.h *.c

chatte: $(OBJS)
catgirl: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@

$(OBJS): chat.h
@@ -45,16 +45,16 @@ test: $(TESTS)
.c.t:
$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@

install: chatte chatte.1
install: catgirl catgirl.1
install -d $(PREFIX)/bin $(MANPATH)/man1
install chatte $(PREFIX)/bin/chatte
install -m 644 chatte.1 $(MANPATH)/man1/chatte.1
install catgirl $(PREFIX)/bin/catgirl
install -m 644 catgirl.1 $(MANPATH)/man1/catgirl.1

uninstall:
rm -f $(PREFIX)/bin/chatte
rm -f $(MANPATH)/man1/chatte.1
rm -f $(PREFIX)/bin/catgirl
rm -f $(MANPATH)/man1/catgirl.1

chroot.tar: chatte chatte.1 man.sh
chroot.tar: catgirl catgirl.1 man.sh
install -d -o root -g wheel \
root \
root/bin \
@@ -88,7 +88,7 @@ chroot.tar: chatte chatte.1 man.sh
tar -c -f chroot.tar -C root bin etc home lib libexec usr

clean:
rm -rf tags chatte $(OBJS) $(TESTS) root chroot.tar
rm -rf tags catgirl $(OBJS) $(TESTS) root chroot.tar

README: chatte.7
mandoc chatte.7 | sed $$'s/.\b//g' > README
README: catgirl.7
mandoc catgirl.7 | col -b -x > README

+ 5
- 5
README View File

@@ -1,10 +1,10 @@
CHATTE(7) Miscellaneous Information Manual CHATTE(7)
CATGIRL(7) Miscellaneous Information Manual CATGIRL(7)

NAME
chatte – IRC for catgirls
catgirl – IRC client

DESCRIPTION
chatte is a curses IRC client originally intended for use over anonymous
catgirl is a curses IRC client originally intended for use over anonymous
SSH.

It requires LibreSSL and targets FreeBSD and Darwin.
@@ -29,6 +29,6 @@ FILES
man.sh man(1) implementation for chroot

SEE ALSO
chatte(1)
catgirl(1)

Causal Agency September 15, 2018 Causal Agency
Causal Agency November 27, 2018 Causal Agency

chatte.1 → catgirl.1 View File

@@ -1,10 +1,10 @@
.Dd September 8, 2018
.Dt CHATTE 1
.Dd November 27, 2018
.Dt CATGIRL 1
.Os "Causal Agency"
.
.Sh NAME
.Nm chatte
.Nd IRC for catgirls
.Nm catgirl
.Nd IRC client
.
.Sh SYNOPSIS
.Nm
@@ -363,7 +363,7 @@ usually the client IP address.
.El
.
.Sh EXAMPLES
.Dl chatte -h ascii.town -j '&chatte'
.Dl catgirl -h ascii.town -j '&catgirl'
.
.Sh STANDARDS
.Rs

chatte.7 → catgirl.7 View File

@@ -1,10 +1,10 @@
.Dd September 15, 2018
.Dt CHATTE 7
.Dd November 27, 2018
.Dt CATGIRL 7
.Os "Causal Agency"
.
.Sh NAME
.Nm chatte
.Nd IRC for catgirls
.Nm catgirl
.Nd IRC client
.
.Sh DESCRIPTION
.Nm
@@ -60,4 +60,4 @@ implementation for chroot
.El
.
.Sh SEE ALSO
.Xr chatte 1
.Xr catgirl 1

+ 1
- 1
chat.h View File

@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#define SOURCE_URL "https://code.causal.agency/june/chatte"
#define SOURCE_URL "https://code.causal.agency/june/catgirl"

#include <stdarg.h>
#include <stdbool.h>

+ 1
- 1
input.c View File

@@ -144,7 +144,7 @@ static void inputClose(struct Tag tag, char *params) {
static void inputMan(struct Tag tag, char *params) {
(void)tag;
(void)params;
eventWait((const char *[]) { "man", "1", "chatte", NULL });
eventWait((const char *[]) { "man", "1", "catgirl", NULL });
}

static const struct {

+ 1
- 1
man.sh View File

@@ -1,2 +1,2 @@
#!/bin/sh
exec mandoc /usr/share/man/man1/chatte.1 | LESSSECURE=1 less
exec mandoc /usr/share/man/man1/catgirl.1 | LESSSECURE=1 less

+ 1
- 1
sshd_config View File

@@ -4,7 +4,7 @@ Match User chat
PasswordAuthentication yes
PermitEmptyPasswords yes
ChrootDirectory /home/chat
ForceCommand chatte
ForceCommand catgirl

AllowAgentForwarding no
AllowTcpForwarding no

Loading…
Cancel
Save