Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102677 - app-admin/pwsafe (new ebuild)
Summary: app-admin/pwsafe (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://nsd.dyndns.org/pwsafe/
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2005-08-15 23:54 UTC by David Grant
Modified: 2007-09-01 23:08 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pwsafe-0.1.6.ebuild (pwsafe-0.1.6.ebuild,500 bytes, text/plain)
2005-08-16 00:17 UTC, David Grant
Details
pwsafe-0.2.0 ebuild (pwsafe-0.2.0.ebuild,759 bytes, text/plain)
2006-08-11 17:20 UTC, Aggelos Orfanakos (RETIRED)
Details
pwsafe-0.2.0-gentoo.diff (pwsafe-0.2.0-gentoo.diff,429 bytes, patch)
2006-08-11 17:20 UTC, Aggelos Orfanakos (RETIRED)
Details | Diff
new pwsafe-0.2.0.ebuild (no patch needed) (pwsafe-0.2.0.ebuild,764 bytes, text/plain)
2006-09-06 02:52 UTC, Aggelos Orfanakos (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2005-08-15 23:54:50 UTC
pwsafe is a unix commandline program that manages encrypted password databases.

Features:
    * Pure command-line operation if desired (good for remote access over ssh)
    * or can interact with X11 selection & clipboard.
    * Portable, endianess-clean, misaligned-access-free C++. Compiles cleanly on
linux, *bsd, macos x, solaris.
    * Compatible with CounterPane's PasswordSafe Win32 program versions 1.9.x.
    * Funny comments included in source code.
Comment 1 David Grant 2005-08-16 00:17:57 UTC
Created attachment 66057 [details]
pwsafe-0.1.6.ebuild

Having trouble getting it to run without this warning:

WARNING: pwsafe unable to use secure ram (need to be setuid root)
Comment 2 David Grant 2005-08-16 00:18:26 UTC
Please test
Comment 3 Arthur Koziel 2005-10-01 03:22:12 UTC
pwsafe 0.2.0 is out, it's now compatible with the win32 version!
I changed the name of your ebuild to pwsafe-0.2.0.ebuild and compiled it on my
amd64 sys - works fine!

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.
.13-gvivid x86_64)
=================================================================
System uname: 2.6.13-gvivid x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal
de/pub/linux/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://
inux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 alsa apache2 avi bash-completion bitmap-fonts crypt cups curl 
vd dvdr eds emboss encode fam flac foomaticdb fortran gd gif gnome gpm gstreame
 gtk gtk2 imagemagick imlib ipv6 java javascript jpeg junit lzw lzw-tiff mad mp
 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl pam pdflib perl php png pyt
on quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts typ
1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 4 Ralf Holzer 2006-02-26 20:45:33 UTC
Tested with Pwsafe 0.2.0 on ~x86. Please add to portage.

Portage 2.1_pre5 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
Comment 5 Alexander Skwar 2006-03-25 11:58:20 UTC
Would be great to see this program in the portage tree...
Comment 6 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-08-11 17:16:41 UTC
Hey.

I've written a new ebuild for pwsafe 0.2.0 that also incorporates a patch to satisfy the following QA notice due to the suid:

QA Notice: the following files are setXid, dyn linked, and using lazy bindings
 This combination is generally discouraged.  Try re-emerging the package:
 LDFLAGS='-Wl,-z,now' emerge pwsafe
LAZY usr/bin/pwsafe

The above notice no longer appears. See http://devmanual.gentoo.org/appendices/common-problems/index.html#qa-notice----foo-is-setxid--dynamically-linked-and-using-lazy-bindings for more info.

In a few hours or less, this ebuild should be available in the Sunrise overlay:
http://www.gentoo-sunrise.org/sunrise/browser/reviewed/app-admin/pwsafe
Comment 7 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-08-11 17:20:14 UTC
Created attachment 94017 [details]
pwsafe-0.2.0 ebuild
Comment 8 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-08-11 17:20:45 UTC
Created attachment 94018 [details, diff]
pwsafe-0.2.0-gentoo.diff
Comment 9 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-09-06 02:52:06 UTC
Created attachment 96155 [details]
new pwsafe-0.2.0.ebuild (no patch needed)

This new ebuild appends '-Wl,-z,now' to LDFLAGS, as required, and makes the patch redundant.
Comment 10 Mike Pagano gentoo-dev 2007-09-01 20:55:26 UTC
Can the amd64 arch testers please test the pwsafe package that is in the main portage tree and add the appropriate keyword if successful?

This way we can remove from sunrise and close this bug.
Comment 11 Wulf Krueger (RETIRED) gentoo-dev 2007-09-01 21:57:59 UTC
I've just added the ~amd64 keyword. (Arch testers can't add keywords, btw, because they don't have commit access.)
Comment 12 Mike Pagano gentoo-dev 2007-09-01 22:19:18 UTC
Requested version currently in portage. Closing.