ports/180571: [NEW PORT] security/orthrus - A One-Time Password System (OTP) alternative to OPIE or S/Key
Gavin McDonald
gavin at 16degrees.com.au
Mon Jul 15 09:30:17 UTC 2013
>Number: 180571
>Category: ports
>Synopsis: [NEW PORT] security/orthrus - A One-Time Password System (OTP) alternative to OPIE or S/Key
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 15 09:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Gavin McDonald
>Release: 9.0-RELEASE
>Organization:
>Environment:
>Description:
New port: security/orthrus A One-Time Password System (OTP) alternative to OPIE or S/Key
shar attached.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# orthrus
# orthrus/distinfo
# orthrus/Makefile
# orthrus/pkg-descr
# orthrus/pkg-plist
# orthrus/pkg-message
#
echo c - orthrus
mkdir -p orthrus > /dev/null 2>&1
echo x - orthrus/distinfo
sed 's/^X//' >orthrus/distinfo << '180c3d897c4204980b8061bcc2ed080c'
XSHA256 (orthrus-0.8.0.tar.bz2) = d2148d929b7c38afd5772489a11c21dcab1eebcf0b90c0ecd5d0834ffcf26cb1
XSIZE (orthrus-0.8.0.tar.bz2) = 27285
180c3d897c4204980b8061bcc2ed080c
echo x - orthrus/Makefile
sed 's/^X//' >orthrus/Makefile << '450e4319609428df780ce6a3cdf14c9d'
X# Created by: Gavin McDonald <gavin at 16degrees.com.au>
X# $FreeBSD$
X
XPORTNAME= orthrus
XPORTVERSION= 0.8.0
XCATEGORIES= security
XMASTER_SITES= GOOGLE_CODE/ \
X http://16degrees.com.au/${PORTNAME}/
X
XMAINTAINER= gavin at 16degrees.com.au
XCOMMENT= A One-Time Password System (OTP) alternative to OPIE or S/Key
X
XUSE_SCONS= yes
XUSE_BZIP2= yes
XUSE_LDCONFIG= yes
X
Xpost-install:
X# .if ${PORT_OPTIONS:MDOCS}
X ${MKDIR} ${DOCSDIR}
X (cd ${WRKSRC} && \
X ${CP} LICENSE NOTICE README TODO ${DOCSDIR})
X# .endif
X ${TOUCH} ${PREFIX}/etc/orthruskeys
X
X @${ECHO_MSG}
X @${ECHO_MSG} "Manually edit pam.d/* files as needed and add in the required auth line and remove any undesired fallback lines."
X @${ECHO_MSG} "Also ensure you arent already using opie!"
X @${ECHO_MSG}
X @${ECHO_MSG} "example in pam.d/system:"
X @${ECHO_MSG}
X @${ECHO_MSG} "auth sufficient pam_orthrus.so"
X @${ECHO_MSG}
X @${ECHO_MSG} "Please remember to delete any such entry BEFORE deinstalling this port or you could lock yourself out !!"
X @${ECHO_MSG}
X
X.include <bsd.port.mk>
450e4319609428df780ce6a3cdf14c9d
echo x - orthrus/pkg-descr
sed 's/^X//' >orthrus/pkg-descr << '0f41efb782f13ce9911d8f9e098df471'
XOrthrus is a C library and user interfaces for RFC 2289,
X"A One-Time Password System (OTP)", also known as OPIE or S/Key.
X
XWWW: http://code.google.com/p/orthrus
0f41efb782f13ce9911d8f9e098df471
echo x - orthrus/pkg-plist
sed 's/^X//' >orthrus/pkg-plist << 'ddc2e5590ad4c0fd0de51e5dcf8ae814'
Xbin/ortcalc
Xbin/ortpasswd
Xlib/liborthrus-0.so
Xlib/security/pam_orthrus.so
Xinclude/orthrus-0/context.h
Xinclude/orthrus-0/orthrus.h
Xinclude/orthrus-0/orthrus_error.h
Xinclude/orthrus-0/orthrus_version.h
X at dirrm include/orthrus-0
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/NOTICE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
ddc2e5590ad4c0fd0de51e5dcf8ae814
echo x - orthrus/pkg-message
sed 's/^X//' >orthrus/pkg-message << 'a6405ebb7278840c9b17d07364b00ac1'
XManually edit pam.d/* files as needed and add in the required auth line and remove any undesired fallback lines. Also ensure you arent already using opie!"
X
Xexample in pam.d/system :
X
Xauth sufficient pam_orthrus.so
X
XPlease remember to delete any such entry BEFORE deinstalling this port or you could lock yourself out !!
a6405ebb7278840c9b17d07364b00ac1
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list