ports/48127: New port: security/hostsentry, Login anomaly detector
Andre Ramos
andre.ramos at netcabo.pt
Fri Jul 11 20:20:14 UTC 2003
The following reply was made to PR ports/48127; it has been noted by GNATS.
From: Andre Ramos <andre.ramos at netcabo.pt>
To: freebsd-gnats-submit at FreeBSD.org, andre.ramos at netcabo.pt
Cc:
Subject: Re: ports/48127: New port: security/hostsentry, Login anomaly detector
Date: Fri, 11 Jul 2003 20:10:12 +0200
This is a multi-part message in MIME format.
--------------070606070208060306020604
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I'm sorry about that last one... :-\
--------------070606070208060306020604
Content-Type: application/x-shar;
name="hostsentry.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="hostsentry.shar"
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# hostsentry
# hostsentry/files
# hostsentry/files/patch-aa
# hostsentry/distinfo
# hostsentry/Makefile
# hostsentry/pkg-comment
# hostsentry/pkg-descr
# hostsentry/pkg-message
# hostsentry/pkg-plist
#
echo c - hostsentry
mkdir -p hostsentry > /dev/null 2>&1
echo c - hostsentry/files
mkdir -p hostsentry/files > /dev/null 2>&1
echo x - hostsentry/files/patch-aa
sed 's/^X//' >hostsentry/files/patch-aa << 'END-of-hostsentry/files/patch-aa'
X--- ../hostSentryConfig.py Thu Mar 25 22:06:01 1999
X+++ hostSentryConfig.py Sun Feb 9 14:49:38 2003
X@@ -35,7 +35,7 @@
X
X # This is the default config file. I'll make this more
X # accessible in the future.
X-CONFIG='/usr/local/abacus/hostsentry/hostsentry.conf'
X+CONFIG='/usr/local/etc/hostsentry.conf'
X
X class hostSentryConfig(hostSentryCore):
X
END-of-hostsentry/files/patch-aa
echo x - hostsentry/distinfo
sed 's/^X//' >hostsentry/distinfo << 'END-of-hostsentry/distinfo'
XMD5 (hostsentry-0.02.tar.gz) = 3de0bbb7d456bb53683de56dfdf98362
END-of-hostsentry/distinfo
echo x - hostsentry/Makefile
sed 's/^X//' >hostsentry/Makefile << 'END-of-hostsentry/Makefile'
X# New ports collection makefile for: hostsentry
X# Date created: 7 February 2003
X# Whom: Andre Ramos <andre.ramos at netcabo.pt>
X#
X# $FreeBSD$
X#
X
XPORTNAME= hostsentry
XPORTVERSION= 0.02
XCATEGORIES= security
XMASTER_SITES= ftp://ftp.netsys.com/len/
X
XMAINTAINER= ports at FreeBSD.org
X
XRUN_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
X
Xpost-install:
X.if !defined(NOPORTSDOCS)
X ${MKDIR} ${PREFIX}/share/doc/hostsentry
X ${INSTALL_DATA} ${WRKSRC}/README.BUGS \
X ${WRKSRC}/README.credits \
X ${WRKSRC}/README.install \
X ${WRKSRC}/README.intro \
X ${WRKSRC}/README.modules \
X ${WRKSRC}/README.paper \
X ${WRKSRC}/README.technical \
X ${WRKSRC}/README.why_python \
X ${WRKSRC}/README.wtmp \
X ${PREFIX}/share/doc/hostsentry
X.endif
X
X ${INSTALL_DATA} ${WRKSRC}/hostsentry.conf \
X ${PREFIX}/etc/hostsentry.conf
X
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-hostsentry/Makefile
echo x - hostsentry/pkg-comment
sed 's/^X//' >hostsentry/pkg-comment << 'END-of-hostsentry/pkg-comment'
XA Login Anomaly Detector
END-of-hostsentry/pkg-comment
echo x - hostsentry/pkg-descr
sed 's/^X//' >hostsentry/pkg-descr << 'END-of-hostsentry/pkg-descr'
XHostSentry is a program to trace suspicious user's activity, unknown user
Xlogins and suspicious login domains, taking measures against compromised
Xaccounts and unethical user's behaviour.
X
XWWW: http://sourceforge.net/projects/sentrytools/
END-of-hostsentry/pkg-descr
echo x - hostsentry/pkg-message
sed 's/^X//' >hostsentry/pkg-message << 'END-of-hostsentry/pkg-message'
X
X
X Edit /usr/local/etc/hostssentry.conf and change"
X your settings if you haven't already."
X
END-of-hostsentry/pkg-message
echo x - hostsentry/pkg-plist
sed 's/^X//' >hostsentry/pkg-plist << 'END-of-hostsentry/pkg-plist'
Xabacus/hostsentry/hostSentryConfig.py
Xabacus/hostsentry/hostSentryCore.py
Xabacus/hostsentry/hostSentryDB.py
Xabacus/hostsentry/hostSentryLog.py
Xabacus/hostsentry/hostSentryStat.py
Xabacus/hostsentry/hostSentryTTY.py
Xabacus/hostsentry/hostSentryTTYDB.py
Xabacus/hostsentry/hostSentryUser.py
Xabacus/hostsentry/hostSentryUtmp.py
Xabacus/hostsentry/hostsentry.py
Xabacus/hostsentry/modules/moduleExample.py
Xabacus/hostsentry/modules/moduleFirstLogin.py
Xabacus/hostsentry/modules/moduleForeignDomain.allow
Xabacus/hostsentry/modules/moduleForeignDomain.py
Xabacus/hostsentry/modules/moduleHistorySuspicious.py
Xabacus/hostsentry/modules/moduleHistoryTruncated.py
Xabacus/hostsentry/modules/moduleLoginLogout.py
Xabacus/hostsentry/modules/moduleMultipleLogins.allow
Xabacus/hostsentry/modules/moduleMultipleLogins.py
Xabacus/hostsentry/modules/moduleOddDirnames.py
Xabacus/hostsentry/modules/moduleRhostsCheck.py
X at dirrm abacus/hostsentry/modules
X at unexec rmdir %D/abacus/hostsentry 2>/dev/null || true
X at unexec rmdir %D/abacus 2>/dev/null || echo "If you are permanently removing this port, you should do a "rm -rf ${PKG_PREFIX}/abacus" to remove any binary, configuration and log files left." | fmt
X%%PORTDOCS%%share/doc/hostsentry/README.BUGS
X%%PORTDOCS%%share/doc/hostsentry/README.credits
X%%PORTDOCS%%share/doc/hostsentry/README.install
X%%PORTDOCS%%share/doc/hostsentry/README.intro
X%%PORTDOCS%%share/doc/hostsentry/README.modules
X%%PORTDOCS%%share/doc/hostsentry/README.paper
X%%PORTDOCS%%share/doc/hostsentry/README.technical
X%%PORTDOCS%%share/doc/hostsentry/README.why_python
X%%PORTDOCS%%share/doc/hostsentry/README.wtmp
X%%PORTDOCS%%@dirrm share/doc/hostsentry
END-of-hostsentry/pkg-plist
exit
--------------070606070208060306020604--
More information about the freebsd-ports-bugs
mailing list