summaryrefslogtreecommitdiff
path: root/security/pwsafe
diff options
context:
space:
mode:
authorwiz <wiz>2005-07-31 01:06:02 +0000
committerwiz <wiz>2005-07-31 01:06:02 +0000
commit2474799395748a4987d262a613e7b12d14e58ce1 (patch)
tree729b65672930346feab773f9f509564f650ff1ef /security/pwsafe
parentc570771ff7ace5c1c292f3416da687a59e52d4bf (diff)
downloadpkgsrc-2474799395748a4987d262a613e7b12d14e58ce1.tar.gz
Initial import of pwsafe-0.1.6 from pkgsrc-wip, packaged by
Mike M. Volokhov. pwsafe is a unix commandline program that manages encrypted password databases. There are few features listed: * Pure command-line operation if desired (good for remote access over ssh). * Can interact with X11 selection & clipboard. * Portable, endianess-clean, misaligned-access-free C++. * Compatible with CounterPane's PasswordSafe Win32 program versions 1.9.x. * Funny comments included in source code.
Diffstat (limited to 'security/pwsafe')
-rw-r--r--security/pwsafe/DESCR8
-rw-r--r--security/pwsafe/Makefile21
-rw-r--r--security/pwsafe/PLIST3
-rw-r--r--security/pwsafe/distinfo6
-rw-r--r--security/pwsafe/options.mk25
-rw-r--r--security/pwsafe/patches/patch-aa15
6 files changed, 78 insertions, 0 deletions
diff --git a/security/pwsafe/DESCR b/security/pwsafe/DESCR
new file mode 100644
index 00000000000..63f667d2f73
--- /dev/null
+++ b/security/pwsafe/DESCR
@@ -0,0 +1,8 @@
+pwsafe is a unix commandline program that manages encrypted password
+databases. There are few features listed:
+
+* Pure command-line operation if desired (good for remote access over ssh).
+* Can interact with X11 selection & clipboard.
+* Portable, endianess-clean, misaligned-access-free C++.
+* Compatible with CounterPane's PasswordSafe Win32 program versions 1.9.x.
+* Funny comments included in source code.
diff --git a/security/pwsafe/Makefile b/security/pwsafe/Makefile
new file mode 100644
index 00000000000..0ea6aefd663
--- /dev/null
+++ b/security/pwsafe/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+#
+
+DISTNAME= pwsafe-0.1.6
+CATEGORIES= security wip
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pwsafe/} \
+ http://nsd.dyndns.org/pwsafe/releases/
+
+MAINTAINER= mishka@apk.od.ua
+HOMEPAGE= http://nsd.dyndns.org/pwsafe/
+COMMENT= CLI based PasswordSafe compatible password manager
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+.include "options.mk"
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/pwsafe/PLIST b/security/pwsafe/PLIST
new file mode 100644
index 00000000000..9c079c036da
--- /dev/null
+++ b/security/pwsafe/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+bin/pwsafe
+man/man1/pwsafe.1
diff --git a/security/pwsafe/distinfo b/security/pwsafe/distinfo
new file mode 100644
index 00000000000..39d046fe77c
--- /dev/null
+++ b/security/pwsafe/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+
+SHA1 (pwsafe-0.1.6.tar.gz) = 39b42f95517cdbf1e241f9da477fb1a9bca050bb
+RMD160 (pwsafe-0.1.6.tar.gz) = ac3b7b2287e2cacda876ddc21bf653d700cd9e0b
+Size (pwsafe-0.1.6.tar.gz) = 110027 bytes
+SHA1 (patch-aa) = a00dc129c853dea872cc12cc03b88137de31b221
diff --git a/security/pwsafe/options.mk b/security/pwsafe/options.mk
new file mode 100644
index 00000000000..03a3a264f4e
--- /dev/null
+++ b/security/pwsafe/options.mk
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pwsafe
+PKG_SUPPORTED_OPTIONS= readline x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+CONFIGURE_ARGS+= --with-readline
+. if ${OPSYS} == "NetBSD"
+# The NetBSD readline implementation isn't GNU compatible
+USE_GNU_READLINE= yes
+. endif
+. include "../../devel/readline/buildlink3.mk"
+. include "../../devel/ncurses/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-readline
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+= --with-x
+.include "../../mk/x11.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-x
+.endif
diff --git a/security/pwsafe/patches/patch-aa b/security/pwsafe/patches/patch-aa
new file mode 100644
index 00000000000..46b14900e23
--- /dev/null
+++ b/security/pwsafe/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/07/31 01:06:02 wiz Exp $
+
+--- pwsafe.cpp.orig 2004-03-02 07:27:56.000000000 +0100
++++ pwsafe.cpp
+@@ -1022,8 +1022,8 @@ static secstring random_password() {
+ " Y Yes, accept this password\n"
+ " N No, generate another password of same type\n"
+ " <space> Cycle through password types\n"
+- " + Lower the needed entropy/password length\n"
+- " - More entropy/password length\n"
++ " - Lower the needed entropy/password length\n"
++ " + More entropy/password length\n"
+ " Q Quit\n"
+ " ? Help\n");
+ continue;