File: packages

package info (click to toggle)
bl 1.2-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 136 kB
  • ctags: 38
  • sloc: perl: 1,291; ansic: 266; sh: 43; makefile: 15
file content (72 lines) | stat: -rw-r--r-- 2,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Source: bl
Section: misc
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.0.1.0
Upstream-Source: <URL:ftp://sunsite.unc.edu:/pub/Linux/system/misc/>
Description: blink Keyboard LEDs
Packaged-For: Debian
Copyright: GPL
     Copyright (C) 1994 - 1996  Greg Hankins <greg.hankins@cc.gatech.edu> 
         Scroll lock support (-S option):
     Copyright (C) 1994 Ed Doolittle <dolittle@math.toronto.edu>
 .
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
Major-Changes:
 + included daemon() function
 + /etc/init.d/bl script runs and kills bl for every console terminals (tty1-12).
 I don't really understand this trick, but after that the lights blinkens
 for every console.
Build-Depends: debhelper
Patches: *.dpatch
Build: sh
 make CFLAGS="-O2 -g -Wall" LDFLAGS=-s CC=gcc
Clean: sh
 make clean || true

Package: bl
Architecture: any
Depends: ${shlibs:Depends}
Description: Blink Keyboard LEDs.
 bl blinks the keyboard LEDs: the Num Lock, the Caps Lock, and the Scroll Lock.
 bl is a very helpful monitor of server's state. Binking speed could tell
 about CPU load.
Install: sh
 yada install -bin bl
 yada install -script -into /etc/init.d -as bl debian/init
 yada install -doc -as changelog CHANGES
 yada install -man bl.1
 dh_shlibdeps -P$ROOT
Finalise: sh
 dh_md5sums -P$ROOT
Postinst: sh
 case "$1" in
     configure)
     	   if command -v update-rc\.d >/dev/null 2>&1; then
             update-rc.d bl start 10 2 3 4 5 . >/dev/null
             /etc/init.d/bl start
         fi
         ;;
     abort-upgrade|abort-remove|abort-deconfigure)
         /etc/init.d/bl start
         ;;
 esac
Prerm: sh
 case "$1" in
     remove|deconfigure|upgrade|remove-in-favour|deconfigure-in-favour)
         if test -x /etc/init.d/bl; then
             /etc/init.d/bl stop
         fi
         ;;
 esac
Postrm: sh
 case "$1" in
     purge)
         if command -v update-rc\.d >/dev/null 2>&1; then
             update-rc.d bl remove >/dev/null
         fi
         ;;
 esac