summaryrefslogtreecommitdiff
path: root/security/tkpasman
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-05 21:21:55 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-05 21:21:55 +0000
commit1de8ecdae59f41fcd3491f28d87acf3f16bdbcdb (patch)
tree5e42032d233e1dfdc52672047d9aac74d287208a /security/tkpasman
parentea1a1bf2a26688df6fe1b88b5860eccd883ba469 (diff)
downloadpkgsrc-1de8ecdae59f41fcd3491f28d87acf3f16bdbcdb.tar.gz
Initial import of tkpasman, version 2.2. Description follows:
TkPasMan is a simple program that lets you store usernames and passwords you collect during access to forums, mailing lists, and other websites. It is inspired in gpasman, but it has more paste possibilities. You can, for example, paste the username at first and then password, using two mouse clicks. Passwords can be stored in a secure file, using OpenSSL to encrypt it. This closes my own PR pkg/18884. Approved by wiz.
Diffstat (limited to 'security/tkpasman')
-rw-r--r--security/tkpasman/DESCR7
-rw-r--r--security/tkpasman/Makefile46
-rw-r--r--security/tkpasman/PLIST4
-rw-r--r--security/tkpasman/distinfo5
-rw-r--r--security/tkpasman/patches/patch-aa40
5 files changed, 102 insertions, 0 deletions
diff --git a/security/tkpasman/DESCR b/security/tkpasman/DESCR
new file mode 100644
index 00000000000..09bfad3a6d1
--- /dev/null
+++ b/security/tkpasman/DESCR
@@ -0,0 +1,7 @@
+TkPasMan is a simple program that lets you store usernames and passwords
+you collect during access to forums, mailing lists, and other websites.
+It is inspired in gpasman, but it has more paste possibilities. You can,
+for example, paste the username at first and then password, using two
+mouse clicks.
+
+Passwords can be stored in a secure file, using OpenSSL to encrypt it.
diff --git a/security/tkpasman/Makefile b/security/tkpasman/Makefile
new file mode 100644
index 00000000000..2c430620841
--- /dev/null
+++ b/security/tkpasman/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/05 21:21:55 jmmv Exp $
+#
+
+DISTNAME= TkPasMan-2.2
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= security
+MASTER_SITES= http://www.xs4all.nl/~wbsoft/linux/projects/
+
+MAINTAINER= jmmv@hispabsd.org
+HOMEPAGE= http://www.xs4all.nl/~wbsoft/linux/tkpasman.html
+COMMENT= Username and password manager that uses the Tk toolkit
+
+USE_BUILDLINK2= YES
+
+CONFIG_SUBST= PREFIX="${PREFIX}"
+CONFIG_SUBST+= SHELL="${SH}"
+CONFIG_SUBST+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CONFIG_SUBST_SED= ${CONFIG_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+
+.include "../../mk/bsd.prefs.mk"
+
+# SSL support
+.if defined(TKPASMAN_USE_SSL) && ${TKPASMAN_USE_SSL} == "YES"
+. include "../../security/openssl/buildlink2.mk"
+CONFIG_SUBST+= USE_OPENSSL="true"
+CONFIG_SUBST+= OPENSSL="${BUILDLINK_PREFIX.openssl}/bin/openssl"
+.else
+CONFIG_SUBST+= USE_OPENSSL="false"
+CONFIG_SUBST+= OPENSSL=""
+.endif
+
+ALL_TARGET= tkpasman
+
+post-extract:
+ ${MV} ${WRKSRC}/config ${WRKSRC}/config.in
+
+do-configure:
+ ${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.in > ${WRKSRC}/config
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkpasman ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkpasman
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkpasman
+
+.include "../../x11/tk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/tkpasman/PLIST b/security/tkpasman/PLIST
new file mode 100644
index 00000000000..37a382ae5ea
--- /dev/null
+++ b/security/tkpasman/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/05 21:21:55 jmmv Exp $
+bin/tkpasman
+share/doc/tkpasman/README
+@dirrm share/doc/tkpasman
diff --git a/security/tkpasman/distinfo b/security/tkpasman/distinfo
new file mode 100644
index 00000000000..f32e4f7218f
--- /dev/null
+++ b/security/tkpasman/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/05 21:21:55 jmmv Exp $
+
+SHA1 (TkPasMan-2.2.tar.gz) = 2f8eae070b6afc6d8a21e120425e7dc125487684
+Size (TkPasMan-2.2.tar.gz) = 30944 bytes
+SHA1 (patch-aa) = 3d6f323efb4037b2df65f5e8c0b9be7640319970
diff --git a/security/tkpasman/patches/patch-aa b/security/tkpasman/patches/patch-aa
new file mode 100644
index 00000000000..3bee525a98a
--- /dev/null
+++ b/security/tkpasman/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/05 21:21:55 jmmv Exp $
+
+--- config.in.orig Tue Nov 13 16:05:11 2001
++++ config.in
+@@ -4,11 +4,13 @@
+ # paths below.
+
+ # In which directory do you want tkpasman to be installed?
+-BINDIR=/usr/local/bin
++BINDIR=@PREFIX@/bin
++
++INSTALL_SCRIPT="@INSTALL_SCRIPT@"
+
+ # Shell to run the build script with (e.g. /bin/bash).
+ #SHELL=/bin/bash
+-SHELL=/bin/sh
++SHELL=@SHELL@
+
+ # The Makefile should find wish8.3 and tclsh8.3. When it fails, enter here
+ # the full path to your wish and tclsh shell.
+@@ -27,12 +29,12 @@ PWDFILE='~/.tkpasman'
+
+ # Build in openssl support (true or false, optional).
+ # (You will have to switch on encryption in the Options menu)
+-USE_OPENSSL=true
++USE_OPENSSL=@USE_OPENSSL@
+
+ # Full pathname of the openssl program (e.g. /usr/local/ssl/bin/openssl)
+ # Only supply this pathname if the build script does not find it on
+ # itself.
+-OPENSSL=
++OPENSSL=@OPENSSL@
+
+ # The preferred algorithms to use. We don't make this a runtime option, to
+ # prevent users from loosing data while switching from one algorithm to
+@@ -45,4 +47,3 @@ ENC="bf|des3|rc2"
+ # ================================================
+ VERSION=2.2
+ PROGNAME=tkpasman
+-OPENSSL_SEARCH_PATH=/usr/ssl/bin:/usr/openssl/bin:/usr/local/ssl/bin:/usr/local/openssl/bin