pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
otptool-1.1.8
Module Name: pkgsrc-wip
Committed By: i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By: i3enedek
Date: Mon Nov 20 17:17:33 2017 +0000
Changeset: 417824572029614cc4226f82413df2c13a8ffa43
Added Files:
otptool/DESCR
otptool/Makefile
otptool/PLIST
otptool/README
otptool/distinfo
otptool/patches/patch-configure.ac
Log Message:
otptool-1.1.8
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=417824572029614cc4226f82413df2c13a8ffa43
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
otptool/DESCR | 2 ++
otptool/Makefile | 40 ++++++++++++++++++++++++++++++++++++++
otptool/PLIST | 3 +++
otptool/README | 6 ++++++
otptool/distinfo | 7 +++++++
otptool/patches/patch-configure.ac | 15 ++++++++++++++
6 files changed, 73 insertions(+)
diffs:
diff --git a/otptool/DESCR b/otptool/DESCR
new file mode 100644
index 0000000000..1005b9e378
--- /dev/null
+++ b/otptool/DESCR
@@ -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 --git a/otptool/Makefile b/otptool/Makefile
new file mode 100644
index 0000000000..f6aefcca52
--- /dev/null
+++ b/otptool/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.9 2017/08/01 17:40:15 wiz Exp $
+
+DISTNAME= ${GITHUB_TAG}
+GITHUB_TAG= 1.1.8
+PKGNAME= otptool-${DISTNAME}
+GITHUB_PROJECT= mod-authn-otp
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=archiecobbs/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/archiecobbs/mod-authn-otp
+COMMENT= One-Time Password command line utility
+LICENSE= apache-2.0
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
+
+PKG_APACHE_ACCEPTED= apache22
+
+USE_LANGUAGES+= c
+HAS_CONFIGURE= yes
+#GNU_CONFIGURE= yes
+USE_TOOLS+= autoreconf autoconf automake
+
+REPLACE_SH+= autogen.sh
+
+
+.include "../../mk/apache.mk"
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+pre-configure:
+ cd ${WRKSRC} && sh ./autogen.sh
+
+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 --git a/otptool/PLIST b/otptool/PLIST
new file mode 100644
index 0000000000..2f93202814
--- /dev/null
+++ b/otptool/PLIST
@@ -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 --git a/otptool/README b/otptool/README
new file mode 100644
index 0000000000..f746d891f9
--- /dev/null
+++ b/otptool/README
@@ -0,0 +1,6 @@
+The key is commonly
+encoded base32.
+
+Convert to hex first
+as otptool does not
+do this for you.
diff --git a/otptool/distinfo b/otptool/distinfo
new file mode 100644
index 0000000000..61a992da2f
--- /dev/null
+++ b/otptool/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.3 2015/11/04 01:17:53 agc Exp $
+
+SHA1 (1.1.8.tar.gz) = 9dda1e17d8d5d2b38fd5d80fe95deb5d0de5f8d3
+RMD160 (1.1.8.tar.gz) = 2b414f6596be5e18590093c0516a0b27d5240407
+SHA512 (1.1.8.tar.gz) = 28e9942c70ba6aa4e4569b9f13fdaaf606b177b1562fdb6920bc3d2c3ab61ddcff108d6ebe70d209b782c68f03f56738b9e86cbfb29dffcc858d8f8e405a2127
+Size (1.1.8.tar.gz) = 24882 bytes
+SHA1 (patch-configure.ac) = 9ef9dd3a388828012f09cb5dcaec00bd8d61a09e
diff --git a/otptool/patches/patch-configure.ac b/otptool/patches/patch-configure.ac
new file mode 100644
index 0000000000..e7188915af
--- /dev/null
+++ b/otptool/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- configure.ac.orig 2017-10-30 15:31:02.000000000 +0000
++++ configure.ac
+@@ -30,8 +30,8 @@ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PATH_PROG(STRIP, strip)
+ AC_PATH_PROG(CP, cp)
+-AC_PATH_PROG(APXS, apxs, "no", [/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin])
+-AC_PATH_PROG(APXS2, apxs2, "no", [/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin])
++AC_PATH_PROG(APXS, apxs, "no", [/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin ${PREFIX}/sbin])
++AC_PATH_PROG(APXS2, apxs2, "no", [/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /usr/local/apache/bin ${PREFIX}/sbin])
+ [test x"$APXS2" = "xno" -a x"$APXS" = "xno" && ] AC_MSG_ERROR([cannot find apxs or apxs2])
+ [test x"$APXS2" != "xno" && APXS="$APXS2"]
+
Home |
Main Index |
Thread Index |
Old Index