]> git.pld-linux.org Git - packages/devfsd.git/blob - devfsd.spec
- massive attack: adding Source-md5
[packages/devfsd.git] / devfsd.spec
1 Summary:        DevFS Daemon
2 Summary(pl):    Demon DevFS
3 Name:           devfsd
4 Version:        1.3.25
5 Release:        2
6 License:        GPL
7 Group:          Base
8 Source0:        ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
9 # Source0-md5:  44c6394b8e2e8feaf453aeddc8a3ee69
10 Source1:        %{name}.conf
11 Patch0:         %{name}-lirc.patch
12 URL:            http://www.atnf.csiro.au/~rgooch/linux/
13 Conflicts:      kernel =< 2.2
14 Requires:       devfs
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _exec_prefix    /
18
19 %description
20 The devfsd programme is a daemon, run by the system boot scripts which
21 can provide for intelligent management of device entries in the Device
22 Filesystem (devfs).
23
24 As part of its setup phase devfsd creates certain symbolic links which
25 are compiled into the code. These links are required by
26 /usr/src/linux/Documentation/devices.txt. This behaviour may change in
27 future revisions.
28
29 devfsd will read the special control file .devfsd in a mounted devfs,
30 listening for the creation and removal of device entries (this is
31 termed a change operation). For each change operation, devfsd can take
32 many actions. The daemon will normally run itself in the background
33 and send messages to syslog.
34
35 The opening of the syslog service is automatically delayed until
36 /dev/log is created.
37
38 At startup, before switching to daemon mode, devfsd will scan the
39 mounted device tree and will generate synthetic REGISTER events for
40 each leaf node.
41
42 %description -l pl
43 Devfsd jest demonem startowanym ze skryptów startowych systemu, który
44 daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
45 (devfs). Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne,
46 które s± wkompilowane w kod. Te linki s± wymagane zgodnie z
47 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê
48 zmieniæ w przysz³o¶ci.
49
50 devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
51 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê
52 to operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele
53 dzia³añ. Demon normalnie uruchamia sam siebie i wysy³a komunikat do
54 syslog'a.
55
56 Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
57 /dev/log nie zostanie utworzony.
58
59 Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
60 urz±dzeñ.
61
62 %prep
63 %setup  -q -n devfsd
64 %patch0 -p1
65
66 %build
67 %{__make} CC="%{__cc}" CEXTRAS="%{rpmcflags} -I."
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
73
74 install devfsd          $RPM_BUILD_ROOT%{_sbindir}
75 install devfsd.8        $RPM_BUILD_ROOT%{_mandir}/man8
76 install devfsd.conf.5   $RPM_BUILD_ROOT%{_mandir}/man5
77 install modules.devfs   $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
78 install %{SOURCE1}      $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
86 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
87 %attr(755,root,root) %{_sbindir}/*
88 %{_mandir}/man?/*
This page took 0.052718 seconds and 3 git commands to generate.