From nobody@FreeBSD.org  Mon Jul 15 09:22:15 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 190DC5BF
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 09:22:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 09EA4AC6
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 09:22:03 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6F9Lcr1083733
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Jul 2013 09:21:38 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6F9Lcjj083730;
	Mon, 15 Jul 2013 09:21:38 GMT
	(envelope-from nobody)
Message-Id: <201307150921.r6F9Lcjj083730@oldred.freebsd.org>
Date: Mon, 15 Jul 2013 09:21:38 GMT
From: Gavin McDonald <gavin@16degrees.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] security/orthrus - A One-Time Password System (OTP) alternative to OPIE or S/Key
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 09:30:00 UTC 2013
>Closed-Date:    Tue Jul 16 06:34:13 UTC 2013
>Last-Modified:  Tue Jul 16 06:40:01 UTC 2013
>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@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@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Mon Jul 15 14:58:54 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180571 
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Tue Jul 16 06:34:12 UTC 2013 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180571 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180571: commit references a PR
Date: Tue, 16 Jul 2013 06:33:56 +0000 (UTC)

 Author: jgh (ports committer)
 Date: Tue Jul 16 06:33:49 2013
 New Revision: 42294
 URL: http://svnweb.freebsd.org/changeset/doc/42294
 
 Log:
   - add Gavin McDonald for security/orthrus
   
   PR:		180571
 
 Modified:
   head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
 
 Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
 ==============================================================================
 --- head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Tue Jul 16 04:34:39 2013	(r42293)
 +++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml	Tue Jul 16 06:33:49 2013	(r42294)
 @@ -3407,6 +3407,11 @@
      </listitem>
  
      <listitem>
 +      <para>Gavin McDonald
 +	<email>gavin@16degrees.com.au</email></para>
 +    </listitem>
 +
 +    <listitem>
        <para>Gavin Mu
  	<email>gavin@FreeBSDChina.org</email></para>
      </listitem>
 _______________________________________________
 svn-doc-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-doc-all
 To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180571: commit references a PR
Date: Tue, 16 Jul 2013 06:30:44 +0000 (UTC)

 Author: jgh
 Date: Tue Jul 16 06:30:29 2013
 New Revision: 323096
 URL: http://svnweb.freebsd.org/changeset/ports/323096
 
 Log:
   Orthrus is a C library and user interfaces for RFC 2289,
   "A One-Time Password System (OTP)", also known as OPIE or S/Key.
   
   WWW: http://code.google.com/p/orthrus
   
   PR:		ports/180571
   Submitted by:	gavin@16degrees.com.au
 
 Added:
   head/security/orthrus/
   head/security/orthrus/Makefile   (contents, props changed)
   head/security/orthrus/distinfo   (contents, props changed)
   head/security/orthrus/pkg-descr   (contents, props changed)
   head/security/orthrus/pkg-message   (contents, props changed)
   head/security/orthrus/pkg-plist   (contents, props changed)
 Modified:
   head/security/Makefile
 
 Modified: head/security/Makefile
 ==============================================================================
 --- head/security/Makefile	Tue Jul 16 05:48:14 2013	(r323095)
 +++ head/security/Makefile	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -376,6 +376,7 @@
      SUBDIR += openvpn22
      SUBDIR += ophcrack
      SUBDIR += opieprint
 +    SUBDIR += orthrus
      SUBDIR += osiris
      SUBDIR += ossec-hids-client
      SUBDIR += ossec-hids-local
 
 Added: head/security/orthrus/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/orthrus/Makefile	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -0,0 +1,37 @@
 +# Created by: Gavin McDonald <gavin@16degrees.com.au>
 +# $FreeBSD$
 +
 +PORTNAME=	orthrus
 +PORTVERSION=	0.8.0
 +CATEGORIES=	security
 +MASTER_SITES=	GOOGLE_CODE  \
 +		http://16degrees.com.au/${PORTNAME}/
 +
 +MAINTAINER=	gavin@16degrees.com.au
 +COMMENT=	One-Time Password System (OTP) alternative to OPIE or S/Key
 +
 +LICENSE=	AL2
 +
 +LIB_DEPENDS=	apr-1:${PORTSDIR}/devel/apr1
 +
 +USE_SCONS=	yes
 +USE_BZIP2=	yes
 +USE_LDCONFIG=	yes
 +USES=		iconv
 +PORTDOCS=	*
 +
 +.include <bsd.port.options.mk>
 +
 +post-install:
 +.if ${PORT_OPTIONS:MDOCS}
 +	@${MKDIR} ${DOCSDIR}
 +	(cd ${WRKSRC} && \
 +		${INSTALL_DATA} NOTICE README TODO ${DOCSDIR})
 +.endif
 +	${TOUCH} ${PREFIX}/etc/orthruskeys
 +
 +	@${ECHO_CMD}
 +	@${CAT} ${PKGMESSAGE}
 +	@${ECHO_CMD}
 +
 +.include <bsd.port.mk>
 
 Added: head/security/orthrus/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/orthrus/distinfo	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -0,0 +1,2 @@
 +SHA256 (orthrus-0.8.0.tar.bz2) = d2148d929b7c38afd5772489a11c21dcab1eebcf0b90c0ecd5d0834ffcf26cb1
 +SIZE (orthrus-0.8.0.tar.bz2) = 27285
 
 Added: head/security/orthrus/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/orthrus/pkg-descr	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -0,0 +1,4 @@
 +Orthrus is a C library and user interfaces for RFC 2289,
 +"A One-Time Password System (OTP)", also known as OPIE or S/Key.
 +
 +WWW: http://code.google.com/p/orthrus
 
 Added: head/security/orthrus/pkg-message
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/orthrus/pkg-message	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -0,0 +1,9 @@
 +Manually 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!"
 +
 +example in pam.d/system :
 +
 +auth            sufficient      pam_orthrus.so
 +
 +Please remember to delete any such entry BEFORE deinstalling this port or you
 +could lock yourself out !!
 
 Added: head/security/orthrus/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/security/orthrus/pkg-plist	Tue Jul 16 06:30:29 2013	(r323096)
 @@ -0,0 +1,11 @@
 +bin/ortcalc
 +bin/ortpasswd
 +etc/orthruskeys
 +lib/liborthrus-0.so
 +lib/security/pam_orthrus.so
 +include/orthrus-0/context.h
 +include/orthrus-0/orthrus.h
 +include/orthrus-0/orthrus_error.h
 +include/orthrus-0/orthrus_version.h
 +@dirrm include/orthrus-0
 +@dirrm lib/security
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
