[arch-commits] Commit in pwsafe/repos (6 files)
Date: Friday, February 17, 2017 @ 21:19:28 Author: spupykin Revision: 212984 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: pwsafe/repos/community-staging-i686/ pwsafe/repos/community-staging-i686/PKGBUILD (from rev 212983, pwsafe/trunk/PKGBUILD) pwsafe/repos/community-staging-i686/pwsafe-XChangeProperty.patch (from rev 212983, pwsafe/trunk/pwsafe-XChangeProperty.patch) pwsafe/repos/community-staging-x86_64/ pwsafe/repos/community-staging-x86_64/PKGBUILD (from rev 212983, pwsafe/trunk/PKGBUILD) pwsafe/repos/community-staging-x86_64/pwsafe-XChangeProperty.patch (from rev 212983, pwsafe/trunk/pwsafe-XChangeProperty.patch) ---+ community-staging-i686/PKGBUILD | 41 community-staging-i686/pwsafe-XChangeProperty.patch | 20 +++ community-staging-x86_64/PKGBUILD | 41 community-staging-x86_64/pwsafe-XChangeProperty.patch | 20 +++ 4 files changed, 122 insertions(+) Copied: pwsafe/repos/community-staging-i686/PKGBUILD (from rev 212983, pwsafe/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-17 21:19:28 UTC (rev 212984) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta + +pkgname=pwsafe +pkgver=20160304 +_commit=9d9758fa540ab673376dc855d331aaf80192c6c6 +pkgrel=2 +pkgdesc="A commandline program for managing encrypted password databases" +arch=('i686' 'x86_64') +url="https://github.com/nsd20463/pwsafe"; +license=('GPL') +depends=('openssl' 'libxmu') +makedepends=('git') +source=("git://github.com/nsd20463/pwsafe.git#commit=${_commit}" + pwsafe-XChangeProperty.patch) +md5sums=('SKIP' + 'cff6aee2e43f5fbe82e8cd7ccfefb099') + +prepare() { + cd "$srcdir"/${pkgname} + # Patch from fedora, fixes FS#28339 + patch -Np0 -i ../pwsafe-XChangeProperty.patch +} + +build() { + cd "$srcdir"/${pkgname} + aclocal + autoheader + automake --add-missing + autoconf + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir"/${pkgname} + make DESTDIR="$pkgdir" install + # Make pwsafe suid root so it can seed rng as a user + chmod +s "$pkgdir"/usr/bin/pwsafe +} Copied: pwsafe/repos/community-staging-i686/pwsafe-XChangeProperty.patch (from rev 212983, pwsafe/trunk/pwsafe-XChangeProperty.patch) === --- community-staging-i686/pwsafe-XChangeProperty.patch (rev 0) +++ community-staging-i686/pwsafe-XChangeProperty.patch 2017-02-17 21:19:28 UTC (rev 212984) @@ -0,0 +1,20 @@ +Index: pwsafe.cpp +=== +RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v +retrieving revision 1.57 +diff -u -r1.57 pwsafe.cpp +--- pwsafe.cpp 12 Aug 2007 12:33:06 - 1.57 pwsafe.cpp 5 Jan 2011 22:16:43 - +@@ -1820,10 +1820,10 @@ + if (xev.xselectionrequest.target == XA_TARGETS(xdisplay)) { + // tell them what we can supply + const Atom targets[] = { XA_TARGETS(xdisplay), XA_TIMESTAMP(xdisplay), XA_TEXT(xdisplay), XA_STRING }; +- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TARGETS(xdisplay), 32, PropModeReplace, reinterpret_cast(&targets), sizeof(targets)/sizeof(targets[0])); ++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast(&targets), sizeof(targets)/sizeof(targets[0])); + } + else if (xev.xselectionrequest.target == XA_TIMESTAMP(xdisplay)) { +- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TIMESTAMP(xdisplay), 32, PropModeReplace, reinterpret_cast(×tamp), 1); ++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast(×tamp), 1); + } + else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) || + xev.xselectionrequest.target == XA_STRING) { Copied: pwsafe/repos/community-staging-x86_64/PKGBUILD (from rev 212983, pwsafe/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-17 21:19:28 UTC (rev 212984) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta + +pkgname=pwsafe +pkgver=20160304 +_commit=9d9758fa540ab673376dc855d331aaf80192c6c6 +pkgrel=2 +pkgdesc="A commandline program for managing encrypted password databases" +arch=('i686' 'x86_64') +url="https://github.com/nsd20463/pwsafe"; +license=('GPL') +depends=('openssl' 'libxmu')
[arch-commits] Commit in pwsafe/repos (6 files)
Date: Sunday, December 6, 2015 @ 02:29:50 Author: foutrelis Revision: 148730 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: pwsafe/repos/community-staging-i686/ pwsafe/repos/community-staging-i686/PKGBUILD (from rev 148729, pwsafe/trunk/PKGBUILD) pwsafe/repos/community-staging-i686/pwsafe-XChangeProperty.patch (from rev 148729, pwsafe/trunk/pwsafe-XChangeProperty.patch) pwsafe/repos/community-staging-x86_64/ pwsafe/repos/community-staging-x86_64/PKGBUILD (from rev 148729, pwsafe/trunk/PKGBUILD) pwsafe/repos/community-staging-x86_64/pwsafe-XChangeProperty.patch (from rev 148729, pwsafe/trunk/pwsafe-XChangeProperty.patch) ---+ community-staging-i686/PKGBUILD | 40 community-staging-i686/pwsafe-XChangeProperty.patch | 20 community-staging-x86_64/PKGBUILD | 40 community-staging-x86_64/pwsafe-XChangeProperty.patch | 20 4 files changed, 120 insertions(+) Copied: pwsafe/repos/community-staging-i686/PKGBUILD (from rev 148729, pwsafe/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 01:29:50 UTC (rev 148730) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta + +pkgname=pwsafe +pkgver=20150908 +pkgrel=2 +pkgdesc="A commandline program for managing encrypted password databases" +arch=('i686' 'x86_64') +url="https://github.com/nsd20463/pwsafe"; +license=('GPL') +depends=('openssl' 'libxmu') +makedepends=('git') +source=("git://github.com/nsd20463/pwsafe.git" + pwsafe-XChangeProperty.patch) +md5sums=('SKIP' + 'cff6aee2e43f5fbe82e8cd7ccfefb099') + +prepare() { + cd ${srcdir}/${pkgname} + # Patch from fedora, fixes FS#28339 + patch -Np0 -i ../pwsafe-XChangeProperty.patch +} + +build() { + cd ${srcdir}/${pkgname} + aclocal + autoheader + automake --add-missing + autoconf + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd ${srcdir}/${pkgname} + make DESTDIR=${pkgdir} install + # Make pwsafe suid root so it can seed rng as a user + chmod +s ${pkgdir}/usr/bin/pwsafe +} Copied: pwsafe/repos/community-staging-i686/pwsafe-XChangeProperty.patch (from rev 148729, pwsafe/trunk/pwsafe-XChangeProperty.patch) === --- community-staging-i686/pwsafe-XChangeProperty.patch (rev 0) +++ community-staging-i686/pwsafe-XChangeProperty.patch 2015-12-06 01:29:50 UTC (rev 148730) @@ -0,0 +1,20 @@ +Index: pwsafe.cpp +=== +RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v +retrieving revision 1.57 +diff -u -r1.57 pwsafe.cpp +--- pwsafe.cpp 12 Aug 2007 12:33:06 - 1.57 pwsafe.cpp 5 Jan 2011 22:16:43 - +@@ -1820,10 +1820,10 @@ + if (xev.xselectionrequest.target == XA_TARGETS(xdisplay)) { + // tell them what we can supply + const Atom targets[] = { XA_TARGETS(xdisplay), XA_TIMESTAMP(xdisplay), XA_TEXT(xdisplay), XA_STRING }; +- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TARGETS(xdisplay), 32, PropModeReplace, reinterpret_cast(&targets), sizeof(targets)/sizeof(targets[0])); ++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast(&targets), sizeof(targets)/sizeof(targets[0])); + } + else if (xev.xselectionrequest.target == XA_TIMESTAMP(xdisplay)) { +- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TIMESTAMP(xdisplay), 32, PropModeReplace, reinterpret_cast(×tamp), 1); ++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast(×tamp), 1); + } + else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) || + xev.xselectionrequest.target == XA_STRING) { Copied: pwsafe/repos/community-staging-x86_64/PKGBUILD (from rev 148729, pwsafe/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 01:29:50 UTC (rev 148730) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Vesa Kaihlavirta + +pkgname=pwsafe +pkgver=20150908 +pkgrel=2 +pkgdesc="A commandline program for managing encrypted password databases" +arch=('i686' 'x86_64') +url="https://github.com/nsd20463/pwsafe"; +license=('GPL') +depends=('openssl' 'libxmu') +makedepends=('git') +source=("git://github.com/nsd20463/pwsafe.git" + pwsafe-XChangeProperty.patch) +md5sums=