You are not logged in.

#1 2005-05-12 20:47:55

soloport
Member
Registered: 2005-03-01
Posts: 442

MyPasswordSafe

If you've ever relied on Password Safe (Windows only), one Unix equivalent is called MyPasswordSafe -- and is supposed to be database compatible.

Here's my PKGBUILD file for MyPasswordSafe:

pkgname=MyPasswordSafe
pkgver=20041004
pkgrel=1
pkgdesc="A Password Safe compatible front-end."
url="http://www.semanticgap.com/myps/"
license="BSD-like"
depends=()
source=(http://www.semanticgap.com/myps/release/$pkgname-$pkgver.src.tgz http://easynews.dl.sourceforge.net/sourceforge/boos
t/boost_1_32_0.tar.gz)
md5sums=('58bb98d3515a166a5988d3e8bf281268' 'e91654e9ed71c0b9cf5e61209bbb05f4')

build() {
  mv $startdir/src/boost_1_32_0 $startdir/src/$pkgname-$pkgver/
  cd $startdir/src/$pkgname-$pkgver
  export PREFIX=/usr
  make || return 1
  make install
}

It doesn't create a proper install file and errors-out when it tries to build one.  This is because the simple Makefile isn't sophisticated enough to handle a normal build process (no way to specify target) -- that, and I really don't know what I'm doing.  However, makepkg succeeds in installing the package, and correctly so (i.e. there's no neet to run 'pacman -A package' afterwords -- see "make install").

If you share a password database, you'll want to NFS or SMB mount the share first, locally, as MyPasswordSafe doesn't support network browsing.

Offline

#2 2005-05-14 08:29:25

dionydonny
Member
From: China
Registered: 2005-02-25
Posts: 15
Website

Re: MyPasswordSafe

why not just replace "export PREFIX=/usr" with "export PREFIX=$startdir/pkg/usr".
you'll get a package witch works well.


english&linux n00b

Offline

Board footer

Powered by FluxBB