Bug 180571 - [NEW PORT] security/orthrus - A One-Time Password System (OTP) alternative to OPIE or S/Key
Summary: [NEW PORT] security/orthrus - A One-Time Password System (OTP) alternative to...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 10:30 UTC by gavin
Modified: 2013-07-16 07:40 UTC (History)
0 users

See Also:


Attachments
file.shar (3.13 KB, text/plain)
2013-07-15 10:30 UTC, gavin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gavin 2013-07-15 10:30:00 UTC
New port: security/orthrus A One-Time Password System (OTP) alternative to OPIE or S/Key

shar attached.

Fix: Patch attached with submission follows:
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2013-07-15 15:58:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-16 07:30:44 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"
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-07-16 07:33:56 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"
Comment 4 Jason Helfman freebsd_committer freebsd_triage 2013-07-16 07:34:12 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!