pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/p11-kit p11-kit: Avoid non-portable use of re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bebeb3e7d311
branches:  trunk
changeset: 313333:bebeb3e7d311
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Sep 27 18:06:36 2018 +0000

description:
p11-kit: Avoid non-portable use of readlink(1) in Makefile.

diffstat:

 security/p11-kit/distinfo                  |   4 ++--
 security/p11-kit/patches/patch-Makefile.in |  16 +++++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ac0007015a7b -r bebeb3e7d311 security/p11-kit/distinfo
--- a/security/p11-kit/distinfo Thu Sep 27 17:15:25 2018 +0000
+++ b/security/p11-kit/distinfo Thu Sep 27 18:06:36 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2018/09/05 08:34:10 prlw1 Exp $
+$NetBSD: distinfo,v 1.10 2018/09/27 18:06:36 tnn Exp $
 
 SHA1 (p11-kit-0.23.14.tar.gz) = 30cab1d4b716022e6918f9a49976609c425f9cfc
 RMD160 (p11-kit-0.23.14.tar.gz) = 795ea86b15fbcb6865cf65c146c6f54b5a27d1cd
 SHA512 (p11-kit-0.23.14.tar.gz) = fc7e7e0745d7f8e5d783a1f38bad9bbe65b56d54897b6ba2c3118a0d912451c2d48dd113a875e7f7bfcff8fbd6b4905472fcd120630661c12029a16d2b13add4
 Size (p11-kit-0.23.14.tar.gz) = 1266595 bytes
-SHA1 (patch-Makefile.in) = c7f26205c09537593a49dea33c05e1fd29e9dbc3
+SHA1 (patch-Makefile.in) = 1393b1c8892e90362575d5d325a583921f629b3c
 SHA1 (patch-common_compat.c) = b45c24309f2c4bd6389162a9c02c6ac132230e40
diff -r ac0007015a7b -r bebeb3e7d311 security/p11-kit/patches/patch-Makefile.in
--- a/security/p11-kit/patches/patch-Makefile.in        Thu Sep 27 17:15:25 2018 +0000
+++ b/security/p11-kit/patches/patch-Makefile.in        Thu Sep 27 18:06:36 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-Makefile.in,v 1.3 2018/07/06 15:33:39 prlw1 Exp $
+$NetBSD: patch-Makefile.in,v 1.4 2018/09/27 18:06:36 tnn Exp $
 
 Install examples into pkgsrc example directory.
+Avoid non-portable use of readlink(1) in Makefile.
 
---- Makefile.in.orig   2018-05-30 14:18:17.000000000 +0000
+--- Makefile.in.orig   2018-08-28 14:02:02.000000000 +0000
 +++ Makefile.in
-@@ -1691,7 +1691,7 @@ libp11_kit_pkcs11_gnu_la_CFLAGS = -DCRYP
+@@ -1730,7 +1730,7 @@ libp11_kit_pkcs11_gnu_la_CFLAGS = -DCRYP
  @OS_WIN32_FALSE@p11_kit_client_la_LIBADD = $(libp11_kit_la_LIBADD)
  pkgconfigdir = $(libdir)/pkgconfig
  pkgconfig_DATA = p11-kit/p11-kit-1.pc
@@ -13,3 +14,12 @@
  example_DATA = p11-kit/pkcs11.conf.example
  p11_kit_p11_kit_SOURCES = \
        p11-kit/lists.c \
+@@ -5494,7 +5494,7 @@ p11-kit/pin.gnu.c: p11-kit/pin.h
+ @OS_WIN32_FALSE@install-exec-hook:
+ @OS_WIN32_FALSE@      for i in so dylib; do \
+ @OS_WIN32_FALSE@              test -f $(DESTDIR)$(libdir)/libp11-kit.$$i && \
+-@OS_WIN32_FALSE@                      $(LN_S) -f `readlink $(DESTDIR)$(libdir)/libp11-kit.$$i` $(DESTDIR)$(libdir)/p11-kit-proxy.$$i || true; \
++@OS_WIN32_FALSE@                      $(LN_S) -f `ls -ld $(DESTDIR)$(libdir)/libp11-kit.$$i | sed 's@.* -> @@'` $(DESTDIR)$(libdir)/p11-kit-proxy.$$i || true; \
+ @OS_WIN32_FALSE@      done
+ @OS_WIN32_FALSE@      $(MKDIR_P) $(DESTDIR)$(p11_package_config_modules)
+ 



Home | Main Index | Thread Index | Old Index