File: INSTALL

package info (click to toggle)
pwsafe 0.2.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 656 kB
  • ctags: 399
  • sloc: sh: 3,580; cpp: 3,090; makefile: 59
file content (61 lines) | stat: -rw-r--r-- 2,115 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
	pwsafe - commandline tool compatible with Counterpane's Passwordsafe

HOW TO BUILD FROM SOURCE TARBALL

   tar xzf <tarball>
   cd <dir>
   ./configure
   make
   make check     # to be sure it's working
   make install
   
And for the secure memory allocation to work, pwsafe must be install suid root

   chown root:root %install_prefix%/bin/pwsafe
   chmod +s %install_prefix%/bin/pwsafe


HOW TO BUILD FROM CVS

   cd <dir>
   aclocal        # generate aclocal.m4
   autoheader     # generate config.h.in from configure.ac
   automake       # generated Makefile.in from Makefile.am
   autoconf       # generate configure from configure.ac
   ./configure    # etc...; from here on you're on your own

You'll need autoconf 2.5 or better, as well as the header files for X11,
libreadline (which pulls in lib[n]curses) and openssl's libcrypto.

pwsafe builds cleanly on various linuxes (i386, sparc32, sparc64, alpha/debian
stable, debian unstable, redhat 8.0, 7.2, 6.2) with various g++ versions 
(4.0.1, 3.4.2, 3.3.3, 3.2, 3.1, 2.95, 2.96 and even egcs-2.91).

pwsafe builds on NetBSD 1.6.1 if you use --without-readline (or go install libreadline
first) and gmake.

pwsafe builds on FreeBSD 4.9 if you use gmake.

pwsafe builds find on OpenBSD 3.4.

pwsafe builds on Solaris if you first install openssl (for libcrypto). If you have
openssh you already have openssl somewhere, though you might not have the header
files. And you need to use --without-readline, or install that as well.

However the shell scripts in test/ do not all work under Solaris. It's not that
pwsafe is broken, but that my shell scripting skills aren't tuned to Solaris'
ancient /bin/sh.

pwsafe builds on MacOS X if you use --without-readline (or go install libreadline
first).

If you get errors on MacOS X when linking with the X libraries, try setting
    export LDFLAGS="-flat_namespace -undefined suppress"
before ./configuring. Tiger (and presumably beyond) require "-undefined suppress"
when "-flat_namespace" is used, but autoconf does not know this so you have to
add it manually.



	- Nicolas S. Dade <ndade@nsd.dyndns.org>