This patch removes the explicit reference to the 'perl' binary, such that OpenSSL does not retain a reference to Perl. The 'c_rehash' program is seldom used, but it is used nonetheless to create symbolic links to certificates, for instance in the 'nss-certs' package. --- openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:07.313316482 +0200 +++ openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:28.965458458 +0200 @@ -1,4 +1,6 @@ -#!/usr/local/bin/perl +eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' + & eval 'exec perl -wS "$0" $argv:q' + if 0; # Perl c_rehash script, scan all files in a directory # and add symbolic links to their hash values. ue='4ef63d7ed0ae1ae29c97cb16f63c537c70473dcf'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/services/configuration.scm
AgeCommit message (Collapse)Author
2023-10-07services: configuration: Use transducers within serialize-configuration.Bruno Victal
Introduces 'base-transducer', a SRFI-171 based transducer that can be used as a starting point for writing custom configuration record serializing procedures. This also fixes the symbol maybe-value serialization test case. * gnu/services/configuration.scm (empty-serializer?): New predicate. (base-transducer, tfilter-maybe-value): New procedure. (serialize-configuration): Adapt to use base-transducer. * gnu/services/telephony.scm (jami-account->alist): Use transducers to skip fields that are unserializable or whose field maybe-value is unset. * tests/services/configuration.scm: Remove test-expect-fail. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>