signal-utils 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +656 -0
- data/README.md +29 -0
- data/bin/sigign +36 -0
- data/bin/sigstat +63 -0
- data/bin/sigunmask +22 -0
- data/lib/signal-utils.rb +45 -0
- metadata +55 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d5a06e46ef0e078d3fffbc5708067e4995d83b69
|
4
|
+
data.tar.gz: 4e8898eeab3759fa01e1d32c569d4bc46c654e01
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2c0c6de2231e9cd6994b45610386ed7895f46856e8563f27a1ddf44a8e4bcd6b86884534730a7d4c85201e86b92ca2f55f2fb6b4444136fa6cad4a9ca4bad32f
|
7
|
+
data.tar.gz: ca399ab67640cca57536d16067c708cfd6661380cf7a067b8ddaba2d41bfed2ca265b6646c687aca9c3d871c995cdae0415902f65b456f7ba2f14b8e1736737c
|
data/LICENSE
ADDED
@@ -0,0 +1,656 @@
|
|
1
|
+
The GNU General Public License, Version 3, 29 June 2007 (GPLv3)
|
2
|
+
===============================================================
|
3
|
+
|
4
|
+
> Copyright © 2007
|
5
|
+
> Free Software Foundation, Inc.
|
6
|
+
> <<http://fsf.org/>>
|
7
|
+
|
8
|
+
Everyone is permitted to copy and distribute verbatim copies of this license
|
9
|
+
document, but changing it is not allowed.
|
10
|
+
|
11
|
+
|
12
|
+
Preamble
|
13
|
+
--------
|
14
|
+
|
15
|
+
The GNU General Public License is a free, copyleft license for software and
|
16
|
+
other kinds of works.
|
17
|
+
|
18
|
+
The licenses for most software and other practical works are designed to take
|
19
|
+
away your freedom to share and change the works. By contrast, the GNU General
|
20
|
+
Public License is intended to guarantee your freedom to share and change all
|
21
|
+
versions of a program--to make sure it remains free software for all its users.
|
22
|
+
We, the Free Software Foundation, use the GNU General Public License for most of
|
23
|
+
our software; it applies also to any other work released this way by its
|
24
|
+
authors. You can apply it to your programs, too.
|
25
|
+
|
26
|
+
When we speak of free software, we are referring to freedom, not price. Our
|
27
|
+
General Public Licenses are designed to make sure that you have the freedom to
|
28
|
+
distribute copies of free software (and charge for them if you wish), that you
|
29
|
+
receive source code or can get it if you want it, that you can change the
|
30
|
+
software or use pieces of it in new free programs, and that you know you can do
|
31
|
+
these things.
|
32
|
+
|
33
|
+
To protect your rights, we need to prevent others from denying you these rights
|
34
|
+
or asking you to surrender the rights. Therefore, you have certain
|
35
|
+
responsibilities if you distribute copies of the software, or if you modify it:
|
36
|
+
responsibilities to respect the freedom of others.
|
37
|
+
|
38
|
+
For example, if you distribute copies of such a program, whether gratis or for a
|
39
|
+
fee, you must pass on to the recipients the same freedoms that you received. You
|
40
|
+
must make sure that they, too, receive or can get the source code. And you must
|
41
|
+
show them these terms so they know their rights.
|
42
|
+
|
43
|
+
Developers that use the GNU GPL protect your rights with two steps: (1) assert
|
44
|
+
copyright on the software, and (2) offer you this License giving you legal
|
45
|
+
permission to copy, distribute and/or modify it.
|
46
|
+
|
47
|
+
For the developers' and authors' protection, the GPL clearly explains that there
|
48
|
+
is no warranty for this free software. For both users' and authors' sake, the
|
49
|
+
GPL requires that modified versions be marked as changed, so that their problems
|
50
|
+
will not be attributed erroneously to authors of previous versions.
|
51
|
+
|
52
|
+
Some devices are designed to deny users access to install or run modified
|
53
|
+
versions of the software inside them, although the manufacturer can do so. This
|
54
|
+
is fundamentally incompatible with the aim of protecting users' freedom to
|
55
|
+
change the software. The systematic pattern of such abuse occurs in the area of
|
56
|
+
products for individuals to use, which is precisely where it is most
|
57
|
+
unacceptable. Therefore, we have designed this version of the GPL to prohibit
|
58
|
+
the practice for those products. If such problems arise substantially in other
|
59
|
+
domains, we stand ready to extend this provision to those domains in future
|
60
|
+
versions of the GPL, as needed to protect the freedom of users.
|
61
|
+
|
62
|
+
Finally, every program is threatened constantly by software patents. States
|
63
|
+
should not allow patents to restrict development and use of software on
|
64
|
+
general-purpose computers, but in those that do, we wish to avoid the special
|
65
|
+
danger that patents applied to a free program could make it effectively
|
66
|
+
proprietary. To prevent this, the GPL assures that patents cannot be used to
|
67
|
+
render the program non-free.
|
68
|
+
|
69
|
+
The precise terms and conditions for copying, distribution and modification
|
70
|
+
follow.
|
71
|
+
|
72
|
+
|
73
|
+
TERMS AND CONDITIONS
|
74
|
+
--------------------
|
75
|
+
|
76
|
+
|
77
|
+
### 0. Definitions.
|
78
|
+
|
79
|
+
"This License refers to version 3 of the GNU General Public License.
|
80
|
+
|
81
|
+
"Copyright" also means copyright-like laws that apply to other kinds of works,
|
82
|
+
such as semiconductor masks.
|
83
|
+
|
84
|
+
"The Program" refers to any copyrightable work licensed under this License. Each
|
85
|
+
licensee is addressed as "you". "Licensees" and "recipients" may be individuals
|
86
|
+
or organizations.
|
87
|
+
|
88
|
+
To "modify" a work means to copy from or adapt all or part of the work in a
|
89
|
+
fashion requiring copyright permission, other than the making of an exact copy.
|
90
|
+
The resulting work is called a "modified version" of the earlier work or a work
|
91
|
+
"based on" the earlier work.
|
92
|
+
|
93
|
+
A "covered work" means either the unmodified Program or a work based on the
|
94
|
+
Program.
|
95
|
+
|
96
|
+
To "propagate" a work means to do anything with it that, without permission,
|
97
|
+
would make you directly or secondarily liable for infringement under applicable
|
98
|
+
copyright law, except executing it on a computer or modifying a private copy.
|
99
|
+
Propagation includes copying, distribution (with or without modification),
|
100
|
+
making available to the public, and in some countries other activities as well.
|
101
|
+
|
102
|
+
To "convey" a work means any kind of propagation that enables other parties to
|
103
|
+
make or receive copies. Mere interaction with a user through a computer network,
|
104
|
+
with no transfer of a copy, is not conveying.
|
105
|
+
|
106
|
+
An interactive user interface displays "Appropriate Legal Notices" to the extent
|
107
|
+
that it includes a convenient and prominently visible feature that (1) displays
|
108
|
+
an appropriate copyright notice, and (2) tells the user that there is no
|
109
|
+
warranty for the work (except to the extent that warranties are provided), that
|
110
|
+
licensees may convey the work under this License, and how to view a copy of this
|
111
|
+
License. If the interface presents a list of user commands or options, such as a
|
112
|
+
menu, a prominent item in the list meets this criterion.
|
113
|
+
|
114
|
+
|
115
|
+
### 1. Source Code.
|
116
|
+
|
117
|
+
The "source code" for a work means the preferred form of the work for making
|
118
|
+
modifications to it. "Object code" means any non-source form of a work.
|
119
|
+
|
120
|
+
A "Standard Interface" means an interface that either is an official standard
|
121
|
+
defined by a recognized standards body, or, in the case of interfaces specified
|
122
|
+
for a particular programming language, one that is widely used among developers
|
123
|
+
working in that language.
|
124
|
+
|
125
|
+
The "System Libraries" of an executable work include anything, other than the
|
126
|
+
work as a whole, that (a) is included in the normal form of packaging a Major
|
127
|
+
Component, but which is not part of that Major Component, and (b) serves only to
|
128
|
+
enable use of the work with that Major Component, or to implement a Standard
|
129
|
+
Interface for which an implementation is available to the public in source code
|
130
|
+
form. A "Major Component", in this context, means a major essential component
|
131
|
+
(kernel, window system, and so on) of the specific operating system (if any) on
|
132
|
+
which the executable work runs, or a compiler used to produce the work, or an
|
133
|
+
object code interpreter used to run it.
|
134
|
+
|
135
|
+
The "Corresponding Source" for a work in object code form means all the source
|
136
|
+
code needed to generate, install, and (for an executable work) run the object
|
137
|
+
code and to modify the work, including scripts to control those activities.
|
138
|
+
However, it does not include the work's System Libraries, or general-purpose
|
139
|
+
tools or generally available free programs which are used unmodified in
|
140
|
+
performing those activities but which are not part of the work. For example,
|
141
|
+
Corresponding Source includes interface definition files associated with source
|
142
|
+
files for the work, and the source code for shared libraries and dynamically
|
143
|
+
linked subprograms that the work is specifically designed to require, such as by
|
144
|
+
intimate data communication or control flow between those subprograms and other
|
145
|
+
parts of the work.
|
146
|
+
|
147
|
+
The Corresponding Source need not include anything that users can regenerate
|
148
|
+
automatically from other parts of the Corresponding Source.
|
149
|
+
|
150
|
+
The Corresponding Source for a work in source code form is that same work.
|
151
|
+
|
152
|
+
|
153
|
+
### 2. Basic Permissions.
|
154
|
+
|
155
|
+
All rights granted under this License are granted for the term of copyright on
|
156
|
+
the Program, and are irrevocable provided the stated conditions are met. This
|
157
|
+
License explicitly affirms your unlimited permission to run the unmodified
|
158
|
+
Program. The output from running a covered work is covered by this License only
|
159
|
+
if the output, given its content, constitutes a covered work. This License
|
160
|
+
acknowledges your rights of fair use or other equivalent, as provided by
|
161
|
+
copyright law.
|
162
|
+
|
163
|
+
You may make, run and propagate covered works that you do not convey, without
|
164
|
+
conditions so long as your license otherwise remains in force. You may convey
|
165
|
+
covered works to others for the sole purpose of having them make modifications
|
166
|
+
exclusively for you, or provide you with facilities for running those works,
|
167
|
+
provided that you comply with the terms of this License in conveying all
|
168
|
+
material for which you do not control copyright. Those thus making or running
|
169
|
+
the covered works for you must do so exclusively on your behalf, under your
|
170
|
+
direction and control, on terms that prohibit them from making any copies of
|
171
|
+
your copyrighted material outside their relationship with you.
|
172
|
+
|
173
|
+
Conveying under any other circumstances is permitted solely under the conditions
|
174
|
+
stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
175
|
+
|
176
|
+
|
177
|
+
### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
178
|
+
|
179
|
+
No covered work shall be deemed part of an effective technological measure under
|
180
|
+
any applicable law fulfilling obligations under article 11 of the WIPO copyright
|
181
|
+
treaty adopted on 20 December 1996, or similar laws prohibiting or restricting
|
182
|
+
circumvention of such measures.
|
183
|
+
|
184
|
+
When you convey a covered work, you waive any legal power to forbid
|
185
|
+
circumvention of technological measures to the extent such circumvention is
|
186
|
+
effected by exercising rights under this License with respect to the covered
|
187
|
+
work, and you disclaim any intention to limit operation or modification of the
|
188
|
+
work as a means of enforcing, against the work's users, your or third parties'
|
189
|
+
legal rights to forbid circumvention of technological measures.
|
190
|
+
|
191
|
+
|
192
|
+
### 4. Conveying Verbatim Copies.
|
193
|
+
|
194
|
+
You may convey verbatim copies of the Program's source code as you receive it,
|
195
|
+
in any medium, provided that you conspicuously and appropriately publish on each
|
196
|
+
copy an appropriate copyright notice; keep intact all notices stating that this
|
197
|
+
License and any non-permissive terms added in accord with section 7 apply to the
|
198
|
+
code; keep intact all notices of the absence of any warranty; and give all
|
199
|
+
recipients a copy of this License along with the Program.
|
200
|
+
|
201
|
+
You may charge any price or no price for each copy that you convey, and you may
|
202
|
+
offer support or warranty protection for a fee.
|
203
|
+
|
204
|
+
|
205
|
+
### 5. Conveying Modified Source Versions.
|
206
|
+
|
207
|
+
You may convey a work based on the Program, or the modifications to produce it
|
208
|
+
from the Program, in the form of source code under the terms of section 4,
|
209
|
+
provided that you also meet all of these conditions:
|
210
|
+
|
211
|
+
* **a)** The work must carry prominent notices stating that you modified it,
|
212
|
+
and giving a relevant date.
|
213
|
+
|
214
|
+
* **b)** The work must carry prominent notices stating that it is released
|
215
|
+
under this License and any conditions added under section 7. This
|
216
|
+
requirement modifies the requirement in section 4 to "keep intact all
|
217
|
+
notices".
|
218
|
+
|
219
|
+
* **c)** You must license the entire work, as a whole, under this License to
|
220
|
+
anyone who comes into possession of a copy. This License will therefore
|
221
|
+
apply, along with any applicable section 7 additional terms, to the whole of
|
222
|
+
the work, and all its parts, regardless of how they are packaged. This
|
223
|
+
License gives no permission to license the work in any other way, but it
|
224
|
+
does not invalidate such permission if you have separately received it.
|
225
|
+
|
226
|
+
* **d)** If the work has interactive user interfaces, each must display
|
227
|
+
Appropriate Legal Notices; however, if the Program has interactive
|
228
|
+
interfaces that do not display Appropriate Legal Notices, your work need not
|
229
|
+
make them do so.
|
230
|
+
|
231
|
+
A compilation of a covered work with other separate and independent works,
|
232
|
+
which are not by their nature extensions of the covered work, and which are
|
233
|
+
not combined with it such as to form a larger program, in or on a volume of
|
234
|
+
a storage or distribution medium, is called an "aggregate" if the
|
235
|
+
compilation and its resulting copyright are not used to limit the access or
|
236
|
+
legal rights of the compilation's users beyond what the individual works
|
237
|
+
permit. Inclusion of a covered work in an aggregate does not cause this
|
238
|
+
License to apply to the other parts of the aggregate.
|
239
|
+
|
240
|
+
|
241
|
+
### 6. Conveying Non-Source Forms.
|
242
|
+
|
243
|
+
You may convey a covered work in object code form under the terms of sections 4
|
244
|
+
and 5, provided that you also convey the machine-readable Corresponding Source
|
245
|
+
under the terms of this License, in one of these ways:
|
246
|
+
|
247
|
+
* **a)** Convey the object code in, or embodied in, a physical product
|
248
|
+
(including a physical distribution medium), accompanied by the Corresponding
|
249
|
+
Source fixed on a durable physical medium customarily used for software
|
250
|
+
interchange.
|
251
|
+
|
252
|
+
* **b)** Convey the object code in, or embodied in, a physical product
|
253
|
+
(including a physical distribution medium), accompanied by a written offer,
|
254
|
+
valid for at least three years and valid for as long as you offer spare
|
255
|
+
parts or customer support for that product model, to give anyone who
|
256
|
+
possesses the object code either (1) a copy of the Corresponding Source for
|
257
|
+
all the software in the product that is covered by this License, on a
|
258
|
+
durable physical medium customarily used for software interchange, for a
|
259
|
+
price no more than your reasonable cost of physically performing this
|
260
|
+
conveying of source, or (2) access to copy the Corresponding Source from a
|
261
|
+
network server at no charge.
|
262
|
+
|
263
|
+
* **c)** Convey individual copies of the object code with a copy of the
|
264
|
+
written offer to provide the Corresponding Source. This alternative is
|
265
|
+
allowed only occasionally and noncommercially, and only if you received the
|
266
|
+
object code with such an offer, in accord with subsection 6b.
|
267
|
+
|
268
|
+
* **d)** Convey the object code by offering access from a designated place
|
269
|
+
(gratis or for a charge), and offer equivalent access to the Corresponding
|
270
|
+
Source in the same way through the same place at no further charge. You need
|
271
|
+
not require recipients to copy the Corresponding Source along with the
|
272
|
+
object code. If the place to copy the object code is a network server, the
|
273
|
+
Corresponding Source may be on a different server (operated by you or a
|
274
|
+
third party) that supports equivalent copying facilities, provided you
|
275
|
+
maintain clear directions next to the object code saying where to find the
|
276
|
+
Corresponding Source. Regardless of what server hosts the Corresponding
|
277
|
+
Source, you remain obligated to ensure that it is available for as long as
|
278
|
+
needed to satisfy these requirements.
|
279
|
+
|
280
|
+
* **e)** Convey the object code using peer-to-peer transmission, provided you
|
281
|
+
inform other peers where the object code and Corresponding Source of the
|
282
|
+
work are being offered to the general public at no charge under subsection
|
283
|
+
6d.
|
284
|
+
|
285
|
+
A separable portion of the object code, whose source code is excluded from
|
286
|
+
the Corresponding Source as a System Library, need not be included in
|
287
|
+
conveying the object code work.
|
288
|
+
|
289
|
+
A "User Product" is either (1) a "consumer product", which means any
|
290
|
+
tangible personal property which is normally used for personal, family, or
|
291
|
+
household purposes, or (2) anything designed or sold for incorporation into
|
292
|
+
a dwelling. In determining whether a product is a consumer product, doubtful
|
293
|
+
cases shall be resolved in favor of coverage. For a particular product
|
294
|
+
received by a particular user, "normally used" refers to a typical or common
|
295
|
+
use of that class of product, regardless of the status of the particular
|
296
|
+
user or of the way in which the particular user actually uses, or expects or
|
297
|
+
is expected to use, the product. A product is a consumer product regardless
|
298
|
+
of whether the product has substantial commercial, industrial or non-
|
299
|
+
consumer uses, unless such uses represent the only significant mode of use
|
300
|
+
of the product.
|
301
|
+
|
302
|
+
"Installation Information" for a User Product means any methods, procedures,
|
303
|
+
authorization keys, or other information required to install and execute
|
304
|
+
modified versions of a covered work in that User Product from a modified
|
305
|
+
version of its Corresponding Source. The information must suffice to ensure
|
306
|
+
that the continued functioning of the modified object code is in no case
|
307
|
+
prevented or interfered with solely because modification has been made.
|
308
|
+
|
309
|
+
If you convey an object code work under this section in, or with, or
|
310
|
+
specifically for use in, a User Product, and the conveying occurs as part of
|
311
|
+
a transaction in which the right of possession and use of the User Product
|
312
|
+
is transferred to the recipient in perpetuity or for a fixed term
|
313
|
+
(regardless of how the transaction is characterized), the Corresponding
|
314
|
+
Source conveyed under this section must be accompanied by the Installation
|
315
|
+
Information. But this requirement does not apply if neither you nor any
|
316
|
+
third party retains the ability to install modified object code on the User
|
317
|
+
Product (for example, the work has been installed in ROM).
|
318
|
+
|
319
|
+
The requirement to provide Installation Information does not include a
|
320
|
+
requirement to continue to provide support service, warranty, or updates for
|
321
|
+
a work that has been modified or installed by the recipient, or for the User
|
322
|
+
Product in which it has been modified or installed. Access to a network may
|
323
|
+
be denied when the modification itself materially and adversely affects the
|
324
|
+
operation of the network or violates the rules and protocols for
|
325
|
+
communication across the network.
|
326
|
+
|
327
|
+
Corresponding Source conveyed, and Installation Information provided, in
|
328
|
+
accord with this section must be in a format that is publicly documented
|
329
|
+
(and with an implementation available to the public in source code form),
|
330
|
+
and must require no special password or key for unpacking, reading or
|
331
|
+
copying.
|
332
|
+
|
333
|
+
|
334
|
+
### 7. Additional Terms.
|
335
|
+
|
336
|
+
"Additional permissions" are terms that supplement the terms of this License by
|
337
|
+
making exceptions from one or more of its conditions. Additional permissions
|
338
|
+
that are applicable to the entire Program shall be treated as though they were
|
339
|
+
included in this License, to the extent that they are valid under applicable
|
340
|
+
law. If additional permissions apply only to part of the Program, that part may
|
341
|
+
be used separately under those permissions, but the entire Program remains
|
342
|
+
governed by this License without regard to the additional permissions.
|
343
|
+
|
344
|
+
When you convey a copy of a covered work, you may at your option remove any
|
345
|
+
additional permissions from that copy, or from any part of it. (Additional
|
346
|
+
permissions may be written to require their own removal in certain cases when
|
347
|
+
you modify the work.) You may place additional permissions on material, added by
|
348
|
+
you to a covered work, for which you have or can give appropriate copyright
|
349
|
+
permission.
|
350
|
+
|
351
|
+
Notwithstanding any other provision of this License, for material you add to a
|
352
|
+
covered work, you may (if authorized by the copyright holders of that material)
|
353
|
+
supplement the terms of this License with terms:
|
354
|
+
|
355
|
+
* **a)** Disclaiming warranty or limiting liability differently from the terms
|
356
|
+
of sections 15 and 16 of this License; or
|
357
|
+
|
358
|
+
* **b)** Requiring preservation of specified reasonable legal notices or
|
359
|
+
author attributions in that material or in the Appropriate Legal Notices
|
360
|
+
displayed by works containing it; or
|
361
|
+
|
362
|
+
* **c)** Prohibiting misrepresentation of the origin of that material, or
|
363
|
+
requiring that modified versions of such material be marked in reasonable
|
364
|
+
ways as different from the original version; or
|
365
|
+
|
366
|
+
* **d)** Limiting the use for publicity purposes of names of licensors or
|
367
|
+
authors of the material; or
|
368
|
+
|
369
|
+
* **e)** Declining to grant rights under trademark law for use of some trade
|
370
|
+
names, trademarks, or service marks; or
|
371
|
+
|
372
|
+
* **f)** Requiring indemnification of licensors and authors of that material
|
373
|
+
by anyone who conveys the material (or modified versions of it) with
|
374
|
+
contractual assumptions of liability to the recipient, for any liability
|
375
|
+
that these contractual assumptions directly impose on those licensors and
|
376
|
+
authors.
|
377
|
+
|
378
|
+
All other non-permissive additional terms are considered "further restrictions"
|
379
|
+
within the meaning of section 10. If the Program as you received it, or any part
|
380
|
+
of it, contains a notice stating that it is governed by this License along with
|
381
|
+
a term that is a further restriction, you may remove that term. If a license
|
382
|
+
document contains a further restriction but permits relicensing or conveying
|
383
|
+
under this License, you may add to a covered work material governed by the terms
|
384
|
+
of that license document, provided that the further restriction does not survive
|
385
|
+
such relicensing or conveying.
|
386
|
+
|
387
|
+
If you add terms to a covered work in accord with this section, you must place,
|
388
|
+
in the relevant source files, a statement of the additional terms that apply to
|
389
|
+
those files, or a notice indicating where to find the applicable terms.
|
390
|
+
|
391
|
+
Additional terms, permissive or non-permissive, may be stated in the form of a
|
392
|
+
separately written license, or stated as exceptions; the above requirements
|
393
|
+
apply either way.
|
394
|
+
|
395
|
+
|
396
|
+
### 8. Termination.
|
397
|
+
|
398
|
+
You may not propagate or modify a covered work except as expressly provided
|
399
|
+
under this License. Any attempt otherwise to propagate or modify it is void, and
|
400
|
+
will automatically terminate your rights under this License (including any
|
401
|
+
patent licenses granted under the third paragraph of section 11).
|
402
|
+
|
403
|
+
However, if you cease all violation of this License, then your license from a
|
404
|
+
particular copyright holder is reinstated (a) provisionally, unless and until
|
405
|
+
the copyright holder explicitly and finally terminates your license, and (b)
|
406
|
+
permanently, if the copyright holder fails to notify you of the violation by
|
407
|
+
some reasonable means prior to 60 days after the cessation.
|
408
|
+
|
409
|
+
Moreover, your license from a particular copyright holder is reinstated
|
410
|
+
permanently if the copyright holder notifies you of the violation by some
|
411
|
+
reasonable means, this is the first time you have received notice of violation
|
412
|
+
of this License (for any work) from that copyright holder, and you cure the
|
413
|
+
violation prior to 30 days after your receipt of the notice.
|
414
|
+
|
415
|
+
Termination of your rights under this section does not terminate the licenses of
|
416
|
+
parties who have received copies or rights from you under this License. If your
|
417
|
+
rights have been terminated and not permanently reinstated, you do not qualify
|
418
|
+
to receive new licenses for the same material under section 10.
|
419
|
+
|
420
|
+
|
421
|
+
### 9. Acceptance Not Required for Having Copies.
|
422
|
+
|
423
|
+
You are not required to accept this License in order to receive or run a copy of
|
424
|
+
the Program. Ancillary propagation of a covered work occurring solely as a
|
425
|
+
consequence of using peer-to-peer transmission to receive a copy likewise does
|
426
|
+
not require acceptance. However, nothing other than this License grants you
|
427
|
+
permission to propagate or modify any covered work. These actions infringe
|
428
|
+
copyright if you do not accept this License. Therefore, by modifying or
|
429
|
+
propagating a covered work, you indicate your acceptance of this License to do
|
430
|
+
so.
|
431
|
+
|
432
|
+
|
433
|
+
### 10. Automatic Licensing of Downstream Recipients.
|
434
|
+
|
435
|
+
Each time you convey a covered work, the recipient automatically receives a
|
436
|
+
license from the original licensors, to run, modify and propagate that work,
|
437
|
+
subject to this License. You are not responsible for enforcing compliance by
|
438
|
+
third parties with this License.
|
439
|
+
|
440
|
+
An "entity transaction" is a transaction transferring control of an
|
441
|
+
organization, or substantially all assets of one, or subdividing an
|
442
|
+
organization, or merging organizations. If propagation of a covered work results
|
443
|
+
from an entity transaction, each party to that transaction who receives a copy
|
444
|
+
of the work also receives whatever licenses to the work the party's predecessor
|
445
|
+
in interest had or could give under the previous paragraph, plus a right to
|
446
|
+
possession of the Corresponding Source of the work from the predecessor in
|
447
|
+
interest, if the predecessor has it or can get it with reasonable efforts.
|
448
|
+
|
449
|
+
You may not impose any further restrictions on the exercise of the rights
|
450
|
+
granted or affirmed under this License. For example, you may not impose a
|
451
|
+
license fee, royalty, or other charge for exercise of rights granted under this
|
452
|
+
License, and you may not initiate litigation (including a cross-claim or
|
453
|
+
counterclaim in a lawsuit) alleging that any patent claim is infringed by
|
454
|
+
making, using, selling, offering for sale, or importing the Program or any
|
455
|
+
portion of it.
|
456
|
+
|
457
|
+
|
458
|
+
### 11. Patents.
|
459
|
+
|
460
|
+
A "contributor" is a copyright holder who authorizes use under this License of
|
461
|
+
the Program or a work on which the Program is based. The work thus licensed is
|
462
|
+
called the contributor's "contributor version".
|
463
|
+
|
464
|
+
A contributor's "essential patent claims" are all patent claims owned or
|
465
|
+
controlled by the contributor, whether already acquired or hereafter acquired,
|
466
|
+
that would be infringed by some manner, permitted by this License, of making,
|
467
|
+
using, or selling its contributor version, but do not include claims that would
|
468
|
+
be infringed only as a consequence of further modification of the contributor
|
469
|
+
version. For purposes of this definition, "control" includes the right to grant
|
470
|
+
patent sublicenses in a manner consistent with the requirements of this License.
|
471
|
+
|
472
|
+
Each contributor grants you a non-exclusive, worldwide, royalty-free patent
|
473
|
+
license under the contributor's essential patent claims, to make, use, sell,
|
474
|
+
offer for sale, import and otherwise run, modify and propagate the contents of
|
475
|
+
its contributor version.
|
476
|
+
|
477
|
+
In the following three paragraphs, a "patent license" is any express agreement
|
478
|
+
or commitment, however denominated, not to enforce a patent (such as an express
|
479
|
+
permission to practice a patent or covenant not to sue for patent infringement).
|
480
|
+
To "grant" such a patent license to a party means to make such an agreement or
|
481
|
+
commitment not to enforce a patent against the party.
|
482
|
+
|
483
|
+
If you convey a covered work, knowingly relying on a patent license, and the
|
484
|
+
Corresponding Source of the work is not available for anyone to copy, free of
|
485
|
+
charge and under the terms of this License, through a publicly available network
|
486
|
+
server or other readily accessible means, then you must either (1) cause the
|
487
|
+
Corresponding Source to be so available, or (2) arrange to deprive yourself of
|
488
|
+
the benefit of the patent license for this particular work, or (3) arrange, in a
|
489
|
+
manner consistent with the requirements of this License, to extend the patent
|
490
|
+
license to downstream recipients. "Knowingly relying" means you have actual
|
491
|
+
knowledge that, but for the patent license, your conveying the covered work in a
|
492
|
+
country, or your recipient's use of the covered work in a country, would
|
493
|
+
infringe one or more identifiable patents in that country that you have reason
|
494
|
+
to believe are valid.
|
495
|
+
|
496
|
+
If, pursuant to or in connection with a single transaction or arrangement, you
|
497
|
+
convey, or propagate by procuring conveyance of, a covered work, and grant a
|
498
|
+
patent license to some of the parties receiving the covered work authorizing
|
499
|
+
them to use, propagate, modify or convey a specific copy of the covered work,
|
500
|
+
then the patent license you grant is automatically extended to all recipients of
|
501
|
+
the covered work and works based on it.
|
502
|
+
|
503
|
+
A patent license is "discriminatory" if it does not include within the scope of
|
504
|
+
its coverage, prohibits the exercise of, or is conditioned on the non- exercise
|
505
|
+
of one or more of the rights that are specifically granted under this License.
|
506
|
+
You may not convey a covered work if you are a party to an arrangement with a
|
507
|
+
third party that is in the business of distributing software, under which you
|
508
|
+
make payment to the third party based on the extent of your activity of
|
509
|
+
conveying the work, and under which the third party grants, to any of the
|
510
|
+
parties who would receive the covered work from you, a discriminatory patent
|
511
|
+
license (a) in connection with copies of the covered work conveyed by you (or
|
512
|
+
copies made from those copies), or (b) primarily for and in connection with
|
513
|
+
specific products or compilations that contain the covered work, unless you
|
514
|
+
entered into that arrangement, or that patent license was granted, prior to 28
|
515
|
+
March 2007.
|
516
|
+
|
517
|
+
Nothing in this License shall be construed as excluding or limiting any implied
|
518
|
+
license or other defenses to infringement that may otherwise be available to you
|
519
|
+
under applicable patent law.
|
520
|
+
|
521
|
+
|
522
|
+
### 12. No Surrender of Others' Freedom.
|
523
|
+
|
524
|
+
If conditions are imposed on you (whether by court order, agreement or
|
525
|
+
otherwise) that contradict the conditions of this License, they do not excuse
|
526
|
+
you from the conditions of this License. If you cannot convey a covered work so
|
527
|
+
as to satisfy simultaneously your obligations under this License and any other
|
528
|
+
pertinent obligations, then as a consequence you may not convey it at all. For
|
529
|
+
example, if you agree to terms that obligate you to collect a royalty for
|
530
|
+
further conveying from those to whom you convey the Program, the only way you
|
531
|
+
could satisfy both those terms and this License would be to refrain entirely
|
532
|
+
from conveying the Program.
|
533
|
+
|
534
|
+
|
535
|
+
### 13. Use with the GNU Affero General Public License.
|
536
|
+
|
537
|
+
Notwithstanding any other provision of this License, you have permission to link
|
538
|
+
or combine any covered work with a work licensed under version 3 of the GNU
|
539
|
+
Affero General Public License into a single combined work, and to convey the
|
540
|
+
resulting work. The terms of this License will continue to apply to the part
|
541
|
+
which is the covered work, but the special requirements of the GNU Affero
|
542
|
+
General Public License, section 13, concerning interaction through a network
|
543
|
+
will apply to the combination as such.
|
544
|
+
|
545
|
+
|
546
|
+
### 14. Revised Versions of this License.
|
547
|
+
|
548
|
+
The Free Software Foundation may publish revised and/or new versions of the GNU
|
549
|
+
General Public License from time to time. Such new versions will be similar in
|
550
|
+
spirit to the present version, but may differ in detail to address new problems
|
551
|
+
or concerns.
|
552
|
+
|
553
|
+
Each version is given a distinguishing version number. If the Program specifies
|
554
|
+
that a certain numbered version of the GNU General Public License "or any later
|
555
|
+
version" applies to it, you have the option of following the terms and
|
556
|
+
conditions either of that numbered version or of any later version published by
|
557
|
+
the Free Software Foundation. If the Program does not specify a version number
|
558
|
+
of the GNU General Public License, you may choose any version ever published by
|
559
|
+
the Free Software Foundation.
|
560
|
+
|
561
|
+
If the Program specifies that a proxy can decide which future versions of the
|
562
|
+
GNU General Public License can be used, that proxy's public statement of
|
563
|
+
acceptance of a version permanently authorizes you to choose that version for
|
564
|
+
the Program.
|
565
|
+
|
566
|
+
Later license versions may give you additional or different permissions.
|
567
|
+
However, no additional obligations are imposed on any author or copyright holder
|
568
|
+
as a result of your choosing to follow a later version.
|
569
|
+
|
570
|
+
|
571
|
+
### 15. Disclaimer of Warranty.
|
572
|
+
|
573
|
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
574
|
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
|
575
|
+
PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
576
|
+
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
577
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
|
578
|
+
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
|
579
|
+
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
580
|
+
|
581
|
+
|
582
|
+
### 16. Limitation of Liability.
|
583
|
+
|
584
|
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
|
585
|
+
COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS
|
586
|
+
PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
|
587
|
+
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
|
588
|
+
THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
|
589
|
+
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
|
590
|
+
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
|
591
|
+
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
592
|
+
|
593
|
+
### 17. Interpretation of Sections 15 and 16.
|
594
|
+
|
595
|
+
If the disclaimer of warranty and limitation of liability provided above cannot
|
596
|
+
be given local legal effect according to their terms, reviewing courts shall
|
597
|
+
apply local law that most closely approximates an absolute waiver of all civil
|
598
|
+
liability in connection with the Program, unless a warranty or assumption of
|
599
|
+
liability accompanies a copy of the Program in return for a fee.
|
600
|
+
|
601
|
+
END OF TERMS AND CONDITIONS
|
602
|
+
|
603
|
+
|
604
|
+
How to Apply These Terms to Your New Programs
|
605
|
+
---------------------------------------------
|
606
|
+
|
607
|
+
If you develop a new program, and you want it to be of the greatest possible use
|
608
|
+
to the public, the best way to achieve this is to make it free software which
|
609
|
+
everyone can redistribute and change under these terms.
|
610
|
+
|
611
|
+
To do so, attach the following notices to the program. It is safest to attach
|
612
|
+
them to the start of each source file to most effectively state the exclusion of
|
613
|
+
warranty; and each file should have at least the "copyright" line and a pointer
|
614
|
+
to where the full notice is found.
|
615
|
+
|
616
|
+
<one line to give the program's name and a brief idea of what it does.>
|
617
|
+
Copyright (C) <year> <name of author>
|
618
|
+
|
619
|
+
This program is free software: you can redistribute it and/or modify it
|
620
|
+
under the terms of the GNU General Public License as published by the Free
|
621
|
+
Software Foundation, either version 3 of the License, or (at your option)
|
622
|
+
any later version.
|
623
|
+
|
624
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
625
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
626
|
+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
627
|
+
more details.
|
628
|
+
|
629
|
+
You should have received a copy of the GNU General Public License along with
|
630
|
+
this program. If not, see <http://www.gnu.org/licenses/>.
|
631
|
+
|
632
|
+
Also add information on how to contact you by electronic and paper mail.
|
633
|
+
|
634
|
+
If the program does terminal interaction, make it output a short notice like
|
635
|
+
this when it starts in an interactive mode:
|
636
|
+
|
637
|
+
<program> Copyright (C) <year> <name of author>
|
638
|
+
This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
|
639
|
+
This is free software, and you are welcome to redistribute it under certain
|
640
|
+
conditions; type 'show c' for details.
|
641
|
+
|
642
|
+
The hypothetical commands 'show w' and 'show c' should show the appropriate
|
643
|
+
parts of the General Public License. Of course, your program's commands might be
|
644
|
+
different; for a GUI interface, you would use an "about box".
|
645
|
+
|
646
|
+
You should also get your employer (if you work as a programmer) or school, if
|
647
|
+
any, to sign a "copyright disclaimer" for the program, if necessary. For more
|
648
|
+
information on this, and how to apply and follow the GNU GPL, see
|
649
|
+
<<http://www.gnu.org/licenses/>>.
|
650
|
+
|
651
|
+
The GNU General Public License does not permit incorporating your program into
|
652
|
+
proprietary programs. If your program is a subroutine library, you may consider
|
653
|
+
it more useful to permit linking proprietary applications with the library. If
|
654
|
+
this is what you want to do, use the GNU Lesser General Public License instead
|
655
|
+
of this License. But first, please read
|
656
|
+
<<http://www.gnu.org/philosophy/why-not-lgpl.html>>.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# signal-utils
|
2
|
+
|
3
|
+
Signal utils provides small command line utilities for working with
|
4
|
+
and debugging signals on Linux.
|
5
|
+
|
6
|
+
## sigign
|
7
|
+
|
8
|
+
sigign SIGNAL[,SIGNAL...] COMMAND
|
9
|
+
|
10
|
+
`sigign` starts COMMAND with the specified SIGNALs disposition set to
|
11
|
+
SIG_IGN.
|
12
|
+
|
13
|
+
## sigstat
|
14
|
+
|
15
|
+
sigstat PID
|
16
|
+
|
17
|
+
`sigstat` lists any signals with a non-default disposition for the given process ID. This command requires procfs to be mounted.
|
18
|
+
|
19
|
+
## sigunmask
|
20
|
+
|
21
|
+
sigunmask MASK
|
22
|
+
|
23
|
+
`sigunmask` takes a signal mask in the form listed in `/proc/PID/status` and returns a list of the masked signals by name.
|
24
|
+
|
25
|
+
## Known Bugs
|
26
|
+
|
27
|
+
- `sigign` does not work for SIGPIPE. Ruby's interpreter changes SIGPIPE's disposition before exec().
|
28
|
+
|
29
|
+
- `sigunmask` and `sigstat` does not list the names of real-times signals (>32).
|
data/bin/sigign
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This file is part of signal-utils.
|
3
|
+
|
4
|
+
# signal-utils is free software: you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
|
9
|
+
# signal-utils is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU General Public License for more details.
|
13
|
+
|
14
|
+
# You should have received a copy of the GNU General Public License
|
15
|
+
# along with signal-utils. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
#
|
17
|
+
# sigign: exec a command with signals ignored
|
18
|
+
#
|
19
|
+
# Usage: sigign SIGNAL[,SIGNAL..] COMMAND
|
20
|
+
#
|
21
|
+
# sigign sets the disposition of the specified signals to SIG_IGN
|
22
|
+
# before exec'ing the specified command.
|
23
|
+
|
24
|
+
if ARGV.length < 2
|
25
|
+
STDERR.puts "usage: sigign SIGNAL[,SIGNAL..] COMMAND"
|
26
|
+
STDERR.puts "Please provide a signal list and a command"
|
27
|
+
exit 1
|
28
|
+
end
|
29
|
+
|
30
|
+
ignored_signals = ARGV.shift.split(",")
|
31
|
+
|
32
|
+
ignored_signals.each do |sig|
|
33
|
+
trap(sig, "SIG_IGN")
|
34
|
+
end
|
35
|
+
|
36
|
+
exec(*ARGV)
|
data/bin/sigstat
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# This file is part of signal-utils.
|
4
|
+
|
5
|
+
# signal-utils is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU General Public License as published by
|
7
|
+
# the Free Software Foundation, either version 3 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
|
10
|
+
# signal-utils is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU General Public License for more details.
|
14
|
+
|
15
|
+
# You should have received a copy of the GNU General Public License
|
16
|
+
# along with signal-utils. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
require 'signal-utils'
|
19
|
+
|
20
|
+
pid = ARGV[0]
|
21
|
+
blocked = []
|
22
|
+
ignored = []
|
23
|
+
caught = []
|
24
|
+
|
25
|
+
if pid.nil?
|
26
|
+
STDERR.puts "usage: sigstat PID"
|
27
|
+
STDERR.puts "Please provide a process ID."
|
28
|
+
exit
|
29
|
+
end
|
30
|
+
|
31
|
+
begin
|
32
|
+
status = File.read("/proc/#{pid}/status")
|
33
|
+
rescue Errno::ENOENT
|
34
|
+
STDERR.puts "No such process #{pid} or no procfs"
|
35
|
+
exit 1
|
36
|
+
end
|
37
|
+
|
38
|
+
status.each_line do |line|
|
39
|
+
parts = line.split(':')
|
40
|
+
case parts[0]
|
41
|
+
when "SigBlk"
|
42
|
+
blocked = Signal::Mask.decode(parts[1].strip)
|
43
|
+
when "SigIgn"
|
44
|
+
ignored = Signal::Mask.decode(parts[1].strip)
|
45
|
+
when "SigCgt"
|
46
|
+
caught = Signal::Mask.decode(parts[1].strip)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
all = (blocked + ignored + caught).sort
|
51
|
+
all.each do |s|
|
52
|
+
status = case
|
53
|
+
when blocked.include?(s)
|
54
|
+
"BLOCKED"
|
55
|
+
when ignored.include?(s)
|
56
|
+
"IGNORED"
|
57
|
+
when caught.include?(s)
|
58
|
+
"CAUGHT"
|
59
|
+
end
|
60
|
+
|
61
|
+
puts Signal.signame(s).to_s + " " + status
|
62
|
+
end
|
63
|
+
|
data/bin/sigunmask
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This file is part of signal-utils.
|
3
|
+
|
4
|
+
# signal-utils is free software: you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
|
9
|
+
# signal-utils is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU General Public License for more details.
|
13
|
+
|
14
|
+
# You should have received a copy of the GNU General Public License
|
15
|
+
# along with signal-utils. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
|
17
|
+
require 'signal-utils'
|
18
|
+
|
19
|
+
mask = ARGV[0]
|
20
|
+
if mask
|
21
|
+
puts Signal::Mask.decode(mask).map {|s| Signal.signame(s)}
|
22
|
+
end
|
data/lib/signal-utils.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# This file is part of signal-utils.
|
2
|
+
|
3
|
+
# signal-utils is free software: you can redistribute it and/or modify
|
4
|
+
# it under the terms of the GNU General Public License as published by
|
5
|
+
# the Free Software Foundation, either version 3 of the License, or
|
6
|
+
# (at your option) any later version.
|
7
|
+
|
8
|
+
# signal-utils is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11
|
+
# GNU General Public License for more details.
|
12
|
+
|
13
|
+
# You should have received a copy of the GNU General Public License
|
14
|
+
# along with signal-utils. If not, see <http://www.gnu.org/licenses/>.
|
15
|
+
|
16
|
+
module Signal
|
17
|
+
|
18
|
+
# The built-in signame seems to get confused
|
19
|
+
# with signo > 31, also add 'SIG' to the name
|
20
|
+
def self.signame(signo)
|
21
|
+
s = Signal::list.invert[signo]
|
22
|
+
if s
|
23
|
+
"SIG" + s
|
24
|
+
else
|
25
|
+
signo
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
module Mask
|
30
|
+
BITMASK = { 1 => 1, 2 => 2, 3 => 4, 4 => 8 }
|
31
|
+
|
32
|
+
def self.decode(mask)
|
33
|
+
ret = []
|
34
|
+
i = 0
|
35
|
+
mask.reverse.each_char do |c|
|
36
|
+
BITMASK.each do |k,v|
|
37
|
+
ret.push(k + i*4) if (c.to_i(base=16) & v) == v
|
38
|
+
end
|
39
|
+
i += 1
|
40
|
+
end
|
41
|
+
ret
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
metadata
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: signal-utils
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.0'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Steven Danna
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-10-27 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Small utilities for working with signals in Linux
|
14
|
+
email: steve@getchef.com
|
15
|
+
executables:
|
16
|
+
- sigign
|
17
|
+
- sigstat
|
18
|
+
- sigunmask
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files:
|
21
|
+
- README.md
|
22
|
+
- LICENSE
|
23
|
+
files:
|
24
|
+
- LICENSE
|
25
|
+
- README.md
|
26
|
+
- bin/sigign
|
27
|
+
- bin/sigstat
|
28
|
+
- bin/sigunmask
|
29
|
+
- lib/signal-utils.rb
|
30
|
+
homepage:
|
31
|
+
licenses:
|
32
|
+
- GPLv3
|
33
|
+
metadata: {}
|
34
|
+
post_install_message:
|
35
|
+
rdoc_options: []
|
36
|
+
require_paths:
|
37
|
+
- lib
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
requirements: []
|
49
|
+
rubyforge_project:
|
50
|
+
rubygems_version: 2.4.1
|
51
|
+
signing_key:
|
52
|
+
specification_version: 4
|
53
|
+
summary: Small utilities for working with signals in Linux
|
54
|
+
test_files: []
|
55
|
+
has_rdoc:
|