pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/kwallet kwallet: Fix build, handle categories...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d01109457cb5
branches:  trunk
changeset: 375311:d01109457cb5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Feb 08 13:49:03 2018 +0000

description:
kwallet: Fix build, handle categories file correctly.

diffstat:

 security/kwallet/Makefile                                              |  12 +++++++-
 security/kwallet/PLIST                                                 |   3 +-
 security/kwallet/distinfo                                              |   3 +-
 security/kwallet/patches/patch-src_runtime_kwalletd_backend_blowfish.h |  15 ++++++++++
 4 files changed, 30 insertions(+), 3 deletions(-)

diffs (74 lines):

diff -r f44de4814947 -r d01109457cb5 security/kwallet/Makefile
--- a/security/kwallet/Makefile Thu Feb 08 12:59:28 2018 +0000
+++ b/security/kwallet/Makefile Thu Feb 08 13:49:03 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2018/01/24 19:06:09 markd Exp $
+# $NetBSD: Makefile,v 1.37 2018/02/08 13:49:03 jperkin Exp $
 
 DISTNAME=      kwallet-${KF5VER}
 PKGREVISION=   1
@@ -14,6 +14,16 @@
 
 USE_TOOLS+=    msgmerge
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg:'
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/kwallet.categories \
+               ${PKG_SYSCONFDIR}/xdg/kwallet.categories
+
 .include "../../lang/python/tool.mk"
 .include "../../devel/knotifications/buildlink3.mk"
 .include "../../devel/kservice/buildlink3.mk"
diff -r f44de4814947 -r d01109457cb5 security/kwallet/PLIST
--- a/security/kwallet/PLIST    Thu Feb 08 12:59:28 2018 +0000
+++ b/security/kwallet/PLIST    Thu Feb 08 13:49:03 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2018/01/17 20:06:50 markd Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/02/08 13:49:03 jperkin Exp $
 bin/kwallet-query
 bin/kwalletd5
 include/KF5/KWallet/KWallet
@@ -20,6 +20,7 @@
 share/dbus-1/interfaces/kf5_org.kde.KWallet.xml
 share/dbus-1/services/org.kde.kwalletd.service
 share/dbus-1/services/org.kde.kwalletd5.service
+share/examples/kde-xdg/kwallet.categories
 share/knotifications5/kwalletd.notifyrc
 share/kservices5/kwalletd5.desktop
 share/locale/ar/LC_MESSAGES/kwalletd5.mo
diff -r f44de4814947 -r d01109457cb5 security/kwallet/distinfo
--- a/security/kwallet/distinfo Thu Feb 08 12:59:28 2018 +0000
+++ b/security/kwallet/distinfo Thu Feb 08 13:49:03 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2018/01/17 20:06:50 markd Exp $
+$NetBSD: distinfo,v 1.13 2018/02/08 13:49:03 jperkin Exp $
 
 SHA1 (kwallet-5.41.0.tar.xz) = 6c6eee6baa6a1733d383bb06e1b4163065a9dc8e
 RMD160 (kwallet-5.41.0.tar.xz) = e60000156ec099870c4367dcb3a3a05242292b6f
 SHA512 (kwallet-5.41.0.tar.xz) = 572b1d145f7092ed8ca581a00ced425f6a6fa4d153853ec591bbe6f91c5851c8476356b907ea1808e93f881a9e24797e894e7621f5627eadaf086a7f92e89e74
 Size (kwallet-5.41.0.tar.xz) = 306496 bytes
+SHA1 (patch-src_runtime_kwalletd_backend_blowfish.h) = c36149fb54391d3023f37f13d3617a6a3efd6518
diff -r f44de4814947 -r d01109457cb5 security/kwallet/patches/patch-src_runtime_kwalletd_backend_blowfish.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/kwallet/patches/patch-src_runtime_kwalletd_backend_blowfish.h    Thu Feb 08 13:49:03 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_runtime_kwalletd_backend_blowfish.h,v 1.1 2018/02/08 13:49:04 jperkin Exp $
+
+Avoid macro conflicts.
+
+--- src/runtime/kwalletd/backend/blowfish.h.orig       2017-12-02 20:09:03.000000000 +0000
++++ src/runtime/kwalletd/backend/blowfish.h
+@@ -54,6 +54,8 @@ public:
+     virtual int decrypt(void *block, int len);
+ 
+ private:
++#undef _S
++#undef _P
+     uint32_t _S[4][256];
+     uint32_t _P[18];
+ 



Home | Main Index | Thread Index | Old Index