[arch-commits] Commit in pwsafe/repos/community-i686 (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Jul 1 14:41:37 UTC 2014


    Date: Tuesday, July 1, 2014 @ 16:41:37
  Author: spupykin
Revision: 114345

archrelease: copy trunk to community-i686

Added:
  pwsafe/repos/community-i686/PKGBUILD
    (from rev 114344, pwsafe/trunk/PKGBUILD)
  pwsafe/repos/community-i686/pwsafe-XChangeProperty.patch
    (from rev 114344, pwsafe/trunk/pwsafe-XChangeProperty.patch)
Deleted:
  pwsafe/repos/community-i686/PKGBUILD
  pwsafe/repos/community-i686/pwsafe-XChangeProperty.patch

------------------------------+
 PKGBUILD                     |   70 ++++++++++++++++++++---------------------
 pwsafe-XChangeProperty.patch |   40 +++++++++++------------
 2 files changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-01 14:41:28 UTC (rev 114344)
+++ PKGBUILD	2014-07-01 14:41:37 UTC (rev 114345)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
-
-pkgname=pwsafe
-pkgver=0.2.0
-pkgrel=8
-pkgdesc="A commandline program for managing encrypted password databases"
-arch=('i686' 'x86_64')
-url="http://nsd.dyndns.org/pwsafe/"
-license=('GPL')
-depends=('openssl' 'libxmu' 'readline')
-source=(${url}/releases/${pkgname}-${pkgver}.tar.gz
-	pwsafe-XChangeProperty.patch)
-md5sums=('4bb36538a2772ecbf1a542bc7d4746c0'
-         'cff6aee2e43f5fbe82e8cd7ccfefb099')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  # Patch from fedora, fixes FS#28339
-  patch -Np0 -i ../pwsafe-XChangeProperty.patch
-
-  ./configure --prefix=/usr --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  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-i686/PKGBUILD (from rev 114344, pwsafe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-07-01 14:41:37 UTC (rev 114345)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=pwsafe
+pkgver=0.2.0
+pkgrel=9
+pkgdesc="A commandline program for managing encrypted password databases"
+arch=('i686' 'x86_64')
+url="http://nsd.dyndns.org/pwsafe/"
+license=('GPL')
+depends=('openssl' 'libxmu' 'readline')
+source=(${url}/releases/${pkgname}-${pkgver}.tar.gz
+	pwsafe-XChangeProperty.patch)
+md5sums=('4bb36538a2772ecbf1a542bc7d4746c0'
+         'cff6aee2e43f5fbe82e8cd7ccfefb099')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # Patch from fedora, fixes FS#28339
+  patch -Np0 -i ../pwsafe-XChangeProperty.patch
+
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+
+  # Make pwsafe suid root so it can seed rng as a user
+  chmod +s ${pkgdir}/usr/bin/pwsafe
+}

Deleted: pwsafe-XChangeProperty.patch
===================================================================
--- pwsafe-XChangeProperty.patch	2014-07-01 14:41:28 UTC (rev 114344)
+++ pwsafe-XChangeProperty.patch	2014-07-01 14:41:37 UTC (rev 114345)
@@ -1,20 +0,0 @@
-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 -0000	1.57
-+++ pwsafe.cpp	5 Jan 2011 22:16:43 -0000
-@@ -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<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
-+              XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&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<const unsigned char*>(&timestamp), 1);
-+              XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
-             }
-             else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) ||
-                 xev.xselectionrequest.target == XA_STRING) {

Copied: pwsafe/repos/community-i686/pwsafe-XChangeProperty.patch (from rev 114344, pwsafe/trunk/pwsafe-XChangeProperty.patch)
===================================================================
--- pwsafe-XChangeProperty.patch	                        (rev 0)
+++ pwsafe-XChangeProperty.patch	2014-07-01 14:41:37 UTC (rev 114345)
@@ -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 -0000	1.57
++++ pwsafe.cpp	5 Jan 2011 22:16:43 -0000
+@@ -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<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
++              XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&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<const unsigned char*>(&timestamp), 1);
++              XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
+             }
+             else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) ||
+                 xev.xselectionrequest.target == XA_STRING) {




More information about the arch-commits mailing list