pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/otptool Otptool is a client utility for two-f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51156caea258
branches:  trunk
changeset: 610900:51156caea258
user:      pettai <pettai%pkgsrc.org@localhost>
date:      Sat Nov 10 22:13:47 2012 +0000

description:
Otptool is a client utility for two-factor authentication using one-time
passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226.

diffstat:

 security/otptool/DESCR                   |   2 +
 security/otptool/Makefile                |  36 ++++++++++++++++++++++++++++++++
 security/otptool/PLIST                   |   3 ++
 security/otptool/distinfo                |   6 +++++
 security/otptool/patches/patch-configure |  24 +++++++++++++++++++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r 10be0f4180ef -r 51156caea258 security/otptool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/otptool/DESCR    Sat Nov 10 22:13:47 2012 +0000
@@ -0,0 +1,2 @@
+Otptool is a client utility for two-factor authentication using one-time
+passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226.
diff -r 10be0f4180ef -r 51156caea258 security/otptool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/otptool/Makefile Sat Nov 10 22:13:47 2012 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2012/11/10 22:13:47 pettai Exp $
+
+DISTNAME=      mod_authn_otp-${DISTVERS}
+PKGNAME=       otptool-${DISTVERS}
+CATEGORIES=    security
+MASTER_SITES=  http://mod-authn-otp.googlecode.com/files/
+LICENSE=       apache-2.0
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://mod-authn-otp.googlecode.com/
+COMMENT=       One-Time Password command line utility
+
+PKG_APACHE_ACCEPTED=   apache22
+
+.include "../../mk/apache.mk"
+
+DISTVERS=      1.1.4
+
+SBINDIR=       ${PREFIX}/sbin
+
+SUBST_CLASSES+= paths
+SUBST_FILES.paths=      configure
+SUBST_VARS.paths+=      SBINDIR
+SUBST_STAGE.paths=      post-patch
+
+GNU_CONFIGURE=yes
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/otptool ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/otptool.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../www/apache22/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 10be0f4180ef -r 51156caea258 security/otptool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/otptool/PLIST    Sat Nov 10 22:13:47 2012 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/10 22:13:47 pettai Exp $
+bin/otptool
+man/man1/otptool.1
diff -r 10be0f4180ef -r 51156caea258 security/otptool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/otptool/distinfo Sat Nov 10 22:13:47 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/11/10 22:13:47 pettai Exp $
+
+SHA1 (mod_authn_otp-1.1.4.tar.gz) = cc1e3bebd3a2bf66fea6f4bf5e609e8bdc822040
+RMD160 (mod_authn_otp-1.1.4.tar.gz) = d1082f45fc94f042fd6b883152a5739b5a354d78
+Size (mod_authn_otp-1.1.4.tar.gz) = 94911 bytes
+SHA1 (patch-configure) = 011c00235c1d215bab48512f886776422bb55d63
diff -r 10be0f4180ef -r 51156caea258 security/otptool/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/otptool/patches/patch-configure  Sat Nov 10 22:13:47 2012 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2012/11/10 22:13:47 pettai Exp $
+
+Make configure detect apxs(2)
+
+--- configure.orig     2012-11-10 21:27:13.000000000 +0000
++++ configure
+@@ -3666,7 +3666,7 @@ else
+   ;;
+   *)
+   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin
++for as_dir in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin @SBINDIR@
+ do
+   IFS=$as_save_IFS
+   test -z "$as_dir" && as_dir=.
+@@ -3707,7 +3707,7 @@ else
+   ;;
+   *)
+   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin
++for as_dir in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin @SBINDIR@
+ do
+   IFS=$as_save_IFS
+   test -z "$as_dir" && as_dir=.



Home | Main Index | Thread Index | Old Index