pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/seccure rework the link stage in the Makefile...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f04b1ac9e5c3
branches:  trunk
changeset: 363088:f04b1ac9e5c3
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed May 31 23:31:13 2017 +0000

description:
rework the link stage in the Makefile to specify -lgcrypt after all the
object files, in an attempt to fix undefined references to all libgcrypt
functions in Linux bulk build

diffstat:

 security/seccure/distinfo         |   4 ++--
 security/seccure/patches/patch-aa |  11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 64a732d9446a -r f04b1ac9e5c3 security/seccure/distinfo
--- a/security/seccure/distinfo Wed May 31 23:21:06 2017 +0000
+++ b/security/seccure/distinfo Wed May 31 23:31:13 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 01:18:09 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/05/31 23:31:13 agc Exp $
 
 SHA1 (seccure-0.4.tar.gz) = 883e335f58cc36279c33493ab219f4940a46dab8
 RMD160 (seccure-0.4.tar.gz) = fc35fdf69372c39b20a67c5341b1e36ce6bf8e9f
 SHA512 (seccure-0.4.tar.gz) = 3372ecc473677a50822de39dfb62c449f1c03fd19c8f0bf72838d6dce452960bd1ca80ac8987c0e1f1874b515c94776ba2f26886150756f00c8bd849cfbfefa7
 Size (seccure-0.4.tar.gz) = 31881 bytes
-SHA1 (patch-aa) = 4813ab5c58779c490a0e96314333b90397df97cd
+SHA1 (patch-aa) = 91c83d4583d28cade721c105e52fd0535b7a0171
 SHA1 (patch-seccure.c) = 61ff85bc1e6d4d7ec59903328ec079d176ba4e92
diff -r 64a732d9446a -r f04b1ac9e5c3 security/seccure/patches/patch-aa
--- a/security/seccure/patches/patch-aa Wed May 31 23:21:06 2017 +0000
+++ b/security/seccure/patches/patch-aa Wed May 31 23:31:13 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2010/01/31 23:24:24 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2017/05/31 23:31:13 agc Exp $
 
 --- Makefile.orig      2009-04-09 12:42:50.000000000 +0000
 +++ Makefile
@@ -13,7 +13,7 @@
  
  binaries: seccure-key seccure-encrypt seccure-decrypt seccure-sign \
        seccure-verify seccure-signcrypt seccure-veridec seccure-dh
-@@ -8,15 +11,13 @@ binaries: seccure-key seccure-encrypt se
+@@ -8,15 +11,13 @@
  doc: seccure.1 seccure.1.html
  
  install: default
@@ -36,14 +36,15 @@
  
  clean:
        rm -f *.o *~ seccure-key seccure-encrypt seccure-decrypt seccure-sign \
-@@ -28,9 +29,8 @@ rebuild: clean default
+@@ -28,9 +29,8 @@
  
  
  seccure-key: seccure.o numtheory.o ecc.o serialize.o protocol.o curves.o aes256ctr.o
 -      $(CC) $(CFLAGS) -o seccure-key -lgcrypt seccure.o numtheory.o ecc.o \
-+      $(CC) $(LDFLAGS) $(CFLAGS) -o seccure-key -lgcrypt seccure.o numtheory.o ecc.o \
-       curves.o serialize.o protocol.o aes256ctr.o
+-      curves.o serialize.o protocol.o aes256ctr.o
 -      strip seccure-key
++      $(CC) $(LDFLAGS) $(CFLAGS) -o seccure-key seccure.o numtheory.o ecc.o \
++      curves.o serialize.o protocol.o aes256ctr.o -lgcrypt
  
  seccure-encrypt: seccure-key
        ln -f seccure-key seccure-encrypt



Home | Main Index | Thread Index | Old Index