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.
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)
Please test
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
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)
Would be great to see this program in the portage tree...
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
Created attachment 94017 [details] pwsafe-0.2.0 ebuild
Created attachment 94018 [details, diff] pwsafe-0.2.0-gentoo.diff
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.
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.
I've just added the ~amd64 keyword. (Arch testers can't add keywords, btw, because they don't have commit access.)
Requested version currently in portage. Closing.