diff options
| author | 2025-10-30 23:30:50 +0100 | |
|---|---|---|
| committer | 2025-11-01 10:24:56 +0100 | |
| commit | bdb43c486b1f5dbd8eedf866b4161b31f1e5d75a (patch) | |
| tree | f1b9a6642376db8c71f9767319cda1f26ef3b3f6 | |
| parent | 945f3a935d85d55c23d5cfe4b98b064532dc6bcd (diff) | |
| download | tweetpipe-bdb43c486b1f5dbd8eedf866b4161b31f1e5d75a.tar.gz | |
Rename encpipe to tweetpipe
| -rw-r--r-- | Makefile | 22 | ||||
| -rw-r--r-- | src/tweetpipe.c (renamed from src/encpipe.c) | 6 | ||||
| -rw-r--r-- | src/tweetpipe_p.h (renamed from src/encpipe_p.h) | 0 |
3 files changed, 14 insertions, 14 deletions
@@ -4,45 +4,45 @@ CFLAGS ?= -O3 -mtune=native -fno-exceptions -flto $(WFLAGS) CPPFLAGS += -I. -Iext/tweetnacl -Iext/tweetpwhash -Iext/util STRIP ?= strip -OBJ = ext/tweetnacl/tweetnacl.o ext/tweetpwhash/tweetpwhash.o ext/util/util.o src/encpipe.o src/safe_rw.o +OBJ = ext/tweetnacl/tweetnacl.o ext/tweetpwhash/tweetpwhash.o ext/util/util.o src/tweetpipe.o src/safe_rw.o SRC = \ ext/tweetnacl/tweetnacl.c \ ext/tweetpwhash/tweetpwhash.c \ ext/util/util.c \ src/common.h \ - src/encpipe.c \ - src/encpipe_p.h \ + src/tweetpipe.c \ + src/tweetpipe_p.h \ src/safe_rw.c \ src/safe_rw.h all: bin test -bin: encpipe +bin: tweetpipe $(OBJ): $(SRC) .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< -encpipe: $(OBJ) - $(CC) $(CFLAGS) -o encpipe $(LDFLAGS) $(OBJ) +tweetpipe: $(OBJ) + $(CC) $(CFLAGS) -o tweetpipe $(LDFLAGS) $(OBJ) install: all - -$(STRIP) --strip-all encpipe 2> /dev/null || $(STRIP) encpipe 2> /dev/null + -$(STRIP) --strip-all tweetpipe 2> /dev/null || $(STRIP) tweetpipe 2> /dev/null mkdir -p $(PREFIX)/bin - install -o 0 -g 0 -m 0755 encpipe $(PREFIX)/bin 2> /dev/null || install -m 0755 encpipe $(PREFIX)/bin + install -o 0 -g 0 -m 0755 tweetpipe $(PREFIX)/bin 2> /dev/null || install -m 0755 tweetpipe $(PREFIX)/bin uninstall: - rm -f $(PREFIX)/bin/encpipe + rm -f $(PREFIX)/bin/tweetpipe test: bin - @echo test | ./encpipe -e -p password | ./encpipe -d -p password -o /dev/null + @echo test | ./tweetpipe -e -p password | ./tweetpipe -d -p password -o /dev/null .PHONY: clean clean: - rm -f encpipe $(OBJ) + rm -f tweetpipe $(OBJ) distclean: clean diff --git a/src/encpipe.c b/src/tweetpipe.c index a41a222..9dd5676 100644 --- a/src/encpipe.c +++ b/src/tweetpipe.c @@ -1,4 +1,4 @@ -#include "encpipe_p.h" +#include "tweetpipe_p.h" #include "tweetpwhash.h" #include "util.h" @@ -14,8 +14,8 @@ usage(FILE *stream) { fputs( "Usage:\n" - " encpipe -G\n" - " encpipe {-e | -d} {-p <string> | -P <file>} [-i <file>] [-o <file>]\n" + " tweetpipe -G\n" + " tweetpipe {-e | -d} {-p <string> | -P <file>} [-i <file>] [-o <file>]\n" "\n" "Options:\n" " -G, --passgen generate a random password\n" diff --git a/src/encpipe_p.h b/src/tweetpipe_p.h index 06fc523..06fc523 100644 --- a/src/encpipe_p.h +++ b/src/tweetpipe_p.h |