diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2019-09-27 16:59:58 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-09-27 14:59:58 -0700 |
commit | fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893 (patch) | |
tree | a801173c5c83f30013fddff2c72b05c6bc5036c5 /var/spack/repos/builtin/packages/perl-sys-sigaction | |
parent | 08a6577861883aefa41fd813904dc9f34c3b4dec (diff) | |
download | spack-fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893.tar.gz spack-fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893.tar.bz2 spack-fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893.tar.xz spack-fc99eddb124b4bcc887eaa3d2c22d5fe2ef42893.zip |
New package: maker and dependencies (#12904)
Diffstat (limited to 'var/spack/repos/builtin/packages/perl-sys-sigaction')
-rw-r--r-- | var/spack/repos/builtin/packages/perl-sys-sigaction/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py b/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py new file mode 100644 index 0000000000..50118db548 --- /dev/null +++ b/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PerlSysSigaction(PerlPackage): + """Prior to version 5.8.0 perl implemented 'unsafe' signal handling. The + reason it is consider unsafe, is that there is a risk that a signal will + arrive, and be handled while perl is changing internal data structures. + This can result in all kinds of subtle and not so subtle problems. For this + reason it has always been recommended that one do as little as possible in + a signal handler, and only variables that already exist be manipulated. + + Perl 5.8.0 and later versions implements 'safe' signal handling on + platforms which support the POSIX sigaction() function. This is + accomplished by having perl note that a signal has arrived, but deferring + the execution of the signal handler until such time as it is safe to do so. + Unfortunately these changes can break some existing scripts, if they + depended on a system routine being interrupted by the signal's arrival. The + perl 5.8.0 implementation was modified further in version 5.8.2""" + + homepage = "https://metacpan.org/pod/Sys::SigAction" + url = "https://cpan.metacpan.org/authors/id/L/LB/LBAXTER/Sys-SigAction-0.23.tar.gz" + + version('0.23', sha256='c4ef6c9345534031fcbbe2adc347fc7194d47afc945e7a44fac7e9563095d353') |