Package Details: passwordsafe 1.15.0-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: 28
Popularity: 0.003361
First Submitted: 2014-05-07 13:02 (UTC)
Last Updated: 2022-07-18 18:07 (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 »

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.

chris2 commented on 2022-07-15 12:47 (UTC)

After removing passwordsafe for a system update, I am not able to install it again. I get the following error message:

-- Failed to find 'wx-config' executable:
   Tip: can be pointed from command-line this way:
        $ cmake -D wxWidgets_CONFIG_EXECUTABLE=/path/to/wx-config .
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindwxWidgets.cmake:984 (find_package_handle_standard_args)
  CMakeLists.txt:138 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/chris/.cache/yay/passwordsafe/src/pwsafe-1.14.0/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: passwordsafe

Blutkoete commented on 2021-09-05 14:34 (UTC)

This is not really out-of-date. v1.13.0 is the latest non-Windows release.

BoostCookie commented on 2020-11-13 08:47 (UTC)

gpg --keyserver keyserver.ubuntu.com --recv-keys C8876BE69A8EC6414C8C8729B131423D7F2F1BB9