hare is a small utility designed for use by PAM which sends a UDP packet to py-hared. Here is a typical /etc/pam.d/sshd entry: session optional pam_exec.so /usr/local/sbin/hare 10.1.0.10 py-hared will be runnig at that IP address. From there, the data gets put into mqtt for further processing.
21 lines
366 B
Makefile
21 lines
366 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= hare
|
|
DISTVERSION= 1.0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dvl@FreeBSD.org
|
|
COMMENT= Small C client for sending ssh login notications to a hared server
|
|
|
|
LICENSE= MIT
|
|
LICENSE= LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jpmens
|
|
GH_PROJECT= hared-hare
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|