# 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 X# $FreeBSD$ X XPORTNAME= orthrus XPORTVERSION= 0.8.0 XCATEGORIES= security XMASTER_SITES= GOOGLE_CODE/ \ X http://16degrees.com.au/${PORTNAME}/ X XMAINTAINER= gavin@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 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@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