pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libtomcrypt Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/679e9c8be69d
branches:  trunk
changeset: 365391:679e9c8be69d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 15 17:23:03 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 security/libtomcrypt/distinfo         |  6 +++---
 security/libtomcrypt/patches/patch-ab |  4 ++--
 security/libtomcrypt/patches/patch-ac |  4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 2dc5265c10f3 -r 679e9c8be69d security/libtomcrypt/distinfo
--- a/security/libtomcrypt/distinfo     Sat Jul 15 17:22:53 2017 +0000
+++ b/security/libtomcrypt/distinfo     Sat Jul 15 17:23:03 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.6 2017/05/16 21:55:50 snj Exp $
+$NetBSD: distinfo,v 1.7 2017/07/15 17:23:03 wiz Exp $
 
 SHA1 (crypt-1.17.tar.bz2) = 9c746822c84e4276e432b64964f94d1d5ddd13ad
 RMD160 (crypt-1.17.tar.bz2) = 742d72d82fea2e6a9865d8c682c10cbaba69ea2f
 SHA512 (crypt-1.17.tar.bz2) = 9335df5ae0a2c8e33e8f03ced0cfb0a8d1ac4bccd007b74818228c3b8b232446b4425356f304a08320b75542a537a46b305b92c3011dee76dfd636497bf57af2
 Size (crypt-1.17.tar.bz2) = 1599215 bytes
 SHA1 (patch-aa) = a2385cf0543a19b1555d4370a10c012c5141b48a
-SHA1 (patch-ab) = c0eb1522dd02c2811deebfa353433e81e71a8928
-SHA1 (patch-ac) = 871a713512b20199b502876d2523e8bf619c5e85
+SHA1 (patch-ab) = 9ccfd1f43607c4b781f31f2ddd53500db5c94efd
+SHA1 (patch-ac) = f3beb2d6ffc2db483891b61d1fe53db38434fe38
 SHA1 (patch-src_headers_tomcrypt__macros.h) = 4aa1e0773a11c32fca83e7de82e12d44fdbb8202
 SHA1 (patch-src_pk_rsa_rsa__verify__hash.c) = 0bc2467fa3fc0a372baafbfea4c7b328422f8adb
diff -r 2dc5265c10f3 -r 679e9c8be69d security/libtomcrypt/patches/patch-ab
--- a/security/libtomcrypt/patches/patch-ab     Sat Jul 15 17:22:53 2017 +0000
+++ b/security/libtomcrypt/patches/patch-ab     Sat Jul 15 17:23:03 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2014/01/16 13:32:10 drochner Exp $
+$NetBSD: patch-ab,v 1.3 2017/07/15 17:23:04 wiz Exp $
 
 --- makefile.shared.orig       2007-05-12 14:46:25.000000000 +0000
 +++ makefile.shared
@@ -73,7 +73,7 @@
 -$(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
 -      libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
 +$(LIBNAME): $(OBJECTS:.o=.lo) testprof/$(LIBTEST)
-+      libtool --silent --mode=link ${CC} $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
++      libtool --silent --mode=link ${CC} $(CFLAGS) $(LDFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
  
  install: $(LIBNAME)
 -      install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
diff -r 2dc5265c10f3 -r 679e9c8be69d security/libtomcrypt/patches/patch-ac
--- a/security/libtomcrypt/patches/patch-ac     Sat Jul 15 17:22:53 2017 +0000
+++ b/security/libtomcrypt/patches/patch-ac     Sat Jul 15 17:23:03 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1 2011/03/10 10:02:34 drochner Exp $
+$NetBSD: patch-ac,v 1.2 2017/07/15 17:23:04 wiz Exp $
 
 --- testprof/makefile.shared.orig      2007-05-12 14:46:25.000000000 +0000
 +++ testprof/makefile.shared
@@ -19,7 +19,7 @@
 +      ${LIBTOOL} --mode=compile ${CC} -c ${CFLAGS} $< -o $@
 +
 +$(LIBTEST): $(OBJECTS:.o=.lo)
-+      libtool --silent --mode=link ${CC} $(CFLAGS) `find . -type f | grep "[.]lo" |  xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
++      libtool --silent --mode=link ${CC} $(CFLAGS) $(LDFLAGS) `find . -type f | grep "[.]lo" |  xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
  
  install: $(LIBTEST)
        libtool --silent --mode=install install -c $(LIBTEST) $(DESTDIR)$(LIBPATH)/$(LIBTEST)



Home | Main Index | Thread Index | Old Index