Package Details: passwordsafe 1.18.2-1

Git Clone URL: https://aur.archlinux.org/passwordsafe.git (read-only, click to copy)
Package Base: passwordsafe
Description: Simple & Secure Password Management
Upstream URL: https://pwsafe.org/
Keywords: password pwsafe security yubikey
Licenses: Artistic2.0
Conflicts: passwordsafe-debian, pwsafe, pwsafe-gui
Submitter: Namarrgon
Maintainer: Namarrgon
Last Packager: Namarrgon
Votes: 30
Popularity: 0.026108
First Submitted: 2014-05-07 13:02 (UTC)
Last Updated: 2024-01-29 12:22 (UTC)

Pinned Comments

Namarrgon commented on 2020-01-07 15:56 (UTC)

Updates are usually delayed by the lack of signed tarballs.

Latest Comments

1 2 3 4 5 6 Next › Last »

tony79000 commented on 2023-10-21 13:40 (UTC) (edited on 2023-10-22 20:02 (UTC) by tony79000)

the sig file does not validate the validpgpkeys.

the asc file is available on the contact page, not available in direct link.

to see with ronys.

https://github.com/pwsafe/pwsafe/issues/891

https://www.pwsafe.org/contact.php


pkgver=1.18.0
source=(passwordsafe-$pkgver.tar.gz::https://github.com/pwsafe/pwsafe/archive/refs/tags/$pkgver.tar.gz)
validpgpkeys=('C8876BE69A8EC6414C8C8729B131423D7F2F1BB9') # work with key*.asc in local
sha1sums=('4fe3f85855a224b3389f21b570a8bcd4225280af')

pdpelf commented on 2023-06-21 12:25 (UTC)

thanks for the fast implemetation!

abdulocracy commented on 2022-11-30 13:25 (UTC)

Seems it's fixed upstream: https://github.com/pwsafe/pwsafe/commit/d8e7ec230e5cd4fa67aff4d6227d73dd9ddb37dd

Perhaps patch this build till the next release? Building is impossible atm.

abdulocracy commented on 2022-11-26 12:43 (UTC)

The build fails with

/build/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp: In function ‘int localtime64_r(const __time64_t*, tm*)’:
/build/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp:30:10: error: ‘localtime_r’ was not declared in this scope; did you mean ‘localtime64_r’?
   30 |   return localtime_r(tp, result) != nullptr;
      |          ^~~~~~~~~~~
      |          localtime64_r
/build/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp: In function ‘int pws_os::asctime(TCHAR*, size_t, const tm*)’:
/build/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp:36:3: error: ‘asctime_r’ was not declared in this scope
   36 |   asctime_r(t, cbuf);
      |   ^~~~~~~~~
make[2]: *** [src/os/CMakeFiles/os.dir/build.make:244: src/os/CMakeFiles/os.dir/unix/pws_time.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:274: src/os/CMakeFiles/os.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

pdpelf commented on 2022-08-17 06:02 (UTC)

I've opened an issue at github (passwd) and here is the answer:

"This issue was already fixed by commit d8e7ec2 and will be released with the next version."

Eberhard

TeaJeep commented on 2022-08-09 02:13 (UTC)

@soderstrom

Thank you for the workaround! It was quite an issue being without access to my passwords.

soderstrom commented on 2022-08-08 14:20 (UTC) (edited on 2022-08-08 14:25 (UTC) by soderstrom)

@TeaJeep

Yes there is a problem with the current source. Essentially the src/os/unix/pws_time.h is missing an or case for linux resulting in time.h not being included and hence the compile error

By adding the line starting with a plus sign into the PGKBUILD file (plus sign excluded) it will build successfully.


 build() {
        cd $_pkgname-$pkgver
+       sed 's/#ifdef __FreeBSD__/#if defined(__linux__) || defined(__FreeBSD__)/' -i src/os/unix/pws_time.h
        mkdir -p build
        cd build
        cmake .. -DNO_GTEST=ON \

The complete PKGBUILD file will then look like this


# Maintainer: Alexander Schnaidt <alex.schnaidt@gmail.com>

_pkgname=pwsafe
pkgname=passwordsafe
pkgver=1.15.0
pkgrel=1
pkgdesc="Simple & Secure Password Management"
arch=('i686' 'x86_64')
url="https://pwsafe.org/"
license=('Artistic2.0')
depends=('wxwidgets-gtk3' 'yubikey-personalization' 'xerces-c' 'qrencode' 'file')
makedepends=('zip' 'libxt' 'cmake' 'git')
optdepends=('xvkbd: virtual-keyboard support')
conflicts=('passwordsafe-debian' 'pwsafe' 'pwsafe-gui')
source=(passwordsafe-$pkgver.tar.gz::https://github.com/pwsafe/pwsafe/archive/$pkgver.tar.gz
        passwordsafe-$pkgver.tar.gz.sig::https://github.com/pwsafe/pwsafe/releases/download/$pkgver/$pkgver.tar.gz.sig)
validpgpkeys=('C8876BE69A8EC6414C8C8729B131423D7F2F1BB9')  # http://pgp.mit.edu/pks/lookup?op=vindex&search=0xB131423D7F2F1BB9
sha1sums=('08087c40409033cfecca31b1f7dac9f0091bcf15'
          'SKIP')

build() {
        cd $_pkgname-$pkgver
        sed 's/#ifdef __FreeBSD__/#if defined(__linux__) || defined(__FreeBSD__)/' -i src/os/unix/pws_time.h
        mkdir -p build
        cd build
        cmake .. -DNO_GTEST=ON \
                 -DCMAKE_INSTALL_PREFIX=/usr \
                 -DCMAKE_BUILD_TYPE=Release

        make
}

package() {
        cd $_pkgname-$pkgver
        cd build
        DESTDIR="$pkgdir" make install
}

This is a bug in passwordsafe itself that should be reported as such. Since it simply won't work for linux without it.

@Namarrgon I would wait for the fix if I was you rather than making a temporary fix to the PKGBUILD only to have to revert it in the next release. But that is your choice as maintainer, not mine :)

TeaJeep commented on 2022-08-07 05:47 (UTC)

Fails to build on my system, could be something I've done but nothing that I have figured out.

/home/user/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp: In function ‘int localtime64_r(const __time64_t*, tm*)’:
/home/user/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp:30:10: error: ‘localtime_r’ was not declared in this scope; did you mean ‘localtime64_r’?
   30 |   return localtime_r(tp, result) != nullptr;
      |          ^~~~~~~~~~~
      |          localtime64_r
/home/user/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp: In function ‘int pws_os::asctime(TCHAR*, size_t, const tm*)’:
/home/user/passwordsafe/src/pwsafe-1.15.0/src/os/unix/pws_time.cpp:36:3: error: ‘asctime_r’ was not declared in this scope
   36 |   asctime_r(t, cbuf);
      |   ^~~~~~~~~
make[2]: *** [src/os/CMakeFiles/os.dir/build.make:244: src/os/CMakeFiles/os.dir/unix/pws_time.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:274: src/os/CMakeFiles/os.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

chris2 commented on 2022-07-18 08:44 (UTC)

@abdulocracy Thank you very much. In the mean time, I tried removing and installing some other wxgtk packages and after installing wxwidgets-gtk3 3.2.0-3 (https://archlinux.org/packages/extra/x86_64/wxwidgets-gtk3/) the installation of passwordsafe-git (https://aur.archlinux.org/packages/passwordsafe-git) worked for me

abdulocracy commented on 2022-07-15 17:34 (UTC)

wxgtk2 is no longer supported in the official repos, Namarrgon, could you please replace the wxgtk2 dependency with wxwidgets-gtk3?

chris2: your problem is cause by this as well, the application fails to build with any of the 2 AUR wxgtk2 packages. I'd recommend manually changing the PKGBUILD as described above in the meantime.