NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/44073: libnetpgp: only export the netpgp_* symbols
The following reply was made to PR lib/44073; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/44073: libnetpgp: only export the netpgp_* symbols
Date: Sun, 2 Oct 2016 18:37:58 +0000
On Tue, Nov 09, 2010 at 07:00:00PM +0000, roam%ringlet.net@localhost wrote:
> Apply the patch found at:
> http://devel.ringlet.net/security/netpgp/patches/09-libtool-export.patch
here's a copy of that:
------
Description: Only export the netpgp_* symbols from libnetpgp0.so
Bug: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44073
Author: Peter Pentchev <roam%ringlet.net@localhost>
Last-Update: 2010-11-09
Index: src/lib/Makefile.in
===================================================================
RCS file: /cvsroot/src/crypto/external/bsd/netpgp/dist/src/lib/Makefile.in,v
retrieving revision 1.14
diff -u -r1.14 Makefile.in
--- src/lib/Makefile.in 6 Nov 2010 03:42:59 -0000 1.14
+++ src/lib/Makefile.in 9 Nov 2010 18:49:21 -0000
@@ -225,7 +225,7 @@
validate.c \
writer.c
-libnetpgp_la_LIBADD = ../libmj/libmj.la
+libnetpgp_la_LIBADD = -export-symbols-regex '^netpgp_.*' ../libmj/libmj.la
dist_man_MANS = libnetpgp.3
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index