Initial import

This commit is contained in:
Lucas 2023-02-05 20:33:59 +00:00
commit 809c2a7811
3 changed files with 313 additions and 0 deletions

17
Makefile Normal file
View file

@ -0,0 +1,17 @@
PROG = login_-totp
SRCS = login_totp.c
NOMAN = noman
DPADD += ${LIBCRYPTO}
LDADD += -lcrypto
CFLAGS += -Wall -Wextra -pedantic
BINOWN = root
BINGRP = auth
BINMODE = 555
BINDIR = /usr/libexec/auth
afterinstall:
${INSTALL} -d -m 0770 -o ${BINOWN} -g ${BINGRP} /var/db/totp
.include <bsd.prog.mk>