pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/seccure Fix rpath. Honour strip settings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2046a298ca6
branches:  trunk
changeset: 570552:a2046a298ca6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jan 31 23:24:24 2010 +0000

description:
Fix rpath. Honour strip settings.

diffstat:

 security/seccure/Makefile         |   8 ++++++--
 security/seccure/distinfo         |   4 ++--
 security/seccure/patches/patch-aa |  19 +++++++++++++++----
 3 files changed, 23 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r ea65d11d638b -r a2046a298ca6 security/seccure/Makefile
--- a/security/seccure/Makefile Sun Jan 31 23:13:24 2010 +0000
+++ b/security/seccure/Makefile Sun Jan 31 23:24:24 2010 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+# $NetBSD: Makefile,v 1.2 2010/01/31 23:24:24 joerg Exp $
 
 DISTNAME=      seccure-0.4
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  http://point-at-infinity.org/seccure/
 
@@ -12,6 +13,9 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
-.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
 
+LDFLAGS+=      -Wl,-rpath,${PREFIX}/lib
+
+.include "../../security/libgcrypt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ea65d11d638b -r a2046a298ca6 security/seccure/distinfo
--- a/security/seccure/distinfo Sun Jan 31 23:13:24 2010 +0000
+++ b/security/seccure/distinfo Sun Jan 31 23:24:24 2010 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+$NetBSD: distinfo,v 1.2 2010/01/31 23:24:24 joerg Exp $
 
 SHA1 (seccure-0.4.tar.gz) = 883e335f58cc36279c33493ab219f4940a46dab8
 RMD160 (seccure-0.4.tar.gz) = fc35fdf69372c39b20a67c5341b1e36ce6bf8e9f
 Size (seccure-0.4.tar.gz) = 31881 bytes
-SHA1 (patch-aa) = 1a83424f90b94e38ccbb4c1d0fa210032c4aab65
+SHA1 (patch-aa) = 4813ab5c58779c490a0e96314333b90397df97cd
diff -r ea65d11d638b -r a2046a298ca6 security/seccure/patches/patch-aa
--- a/security/seccure/patches/patch-aa Sun Jan 31 23:13:24 2010 +0000
+++ b/security/seccure/patches/patch-aa Sun Jan 31 23:24:24 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/31 23:24:24 joerg Exp $
 
---- Makefile   2009/12/07 22:32:10     1.1
-+++ Makefile   2009/12/07 22:37:20
+--- Makefile.orig      2009-04-09 12:42:50.000000000 +0000
++++ Makefile
 @@ -1,6 +1,9 @@
  CFLAGS = -O2 -Wall # -D NOBEEP
  
@@ -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 @@
+@@ -8,15 +11,13 @@ binaries: seccure-key seccure-encrypt se
  doc: seccure.1 seccure.1.html
  
  install: default
@@ -36,3 +36,14 @@
  
  clean:
        rm -f *.o *~ seccure-key seccure-encrypt seccure-decrypt seccure-sign \
+@@ -28,9 +29,8 @@ rebuild: clean default
+ 
+ 
+ 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
+-      strip seccure-key
+ 
+ seccure-encrypt: seccure-key
+       ln -f seccure-key seccure-encrypt



Home | Main Index | Thread Index | Old Index