[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22831: [PATCH 2/2] WIP: gnu: openssl: Restrict allowed references fo
From: |
Leo Famulari |
Subject: |
bug#22831: [PATCH 2/2] WIP: gnu: openssl: Restrict allowed references for openssl. |
Date: |
Tue, 1 Mar 2016 02:18:35 -0500 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Mon, Feb 29, 2016 at 07:39:53PM -0500, Leo Famulari wrote:
> * gnu/packages/tls.scm (openssl)[arguments]: Add #:allowed-references.
I realized that it would work if I imported (gnu packages gcc) when
defining the tls module. I don't know if that's the right approach or
not, but the output now refers only to glibc, gcc:lib, and itself.
> ---
> gnu/packages/tls.scm | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
> index 57f0ca1..5990413 100644
> --- a/gnu/packages/tls.scm
> +++ b/gnu/packages/tls.scm
> @@ -200,6 +200,13 @@ required structures.")
> `(#:parallel-build? #f
> #:parallel-tests? #f
> #:test-target "test"
> +
> + ;; Perl is required at build-time, but ideally not at run-time.
> + ;; OpenSSL updates tend to pull it back in. This prevents that.
> +
> + #:allowed-references ,(list (canonical-package glibc)
> + (list (canonical-package gcc) "lib")
> + "out")
> #:phases
> (modify-phases %standard-phases
> (add-before
> --
> 2.7.1
>
>
>
>
- bug#22831: [PATCH 2/2] WIP: gnu: openssl: Restrict allowed references for openssl.,
Leo Famulari <=