diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-31 23:24:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-31 23:24:24 +0000 |
commit | 81c00ff6fd69785ca50de4fed5dfb201a3c2df13 (patch) | |
tree | 4cf2b4d0ffadabb76b341c3fac12c65f063f0418 /security | |
parent | c9c9c808116f2272f68952e4d9146e70cb2519cf (diff) | |
download | pkgsrc-81c00ff6fd69785ca50de4fed5dfb201a3c2df13.tar.gz |
Fix rpath. Honour strip settings.
Diffstat (limited to 'security')
-rw-r--r-- | security/seccure/Makefile | 8 | ||||
-rw-r--r-- | security/seccure/distinfo | 4 | ||||
-rw-r--r-- | security/seccure/patches/patch-aa | 19 |
3 files changed, 23 insertions, 8 deletions
diff --git a/security/seccure/Makefile b/security/seccure/Makefile index ed75022ef48..c2e5d1c1e41 100644 --- a/security/seccure/Makefile +++ b/security/seccure/Makefile @@ -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 @@ LICENSE= gnu-gpl-v2 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 --git a/security/seccure/distinfo b/security/seccure/distinfo index bf8c806f61a..53922f95e21 100644 --- a/security/seccure/distinfo +++ b/security/seccure/distinfo @@ -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 --git a/security/seccure/patches/patch-aa b/security/seccure/patches/patch-aa index 8bfee10f2a5..3830bb320e1 100644 --- a/security/seccure/patches/patch-aa +++ b/security/seccure/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $ 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 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $ 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 |